cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mats Norén <mats.no...@spectral.se>
Subject Re: Jrun3 and Cocoon
Date Wed, 16 May 2001 09:03:05 GMT
Actually I didn´t modify Cocoon.xconf...I´m using a plain C2 conf without any
changes...however I added:

-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser

to the Java Settings of my server.

Would it have worked if I hadn´t set the env variable?

I looked at some basic steps for Tomcat and such and did the following:

1. put xerces in the jrun extension classpath, added aaa to get it "on top".
2. added the parser to the java args for my server.

Guess this isn´t the best way to do it :-)

What´s your approach?

/Regards Mats

"Morrison, John" wrote:

> I'm experimenting with this area in ServletExec - I think that you've set
> the XercesParser in Cocoon.xconf yes?  If you did - did you remember to set
> the env var too?
>
> > -----Original Message-----
> > From: Mats Norén [mailto:mats.noren@spectral.se]
> > Sent: 16 May 2001 9:18 am
> > To: cocoon-dev@xml.apache.org
> > Subject: Jrun3 and Cocoon
> >
> >
> > Has anyone had success in installing C2 with JRun3?
> >
> > Cocoon init hangs with the following error:
> >
> > org.apache.avalon.component.ComponentException: Could not access the
> > Component for role: org.apache.cocoon.components.parser.Parser
> > at
> > org.apache.excalibur.component.DefaultComponentManager.lookup(
> > DefaultComponentManager.java:196)
> >
> > at org.apache.cocoon.Cocoon.configure(Cocoon.java:145)
> > at org.apache.cocoon.Cocoon.initialize(Cocoon.java:136)
> >
> > The log looks like this...
> >
> > DEBUG   2624    [cocoon  ] (jcp-0): New Cocoon object.
> > DEBUG   2624    [cocoon  ] (jcp-0): Using parser:
> > org.apache.cocoon.components.parser.XercesParser
> > DEBUG   3014    [cocoon  ] (jcp-0): Attempting to get Handler for:
> > org.apache.cocoon.components.parser.Parser
> > DEBUG   3234    [cocoon  ] (jcp-0): Handler type =
> > org.apache.excalibur.component.PoolableComponentHandler
> > DEBUG   3234    [cocoon  ] (jcp-0): Creating Repository with this
> > directory: D:\JRun\servers\intrawise\tmp\Cocoon
> > DEBUG   3244    [cocoon  ] (jcp-0):
> > Classpath =
> > D:\JRun\servers\{servername}\Cocoon\WEB-INF\classes;D:\JRun\se
> > rvers\{servername}\Cocoon\WEB-INF\lib\avalonapi.jar;D:\JRun\se
> > rvers\{servername}\Cocoon\WEB-INF\lib\batik-all.jar;D:\JRun\se
> > rvers\{servername}\Cocoon\WEB-INF\lib\bsf.jar;D:\JRun\servers\
> > {servername}\Cocoon\WEB-INF\lib\cocoon-2.0a5.jar;D:\JRun\serve
> > rs\{servername}\Cocoon\WEB-INF\lib\cocoon.jar;D:\JRun\servers\
> > {servername}\Cocoon\WEB-INF\lib\fop-0_17_0.jar;D:\JRun\servers
> > \{servername}\Cocoon\WEB-INF\lib\hsqldb.jar;D:\JRun\servers\{s
> > ervername}\Cocoon\WEB-INF\lib\imap.jar;D:\JRun\servers\{server
> > name}\Cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar;D:\JRun\server
> > s\{servername}\Cocoon\WEB-INF\lib\javac.jar;D:\JRun\servers\{s
> > ervername}\Cocoon\WEB-INF\lib\jstyle.jar;D:\JRun\servers\{serv
> > ername}\Cocoon\WEB-INF\lib\junit.jar;D:\JRun\servers\{serverna
> > me}\Cocoon\WEB-INF\lib\logkit.jar;D:\JRun\servers\{servername}
> > \Cocoon\WEB-INF\lib\mail.jar;D:\JRun\servers\{servername}\Coco
> > on\WEB-INF\lib\mailapi.jar;D:\JRun\servers\{servername}\Cocoon
> > \WEB-INF\lib\maybeupload.jar;D:\JRun\servers\{servername}\Coco
> > on\WEB-INF\lib\pop3.jar;D:\JRun\servers\{servername}\Cocoon\WE
> > B-INF\lib\rhino.jar;D:\JRun\servers\{servername}\Cocoon\WEB-IN
> > F\lib\smtp.jar;
> >
> > D:\JRun\servers\{servername}\Cocoon\WEB-INF\lib\Tidy.jar;D:\JR
> > un\servers\{servername}\Cocoon\WEB-INF\lib\velocity-1.0.1-rc1.
> > jar;D:\JRun\servers\{servername}\Cocoon\WEB-INF\lib\xalan-2.0.
> > 1.jar;D:\JRun\servers\{servername}\Cocoon\WEB-INF\lib\xerces_1
> > _3_1.jar;D:\JRun\servers\{servername}\Cocoon\WEB-INF\lib\xt.ja
> > r;D:\JRun/lib/ext;D:\JRun/lib/ext\aaaxerces_1_3_1.jar;D:\JRun/
> > lib/ext\activation.jar;D:\JRun/lib/ext\ejb.jar;D:\JRun/lib/ext
> > \jdbc.jar;D:\JRun/lib/ext\jms.jar;D:\JRun/lib/ext\jndi.jar;D:\
> > JRun/lib/ext\jta.jar;D:\JRun/lib/ext\mail.jar;D:\JRun/lib/ext\
> > parser.jar;D:\JRun/lib/ext\pop3.jar;D:\JRun/lib/ext\servlet.ja
> > r;D:\JRun/lib/jrun.jar;D:\JRun/lib/install.jar;D:\JRun/servers
> > /lib;D:\JRun/servers/lib\jruntags.jar;D:/JRun/servers/{servern
> > ame}/lib;D:\JRun/lib/ejipt.jar;D:\JRun/lib/ejipt_client.jar;D:
> > \JRun/lib/ejipt_tools.jar;D:\JRun/lib/jsp.jar;D:\JRun/lib/ssi.
> > jar;D:\JRun/lib/wddx.jar;D:\JRun/lib/xt.jar;D:\JRun/lib/rhino.jar;
> >
> > DEBUG   3244    [cocoon  ] (jcp-0): Work directory =
> > D:\JRun\servers\intrawise\tmp\Cocoon
> > DEBUG   3244    [cocoon  ] (jcp-0): ComponentHandler initialized for:
> > org.apache.cocoon.components.parser.XercesParser
> >
> > Any ideas?
> >
> > /Mats
> >
> > --
> > Mats Norén
> > Spectral AB
> > Banérgatan 37
> > 115 22 Stockholm
> > Phone: +46 8 506 335 14
> > Fax: +46 8 506 335 10
> > Cellular: +46 704 924 396
> > mailto:mats.noren@spectral.se
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
> =======================================================================
> Information in this email and any attachments are confidential, and may
> not be copied or used by anyone other than the addressee, nor disclosed
> to any third party without our permission.  There is no intention to
> create any legally binding contract or other commitment through the use
> of this email.
>
> Experian Limited (registration number 653331).
> Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

--
Mats Norén
Spectral AB
Banérgatan 37
115 22 Stockholm
Phone: +46 8 506 335 14
Fax: +46 8 506 335 10
Cellular: +46 704 924 396
mailto:mats.noren@spectral.se



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message