I solved my own problem now and to document this for the archive here is
what I found out for the combination of Cocoon/Weblogic7/EJB:
- Cocoon needs the use the ParanoidCocoonServlet (web.xml)
- Cocoon and EJB needs to be packed as .ear archive, I've haven't
found another way when using the ParanoidCocoonServlet (otherwise
getting ClassCast-/ClassNotFoundExceptions
- as Cocoon doesn't like to be in a .war file create a directory with
.ear structure, e.g. I used
./mydomain/earapp/
META-INF/application.xml file; ear descriptor
ejbs.jar file; jar with the EJB's
cocoon.war/ directory; cocoon webapp inside
- use the ./mydomain/earapp/ directory when selecting your application
for deployment
And this is my simple descriptor:
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>app-name</display-name>
<module>
<ejb>ejbs.jar</ejb>
</module>
<module>
<web>
<web-uri>cocoon.war</web-uri>
<context-root>cocoon</context-root>
</web>
</module>
</application>
Maybe this helps! Cocoon rocks!!
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]