users@jaxb.java.net

Unable to locate jaxb.properties

From: Padma Ajit <pajit_at_cvs.com>
Date: Fri, 04 Apr 2003 13:24:20 -0700

Hello

I am using JAXB 1.0. I am trying to execute Web App. under Weblogic server.

I am getting the following error :

javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package some.package.name
        at javax.xml.bind.ContextFinder.searchcontextPathContextFinder.java:176
)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:126)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:274)

I tried to put the jaxb.properties in classpath and also under WEB-INF/lib directory, but no luck.
The war file contains the properties file in current package path.
I create a new instance as follows -
JAXBContext jc = JAXBContext.newInstance("some.package.name");

Any solution to this error will be appreciated.
Thanks
Padma