Oracle Weblogic Service 10.3 issue
----------------------------------

                 Key: XFIRE-1139
                 URL: http://jira.codehaus.org/browse/XFIRE-1139
             Project: XFire
          Issue Type: Bug
    Affects Versions: 1.2.6
         Environment: Redhat  Linux CentOS, Oracle Weblogic 10.3 
            Reporter: Dovie Chen
            Assignee: Dan Diephouse
             Fix For: 1.2.6


I deploy the war attached on JBoss 4.2.2 it works well.

But when i deploy the war on Oracle Weblogic 10.3 it failed with exception 
below. 

<2009-2-21 ÉÏÎç11ʱ49- Ö33Ãë CST> <Error> <HTTP> <BEA-101017> 
<[weblogic.servlet.internal.webappservletcont...@10b5efb - appName: 
'rsp-services', name: 'rsp-services.war', context-path: '', spec-version: 
'null', request: weblogic.servlet.internal.servletrequesti...@183eae7[
GET //services/UserService?wsdl HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.6) 
Gecko/2009011913 Firefox/3.0.6
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,zh-cn;q=0.8,zh;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: gb2312,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

]] Root cause of ServletException.
java.lang.LinkageError: loader constraint violation in interface itable 
initialization: when resolving method 
"org.codehaus.xfire.wsdl11.builder.SchemaSerializer.marshall(Ljava/lang/Class;Ljavax/xml/namespace/QName;Ljavax/wsdl/extensions/ExtensibilityElement;Ljava/io/PrintWriter;Ljavax/wsdl/Definition;Ljavax/wsdl/extensions/ExtensionRegistry;)V"
 the class loader (instance of 
weblogic/utils/classloaders/ChangeAwareClassLoader) of the current class, 
org/codehaus/xfire/wsdl11/builder/SchemaSerializer, and the class loader 
(instance of java/net/URLClassLoader) for interface 
javax/wsdl/extensions/ExtensionSerializer have different Class objects for the 
type javax/xml/namespace/QName used in the signature
        at 
org.codehaus.xfire.wsdl11.builder.WSDLBuilder.<init>(WSDLBuilder.java:88)
        at 
org.codehaus.xfire.wsdl11.builder.DefaultWSDLBuilderFactory.createWSDLBuilder(DefaultWSDLBuilderFactory.java:25)
        at 
org.codehaus.xfire.wsdl11.builder.WSDLBuilderAdapter.write(WSDLBuilderAdapter.java:40)
        at org.codehaus.xfire.DefaultXFire.generateWSDL(DefaultXFire.java:104)
        at 
org.codehaus.xfire.transport.http.XFireServletController.generateWSDL(XFireServletController.java:380)
        Truncated. see log file for complete stacktrace

So i check the issue <a 
href="http://jira.codehaus.org/browse/XFIRE-820";>#820</a>
I hava already add the script below to weblogic.xml.

<!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 
8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd";>
<weblogic-web-app>
  <context-root>/</context-root>
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
  </container-descriptor>
</weblogic-web-app>

but the errror remained.

Please kindly help to check it out.

Thanks.

Dovie


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to