Hello again -
I have been having problems with this for some time now. I was running V1 and Apache together via mod_jk and all worked fine. I assumed that uninstalling V1 and upgrading to V2 and then following the usual steps to "attach" to mod_jk would work. Alas not! the appserver doesn't start as can be seen below. I am guessing that I am using an incompatible mod_jk as the error is thrown by a missing "coyote" class. I would really appreciate some pointers on this one.
[code]
[#|2007-12-11T11:23:40.546+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;com.sun.enterprise.web.PEWebContainerLifecycle_at_174d4c9;com.sun.appserv.server.ServerLifecycleException: WEB0105: An error occurred while starting the web container;_RequestID=1dbc59fb-4ceb-4f7b-89d8-f520ee6b0c3a;|Service com.sun.enterprise.web.PEWebContainerLifecycle_at_174d4c9 cannot be started! : com.sun.appserv.server.ServerLifecycleException: WEB0105: An error occurred while starting the web container|#]
[#|2007-12-11T11:23:40.546+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=1dbc59fb-4ceb-4f7b-89d8-f520ee6b0c3a;|CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: WEB0105: An error occurred while starting the web container
at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:799)
at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
Caused by: LifecycleException: PWC3986: Protocol handler instantiation failed: java.lang.ClassNotFoundException: org.apache.jk.server.JkCoyoteHandler
at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1546)
at com.sun.enterprise.web.connector.coyote.PECoyoteConnector.initialize(PECoyoteConnector.java:791)
at org.apache.catalina.startup.Embedded.start(Embedded.java:928)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
... 10 more
|#]
[#|2007-12-11T11:23:40.546+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=1dbc59fb-4ceb-4f7b-89d8-f520ee6b0c3a;|Server Startup failed. Exiting...|#]
[#|2007-12-11T11:23:40.546+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|Server shutdown in progress...|#]
[#|2007-12-11T11:23:40.546+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;|WEB0303: Stopping Sun-Java-System/Application-Server.|#]
[#|2007-12-11T11:23:40.546+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8080;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8080|#]
[#|2007-12-11T11:23:41.515+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;8181;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8181|#]
[#|2007-12-11T11:23:41.531+0000|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;4848;|WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 4848|#]
[#|2007-12-11T11:23:41.546+0000|SEVERE|sun-appserver9.1|org.apache.coyote.tomcat5.CoyoteConnector|_ThreadID=10;_ThreadName=main;_RequestID=1dbc59fb-4ceb-4f7b-89d8-f520ee6b0c3a;|PWC3983: Coyote connector has not been started|#]
[#|2007-12-11T11:23:41.546+0000|INFO|sun-appserver9.1|org.apache.catalina.core.ContainerBase|_ThreadID=10;_ThreadName=main;|PWC1240: Container EmbeddedWebContainer$WebEngine[com.sun.appserv] has not been started|#]
[#|2007-12-11T11:23:41.546+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5051: Shutting down all J2EE applications ...|#]
[#|2007-12-11T11:23:41.546+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...|#]
[#|2007-12-11T11:23:41.546+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE 5061 : Resource adapters Stop() Complete|#]
[#|2007-12-11T11:23:41.546+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;|CORE5052: Application shutdown complete.|#]
[#|2007-12-11T11:23:41.781+0000|INFO|sun-appserver9.1|com.sun.jbi.framework|_ThreadID=10;_ThreadName=main;|JBIFW0042: JBI framework termination complete.|#]
[#|2007-12-11T11:23:41.781+0000|SEVERE|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=1dbc59fb-4ceb-4f7b-89d8-f520ee6b0c3a;|Server stopped due to Server startup failure.|#]
[#|2007-12-11T11:23:41.781+0000|INFO|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=14;_ThreadName=Thread-1;|sending notification to server...server|#]
[/code]
[Message sent by forum member 'hacland' (hacland)]
http://forums.java.net/jive/thread.jspa?messageID=249479