Thanks for the replies (and for not being too rude about accidentally sending HTML 
mail...)

Surely it can't be *that* difficult to get it working in JBoss3/Catalina?
Strangely enough I *did* have it working at home.....so I know it can work....after 
battling with problems I ended up getting it working and after the combination of 
things I tried I ended up with the following:
   added cocoon.jar to catalina/lib/
   added xml-apis.jar to jboss/lib/
   added xml-apis.jar to JBOSS_CLASSPATH in run.sh
...maybe none of these made a difference or are needed, or maybe I did something else 
which I cannot remember.

It's possible even that something else running on the same box is conflicting (though 
I've changed most of the default port settings).

If I get it working I'll post back what needs doing....

C.
--

"Artur Bialecki" <[EMAIL PROTECTED]> wrote:

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


__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


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