Hello,
I am new in the cocoon. Could somebody help me with:

How to deploy cocoon 2.1.4 to WebSPhere 5.0.2.4?

I tried to....
I compiled Cocoon in SUN jdk 1.3.1_11 and made cocoon.war.
I was able to deploy it into Tomcat an JBoss.
I then tried to deploy it with WebSphere Administrative Console setting:
Classloader Mode to PARENT_LAST
WAR Classloader Policy to Module.

I also set Web Modules -> cocoon.war -> Classloader Mode to PARENT_LAST.

I obtained an errors:

found this in websphere\appserver\logs\server1\SystemOut.log

[4/22/04 14:18:49:641 CEST] 3d6f876a WebGroup      I SRVE0180I: [cocoon.war]
[/cocoon] [Servlet.LOG]: Cocoon: init
[4/22/04 14:18:49:875 CEST] 3d6f876a ServletInstan E SRVE0100E: Did not
realize  init() exception thrown by servlet Cocoon:
javax.servlet.ServletException: org/apache/xindice/client/xmldb/DatabaseImpl
 at
com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletIn
stance.java:99)
....
---- Begin backtrace for Nested Throwables
java.lang.NoClassDefFoundError: org/apache/xindice/client/xmldb/DatabaseImpl
 at java.lang.Class.forName1(Native Method)
 at java.lang.Class.forName(Class.java(Compiled Code))
 at
org.apache.cocoon.components.source.impl.XMLDBSourceFactory.configure(XMLDBS
ourceFactory.java:112)
 at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:239)
 at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:305)
 at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
 at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponen
t(ExcaliburComponentSelector.java:738)
 at
org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedCom
ponentSelector.java:268)
 at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.
java:239)
 at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:305)
 at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:143)
 at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(Excal
iburComponentManager.java:312)
 at
org.apache.cocoon.components.CocoonComponentManager.lookup(CocoonComponentMa
nager.java:324)
 at
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServ
iceManager.java:106)
 at
org.apache.excalibur.source.impl.SourceResolverImpl.service(SourceResolverIm
pl.java:171)
 at
org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.ja
va:181)
.....

The class org/apache/xindice/client/xmldb/DatabaseImpl is already present in
xindice-1.1b3.jar

Thank you for answer
Regards Roderik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to