voyent
async-http-server.war  XML
Forum Index -> Async HTTP Server
Author Message
qpid

Joined: 09/Nov/2007 00:00:00
Messages: 21
Offline


Hello forum users and icefaces team,

The async-http-server.war:1.7.1 won't deploy on tomcat 6.0.18 with NIO and activeMQ.

Code:
INFO: Deploying web application archive async-http-server.war
 04.09.2008 15:59:05 com.icesoft.faces.application.D2DViewHandler <clinit>
 INFO: 
 ICEsoft Technologies, Inc.
 ICEfaces 1.7.1 
 Build number: 6
 Revision: 16923
 
 04.09.2008 15:59:05 com.icesoft.faces.util.event.servlet.ContextEventRepeater contextInitialized
 INFO: Asynchronous HTTP Service available: true
 04.09.2008 15:59:05 org.apache.catalina.core.StandardContext start
 SCHWERWIEGEND: Error listenerStart
 04.09.2008 15:59:05 org.apache.catalina.core.StandardContext start
 SCHWERWIEGEND: Context [/async-http-server] startup failed due to previous errors
 04.09.2008 15:59:05 com.icesoft.faces.util.event.servlet.ContextEventRepeater contextDestroyed
 INFO: Servlet Context Name: Async Server, Server Info: Apache Tomcat/6.0.18
 04.09.2008 15:59:05 org.apache.coyote.http11.Http11NioProtocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 04.09.2008 15:59:05 org.apache.coyote.ajp.AjpAprProtocol start
 INFO: Starting Coyote AJP/1.3 on ajp-8009
 04.09.2008 15:59:05 org.apache.catalina.startup.Catalina start
 INFO: Server startup in 3893 ms
 


regards qpid
qpid

Joined: 09/Nov/2007 00:00:00
Messages: 21
Offline


With configured log4j i gte the following debug output:

Code:
2008-09-04 16:11:01,265 [main] DEBUG com.icesoft.faces.util.event.servlet.ContextEventRepeater  - Couldn't publish event!
 java.lang.NullPointerException
 	at com.icesoft.faces.util.event.servlet.MessagingContextEventPublisher.publish(MessagingContextEventPublisher.java:130)
 	at com.icesoft.faces.util.event.servlet.MessagingContextEventPublisher.publish(MessagingContextEventPublisher.java:90)
 	at com.icesoft.faces.util.event.servlet.ContextEventRepeater.contextDestroyed(ContextEventRepeater.java:152)
 	at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
 	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4387)
 	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
 	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
 	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
 	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:830)
 	at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:719)
 	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
 	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 	at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
 	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
 	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 	at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 	at java.lang.reflect.Method.invoke(Method.java:616)
 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)


regards qpid
qpid

Joined: 09/Nov/2007 00:00:00
Messages: 21
Offline


By a misunderstanding on my side I use the activemq libraries from the lib folder, instead of the activemq-all.x.x.jar I misinterpret the sentence in the developers guide. I thought I have to use all the libraries from the lib folder with starting activemq-xxx. Didn't see that there is really a library called activemq-all.5.10.jar. big fault cost me one day of headache.

regards qpid
 
Forum Index -> Async HTTP Server
Go to:   
Powered by JForum 2.1.7ice © JForum Team