Hi all, I'm using Cocoon 2.1 with Jboss 3.2.1 and the web interface is developped with Cocoon as we manage a lot of XML files and render them in many different format (HTML, XML, PDF...) . Everything works fine as long as all the needed librairies are located in WEB-INF/lib.
My directory direcrories are deployed as follows: +- mood.ear <-------- The EAR that contains all +-- moodxml.sar <-------- A Jboss service running a XML database (eXist). All the neede librairies for eXist are deployed here +-- moodcore.sar <-------- Our core server and all the libraries needed +-- mood.war <-------- Web application deployed after the 2 previous services (assume librairies from other services can be found) With Jboss, services are loaded and the librairies are shared among everybody. We set the appropriate dependencies and mood.war is started after the 2 services. With jboss, any jar used by the 2 services are shareed and mood.war can rely on them. Obviously, this is not the case, and Cocoon prevents this. The sole solution seems to tell Cocoon in the web.xml were the librairies are located using the extra-classpath init parameter. I tested this with JSP and it works fine. It seems there is a classloader issue with Cocoon, or I may have correctly configured Cocoon. I've seen there is a init-classloader option (turned to false by default). Frankly, I don't see any difference as my XSP pages don't compile and complain librairies are missing. I tried the Paranoid servlet and the result is worse : Cocoon doesn't start anymore. And I'm a too lame Cocoon user to fully understand and modify the cocoon.xconf file. Any idea? Olivier. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
