[JBossWS] - Re: 1.0.4 integration problem with EJB-3RC8
by oglueck
changing the EJB3 package doesn't help:
[exec] org.jboss.ws.WSException: No wrapped types available
[exec] at org.jboss.ws.jaxrpc.ParameterWrapping.generateWrapper(ParameterWrapping.java:463)
[exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.processWebMethod(JSR181MetaDataBuilder.java:437)
[exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.processWebMethods(JSR181MetaDataBuilder.java:257)
[exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:173)
[exec] at org.jboss.ws.deployment.JSR181MetaDataBuilderEJB3.buildMetaData(JSR181MetaDataBuilderEJB3.java:75)
[exec] at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:106)
[exec] at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
[exec] at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
[exec] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
[exec] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
Maybe I should upgrade to a later EJB3 release?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986569#3986569
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986569
18 years, 1 month
[JBossWS] - 1.0.4 integration problem with EJB-3RC8
by oglueck
javax.jws.WebService is also in ejb3.deployer/jboss-ejb3.jar and this version is incompatible with the one in jbossws.sar/jboss-jaxws.jar. This leads to
[exec] java.lang.NoSuchMethodError: javax.jws.WebService.portName()Ljava/lang/String;
[exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:143)
[exec] at org.jboss.ws.deployment.JSR181MetaDataBuilderEJB3.buildMetaData(JSR181MetaDataBuilderEJB3.java:75)
[exec] at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:106)
[exec] at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
[exec] at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
[exec] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
[exec] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
The EJB3 package needs to be updated with the new version of the annotation.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986563#3986563
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986563
18 years, 1 month
[JBossWS] - JSR-181 Endpoint ClassCastException
by jhudson
Hello, I'm new to JSR-181 and was creating a simple test but I am getting a ClassCastException. Can anybody help me? Thanks
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet-name>Test</servlet-name>
<servlet-class>com.test.TestEndpoint</servlet-class>
<servlet-mapping>
<servlet-name>Test</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
package com.test;
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@WebService(name = "TestEndpoint")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class TestEndpoint {
@WebMethod
public String test (String param) {
System.out.println("Param: " + param);
return param;
}
}
javax.servlet.ServletException: Class com.test.TestEndpoint is not a Servlet
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Thread.java:595)
root cause
java.lang.ClassCastException: com.test.TestEndpoint
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986540#3986540
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986540
18 years, 1 month