Problem with Tomcat (4 and 3.3.x) with Cocoon 1.8.2: Logicsheet util.xsl not found

Volker Stolz

Additional information
Once Tomcat and Cocoon are installed, there is a problem in testing the installation with the Cocoon information URI:

The problem is:
java.lang.RuntimeException: Error loading logicsheet at file://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.net.UnknownHostException: org I can't access to the file util.xsl.
But the file it is in the right place.

Additional errors:
java.lang.RuntimeException: Error creating org.apache.cocoon.parser.XercesParser: make sure the needed classes can be found in the classpath (org/apache/xerces/framework/XMLParser)
java.lang.RuntimeException: Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the needed classes can be found in the classpath (org/apache/xalan/xpath/xml/XMLParserLiaison)
when trying to access to Cocoon.xml file after copying xalan_1_2_D02.jar and xerces_1_2.jar in TOMCAT_HOMEwebappscocoonWEB-INFlib

Additinal test:
Copy cocoon.jar in TOMCAT_HOMEwebappscocoonWEB-INFlib
Changing resource:// into file:// in cocoon.properties file
Trying to put the whole path : file://mypath/util.xsl
Copying COCOON_HOMEbuildclassesorg*.* in TOMCAT_HOMEwebappscocoonWEB-INF
The solution is to manually fix the file
in the Cocoon-source tar-ball and recompile. This file can be acquired from the coccon-users mailing list.
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.