We have multiple applications using the same mapping file, so we've posted it on a web server. When I run my application on my desktop (in Eclipse), it runs without any issues. When I push the application out to a UNIX server and run it, I get the following exception:
Caused by: java.io.FileNotFoundException: http://x.y.z/mapping.xml at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:792) at java.net.URL.openStream(URL.java:913) at org.exolab.castor.util.DTDResolver.resolveEntity(DTDResolver.java:306) at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:279) at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:262) ... 11 more I am passing in a URL object to the loadMapping method. Nothing has changed about the mapping file and I have made sure that the URL is reachable from the UNIX server. When I download the mapping file to the local UNIX filesystem and refer to it there, the application runs without any problems. I know that there are a lot of variables, but I was wondering if anyone had any ideas about where to start? (I'm using Castor 1.1-xml.) Thanks, Mike --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

