I've tried using cocoon2 with JBoss 2.4.4 and Tomcat 4.0.3 and
couldn't get it to work. When I installed Tomcat 4.0.4b2 everything
worked. I think some other people on this list also had problems
with 4.0.3.

HTML mail == BAD mojo

Artur...


-----Original Message-----
From: Charles Wishpot [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 27, 2002 6:15 AM
To: [EMAIL PROTECTED]
Subject: cannot deploy on JBoss 3


Hi,

I'm trying to drop the cocoon.war file into the deploy directory of JBoss3 RC1, which 
uses Catalina (TomCat 4.0.3).

But I get the following error (see below) - NullPointerException trying to put the 
default context.

I've tried just deploying the .war file which fails.
So I've tried the install instructions 
(http://xml.apache.org/cocoon/installing/index.html) even though JBoss 3 isn't 
mentioned, for
TomCat 4.0.3 reference but I still get the same problem.
Basically, I tried adding xerces, xalan, xml-apis, batik-libs to the 
catalina/common/lib/ directory - but no joy here, so I also
unjarred cocoon, edited WEB-INF/web.xml and added the extra-classpath param, re-jarred 
it but this made no difference.
I also tried the Catalina reference, removing crimson & jaxp, adding xml-apis to 
jboss/lib and adding it to the classpath when
starting JBoss.

I also tried adding the following to cocoon.xconf, again with no difference:
<parameter name="transformer-factory" 
value="org.apache.xalan.processor.TransformerFactoryImpl"/>

I also trawled through the mailing list archives but found nothing that worked.

Does someone have it working and can point me in the right direction? What step have I 
missed?

Many TIA...I have battled for a couple of days with this, but I am running out of 
things to try.

Charles
-=-=-=-

11:40:25,880 ERROR [Engine] StandardContext[/cocoon]: Servlet /cocoon threw load() 
exception
javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception
<snip, snip>
11:40:25,885 ERROR [Engine] ----- Root Cause -----
java.lang.NullPointerException
        at java.util.Hashtable.put(Hashtable.java:380)
        at 
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:107)



Send and receive Hotmail on your mobile device: Click Here
--------------------------------------------------------------------- Please check 
that your question has not already been answered
in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail:


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