Re[2]: Error deploying cocoon.war (Version 2.0.3) to Tomcat 4.1.10
Hallo Vadim, >>i've downloaded the Cocoon 2.0.3 and tried to deploy the file cocoon.war >>to my Tomcat server (4.1.10) using the Tomcat Manager (or 'Deployment >>tool' by Sun) VG> How did you do this? i.e., what was the url to deploy the war? The URL was http://:8080/manager/deploy With Tomcat you can submit the file with the HTTP POST method to the manager servlet, which will handle its deployment. >>not found Line 26, column 53: cannot access class DefaultConfiguration; file >>-- >> >>In /work/Standalone/localhost/cocoon/WEB-INF/lib i can see >>all libraries which classes cocoon servlet claims not to find, e.g >avalon-framework-4.1.2.jar >> VG> Not Cocoon but compiler. Compiler did not get correct classpath. OK, you are right -- Andrei Svirida, Projekte & Entwicklung MIDRAY GmbH - a debitel company Phone: +49.221.8884 435 Fax:+49.221.8884 455 http://www.midray.com/ - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
Error deploying cocoon.war (Version 2.0.3) to Tomcat 4.1.10
Hi all, i've downloaded the Cocoon 2.0.3 and tried to deploy the file cocoon.war to my Tomcat server (4.1.10) using the Tomcat Manager (or 'Deployment tool' by Sun) After deployment the manager reports the Cocoon application as "running" whenn calling /cocoon on my Tomcat Server i get the following error: -- "Cocoon 2 - Internal server error": description org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 22, column 49: cannot access class Component; file org/apache/avalon/framework/component/Component.class not found Line 23, column 53: cannot access class Configurable; file org/apache/avalon/framework/configuration/Configurable.class not found Line 24, column 53: cannot access class Configuration; file org/apache/avalon/framework/configuration/Configuration.class not found Line 25, column 53: cannot access class ConfigurationException; file org/apache/avalon/framework/configuration/ConfigurationException.class not found Line 26, column 53: cannot access class DefaultConfiguration; file -- In /work/Standalone/localhost/cocoon/WEB-INF/lib i can see all libraries which classes cocoon servlet claims not to find, e.g avalon-framework-4.1.2.jar for org/apache/avalon/framework/component/Component.class. When i manualy unpack cocoon.war into /webapps everything works fine. Due to some circumstances this way of deployment is unacceptable for the firm i work in. Please cc your answer to [EMAIL PROTECTED] Thanks in advance! -- Andrei Svirida, Projekte & Entwicklung MIDRAY GmbH - a debitel company Phone: +49.221.8884 435 Fax:+49.221.8884 455 http://www.midray.com/ - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
Problem: extra-classpath in cocoon/WEB-INF/web.xml has no effect on CLASSPATH
Hi cocooners, i have moved some of the jars needed for my cocoon application out from /cocoon/WEB-INF/lib directory to /opt/lib E.g., file /cocoon/WEB-INF/lib/test.jar is at /opt/lib/test.jar now. After that, i inserted extra-classpath /opt/lib/test.jar into cocoon/WEB-INF/web.xml. Inspite of that cocoon servlet fails to find the classes from test.jar and throws ClassNotFoundException. My OS is SunOS, Cocoons version is 2.0.2 The same problem exists also on my Windows-PC with Cocoon 2.0.2. Has anybody an idea how to fix it? -- Andrei Svirida, Projekte & Entwicklung MIDRAY GmbH - a debitel company Phone: +49.221.8884 435 Fax:+49.221.8884 455 http://www.midray.com/ - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
"(possible context problem)" after moving application out from Cocoon tree
Hello Cocooners, I have a following problem : i had a cocoon application running at /testapp and everything worked fine. After moving the application to c:\testapp i updated the entry in my main sitemap.xmap to --- Now i get an error --- java.lang.RuntimeException: testapp/docs/forms/login-form.xml could not be found. (possible context problem) --- I have some form validation code in my application wich uses form descriptor in c:\testapp\docs\forms\form1.xml and i reference to this descriptor with -- --. Its obvious that this code causes the error. Is there some way to solve this problem other then saying: -- -- ? I would greatly appreciate any tip -- Andrei Svirida, Projekte & Entwicklung MIDRAY GmbH - a debitel company Phone: +49.221.8884 435 Fax:+49.221.8884 455 http://www.midray.com/ - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
Elegant solution for filling forms
Hello Cocooners, I have a simple problem filling the values of my form fields. As it seems to be rather common and oft occuring problem i hope somebody knows a solution. I have a form described in XML file test.xml (used with Stylebook Stylesheets) : --- Text: --- I also have an Cocoon Action "GetCityAction" which sets the parameter "city" in the sitemap. I want the user to see the current value of the field "city" in browser, so the content of test.xml must be changed to --- Text: --- before passing it to Stylebook stylessheets transformer. Is there some elegant way to do it? I know that could be achieved by writing a stylesheets like and sitemap like: ... - but i don't want to change my stylesheets every time i add a new variable to the form. -- Andrei Svirida, Projekte & Entwicklung MIDRAY GmbH - a debitel company Phone: +49.221.8884 435 Fax:+49.221.8884 455 http://www.midray.com/ - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
Passing sitemap parameters between actions
Hello Cocoon sers, I have a little problem with passing sitemap parameters between actions, hopefully someone knowns the solution. I have something like this in my sitemap: -- ... - My problem is that the sitemap variable "errormessage" is not valid outside of , so i can't use it inside transformer. I know that this problem can be solved by doing this: --- --- but this solution has some disadvantages which i would like to avoid. Any ideas? -- Andrei Svirida, Projekte & Entwicklung MIDRAY GmbH - a debitel company Phone: +49.221.8884 435 Fax:+49.221.8884 455 http://www.midray.com/ - Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>