AW: param-nameextra-classpath
tx, but that doesn't help in cases of EJBs (cocoon/tomcat/jboss). They have to be deployed as an ear file and cocoon needs to know where the jars are. I can't put the ear file into WEB-INF/lib and then deploy the cocoon.war. On the other hand, putting cocoon.war into the ear, cocoon again doesn't find the jars. So far I haven't found any examples where EJBs have been used with cocoon and a scenario sufficiently explained. Is that such a rare architecture? Ulli -Ursprüngliche Nachricht- Von: SANSONE, AARON M [Non-Pharmacia/1000] [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 3. Dezember 2001 19:29 An: '[EMAIL PROTECTED]' Betreff: RE: param-nameextra-classpath Ulli, Just place any necessary jar files in your WEB-INF/lib directory. Your servlet engine should pick it up if it is 2.2 compliant. HTH, Aaron -Original Message- From: Ulli Hoffmann [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 5:06 AM To: [EMAIL PROTECTED] Subject: param-nameextra-classpath Hi, in order to specify additional directories or jars which Cocoon should put into it's own classpath I use the parameter 'extra-classpath'. The jar to be used is E:\jboss-tomcat\jboss-2.1\deploy\servEjb.jar However neither param-valueWEB-INF/extra-classes1:E:\jboss-tomcat\jboss-2.1\deploy\servEjb .jar/param-value or param-valueWEB-INF/extra-classes1:..\deploy\servEjb.jar/param-value seems to work. Any idea how it get to work? Regards, Ulli - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Coconn-EJB application build
Hi Konstantin, tx for the reply. I still have the following problems: --- 1) Deploying the cocoon.war (including my xsp/xsl stuff) and the app.jar together in one app.ear; the xsp imports a package from the ejb and makes a call to a class of that package - error: org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling index_xsp: Line 89, column 7: Package com.inidfab.serv.control.web not found in import. Line 0, column 0: 1 error --- 2) Deploying cocoon.war and app.jar separately (without the application.xml); the xsp imports a package from the ejb and makes a call to a class of that package - error: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: :env not bound The error in 2) seems obvious since the application is not deployed correctly, 1) seems to have problems with finding the classpath. Is there any path to be set somewhere in Cocoon? Tx and regards, Ulli -Ursprüngliche Nachricht- Von: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. Dezember 2001 17:39 An: [EMAIL PROTECTED] Betreff: Re: Coconn-EJB application build Hi, I'm migrating from Tomcat/Jboss to Cocoon2/Tomcat/Jboss and need some data on how the packaged application would look like. Currently the app.ear consists of: app.war appEjb.jar application.xml sun-j2ee-ri.xml Manifest.mf Now I'm wondering what has to be included in cocoon.war? Do I have to move the complete app.war to cocoon/webapp and modify application.xml and sun-j2ee-ri.xml accordingly to include cocoon.war instead of app.war? You can create a needed cocoon web application, add your own staff then call it app.war. Any experience out there? Regards, Ulli - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Coconn-EJB application build
Hi, I'm migrating from Tomcat/Jboss to Cocoon2/Tomcat/Jboss and need some data on how the packaged application would look like. Currently the app.ear consists of: app.war appEjb.jar application.xml sun-j2ee-ri.xml Manifest.mf Now I'm wondering what has to be included in cocoon.war? Do I have to move the complete app.war to cocoon/webapp and modify application.xml and sun-j2ee-ri.xml accordingly to include cocoon.war instead of app.war? Any experience out there? Regards, Ulli - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]