YES! I got it working.
Thanks Jörg, for pushing me in the right direction.

Actually, I didn't have to manipulate with any .jars.
Simply by keeping 'dom.jar' and adding 'xalan.jar' to resin/lib did the trick,
atleast it appears so...

So, to conclude, Installing C2 under Resin 2.0.0.

1. Remove 'sax.jar' and 'jaxp.jar' from resin/lib.
2. Move 'xalan-xxx.jar' and 'xerxes-xxx.jar' to resin/lib.
3. Copy cocoon.war to resin/webapps.


/thomas.




----- Original Message ----- 
From: thomas@jet <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 20:34
Subject: C2: Resin 2.0.0 oddities.


Hi list,

I have Resin 2.0.0 running on my NT Box and was about trying
getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
I can't get xtp execution and cocoon to co-exist.

Followed the installation steps as described:
1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
2. Moved 'xerces_1_4_0.jar' to resin/lib
3. copied cocoon.war to resin/webapps
4. added servlet mapping to resin.conf.
<servlet servlet-name='Cocoon' servlet-class='org.apache.cocoon.Cocoon'/>
<servlet-mapping url-pattern='/cocoon/*' servlet-name='Cocoon'/>

now i get to the the cocoon examples as '/cocoon' going and they appears working 
allright,
but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
instead.
(.xtp files)

if I reverse step 1 and 2 and re-start srun the Resin examples work again,
but ofcourse cocoon gets broken.

I am no java-guru, but I suspect there is a missing class issue.
I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
when having cocoon onboard. Can anyone shed some light on this / have any hints
on getting xtp and cocoon to co-exist...

Setup:
NT4 / Apache 1.3.20
jdk 1.3.1
Resin 2.0.0 / Cocoon 2.0b1


thanks
thomas.




--------------------------------------------------------------------------------


> ---------------------------------------------------------------------
> 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]>

Reply via email to