[JBoss JIRA] Created: (JBWS-2534) sun-jaxws.xml generation doesn't respect @MTOM
by Alessio Soldano (JIRA)
sun-jaxws.xml generation doesn't respect @MTOM
----------------------------------------------
Key: JBWS-2534
URL: https://jira.jboss.org/jira/browse/JBWS-2534
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-metro
Reporter: Alessio Soldano
>From SunJaxwsDeploymentAspect:
Class beanClass = endpoint.getTargetBeanClass();
BindingType bindingType = (BindingType)beanClass.getAnnotation(BindingType.class);
if (bindingType != null && bindingType.value().length() > 0)
{
String binding = bindingType.value();
ddEndpoint.setBinding(binding);
ddEndpoint.setEnableMTOM(isMtomEnabled(binding));
}
...
private static boolean isMtomEnabled(String binding)
{
return binding.equals(SOAPBinding.SOAP11HTTP_MTOM_BINDING) || binding.equals(SOAPBinding.SOAP12HTTP_MTOM_BINDING);
}
The @MTOM annotation should be considered too when enabling/disabling MTOM.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBWS-2878) When I use @Addressing JAX-WS annotation and a reply URI for a JSP page the service response with the reply to the JSP page but then it tries to also respond to the JAX-WS client and it throws an exception
by Carl Roberts (JIRA)
When I use @Addressing JAX-WS annotation and a reply URI for a JSP page the service response with the reply to the JSP page but then it tries to also respond to the JAX-WS client and it throws an exception
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBWS-2878
URL: https://jira.jboss.org/jira/browse/JBWS-2878
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ws-addressing
Environment: Windows XP
Reporter: Carl Roberts
Priority: Critical
When I use @Addressing JAX-WS annotation and a reply URI for a JSP page the service response with the reply to the JSP page but then it tries to also respond to the JAX-WS client and it throws an exception:
16:08:05,406 INFO [STDOUT]
*************Echo JSP Page*******************
16:08:05,453 INFO [STDOUT] <env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header xmlns:wsa='http://www.w3.org/2005/08/addressing'><wsa:To>http:
//localhost:8080/DocumakerService/echo.jsp</wsa:To><wsa:Action></wsa:Action><wsa:RelatesTo>uuid:16f0bffe-da89-4699-825d-e0ce5778316a</wsa:RelatesTo></env:Header><env:Body
><DoCallIDSResponse xmlns="http://oracle.com/webservices/documaker" schemaVersion="1.0"><DSIMSG><MSGVARS><VAR NAME="ERRORCOUNT">0</VAR><VAR NAME="IDSGUID">67ace337bd1d022
b2ebf24853d941422</VAR><VAR NAME="IDSHOSTNAME">jrobertsnb1</VAR><VAR NAME="LASTRESTART">Dec 18, 2009 2:45:34 PM EST</VAR><VAR NAME="reqtype">SSS</VAR><VAR NAME="RESTARTCO
UNT">0</VAR><VAR NAME="RESULTS">SUCCESS</VAR><VAR NAME="SERVERTIMESPENT">0.000</VAR><VAR NAME="SUCCESSCOUNT">31</VAR><VAR NAME="UPTIME">Dec 18, 2009 2:45:34 PM EST</VAR><
VAR NAME="WARNINGCOUNT">0</VAR><ROWSET NAME="LIBRARIES"><ROW NUM="1"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">dsicrule</VAR><VAR NAME="TIME">21:38:49</VAR><VAR
NAME="VERSION">200.022.001<
16:08:05,484 INFO [STDOUT] /VAR></ROW><ROW NUM="2"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">DSIOS2</VAR><VAR NAME="TIME">21:39:40</VAR><VAR NAME="VERSION">200.
022.002</VAR></ROW><ROW NUM="3"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">dsijava</VAR><VAR NAME="TIME">21:39:48</VAR><VAR NAME="VERSION">200.022.001</VAR></ROW>
<ROW NUM="4"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">jexec</VAR><VAR NAME="TIME">21:38:47</VAR><VAR NAME="VERSION">200.022.001</VAR></ROW><ROW NUM="5"><VAR NAM
E="DATE">Nov 19 2009</VAR><VAR NAME="NAME">ARC</VAR><VAR NAME="TIME">19:54:44</VAR><VAR NAME="VERSION">400.115.020</VAR></ROW><ROW NUM="6"><VAR NAME="DATE">Nov 19 2009</V
AR><VAR NAME="NAME">CAR</VAR><VAR NAME="TIME">19:45:16</VAR><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="7"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">CRM
</VAR><VAR NAME="TIME">19:54:48</VAR><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="8"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">DAL</VAR><VAR NAME="TIME">
19:55:31</VAR><VAR NAME="VE
16:08:05,484 INFO [STDOUT] RSION">400.115.010</VAR></ROW><ROW NUM="9"><VAR NAME="DATE">Nov 20 2009</VAR><VAR NAME="NAME">DB</VAR><VAR NAME="TIME">08:38:51</VAR><VAR NAME
="VERSION">400.115.015</VAR></ROW><ROW NUM="10"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">DPR</VAR><VAR NAME="TIME">20:12:22</VAR><VAR NAME="VERSION">400.115.001
</VAR></ROW><ROW NUM="11"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">DS</VAR><VAR NAME="TIME">19:43:04</VAR><VAR NAME="VERSION">400.115.013</VAR></ROW><ROW NUM="1
2"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">DTBL</VAR><VAR NAME="TIME">19:45:30</VAR><VAR NAME="VERSION">400.115.011</VAR></ROW><ROW NUM="13"><VAR NAME="DATE">N
ov 19 2009</VAR><VAR NAME="NAME">DXM</VAR><VAR NAME="TIME">19:41:13</VAR><VAR NAME="VERSION">400.115.004</VAR></ROW><ROW NUM="14"><VAR NAME="DATE">Nov 19 2009</VAR><VAR N
AME="NAME">FAP</VAR><VAR NAME="TIME">19:42:19</VAR><VAR NAME="VERSION">400.115.003</VAR></ROW><ROW NUM="15"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">GRF</VAR><V
AR NAME="TIME">19:45:21</VA
16:08:05,484 INFO [STDOUT] R><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="16"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">GUI</VAR><VAR NAME="TIME">19:45:
05</VAR><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="17"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">INI</VAR><VAR NAME="TIME">19:40:25</VAR><VAR NAME="VER
SION">400.115.020</VAR></ROW><ROW NUM="18"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">LBY</VAR><VAR NAME="TIME">19:55:54</VAR><VAR NAME="VERSION">400.115.011</VAR
></ROW><ROW NUM="19"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">LGN</VAR><VAR NAME="TIME">19:56:11</VAR><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="20"><
VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">LOG</VAR><VAR NAME="TIME">19:48:31</VAR><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="21"><VAR NAME="DATE">Nov 19
2009</VAR><VAR NAME="NAME">PRT</VAR><VAR NAME="TIME">19:43:19</VAR><VAR NAME="VERSION">400.115.011</VAR></ROW><ROW NUM="22"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="
NAME">USR</VAR><VAR NAME="T
16:08:05,484 INFO [STDOUT] IME">19:55:00</VAR><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="23"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">UTL</VAR><VAR N
AME="TIME">19:40:55</VAR><VAR NAME="VERSION">400.115.010</VAR></ROW><ROW NUM="24"><VAR NAME="DATE">Nov 19 2009</VAR><VAR NAME="NAME">VMM</VAR><VAR NAME="TIME">19:39:14</V
AR><VAR NAME="VERSION">400.115.003</VAR></ROW></ROWSET></MSGVARS></DSIMSG><Results><Result>0</Result></Results></DoCallIDSResponse></env:Body></env:Envelope>
16:08:05,484 INFO [STDOUT]
*********************************************
16:08:05,531 ERROR [SOAPMessageUnMarshallerHTTP] Cannot unmarshall SOAPMessage
javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:272)
at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:82)
at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:570)
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:369)
at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:161)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at org.jboss.remoting.Client.invokeOneway(Client.java:678)
at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:239)
at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71)
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:143)
at org.jboss.ws.core.soap.SOAPConnectionImpl.callOneWay(SOAPConnectionImpl.java:87)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.sendResponse(RequestHandlerImpl.java:372)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:332)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
16:08:05,578 ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: javax.xml.soap.SOAPException: java.io.IOException: Could not transmit message
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:336)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.xml.soap.SOAPException: java.io.IOException: Could not transmit message
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:152)
at org.jboss.ws.core.soap.SOAPConnectionImpl.callOneWay(SOAPConnectionImpl.java:87)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.sendResponse(RequestHandlerImpl.java:372)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:332)
... 24 more
Caused by: java.io.IOException: Could not transmit message
at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:265)
at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71)
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:143)
... 27 more
Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker after 1 attempt(s)
at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:249)
at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:161)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at org.jboss.remoting.Client.invokeOneway(Client.java:678)
at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:239)
... 29 more
Caused by: java.io.IOException: javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1
at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:90)
at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:570)
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:369)
at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
... 35 more
Caused by: javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:272)
at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:82)
... 38 more
16:08:05,578 ERROR [[DocumakerServiceSoap11]] Servlet.service() for servlet DocumakerServiceSoap11 threw exception
javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:272)
at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:82)
at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:570)
at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:369)
at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:231)
at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:161)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:165)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at org.jboss.remoting.Client.invokeOneway(Client.java:678)
at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:239)
at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71)
at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:143)
at org.jboss.ws.core.soap.SOAPConnectionImpl.callOneWay(SOAPConnectionImpl.java:87)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.sendResponse(RequestHandlerImpl.java:372)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:332)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131)
at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBWS-2856) wsprovide.sh fails while processing webservice annotated with @WebServiceProvider
by Peter Skopek (JIRA)
wsprovide.sh fails while processing webservice annotated with @WebServiceProvider
---------------------------------------------------------------------------------
Key: JBWS-2856
URL: https://jira.jboss.org/jira/browse/JBWS-2856
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: tools-jaxws
Affects Versions: jbossws-native-3.1.2
Environment: TCK jaxws 2.1 standalone, EAP 5.0.0.GA used as Vendor Implementation
Reporter: Peter Skopek
Priority: Critical
While generating artefacts for reverse tests I have found that wsprovide.sh fails while processing webservice annotated with @WebServiceProvider.
See part of the log:
----------------------------------------------------------
Doing Java-to-WSDL generation using vendor specific tools
----------------------------------------------------------
Command invoked: org.jboss.wsf.spi.tools.cmd.WSProvide -k -o /home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_classes -r /home/pskopek/tck5-jaxws/jaxwstck/src/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server -s /home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_sources -t com.sun.ts.tests.jaxws.ee.j2w.document.literal.restful.server.TokensImpl
Output directory: /home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_classes
Source directory: /home/pskopek/tck5-jaxws/jaxwstck/classes_vi_built/com/sun/ts/tests/jaxws/ee/j2w/document/literal/restful/server/generated_sources
log4j:WARN No appenders could be found for logger (org.jboss.wsf.framework.DefaultSPIProvider).
log4j:WARN Please initialize the log4j system properly.
Error: Could not generate. (use --show-traces to see full traces)
org.jboss.ws.WSException: Cannot obtain @WebService annotation from: com.sun.ts.tests.jaxws.ee.j2w.document.literal.restful.server.TokensImpl
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.processWebService(JAXWSWebServiceMetaDataBuilder.java:288)
at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:104)
at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:108)
at org.jboss.ws.tools.jaxws.impl.JBossWSProviderImpl.provide(JBossWSProviderImpl.java:124)
at org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:183)
at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:76)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months
[JBoss JIRA] Created: (JBWS-2810) UnifiedMetaData uses thread context loader to find classes, this can lead to javassist.NotFoundException
by Johannes Rudolph (JIRA)
UnifiedMetaData uses thread context loader to find classes, this can lead to javassist.NotFoundException
--------------------------------------------------------------------------------------------------------
Key: JBWS-2810
URL: https://jira.jboss.org/jira/browse/JBWS-2810
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.0.1
Reporter: Johannes Rudolph
See this description on the seam page:
http://seamframework.org/Community/AsynchronousJavassistClassloadProblem
or another stack trace here. [1]
If you call Service.getPort from a Thread for which the context class loader is not set correctly, the call fails like shown. This can happen, for example, when scheduled on another Thread. Wouldn't it be better to use a ClassLoader which is more likely to return the domain class? For example the ClassLoader of the Class object passed to the Service.getPort call?
This gives rise to subtle bugs, where this occurs only after JBoss AS was freshly started. After a redeploy some ClassLoader magic has happened and everything is working as expected.
[1] (I replaced some domain Class names with XXX)
15:05:37,582 ERROR [STDERR] org.jboss.ws.WSException: Could not generate wrapper type: XXX
15:05:37,582 ERROR [STDERR] at org.jboss.ws.core.jaxws.DynamicWrapperGenerator.generate(DynamicWrapperGenerator.java:124)
15:05:37,582 ERROR [STDERR] at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.processWebMethod(JAXWSMetaDataBuilder.java:774)
15:05:37,582 ERROR [STDERR] at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.processWebMethods(JAXWSMetaDataBuilder.java:891)
15:05:37,584 ERROR [STDERR] at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:300)
15:05:37,585 ERROR [STDERR] at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:271)
15:05:37,585 ERROR [STDERR] at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:202)
15:05:37,585 ERROR [STDERR] at javax.xml.ws.Service.getPort(Service.java:143)
[...]
15:05:37,585 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:05:37,585 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
15:05:37,585 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
15:05:37,585 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
15:05:37,585 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
15:05:37,585 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
15:05:37,585 ERROR [STDERR] at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44)
15:05:37,585 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
15:05:37,585 ERROR [STDERR] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
15:05:37,585 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
15:05:37,585 ERROR [STDERR] at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:30)
15:05:37,586 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
15:05:37,586 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
15:05:37,586 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:187)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:72)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:29)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
15:05:37,586 ERROR [STDERR] at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:50)
15:05:37,587 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:05:37,587 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
15:05:37,587 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
15:05:37,587 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
15:05:37,587 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
15:05:37,587 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
15:05:37,587 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,587 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
15:05:37,587 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,587 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
15:05:37,587 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,587 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
15:05:37,587 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
15:05:37,587 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,588 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
15:05:37,588 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,588 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
15:05:37,588 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,588 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
15:05:37,588 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
15:05:37,588 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,588 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
15:05:37,588 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,588 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
15:05:37,588 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
15:05:37,588 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240)
15:05:37,588 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210)
15:05:37,588 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
15:05:37,588 ERROR [STDERR] at $Proxy171.callUpdateContractConditions(Unknown Source)
15:05:37,588 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:05:37,588 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
15:05:37,588 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
15:05:37,588 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.async.AsynchronousInterceptor.aroundInvoke(AsynchronousInterceptor.java:52)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
15:05:37,588 ERROR [STDERR] at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
15:05:37,589 ERROR [STDERR] at org.javassist.tmp.java.lang.Object_$$_javassist_seam_13.callUpdateContractConditions(Object_$$_javassist_seam_13.java)
15:05:37,589 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
15:05:37,589 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
15:05:37,589 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
15:05:37,589 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
15:05:37,589 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
15:05:37,589 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
15:05:37,589 ERROR [STDERR] at org.jboss.seam.async.AsynchronousInvocation$1.process(AsynchronousInvocation.java:62)
15:05:37,589 ERROR [STDERR] at org.jboss.seam.async.Asynchronous$ContextualAsynchronousRequest.run(Asynchronous.java:80)
15:05:37,589 ERROR [STDERR] at org.jboss.seam.async.AsynchronousInvocation.execute(AsynchronousInvocation.java:44)
15:05:37,589 ERROR [STDERR] at org.jboss.seam.async.QuartzDispatcher$QuartzJob.execute(QuartzDispatcher.java:243)
15:05:37,589 ERROR [STDERR] at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
15:05:37,589 ERROR [STDERR] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
15:05:37,589 ERROR [STDERR] Caused by: javassist.NotFoundException: XXX
15:05:37,589 ERROR [STDERR] at javassist.ClassPool.get(ClassPool.java:436)
15:05:37,589 ERROR [STDERR] at org.jboss.ws.core.jaxws.DynamicWrapperGenerator.addProperty(DynamicWrapperGenerator.java:203)
15:05:37,589 ERROR [STDERR] at org.jboss.ws.core.jaxws.DynamicWrapperGenerator.generate(DynamicWrapperGenerator.java:111)
15:05:37,589 ERROR [STDERR] ... 87 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 9 months