File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Integrate Cocoon with WebSphere? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Integrate Cocoon with WebSphere?" Watch "Integrate Cocoon with WebSphere?" New topic
Author

Integrate Cocoon with WebSphere?

Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
I have plugged Cocoon (http://xml.apache.org/cocoon) in Tomcat. I wonder if anybody has tried to integrate Cocoon with WebSphere. I am using WAS 3.5 on iSeries (AS/400).
Thanks.
Bruce

BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
Jun Hong
Ranch Hand

Joined: Sep 05, 2001
Posts: 181
Hi there,
I don't know what Cocoon is, although I heard it is related to XML. Anyway, WebSphere has xerces.jar and xalan.jar in its classpath. Both SAX and DOM is available.
Jun Hong
[This message has been edited by Jun Hong (edited September 20, 2001).]
[This message has been edited by Jun Hong (edited September 20, 2001).]


Jun Hong<br />SCJP, SCJD, SCWCD, SCEA<br />IBM Certified Systems Expert(V4.0)
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
Which version of xerces/xalan WAS is using? I remember IBM had XML4J instead of xerces/xalan.
Can I replace xerces/xalan shipped with WAS with the newest downloads from aparche?
Coccon is a very interesting (maybe useful) Web publishing framework. Click on the link you will find out what it is.
Bruce

Originally posted by Jun Hong:
Hi there,
I don't know what Cocoon is, although I heard it is related to XML. Anyway, WebSphere has xerces.jar and xalan.jar in its classpath. Both SAX and DOM is available.
Jun Hong
[This message has been edited by Jun Hong (edited September 20, 2001).]
[This message has been edited by Jun Hong (edited September 20, 2001).]

Caroline Iux
Ranch Hand

Joined: May 14, 2001
Posts: 103
In your server classpath, put xalan/xerces before XML4j should do the trick.
Jun Hong
Ranch Hand

Joined: Sep 05, 2001
Posts: 181
If you don't want the new edition of xerces.jar and xalan.jar to affect the other applications running on the application server, put xerces and xalan you have in the .ear file of your application. You are not suppose to change anything in lib folder. If you put a new .jar in .ear. It will override the one in lib. The classloader searche .ear first.
Jun Hong
Jun Hong
Ranch Hand

Joined: Sep 05, 2001
Posts: 181
By the way I saw xml4j.jar is also there, but I never used it. Do you know what it is for?
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Originally posted by Jun Hong:
By the way I saw xml4j.jar is also there, but I never used it. Do you know what it is for?

XML4J was the IBM Alphaworks (www.alphaworks.ibm.com) name for what became the Xerces Java XML parser after we turned that technology over to the Apache Consortium. We are still supporting versions of XML4J while we switch all of our products over to the Xerces API's and parser.
Kyle Brown
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
Interesting.
If IBM switches to xerces/xalan, then I should be able to code application using JAXP. Which version of xerces/xalan WAS (3.5 and 4.0) is using?
Bruce
 
Consider Paul's rocket mass heater.
 
subject: Integrate Cocoon with WebSphere?
 
Similar Threads
Cocoon-2.1 on WebSphere-4.1 Internal Server Error
cocoon and jboss
was with portal server
Cocoon on websphere
Cocoon 2