Unfortunately my copy of CVS JBoss seems to be broken and I can't get
onto the web site to get a stable one.
I have Cocoon 1.8 working in Jetty (mostly).
I have this in my Jetty XML config file :
<!--
Cocoon
-->
<Call name="addContext">
<Arg>/</Arg>
<!--
What is going on here - how does Cocoon come back with absolute path -
and if it has it, why is it asking ?
<Set name="ResourceBase">/home/jules/java/cocoon-1.8/</Set>
-->
<Set name="ResourceBase">/</Set>
<Set
name="ClassPath">/home/jules/java/cocoon-1.8/bin/cocoon.jar,/home/jules/java/cocoon-1.8/lib/ant_1_1.jar,/home/jules/java/cocoon-1.8/lib/turbine-pool.jar,/home/jules/java/cocoon-1.8/lib/servlet_2_2.jar,/home/jules/java/cocoon-1.8/lib/xerces_1_2.jar,/home/jules/java/cocoon-1.8/lib/fop_0_13_0.jar,/home/jules/java/cocoon-1.8/lib/xalan_1_2_D02.jar,/home/jules/java/cocoon-1.8/lib/bsf.jar,/home/jules/java/cocoon-1.8/lib/stylebook-1.0-b2.jar,/home/jules/java/cocoon-1.8/lib/bsfengines.jar,/usr/java/jdk1.3/lib/tools.jar</Set>
<Call name="getServletHandler">
</Call>
<Call name="addServlet">
<Arg>Cocoon</Arg>
<Arg>*.xml</Arg>
<Arg>org.apache.cocoon.Cocoon</Arg>
<Put
name="properties">/home/jules/java/cocoon-1.8/conf/cocoon.properties</Put>
</Call>
</Call>
Since xerces and xalan are loaded by the Servlet's classloader, I don't
see why JBoss's xml parser should interfere wwith their use (unless via
e.g. a global property) - but i am probably completely missing the point.
As soon as I have a working jboss-jetty I shall try them together and let
you know if i have any success.
Jules
roman seidl wrote:
> Hello jboss-dev,
>
> I´ve been trying to integrate cocoon with jboss_jetty and
> jboss_tomcat.
>
> I´ve been experiencing severe Problems because of the xml libraries.
> Has anyone tried and found out a proper way to get it running? Is it
> possible to replace the xml parser jboss uses with xerces? I think
> this could solve all Problems.
>
> Has anyone tried to deploy cocoon2 with jboss_jetty or jboss_tomcat?
> I allway experience a "could not initialise sitemap" error and it
> seems to be a problem with the sax parser. I´d actually prefer
> cocoon2 :)
>
> I tried to remove the org path from the xml.jar in jboss/lib and I
> added xerces to the jboss classpath but then the jboss would not
> startup anymore with a sax parser exception.
>
> Has anyone a working config with cocoon 1 and has anbody allready
> tried with 2? I don´t care if its jetty or tomcat actually i´d
> prefer jetty because it delivers superior performance.
>
> I´ll try to sort the results i had from trying to get it running
> till tomorrow maybe they help. Unfortunately i didnt log the process
> but i allready spent more than 30 hours with this - awful :(
>
> mfg
> roman
> --
> -------------------------------------------------------------------
> Roman Seidl Design & Development
> -------------------------------------------------------------------
> Public Voice Lab Operngasse 24, A-1040 Vienna
> Tel.: +43-1-585 22 80/23 Fax: +43-1-585 22 80/99
> e-mail: [EMAIL PROTECTED] web: www.pvl.at
> -------------------------------------------------------------------
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]