cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Coetmeur, Alain" <alain.coetm...@caissedesdepots.fr>
Subject RE: Deploying Cocoon2 in JBoss under Linux
Date Tue, 13 Nov 2001 13:11:39 GMT


> -----Message d'origine-----
> De: Jozsa Kristof [mailto:dynax@kami.vein.hu]
> > >>Debian linux (sid). I've removed the JAXP and Crimson 
> parsers, had put
> > >>xerces instead of it, modified the run.sh script 
> according to the guide, 
> > >>and
> > >>even replaced jaxp/crimson with xerces+xalan in my ant 
> installation.


> > builder to use - my run.sh for jboss has been modified so that it 
> > contains this:
> > ...
> > JBOSS_CLASSPATH=$JBOSS_CLASSPATH:../lib/xerces_1_4_3.jar
> > 
> JAXP=-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xer
> ces.jaxp.DocumentBuilderFactoryImpl
> > JAXP="$JAXP 
> > 
> -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SA
> XParserFactoryImpl"

yesterday I've integrated cocoonrc1 and an enterprise application with EJB
in jbos2.4.3+tomcat4.0

I had problems with XML transformers...

befor that, 
I was explicitely setting Xerces as the SAXParserFactory and
DocumentBuilderFactory,
like you do above...
I've also tried to remove crimson from jboss... but I had problem...

in fact I've removed the JAXP properties, and put in the classpath
xerces.jar (which contain magic files /services/./...SAXParserFactory that
replace the properties, accordin to the java service API), then crimson.jar
(maybe usefull, but not dangerous)

now both cocoon and my EJB's works together...

note thet the problem may come from a setProperties in Cocoon2...

In my opinion cocoon SHOULD NOT "setProperties" globally...
this breaks often other programs that depend on crimson and alike...

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message