axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ravi sekhar mikkilineni (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-4573) Issue when deploying axis2.1.5 application in weblogic 10.3 (Failed to initialize the application 'axis2' due to error weblogic.application.ModuleException)
Date Mon, 07 Dec 2009 09:00:19 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ravi sekhar mikkilineni closed AXIS2-4573.
------------------------------------------

    Resolution: Fixed

Now I am able to successfully deploy and invoke my services...

Here is the solution:

change the following entry to false in your weblogic.xml

<prefer-web-inf-classes>false</prefer-web-inf-classes>

By default it is true,that means application first tries to load the classes which are present
in WEB-INF,as the classes require the jars which are not yet loaded weblogic throws exception...

If we set it to false,the system loader first loads jars and then it will try to load web-inf
classes

The problem is solved

> Issue when deploying axis2.1.5 application in weblogic 10.3 (Failed to initialize the
application 'axis2' due to error weblogic.application.ModuleException)
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4573
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4573
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.5
>         Environment: OS SunOS 5.10 
> Weblogic10.3
> Axis2.1.5
> jdk1.6.0_16
>            Reporter: ravi sekhar mikkilineni
>
> Below is the Exception I am getting...Please let me know the work around to get rid of
this error.
> <Failed to initialize the application 'myaxis2' due to error weblogic.application.ModuleException:
.
> weblogic.application.ModuleException: 
>         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
>         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
>         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
>         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
>         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
>         Truncated. see log file for complete stacktrace
> java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
>         at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137)
>         at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:124)
>         at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
>         at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
>         at weblogic.servlet.internal.War.getTagInfo(War.java:891)
>         Truncated. see log file for complete stacktrace

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message