I have the same error with V2 U2 runninf on linux. I'm using tomcat 5.5.23
libs and i get the same exception on a clean install.
I, have
<jvm-options>-Dcom.sun.enterprise.web.connector.enableJK=15303</jvm-options>
on domain.xml on glassfish/domain1/config
I have, commons-modeler-2.0.jar, tomcat-ajp.jar and commons-logging-api.jar
on glassfish/lib from tomcat 5.5.23
I configured apache2.2 jk connector in the same way i do for tomcats.
Do i need anything else?? I donˇt see any log on domain1 startup. I only get
the error when i try to log into administratio console.
Regards.
My Exception:
[#|2008-09-10T00:49:21.981+0200|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=11;_ThreadName=Thread-5;_RequestID=925ed0c4-6b9b-45ce-be7c-a822f6e22d30;|com.sun.appserv.server.ServerLifecycleException:
WEB0105: An error occurred while starting the web container
at
com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:731)
at
com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:72)
at
com.sun.enterprise.server.ondemand.ServiceGroup.startLifecycleServices(ServiceGroup.java:266)
at
com.sun.enterprise.server.ondemand.WebServiceGroup.startLifecycleServices(WebServiceGroup.java:210)
at
com.sun.enterprise.server.ondemand.WebServiceGroup.start(WebServiceGroup.java:60)
at
com.sun.enterprise.server.ondemand.ServiceGroup$1.run(ServiceGroup.java:180)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.enterprise.server.ondemand.ServiceGroup.startChildren(ServiceGroup.java:177)
at
com.sun.enterprise.server.ondemand.MainServiceGroup.start(MainServiceGroup.java:45)
at
com.sun.enterprise.server.ondemand.ServerEntryListenerImpl.notifyEntry(ServerEntryListenerImpl.java:72)
at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.sendEvent(ServerEntryHelper.java:62)
at
com.sun.enterprise.server.ondemand.entry.ServerEntryHelper.generatePortEntryContext(ServerEntryHelper.java:43)
at
com.sun.enterprise.server.ss.ASSocketService.generateEntryContext(ASSocketService.java:279)
at
com.sun.enterprise.server.ss.ASSocketService$EntryPointThread.run(ASSocketService.java:525)
Caused by: LifecycleException: Protocol handler instantiation failed:
java.lang.ClassNotFoundException: org.apache.jk.server.JkCoyoteHandler
at
org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1461)
at
com.sun.enterprise.web.connector.coyote.PECoyoteConnector.initialize(PECoyoteConnector.java:760)
at org.apache.catalina.startup.Embedded.start(Embedded.java:925)
at com.sun.enterprise.web.WebContainer.start(WebContainer.java:794)
at
com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:722)
... 13 more
2007/12/11 <Jan.Luehe_at_sun.com>
> glassfish_at_javadesktop.org wrote:
>
> 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
>> |#]
>>
>>
>
> Hmm, which verison of tomcat-ajp.jar are you using?
>
> I've installed the one that comes with Tomcat 5.5.23
> (along with the commons-modeler-2.0.jar and commons-logging-api.jar
> from that same Tomcat version) to my GlassFish v2 installation's lib
> directory and was able to start the mod_jk connector successfully.
>
>
> Jan
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
_______________________________
Enrique Rodriguez Lasterra
lasterra AT javahispano DOT org
http://www.javahispano.org
Asociación sin ánimo de lucro sobre java
Spanish non profit association about java