This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Installing cocoon1.8 on Orion application server  RSS feed

Pradeep Pillai
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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=%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(
at org.apache.cocoon.framework.Manager.create(
at org.apache.cocoon.framework.Router.init(
at org.apache.cocoon.framework.Manager.create(
at org.apache.cocoon.Engine.<init>(
at org.apache.cocoon.Engine.getInstance(
at org.apache.cocoon.Cocoon.init(
at com.orionsupport.cocoon.CocoonServlet.init(
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(
at com.orionsupport.cocoon.CocoonFilter.doFilter(
at com.evermind.server.http.ey.xv(JAX)
at com.evermind.server.http.ef.s1(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

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!