users@jaxb.java.net

Problems Deploying FCS with WebSphere 3.5.4

From: Marcus Walls <marcus.walls_at_aspective.com>
Date: Wed, 12 Mar 2003 09:37:16 +0000

After successfully deploying FCS to Tomcat 4.1.18 I now need to deploy
FCS to WebSphere 3.5.4.

I manually modified the classpath of the default application (in which
my servlet lives) to include the following JARs which I've copied to
just the one directory as per my Tomcat installation:

  dom.jar
  jaxb-api.jar
  jaxb-libs.jar
  jaxb-ri.jar
  jaxb-xjc.jar
  jaxp-api.jar
  jax-qname.jar
  namespace.jar
  sax.jar
  xercesImpl.jar

I now get the stack-trace shown below when loading my servlet (which
worked fine for JAXB 1.0 BETA).

I've had a look and I can't find com.sun.xml.bind.ImplementationRegistry
in any of the JARs that I installed as part of my JWSDP installation.

Any ideas?

Marcus


  Root Error-1: Provider com.sun.xml.bind.ContextFactory could not be
instantiated: java.lang.NoClassDefFoundError:
com/sun/xml/bind/ImplementationRegistry

  javax.xml.bind.JAXBException: Provider com.sun.xml.bind.ContextFactory
could not be instantiated: java.lang.NoClassDefFoundError:
com/sun/xml/bind/ImplementationRegistry
 - with linked exception:
  [java.lang.NoClassDefFoundError: com/sun/xml/bind/ImplementationRegistry]
      at javax.xml.bind.JAXBException.<init>(JAXBException.java:89)
      at javax.xml.bind.JAXBException.<init>(JAXBException.java:77)
      at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:118)
      at
javax.xml.bind.ContextFinder.searchcontextPath(ContextFinder.java(Compiled
Code))
      at javax.xml.bind.ContextFinder.find(ContextFinder.java:153)
      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:281)
      at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:238)