Re: Coconn-EJB application build
Look at the Cocoon's web.xml. !-- This parameter allows to specify additional directories or jars which Cocoon should put into it's own classpath. Note that you must separate them using the platforms path.separator (: for *nix and ; for Windows systems). Also note that absolute pathes are take as such but relative pathes are rooted at the context root of the Cocoon servlet. init-param param-nameextra-classpath/param-name param-valueWEB-INF/extra-classes1:/[YOU-ABSOLUTE-PATH-TO]/own.jar/param-v alue /init-param -- Hope this helps. Konstantin - Original Message - From: Ulli Hoffmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 10:12 PM Subject: 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] - 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]
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]
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]