users@jaxb.java.net

Re: com.sun.xml.bind.ContextFactory could not be instantiated exc eption

From: Sriram Thyagarajan <Sriram_Thyagarajan_at_KEANE-NNE.com>
Date: Mon, 10 Feb 2003 14:09:28 -0500

Sorry for sending this again....

Any Suggestions or Workaround for this problem ( I am unable to proceed
because of the error)

I already have the following

- New class Loader inherited from classLoader which replaces "\" with "/" as
suggested - this help overcome the lookup for jaxb.properties
- Made sure all required files are in the classpath

Thanks

> -----Original Message-----
> From: Sriram Thyagarajan
> Sent: Thursday, February 06, 2003 12:23 PM
> To: 'jaxb-interest_at_java.sun.com'
> Subject: FW: com.sun.xml.bind.ContextFactory could not be
> instantiated exception
>
> Hi,
>
> I am getting the following error using JAXB with Oracle App server 9.0.2.
> I also saw there were few positings in java.sun.com forum for the same
> problem.
>
> How can I over come this problem ? Is there any workarounds if it is a
> know bug ?
>
> Thanks,
> Sriram
>
>
> Provider com.sun.xml.bind.ContextFactory could not be instantiated:
> java.lang.reflect.InvocationTargetException
> |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]
> void javax.xml.bind.JAXBException.<init>(java.lang.String,
> java.lang.Throwable)
> JAXBException.java:77
> java.lang.Object
> javax.xml.bind.ContextFinder.newInstance(java.lang.String,
> java.lang.String, java.lang.ClassLoader)
> ContextFinder.java:105
> java.lang.Object
> javax.xml.bind.ContextFinder.searchcontextPath(java.lang.String,
> java.lang.String, java.lang.ClassLoader)
> ContextFinder.java:200
> java.lang.Object javax.xml.bind.ContextFinder.find(java.lang.String,
> java.lang.String, java.lang.ClassLoader)
> ContextFinder.java:126
> javax.xml.bind.JAXBContext
> javax.xml.bind.JAXBContext.newInstance(java.lang.String,
> java.lang.ClassLoader)
> JAXBContext.java:274
>