> -----Original Message-----
> From: Bill Smith [mailto:[email protected]]
> Sent: Wednesday, December 23, 2009 8:33 AM
> To: [email protected]
> Subject: Re: trouble running webservice on weblogic
> 
> If I make this change, I get the following error
> 
> java.lang.LinkageError: Class org/w3c/dom/UserDataHandler violates
> loader
> constraints

I'd have to see your "prefer-application-packages" element and the jars
you're trying to include in your app.  It sounds like you're trying to
include a jar in your app that is defined in the JDK, not just WebLogic.
It's harder to override JDK-specified classes than WebLogic-specified
classes (and usually not necessary).

> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
>
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at
>
weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClass
> Loader.java:338)
> at
>
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericCl
> assLoader.java:291)
> Truncated. see log file for complete stacktrace
> 
> On Tue, Dec 22, 2009 at 5:19 PM, KARR, DAVID (ATTCINW)
> <[email protected]>wrote:
> 
> > > -----Original Message-----
> > > From: Bill Smith [mailto:[email protected]]
> > > Sent: Tuesday, December 22, 2009 1:32 PM
> > > To: [email protected]
> > > Subject: trouble running webservice on weblogic
> > >
> > > I am trying to create a rather simple webservice on weblogic
10MP1.
> >
> > You will very likely have to make sure that your application jars
are
> > used instead of some that WebLogic uses natively.  You do that with
a
> > "weblogic-application.xml" file that specifies the
> > "prefer-application-packages" element.
> >
> >

Reply via email to