Axis2 1.5.5 Causing AxisFault with updated xmlbean-2.3.0 configurations
-----------------------------------------------------------------------

                 Key: AXIS2-5186
                 URL: https://issues.apache.org/jira/browse/AXIS2-5186
             Project: Axis2
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.5.5
         Environment: WebSphere Application Server 7.0.0.0 on Windows 7 (64-bit)
            Reporter: Sheeraz Junejo


To reproduce follow the instructions below;

Scenario 1:
---------------
1) I have downloaded the axis2.1.5.5 WAR distribution and copy all 
modules/*.mar into WEB-INF/lib as *.jar (as described on following link 
otherwise axis2 fail to load modules and will crash straight away)
                      
https://www-304.ibm.com/support/docview.wss?uid=swg21315686

2) Removed the xmlbeans-2.3.0.jar from axis2.war/WEB-INF/lib directory

3) Deployed default axis2.war on WebSphere 7.0.0 (with no custom or anyother 
configurations).

4) Change the class-loader policy to 'prent-last' by selecting 'axis2_war --> 
Manage Modules --> Apche-Axis2' from IBM Integrated Console

5) Started the application with following output in WAS SystemOut.log (Default 
modules are loaded with no other configurations) ;

[17/11/11 09:39:43:297 GMT] 0000001e CompositionUn A   WSVR0190I: Starting 
composition unit WebSphere:cuname=axis2_war in BLA WebSphere:blaname=axis2_war.
[17/11/11 09:39:43:325 GMT] 0000001e ApplicationMg A   WSVR0200I: Starting 
application: axis2_war
[17/11/11 09:39:43:328 GMT] 0000001e ApplicationMg A   WSVR0204I: Application: 
axis2_war  Application build level: Unknown
[17/11/11 09:39:49:965 GMT] 0000001e SibMessage    I   [:] CWSID0017I: 
Configuration reload is starting for bus BrowserBus.
[17/11/11 09:39:49:978 GMT] 0000001e SibMessage    I   [:] CWSID0018I: 
Configuration reload is complete for bus BrowserBus.
[17/11/11 09:39:49:984 GMT] 0000001e SibMessage    I   [:] CWSID0017I: 
Configuration reload is starting for bus BrowserBus.
[17/11/11 09:39:49:991 GMT] 0000001e SibMessage    I   [:] CWSID0018I: 
Configuration reload is complete for bus BrowserBus.
[17/11/11 09:39:49:994 GMT] 0000001e SibMessage    I   [:] CWSID0017I: 
Configuration reload is starting for bus BrowserBus.
[17/11/11 09:39:50:006 GMT] 0000001e SibMessage    I   [:] CWSID0018I: 
Configuration reload is complete for bus BrowserBus.
[17/11/11 09:39:50:047 GMT] 0000001e webapp        I 
com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0169I: Loading Web 
Module: Apache-Axis2.
[17/11/11 09:39:50:061 GMT] 0000001e WASSessionCor I SessionContextRegistry 
getSessionContext SESN0176I: Will create a new session context for application 
key default_host/axi
s2
[17/11/11 09:39:51:798 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
addressing-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336N
ode01Cell/axis2_war.ear/axis2.war/WEB-INF/modules/addressing-1.5.5.mar
[17/11/11 09:39:51:819 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
jaxws-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336Node01
Cell/axis2_war.ear/axis2.war/WEB-INF/modules/axis2-jaxws-mar-1.5.5.mar
[17/11/11 09:39:51:837 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
metadataExchange-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll10
10336Node01Cell/axis2_war.ear/axis2.war/WEB-INF/modules/mex-1.5.5.mar
[17/11/11 09:39:51:845 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
mtompolicy-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336N
ode01Cell/axis2_war.ear/axis2.war/WEB-INF/modules/mtompolicy-1.5.5.mar
[17/11/11 09:39:51:857 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
ping-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336Node01C
ell/axis2_war.ear/axis2.war/WEB-INF/modules/ping-1.5.5.mar
[17/11/11 09:39:51:863 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
script-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336Node0
1Cell/axis2_war.ear/axis2.war/WEB-INF/modules/scripting-1.5.5.mar
[17/11/11 09:39:51:872 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
soapmonitor-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336
Node01Cell/axis2_war.ear/axis2.war/WEB-INF/modules/soapmonitor-1.5.5.mar
[17/11/11 09:39:51:891 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
addressing-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336N
ode01Cell/axis2_war.ear/axis2.war/WEB-INF/lib/addressing-1.5.5.jar
[17/11/11 09:39:51:898 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
jaxws-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336Node01
Cell/axis2_war.ear/axis2.war/WEB-INF/lib/axis2-jaxws-mar-1.5.5.jar
[17/11/11 09:39:51:905 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
metadataExchange-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll10
10336Node01Cell/axis2_war.ear/axis2.war/WEB-INF/lib/mex-1.5.5.jar
[17/11/11 09:39:51:910 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
mtompolicy-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336N
ode01Cell/axis2_war.ear/axis2.war/WEB-INF/lib/mtompolicy-1.5.5.jar
[17/11/11 09:39:51:916 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
ping-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336Node01C
ell/axis2_war.ear/axis2.war/WEB-INF/lib/ping-1.5.5.jar
[17/11/11 09:39:51:922 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
script-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336Node0
1Cell/axis2_war.ear/axis2.war/WEB-INF/lib/scripting-1.5.5.jar
[17/11/11 09:39:51:928 GMT] 0000001e SystemOut     O [INFO] Deploying module: 
soapmonitor-1.5.5 - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll1010336
Node01Cell/axis2_war.ear/axis2.war/WEB-INF/lib/soapmonitor-1.5.5.jar
[17/11/11 09:39:52:055 GMT] 0000001e SystemOut     O [INFO] Deploying Web 
service: version-1.5.5.aar - 
file:/C:/IBM/WebSphere7/AppServer/profiles/AppSrv01/installedApps/hmll10
10336Node01Cell/axis2_war.ear/axis2.war/WEB-INF/services/version-1.5.5.aar
[17/11/11 09:39:52:076 GMT] 0000001e servlet       I 
com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [axis2_war] 
[/axis2] [AxisServlet]: Initialization successf
ul.
[17/11/11 09:39:52:082 GMT] 0000001e webcontainer  I 
com.ibm.ws.wswebcontainer.VirtualHost addWebApplication SRVE0250I: Web Module 
Apache-Axis2 has been bound to default_host[
*:9080,*:80,*:9443,*:5060,*:5061,*:443].
[17/11/11 09:39:52:094 GMT] 0000001e ApplicationMg A   WSVR0221I: Application 
started: axis2_war
[17/11/11 09:39:52:098 GMT] 0000001e CompositionUn A   WSVR0191I: Composition 
unit WebSphere:cuname=axis2_war in BLA WebSphere:blaname=axis2_war started.

6) Now navigate to following link to see the WSDL for default 'Version' service 
ans got following;
                      http://127.0.0.1:9080/axis2/services/Version?wsdl

[17/11/11 09:40:00:367 GMT] 00000020 servlet       I 
com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [axis2_war] 
[/axis2] [/axis2-web/index.jsp]: Initialization
 successful.
[17/11/11 09:40:00:711 GMT] 00000020 servlet       I 
com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [axis2_war] 
[/axis2] [/axis2-web/include/httpbase.jsp]: Ini
tialization successful.
[17/11/11 09:40:00:788 GMT] 00000020 FfdcProvider  I 
com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted 
on C:\IBM\WebSphere7\AppServer\profiles\App
Srv01\logs\ffdc\server1_63596359_11.11.17_09.40.00.7296591.txt 
com.ibm.ws.webcontainer.servlet.SimpleFileServlet.writeResponseToClient 689
[17/11/11 09:40:03:565 GMT] 00000020 servlet       I 
com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [axis2_war] 
[/axis2] [/axis2-web/listServices.jsp]: Initial
ization successful.
[17/11/11 09:40:03:717 GMT] 00000020 servlet       I 
com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [axis2_war] 
[/axis2] [/axis2-web/include/link-footer.jsp]:
Initialization successful.
[17/11/11 09:40:06:492 GMT] 00000020 servlet       E 
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught 
exception created in one of the service methods
 of the servlet AxisServlet in application axis2_war. Exception created : 
org.apache.axis2.AxisFault: com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 
0614] The processor h
as encountered an internal error condition.  Please report the problem and 
provide the following information: Method not found: class = interface 
org.apache.xml.serializer.Ser
ializationHandler method = startAttribute args = [class java.lang.String]
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at 
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1553)
        at 
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1355)
        at 
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:198)
        at 
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:258)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
        at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
        at 
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
        at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: javax.xml.transform.TransformerConfigurationException: 
com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 0614] The processor has 
encountered an internal error con
dition.  Please report the problem and provide the following information: 
Method not found: class = interface 
org.apache.xml.serializer.SerializationHandler method = startAttr
ibute args = [class java.lang.String]
        at 
com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.newTemplates(Unknown Source)
        at 
org.apache.axis2.util.XMLPrettyPrinter.prettify(XMLPrettyPrinter.java:142)
        at 
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1550)
        ... 27 more
Caused by: com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 0614] The 
processor has encountered an internal error condition.  Please report the 
problem and provide the foll
owing information: Method not found: class = interface 
org.apache.xml.serializer.SerializationHandler method = startAttribute args = 
[class java.lang.String]
        at com.ibm.xtq.xslt.jaxp.ConfigurationErrorHandler.report(Unknown 
Source)
        at com.ibm.xtq.utils.Reporter.report(Unknown Source)
        at com.ibm.xtq.ast.parsers.xslt.XSLTParser.reportError(Unknown Source)
        at com.ibm.xtq.xslt.drivers.XSLTCompiler.compile(Unknown Source)
        at 
com.ibm.xtq.xslt.jaxp.compiler.TransformerFactoryImpl.createTemplates(Unknown 
Source)
        ... 30 more

[17/11/11 09:40:06:505 GMT] 00000020 FfdcProvider  I 
com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted 
on C:\IBM\WebSphere7\AppServer\profiles\App
Srv01\logs\ffdc\server1_63596359_11.11.17_09.40.06.5006592.txt 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest() 298
[17/11/11 09:40:06:520 GMT] 00000020 webapp        E 
com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet 
Error]-[AxisServlet]: org.apache.axis2.AxisFault
: com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 0614] The processor has 
encountered an internal error condition.  Please report the problem and provide 
the following inf
ormation: Method not found: class = interface 
org.apache.xml.serializer.SerializationHandler method = startAttribute args = 
[class java.lang.String]
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at 
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1553)
        at 
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1355)
        at 
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:198)
        at 
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:258)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
        at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
        at 
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
        at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: javax.xml.transform.TransformerConfigurationException: 
com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 0614] The processor has 
encountered an internal error con
dition.  Please report the problem and provide the following information: 
Method not found: class = interface 
org.apache.xml.serializer.SerializationHandler method = startAttr
ibute args = [class java.lang.String]
        at 
com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.newTemplates(Unknown Source)
        at 
org.apache.axis2.util.XMLPrettyPrinter.prettify(XMLPrettyPrinter.java:142)
        at 
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:1550)
        ... 27 more
Caused by: com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 0614] The 
processor has encountered an internal error condition.  Please report the 
problem and provide the foll
owing information: Method not found: class = interface 
org.apache.xml.serializer.SerializationHandler method = startAttribute args = 
[class java.lang.String]
        at com.ibm.xtq.xslt.jaxp.ConfigurationErrorHandler.report(Unknown 
Source)
        at com.ibm.xtq.utils.Reporter.report(Unknown Source)
        at com.ibm.xtq.ast.parsers.xslt.XSLTParser.reportError(Unknown Source)
        at com.ibm.xtq.xslt.drivers.XSLTCompiler.compile(Unknown Source)
        at 
com.ibm.xtq.xslt.jaxp.compiler.TransformerFactoryImpl.createTemplates(Unknown 
Source)
        ... 30 more

[17/11/11 09:40:06:621 GMT] 00000020 servlet       I 
com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [axis2_war] 
[/axis2] [/axis2-web/Error/error500.jsp]: Initi
alization successful.
[17/11/11 09:40:06:629 GMT] 00000020 servlet       E 
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught 
exception created in one of the service methods
 of the servlet /axis2-web/Error/error500.jsp in application axis2_war. 
Exception created : java.lang.IllegalStateException: SRVE0199E: OutputStream 
already obtained
        at 
com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:646)
        at 
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:187)
        at 
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:175)
        at 
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:262)
        at 
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:177)
        at 
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:144)
        at com.ibm._jsp._error500._jspService(_error500.java:91)
        at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
        at 
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
        at 
com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:234)
        at 
com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:335)
        at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:325)
        at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3118)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3643)
        at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
        at 
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
        at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

[17/11/11 09:40:06:636 GMT] 00000020 LocalTranCoor E   WLTC0017E: Resources 
rolled back due to setRollbackOnly() being called.
[17/11/11 09:40:06:645 GMT] 00000020 servlet       E 
com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught 
exception created in one of the service methods
 of the servlet /axis2-web/Error/error500.jsp in application axis2_war. 
Exception created : java.lang.IllegalStateException: SRVE0199E: OutputStream 
already obtained
        at 
com.ibm.ws.webcontainer.srt.SRTServletResponse.getWriter(SRTServletResponse.java:646)
        at 
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:187)
        at 
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:175)
        at 
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:262)
        at 
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:177)
        at 
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:144)
        at com.ibm._jsp._error500._jspService(_error500.java:91)
        at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
        at 
com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
        at 
com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:234)
        at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:644)
        at com.ibm.ws.webcontainer.webapp.WebApp.sendError(WebApp.java:3124)
        at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3643)
        at 
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
        at 
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at 
com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
        at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

[17/11/11 09:40:06:651 GMT] 00000020 LocalTranCoor E   WLTC0017E: Resources 
rolled back due to setRollbackOnly() being called.
[17/11/11 09:40:06:765 GMT] 00000020 FfdcProvider  I 
com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted 
on C:\IBM\WebSphere7\AppServer\profiles\App
Srv01\logs\ffdc\server1_63596359_11.11.17_09.40.06.6556593.txt 
com.ibm.ws.webcontainer.webapp.WebApp.handleError 912
[17/11/11 09:40:06:772 GMT] 00000020 webapp        E 
com.ibm.ws.webcontainer.webapp.WebApp reportRecursiveError Error Page Exception 
 The server cannot use the error page spec
ified for your application because of the exception printed below.
[17/11/11 09:40:06:777 GMT] 00000020 webapp        E 
com.ibm.ws.webcontainer.webapp.WebApp reportRecursiveError Error Page Exception:
[17/11/11 09:40:06:849 GMT] 00000020 FfdcProvider  I 
com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted 
on C:\IBM\WebSphere7\AppServer\profiles\App
Srv01\logs\ffdc\server1_63596359_11.11.17_09.40.06.7826594.txt 
com.ibm.ws.webcontainer.webapp.WebApp.reportRecursiveError 985

Scenario 2:
---------------

All steps are similar as Scenario 1 but this time instead of removing 
xmlbean-2.3.0.jar just removed the org.w3c.dom package from the JAR and got the 
same exception while accessing the link;
                  http://127.0.0.1:9080/axis2/services/Version?wsdl

Note: This is the default axis2 1.5.5 package with no extra configurations and 
there is nothing deployed on WAS except for its default apps

Please let me know if you need more information.

--

SJunejo


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to