have written a utility class to convert a java object to an xml. This
class works fine when access it through a java application, but when I
try to use it through a servlet on IPLanet 6.0 App Server. it gives me
this stack trace:
2001-09-20 14:57:47,335 DEBUG {} - mappping
file:http://nchabbewal:8080/OrderG
roupMapping.xml
[Castor] Failed to locate messages resource
org.exolab.castor.util.resources.mes
sages
2001-09-20 14:57:48,287 ERROR {} - Mapping file:OrderGroupMapping.xml is
invla
id
java.lang.RuntimeException: [Missing message
conf.noDefaultConfigurationFile]
at org.exolab.castor.util.Configuration.loadProperties(Configuration.jav
a:610)
at org.exolab.castor.util.Configuration.load(Configuration.java:580)
at org.exolab.castor.util.Configuration.getDefault(Configuration.java:28
3)
at org.exolab.castor.util.Configuration.debug(Configuration.java:260)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:141)
at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:128)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:47
0)
at org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:43
6)
at org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:363)
at com.xx.convertToXML(Or
derGroupXMLConvertor.java:121)
The mapping file is on a web server which is separate from the
application server. I have tried adding the default castor.properties to
a directory which is in the classpath and also to org.exolab.castor
package with same results.
Does anybody know why I am getting this error ?
--Navjeet
Navjeet S Chabbewal
Dimension Data
Phone: 703-262-3200
Email: [EMAIL PROTECTED]
www.didata.com
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev