Thursday, February 11, 2010

Failed to load weblogic client internal deployment descriptor

are you getting this error while running a Java WSEE client?
the solution SEEMS to be
http://kr.forums.oracle.com/forums/thread.jspa?threadID=723357&tstart=-1
unzipping $WEBLOGIC_10_3/wlserver_10.3/server/lib/wseeclient.zip and add all jars to the classpath

This zip file contains a host of jar files...

here is the original error:

Exception in thread "Main Thread" javax.xml.rpc.ServiceException: Failed to load weblogic client internal deployment descriptor. weblogic.descriptor.DescriptorException: Unmarshaller failed
    at weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:174)
    at weblogic.wsee.jaxrpc.ServiceImpl.loadWeblogicDD(ServiceImpl.java:449)
    at weblogic.wsee.jaxrpc.ServiceImpl.loadInternalDD(ServiceImpl.java:382)
    at weblogic.wsee.jaxrpc.ServiceImpl.(ServiceImpl.java:121)
    at com.pierre.helloworld.HelloWorldSync_Impl.(Unknown Source)
    at com.pierre.helloworld.HelloWorldSync_Impl.(Unknown Source)
    at com.pierre.tests.TestWSDLJar.main(TestWSDLJar.java:9)
Caused by: weblogic.descriptor.DescriptorException: Unmarshaller failed
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:152)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:270)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:336)
    at weblogic.wsee.jaxrpc.ServiceImpl.loadWeblogicDD(ServiceImpl.java:440)
    ... 5 more
Caused by: com.bea.xml.XmlException: failed to load java type corresponding to e=weblogic-wsee-standaloneclient@http://www.bea.com/ns/weblogic/weblogic-wsee-standaloneclient
    at com.bea.staxb.runtime.internal.UnmarshalResult.getPojoBindingType(UnmarshalResult.java:361)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:316)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineTypeForGlobalElement(UnmarshalResult.java:326)
    at com.bea.staxb.runtime.internal.UnmarshalResult.determineRootType(UnmarshalResult.java:307)
    at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:158)
    at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
    ... 9 more


No comments: