This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes Tomcat 4.1.12 and Cocoon 1.8.2:  Unknown Protocol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 4.1.12 and Cocoon 1.8.2:  Unknown Protocol" Watch "Tomcat 4.1.12 and Cocoon 1.8.2:  Unknown Protocol" New topic
Author

Tomcat 4.1.12 and Cocoon 1.8.2: Unknown Protocol

Greg Jewell
Greenhorn

Joined: Mar 08, 2002
Posts: 10
Hi All,
I'm trying to get Cocoon 1.8.2 up and running under Tomcat 4.1.12. I've made significant progress, but am encountering an error that I don't understand.
In order to get this far, I've had to configure Cocoon to use the SunXMLParser rather than Xerces. (The versions of Xerces found in Cocoon 1.8.2 and Tomcat 4.1.12 appear to be incompatible with each other.)
I can load cocoon/Cocoon.xml without problems. When I try to open cocoon/samples/index.xml, though, I get the following error:
java.net.MalformedURLException: unknown protocol: d
I've placed all the cocoon jar files in webapps/cocoon/WEB-INF/lib, and copied the cocoon samples directory to webapps/cocoon/samples. I've also updated the version of Utils.java that is distributed with cocoon 1.8.2 to the version found in the current development snapshot.
What am I missing?

Thanks,
Greg Jewell
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat 4.1.12 and Cocoon 1.8.2: Unknown Protocol