aspose file tools*
The moose likes XML and Related Technologies and the fly likes Installing cocoon1.8 on Orion application server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Installing cocoon1.8 on Orion application server" Watch "Installing cocoon1.8 on Orion application server" New topic
Author

Installing cocoon1.8 on Orion application server

Pradeep Pillai
Greenhorn

Joined: Aug 03, 2001
Posts: 2
Hi ,
I have downloaded cocoon1.8 version from apache and tried to deploy it on Orion application server.I have configured the web.xml and modified the class path to access the jar files of cocoon over that of orion. Following is the content of .bat file which I am using to set the class path..
*********************************************************
rem Cocoon classes and libraries
set ORION_HOME = c:\orion;
set CLASSPATH=.
set CLASSPATH=%CLASSPATH%;c:\orion\xerces_1_2.jar
set CLASSPATH=%CLASSPATH%;c:\orion\xalan_1_2_D02.jar
set CLASSPATH=%CLASSPATH%;c:\orion\fop_0_15_0.jar
set CLASSPATH=%CLASSPATH%;c:\orion\cocoon.jar
set CLASSPATH=%CLASSPATH%;c:\orion\turbine-pool.jar
set CLASSPATH=%CLASSPATH%;c:\orion\cocoon-filter.jar
set CLASSPATH=%CLASSPATH%;c:\orion\xalantrax.jar
set CLASSPATH=%CLASSPATH%;c:\orion\stylebook-1.0-b2.jar
set CLASSPATH=%CLASSPATH%;c:\orion\webserver.jar
set CLASSPATH=%CLASSPATH%;c:\orion\jasper.jar
set CLASSPATH=%CLASSPATH%;c:\orion\parser.jar
set CLASSPATH=%CLASSPATH%;c:\orion\xml.jar
set CLASSPATH=%CLASSPATH%;c:\orion\tools.jar
set CLASSPATH=%CLASSPATH%;c:\orion\servlet_2_2.jar
****************************************************
While trying to execute the index.xml of the cocoon application I am getting the follwing error..
************************************************
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error loading logicsheet at resource://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.lang.Exception: Resource not found or retrieving error.
at org.apache.cocoon.processor.xsp.XSPProcessor.init(XSPProcessor.java:302)
at org.apache.cocoon.framework.Manager.create(Manager.java:109)
at org.apache.cocoon.framework.Router.init(Router.java:80)
at org.apache.cocoon.framework.Manager.create(Manager.java:109)
at org.apache.cocoon.Engine.<init>(Engine.java:179)
at org.apache.cocoon.Engine.getInstance(Engine.java:232)
at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
at com.orionsupport.cocoon.CocoonServlet.init(CocoonServlet.java:52)
at com.evermind.server.http.HttpApplication.w1(JAX)
at com.evermind.server.http.HttpApplication.wj(JAX)
at com.evermind.server.http.HttpApplication.w6(JAX)
at com.evermind.server.http.HttpApplication.getNamedDispatcher(JAX)
at com.orionsupport.cocoon.CocoonFilter.cocoonDispatcher(CocoonFilter.java:99)
at com.orionsupport.cocoon.CocoonFilter.doFilter(CocoonFilter.java:72)
at com.evermind.server.http.ey.xv(JAX)
at com.evermind.server.http.ey.su(JAX)
at com.evermind.server.http.ef.s1(JAX)
at com.evermind.server.http.ef.do(JAX)
at com.evermind.util.f.run(JAX)
*****************************************************
I have done a search through the mail archive of Java ranch and found a tip posted by Ajith Kallambella the moderrator. I tried with the Chapter 9 Web Publishing Frameworks from Orielly. But I am not able to set the proper logicsheets for the sample application.I have ensured that cocoon.jar contains the corresponding class files and xsl files.I am sure u guys should come up with a solution to my problem .
Thanx and Regards
Pradeep Kumar

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing cocoon1.8 on Orion application server