Skip to main content

Issues on Weblogic 12 metro deployment in documentation

No replies
juanmiguelbg
Offline
Joined: 2010-08-02
Points: 0

There are some issues at point 2.9.1. WebLogic 12 (https://metro.java.net/guide/ch02.html#weblogic-10) . We develop on Weblogic 12.1.2, and we've the the next classloader configuration for succes deployment in weblogic-application.xml file:

<prefer-application-packages>
        <package-name>com.ctc.*</package-name>
        <package-name>com.oracle.webservices.api.*</package-name>
        <package-name>com.sun.xml.*</package-name>
        <package-name>com.sun.istack.*</package-name>
        <package-name>com.sun.msv.datatype.*</package-name>
        <package-name>com.sun.msv.driver.*</package-name>
        <package-name>com.sun.msv.grammar.*</package-name>
        <package-name>com.sun.msv.reader.*</package-name>
        <package-name>com.sun.msv.relaxns.*</package-name>
        <package-name>com.sun.msv.scanner.*</package-name>
        <package-name>com.sun.msv.util.*</package-name>
        <package-name>com.sun.msv.verifier.*</package-name>
        <package-name>com.sun.msv.writer.*</package-name>
        <package-name>com.sun.org.apache.xml.internal.*</package-name>
        <package-name>com.sun.wsit.*</package-name>
        <package-name>javax.jws.*</package-name>
        <package-name>javax.xml.activation.*</package-name>
        <package-name>javax.xml.annotation.*</package-name>
        <package-name>javax.xml.bind.*</package-name>
        <package-name>javax.xml.mail.*</package-name>
        <package-name>javax.xml.registry.*</package-name>
        <package-name>javax.xml.rpc.*</package-name>
        <package-name>javax.xml.security.*</package-name>
        <package-name>javax.xml.soap.*</package-name>
        <package-name>javax.xml.stream.*</package-name>
        <package-name>javax.xml.ws.*</package-name>
        <package-name>javanet.staxutils.*</package-name>
        <package-name>jp.gr.xml.*</package-name>
        <package-name>org.codehaus.stax2.*</package-name>
        <package-name>org.glassfish.gmbal.*</package-name>
        <package-name>org.iso_relax.*</package-name>
        <package-name>org.jcp.xml.dsig.*</package-name>
        <package-name>org.jvnet.*</package-name>
        <package-name>org.relaxng.*</package-name>
</prefer-application-packages>

<prefer-application-resources>
        <resource-name>META-INF/services/javax.servlet.ServletContainerInitializer</resource-name>
        <resource-name>META-INF/services/javax.xml.ws.*</resource-name>
        <resource-name>META-INF/services/com.sun.xml.ws.*</resource-name>
        <resource-name>META-INF/services/com.sun.tools.ws.*</resource-name>
</prefer-application-resources>

We add:

<package-name>com.oracle.webservices.api.*</package-name>

and

<resource-name>META-INF/services/javax.servlet.ServletContainerInitializer</resource-name>

We remove

<package-name>javax.xml.crypto.*</package-name>