ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenlin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIOM-456) Keep encounter IllegalStateException when using new java Thead in websphere to invoke web service
Date Sun, 02 Feb 2014 08:50:09 GMT

    [ https://issues.apache.org/jira/browse/AXIOM-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888868#comment-13888868
] 

chenlin commented on AXIOM-456:
-------------------------------

Hi Andreas,  

Sorry to later reply. After our team investigate , there is one issue where using new java
thread in IBM websphere. By default, it will lost j2ee context in Websphere.  By following
approach provided by IBM document, the issue is gone.

I will provide detail in jira then close this issue.

Sorry to trouble you guys :) 

发自我的 iPhone

在 1 Feb, 2014,4:28 PM,"Andreas Veithen (JIRA)" <jira@apache.org> 写道:



> Keep encounter IllegalStateException  when using new java Thead in websphere to invoke
web service
> --------------------------------------------------------------------------------------------------
>
>                 Key: AXIOM-456
>                 URL: https://issues.apache.org/jira/browse/AXIOM-456
>             Project: Axiom
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.13
>         Environment: Websphere Portal Server 7.0.0.2
> Websphere App Server 7.0.0.21
> Axis2 1.6.2
> axiom-api-1.2.13.jar
> axiom-dom-1.2.13.jar
> axiom-impl-1.2.13.jar
>            Reporter: chenlin
>
> 21 Jan 2014 11:35:03 [Thread-63] ERROR 
> java.lang.IllegalStateException
>         at org.eclipse.osgi.framework.internal.protocol.MultiplexingURLStreamHandler.hashCode(MultiplexingURLStreamHandler.java:145)
>         at java.net.URL.hashCode(URL.java:869)
>         at java.util.HashMap.hash(HashMap.java:132)
>         at java.util.HashMap.getEntry(HashMap.java:583)
>         at java.util.HashMap.get(HashMap.java:571)
>         at java.util.Collections$SynchronizedMap.get(Collections.java:752)
>         at org.apache.axiom.util.stax.dialect.StAXDialectDetector.getDialect(StAXDialectDetector.java:158)
>         at org.apache.axiom.util.stax.dialect.StAXDialectDetector.getDialect(StAXDialectDetector.java:154)
>         at org.apache.axiom.om.util.StAXUtils$8.run(StAXUtils.java:642)
>         at java.security.AccessController.doPrivileged(AccessController.java:228)
>         at org.apache.axiom.om.util.StAXUtils.newXMLOutputFactory(StAXUtils.java:622)
>         at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory_perClassLoader(StAXUtils.java:686)
>         at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:325)
>         at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:290)
>         at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:385)
>         at org.apache.axiom.om.impl.MTOMXMLStreamWriter.<init>(MTOMXMLStreamWriter.java:166)
>         at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:186)
>         at org.apache.axis2.transport.http.SOAPMessageFormatter.getBytes(SOAPMessageFormatter.java:100)
>         at org.apache.axis2.transport.http.AxisRequestEntity.getContentLength(AxisRequestEntity.java:109)
>         at org.apache.commons.httpclient.methods.EntityEnclosingMethod.getRequestContentLength(EntityEnclosingMethod.java:336)
>         at org.apache.commons.httpclient.methods.EntityEnclosingMethod.addContentLengthRequestHeader(EntityEnclosingMethod.java:406)
>         at org.apache.commons.httpclient.methods.EntityEnclosingMethod.addRequestHeaders(EntityEnclosingMethod.java:374)
>         at org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders(HttpMethodBase.java:2177)
>         at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2060)
>         at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>         at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>         at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
>         at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
>         at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:404)
>         at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231)
>         at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message