users@glassfish.java.net

Re: AJP/JK config syntax in v3 preview

From: <glassfish_at_javadesktop.org>
Date: Thu, 18 Jun 2009 06:16:04 PDT

Salut Jean-François et merci pour la réponse,

I added the jvm option, stopped and restarted glassfish and now it fails to start, there's the stack trace below in the log file. This was done on a brand new install with nothing else done to it. Does this mean the JK support is broken in v3 preview? Or is there something I'm not doing right?

Pascal

[#|2009-06-18T06:07:10.570-0400|INFO|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;|ERROR: Error starting file:/home/pascal/apps/glassfishv3/glassfish/modules/osgi-main.jar (org.osgi.frame
work.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [180].)|#]
[#|2009-06-18T06:07:10.571-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;|java.lang.ExceptionInInitializerError|#]
[#|2009-06-18T06:07:10.572-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at java.lang.Class.forName0(Native Method)|#]
[#|2009-06-18T06:07:10.572-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at java.lang.Class.forName(Class.java:169)|#]
[#|2009-06-18T06:07:10.572-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.catalina.connector.Connector.initialize(Connector.java:1612)|#]
[#|2009-06-18T06:07:10.572-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.web.connector.coyote.PECoyoteConnector.initialize(PECoyoteConnector.java:
756)|#]
[#|2009-06-18T06:07:10.572-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.web.WebConnector.initialize(WebConnector.java:58)|#]
[#|2009-06-18T06:07:10.573-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.catalina.startup.Embedded.start(Embedded.java:933)|#]
[#|2009-06-18T06:07:10.573-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:637)|#]
[#|2009-06-18T06:07:10.573-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)|#]
[#|2009-06-18T06:07:10.573-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)|#]
[#|2009-06-18T06:07:10.573-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at java.security.AccessController.doPrivileged(Native Method)|#]
[#|2009-06-18T06:07:10.574-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)|#]
[#|2009-06-18T06:07:10.574-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)|#]
[#|2009-06-18T06:07:10.574-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)|#]
[#|2009-06-18T06:07:10.574-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)|#]
[#|2009-06-18T06:07:10.574-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]
[#|2009-06-18T06:07:10.575-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:78)|#]
[#|2009-06-18T06:07:10.575-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:
618)|#]
[#|2009-06-18T06:07:10.575-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.j
ava:404)|#]
[#|2009-06-18T06:07:10.575-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.j
ava:345)|#]
[#|2009-06-18T06:07:10.575-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.javaee.full.deployment.EarDeployer.prepareBundle(EarDeployer.java:324)|#]
[#|2009-06-18T06:07:10.576-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.javaee.full.deployment.EarDeployer.access$200(EarDeployer.java:86)|#]
[#|2009-06-18T06:07:10.576-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:143)|#]
[#|2009-06-18T06:07:10.576-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.javaee.full.deployment.EarDeployer$1.doBundle(EarDeployer.java:141)|#]
[#|2009-06-18T06:07:10.576-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllTypedBundles(EarDeployer.java:281)|#
]
[#|2009-06-18T06:07:10.576-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.javaee.full.deployment.EarDeployer.doOnAllBundles(EarDeployer.java:298)|#]
[#|2009-06-18T06:07:10.576-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.glassfish.javaee.full.deployment.EarDeployer.prepare(EarDeployer.java:141)|#]
[#|2009-06-18T06:07:10.577-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.ApplicationLifecycle.prepareModule(ApplicationLifecycle.java:57
9)|#]
[#|2009-06-18T06:07:10.577-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:244)|#]
[#|2009-06-18T06:07:10.577-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderSe
rvice.java:296)|#]
[#|2009-06-18T06:07:10.578-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService
.java:144)|#]
[#|2009-06-18T06:07:10.578-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)|#]
[#|2009-06-18T06:07:10.578-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:90)|#]
[#|2009-06-18T06:07:10.579-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at java.security.AccessController.doPrivileged(Native Method)|#]
[#|2009-06-18T06:07:10.579-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:87)|#]
[#|2009-06-18T06:07:10.579-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)|#]
[#|2009-06-18T06:07:10.580-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)|#]
[#|2009-06-18T06:07:10.580-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)|#]
[#|2009-06-18T06:07:10.580-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)|#]
[#|2009-06-18T06:07:10.580-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:218)|#]
[#|2009-06-18T06:07:10.581-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:115)|#]
[#|2009-06-18T06:07:10.581-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:433)|#]
[#|2009-06-18T06:07:10.581-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:377)|#]
[#|2009-06-18T06:07:10.582-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:120)|#]
[#|2009-06-18T06:07:10.582-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)|#]
[#|2009-06-18T06:07:10.582-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)|#]
[#|2009-06-18T06:07:10.583-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:779)|#]
[#|2009-06-18T06:07:10.583-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.jvnet.hk2.osgimain.Main.start(Main.java:104)|#]
[#|2009-06-18T06:07:10.583-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)|#]
[#|2009-06-18T06:07:10.583-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.felix.framework.Felix.startBundle(Felix.java:1458)|#]
[#|2009-06-18T06:07:10.584-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)|#]
[#|2009-06-18T06:07:10.584-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)|#]
[#|2009-06-18T06:07:10.584-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at java.lang.Thread.run(Thread.java:619)|#]
[#|2009-06-18T06:07:10.585-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;|Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassCastException: org.apa
che.commons.logging.impl.LogFactoryImpl cannot be cast to org.apache.commons.logging.LogFactory|#]
[#|2009-06-18T06:07:10.585-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:506)|#]
[#|2009-06-18T06:07:10.586-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350)|#]
[#|2009-06-18T06:07:10.586-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:381)|#]
[#|2009-06-18T06:07:10.586-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.jk.server.JkCoyoteHandler.<clinit>(JkCoyoteHandler.java:81)|#]
[#|2009-06-18T06:07:10.587-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| ... 52 more|#]
[#|2009-06-18T06:07:10.587-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;|Caused by: java.lang.ClassCastException: org.apache.commons.logging.impl.LogFactoryImpl cannot be cast
 to org.apache.commons.logging.LogFactory|#]
[#|2009-06-18T06:07:10.588-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:504)|#]
[#|2009-06-18T06:07:10.588-0400|SEVERE|glassfish|null|_ThreadID=11;_ThreadName=Thread-1;| ... 55 more|#]
[Message sent by forum member 'pascalpt' (pascalpt)]

http://forums.java.net/jive/thread.jspa?messageID=351826