cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cedric Picard" <C.Pic...@kainos.com>
Subject RE: Cocoon 2.1m3 and WebSphere 5 (getting an org.apache.commons.discovery.DiscoveryException)
Date Fri, 01 Aug 2003 09:54:30 GMT
Hi Gordon,

Are you deploying lib/optional/commons-logging-1.0.3.jar?

-----Original Message-----
From: Barnes, Gordon (ELSLON) [mailto:Gordon.Barnes@eslo.co.uk] 
Sent: 01 August 2003 10:43
To: Cocoon Users (E-mail)
Subject: Cocoon 2.1m3 and WebSphere 5 (getting an
org.apache.commons.discovery.DiscoveryException)


Hi,

I have been able to run Cocoon 2.0.4 on WebSphere 5 without too much
difficulty, however, when switching to Cocoon 2.1m3 I have encountered
an error. This is shown below.

I have build Cocoon from the source using the "build war" command. I
have no problems in running Cocoon in Tomcat, however I have unable to
get this war file to work with WebSphere.

I have tried the same solution I used for Cocoon 2.0.4 (classloader set
to Parent Last) but that does not help.

Can anyone help please?

Regards
Gordon J Barnes
Senior Software Developer
Elsevier Ltd


E SRVE0020E: [Servlet Error]-[Cocoon]: Failed to load servlet:
java.lang.ExceptionInInitializerError:
org.apache.commons.discovery.DiscoveryException: Class
com.ibm.ws.commons.logging.TrLogFactory does not implement
org.apache.commons.logging.LogFactory
	at
org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils
.jav
a:180)
	at
org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterfa
ce.j
ava:201)
	at
org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.j
ava:
195)
	at
org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverCla
ss.j
ava:579)
	at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingle
ton.
java:418)
	at
org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingle
ton.
java:378)
	at
org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:84)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.ja
va:8
0)
	at
org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:72
)
	at
org.apache.axis.deployment.wsdd.WSDDDocument.<clinit>(WSDDDocument.java:
78)
	at
org.apache.cocoon.components.axis.SoapServerImpl.setManagedServices(Soap
Serv
erImpl.java:409)
	at
org.apache.cocoon.components.axis.SoapServerImpl.configure(SoapServerImp
l.ja
va:236)
	at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerU
til.
java:239)
	at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc
e(De
faultComponentFactory.java:315)
	at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial
ize(
ThreadSafeComponentHandler.java:141)
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali
ze(E
xcaliburComponentManager.java:554)
	at
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonCom
pone
ntManager.java:487)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(Container
Util
.java:282)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:321)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1320
)
	at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:500)
	at
org.apache.cocoon.servlet.ParanoidCocoonServlet.initServlet(ParanoidCoco
onSe
rvlet.java:132)
	at
org.apache.cocoon.servlet.ParanoidCocoonServlet.init(ParanoidCocoonServl
et.j
ava:121)
	at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServl
etIn
stance.java:82)
	at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifec
ycle
Servlet.java:147)
	at
com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLi
fecy
cleServlet.java:270)
	at
com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecy
cleS
ervlet.java:113)
	at
com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.jav
a:17
5)
	at javax.servlet.GenericServlet.init(GenericServlet.java:258)
	at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.addServlet(WebAppSer
vlet
Manager.java:761)
	at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppSe
rvle
tManager.java:257)
	at
com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets
(Web
AppServletManager.java:453)
	at
com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:123
3)
	at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:273)
	at
com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:317)
	at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:194)
	at
com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java
:950
)
	at
com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.j
ava:
133)
	at
com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.jav
a:36
0)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl
.jav
a:401)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectS
tart
(DeployedApplicationImpl.java:743)
	at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl
.jav
a:337)
	at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedAppli
cati
onImpl.java:531)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applica
tion
MgrImpl.java:254)
	at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl
.jav
a:232)
	at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl
.jav
a:343)
	at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
	at
com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServ
erIm
pl.java:117)
	at
com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl
.jav
a:343)
	at
com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
	at
com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
	at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
	at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
	at
com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRun
nerV
5.java:105)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



--

This e-mail is confidential and is intended for the named recipient only. If
you receive it in error please destroy the message and all copies. Kainos
Software Ltd. does not accept liability for damage sustained as a result of
malicious software (e.g. viruses). Kainos does not accept liability for, or
permit, the creation of contracts on its behalf by e-mail, the publication of
any defamatory statement by its employees by e-mail, or changes subsequently
made to the original message. The Company's registered office is located at
4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland, Tel +44 28 9057 1100.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message