× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Title: RE: Cocoon in WebSphere
 

Thanks!

I finally made Cocoon work with Tomcat 3.2.1 on a PC after reading David’s article. In addition to map *xml to Cocoon, I had to map /cocoon/*.xml to Cocoon so that the samples can be run under application cocoon. These samples are very interesting.

Bruce

----- Original Message -----
Sent: Tuesday, August 14, 2001 12:16 AM
Subject: RE: Cocoon in WebSphere

Yes, i remember that in the Cocoon (or Tomcat) documentation it is said that
the order of the xml jar files in the classpath must be absolutly respected.
This meant that parser.jar and another must be renamed.
It worked when i renamed it.

There was also another problem when generating pdf. Nothing appeared as if it
was unprocessed. You must make sure that at the end of your url you add something
like ?dummy=test.pdf.

Gilles

-----Original Message-----
From: David Morris [mailto:dmorris@plumcreek.com]
Sent: lundi, 13. août 2001 23:43
To: JAVA400-L@midrange.com
Subject: Re: Cocoon in WebSphere


Bruce,

Sounds like your current problem is a classmate problem.  You have to make
sure that Exercise is first in your classmate.  Ahead of any other parser.  On a
standalone PC, if running tomcat 3.2.1 try renaming parser.jar to zparser.jar
in the tomcat lib directory. That used to work for me with 3.2.1 standalone on a
PC, I am not sure why but it appears that the default classpath builder for
Tomcat builds the classpath in order of creation so that must be it. You have
to get around this error first.

David Morris

>>> brucej@mrc-productivity.com 08/13/01 04:58PM >>>
 Thanks David for the reply.
 Eventually I will have to make Cocoon work in Websphere.

 Right now I try to use Coccon in tomcat 3.2.1 on a PC (running stand alone)
and I am having trouble getting it to work. I will appreciate it if you can
forward your article to me.

 I can now run Cocoon (1.8) on a command line to convert an xml file to PDF
etc. When I run it from a browser, I get file not found error (the test
virtual file Cocoon.xml). Other xml files are simply displayed unprocessed.
I did two things for the Cocoon configuration:

  1.. Add all Cocoon related jar files to Tomcat classpath.
  2.. Added servlet Cocoon to file web.xml in <tomcat_home>/conf/. Also
added servlet mapping in this file to map xml files to Cocoon.
The install instruction at Cocoon site is not for stand-alone tomcat so I
don't have something to follow.

 Thanks

Bruce


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---



**********************************************************************
This E-mail and any files transmitted with it are confidential
and intended for the exclusive use of the addressee(s) only.
You should not disclose its contents to any other person.
If you are not the intended recipient please notify the sender
immediately.
**********************************************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.