You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
In our application we have several web services deployed on the weblogic server 12.1.3.0.0 using the Java web service Reference Implementation (Metro).
We have recently migrated from weblogic 12.1.3.0.0 to weblogic 12.2.1.3.0.
After this migration we found out that each call to a webservice produces an error/stacktrace in the logfile of weblogic, see bellow:
<Servlet execution completed: weblogic.servlet.internal.ServletStubImpl@63daf12a - Dynamic JAXWS Servlet class: 'com.sun.xml.ws.transport.http.servlet.WSServlet'>
<[[HTTP:101402]Cannot get Request or Response when the current state is completed or dispatched.] Servlet failed with an Exception
java.lang.IllegalStateException: [HTTP:101402]Cannot get Request or Response when the current state is completed or dispatched.
at weblogic.servlet.internal.async.AsyncContextImpl.getRequest(AsyncContextImpl.java:231)
at com.sun.xml.ws.transport.http.servlet.WSAsyncListener$1.onComplete(WSAsyncListener.java:69)
at weblogic.servlet.internal.async.AsyncEventsManager$OnCompleteHandler.handle(AsyncEventsManager.java:223)
at weblogic.servlet.internal.async.AsyncEventsManager$1.run(AsyncEventsManager.java:140)
at weblogic.servlet.internal.async.AsyncEventsManager$1.run(AsyncEventsManager.java:134)
Before the migration everything is working fine and we receive no error.
In the webdescriptor (web.xml) of our application we have the following configuration:
We have done some debugging and we think that the error somehow is related to the wildcard of the url-pattern defined in web.xml:
jaxws
/services/*
If we replace the /services/* url-patern with:
jaxws
/services/SearchService
then we receive NO error.
Can you explain this strange behavior and how we can solved it ?
Should the servlet-mapping with url-pattern with wildcard always work with any version of Metro ?
Thanx in advance,
Ab. Akchich
Environment: Linux x86-64
jaxws-maven-plugin: 2.3
jaxws-rt: 2.2.8
jdk1.8.0_192
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
In our application we have several web services deployed on the weblogic server 12.1.3.0.0 using the Java web service Reference Implementation (Metro).
We have recently migrated from weblogic 12.1.3.0.0 to weblogic 12.2.1.3.0.
After this migration we found out that each call to a webservice produces an error/stacktrace in the logfile of weblogic, see bellow:
<Servlet execution completed: weblogic.servlet.internal.ServletStubImpl@63daf12a - Dynamic JAXWS Servlet class: 'com.sun.xml.ws.transport.http.servlet.WSServlet'>
<[[HTTP:101402]Cannot get Request or Response when the current state is completed or dispatched.] Servlet failed with an Exception
java.lang.IllegalStateException: [HTTP:101402]Cannot get Request or Response when the current state is completed or dispatched.
at weblogic.servlet.internal.async.AsyncContextImpl.getRequest(AsyncContextImpl.java:231)
at com.sun.xml.ws.transport.http.servlet.WSAsyncListener$1.onComplete(WSAsyncListener.java:69)
at weblogic.servlet.internal.async.AsyncEventsManager$OnCompleteHandler.handle(AsyncEventsManager.java:223)
at weblogic.servlet.internal.async.AsyncEventsManager$1.run(AsyncEventsManager.java:140)
at weblogic.servlet.internal.async.AsyncEventsManager$1.run(AsyncEventsManager.java:134)
Before the migration everything is working fine and we receive no error.
In the webdescriptor (web.xml) of our application we have the following configuration:
com.sun.xml.ws.transport.http.servlet.WSServletContextListener jaxws com.sun.xml.ws.transport.http.servlet.WSServlet jaxws /services/*We have done some debugging and we think that the error somehow is related to the wildcard of the url-pattern defined in web.xml:
jaxws /services/*If we replace the /services/* url-patern with:
jaxws /services/SearchServicethen we receive NO error.
Can you explain this strange behavior and how we can solved it ?
Should the servlet-mapping with url-pattern with wildcard always work with any version of Metro ?
Thanx in advance,
Ab. Akchich
Environment: Linux x86-64
jaxws-maven-plugin: 2.3
jaxws-rt: 2.2.8
jdk1.8.0_192
The text was updated successfully, but these errors were encountered: