Hi,

tomcat-5.0.5 cannot access jar resources in WEB-INF/lib but only  unzipped
in WEB-INF/classes:

The eclipse XSD API xsd.jar (http://www.eclipse.org/xsd/) provides
a set of XML schemata + dtds in an additional jar file xsd.resources.jar.

Both jar files (xsd.jar + xsd.resources.jar) are located in WEB-INF/lib

While Tomcat 4.1.24 can access the resources in xsd.resources.jar
Tomcat 5.0.5 throws an exception:

###########################################################
Wrapped exception
java.io.FileNotFoundException:
C:\ApacheGroup\jakarta-tomcat-5.0.5\work\Catalina\localhost\xapp_simple\load
er\org\eclipse\xsd\cache\www.w3.org\2001\MagicXMLSchema.xsd (The system
cannot find the path specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createFileInputStream(U
RIConverterImpl.java:416)
        at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createInputStream(URICo
nverterImpl.java:382)
###########################################################################


If xsd.resources.jar is unzipped in WEB-INF/classes Tomcat 5.0.5 can access
the resources.

Is this a bug of Tomcat 5.0.5 or is it a problem of the emf eclipse package
?


Thanks + best regards,

Jan Harmsen

Software AG
The XML company

Reply via email to