users@jaxb.java.net

Problems Deploying FCS with Tomcat

From: Marcus Walls <marcus.walls_at_ASPECTIVE.COM>
Date: Tue, 11 Mar 2003 11:39:34 -0700

I'm attempting to upgrade my JAXB 1.0 BETA application to work
with JAXB 1.0 FCS and have run into some problems.

I'm getting the following stack-trace when I deploy my app into
Tomcat 4.1.18 which was working fine before the upgrade:


javax.xml.bind.JAXBException: Provider com.sun.xml.bind.ContextFactory could not be instantiated: java.lang.reflect.InvocationTargetException
 - with linked exception:
[java.lang.reflect.InvocationTargetException]
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:105)
        at javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java:200)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:126)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:274)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:231)


I followed the instructions at http://java.sun.com/xml/jaxb/jaxbWithTomcat.html
but I'm not convinced that they've been updated for the FCS release.

Has anybody got this working with Tomcat at all?

Thanks

Marcus