[JBossWS, EJB 3.0] How to specify the truststore location for a web service client called from EJB slsb
by David Siefert
Hello,
I have the following scenario:
I am trying to call a Webservice that communicates via a secure socket (in
other words, its located at https://hostname/path/to/service?wsdl). When I
call the Stateless Session Bean that uses the service proxy, I get an odd
UndeclaredThrowable exception. It turns out it is because it cannot
communicate with the webservice and is throwing an IOException which was not
declared in the remote interface thus causing the UndeclaredThrowable rmi
exception.
I created a unit test to try calling the web service outside of the EJB
container, and got it working. I had to specify the truststore location
with a system property javax.net.ssl.trustStore and
javax.net.ssl.trustStorePassword property (which keeps the IOException from
being thrown). Now how do I specify these properties for the JBoss
application server? I tried using the SystemProperties service, but it does
not work.
Any other idea?
Thanks,
David
18 years
[JBossWS] - help completely stuck trying to access an EJB3 WS - please h
by wiggy
Could someone please help me - really confused about how get JBOSS WS working properly
trying to get a seam application exposed with web services. Tried to write a simple WS test and came unstuck. I need help as this is now holding me back and its doing my head in. I have another developer stuck waiting for me to expose a service.
here goes.
1. created an EAR based server. Here is the webservice endpoint class in the wstest2-ejb project within the EAR.
| package org.domain.wstest2.webservices;
|
| import java.util.List;
|
| import javax.ejb.Stateless;
| import javax.jws.WebMethod;
| import javax.jws.WebResult;
| import javax.jws.WebService;
|
|
| import org.jboss.seam.Component;
|
| @Stateless (name="HelloService")
| @WebService (
| name="HelloServiceWS",
| serviceName="HelloService" )
| public class HelloServiceBean implements HelloServiceRemote
| {
| @WebMethod (operationName="sayHello")
| @WebResult (name="helloResult")
| public String hello ()
| {
| return "hello World";
| }
| }
|
|
as it was going to be a seam based test - i created in the META-INF the following standard-jaxws-endpoint-config.xml
| <?xml version="1.0" encoding="UTF-8"?>
| <!-- webservice seam SOAP handler profile -->
| <jaxws-config xmlns="urn:jboss:jaxws-config:2.0"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xmlns:javaee="http://java.sun.com/xml/ns/javaee"
| xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
| <endpoint-config>
| <config-name>Seam WebService Endpoint</config-name>
| <pre-handler-chains>
| <javaee:handler-chain>
| <javaee:protocol-bindings>##SOAP11_HTTP</javaee:protocol-bindings>
| <javaee:handler>
| <javaee:handler-name>SOAP Request Handler</javaee:handler-name>
| <javaee:handler-class>org.jboss.seam.webservice.SOAPRequestHandler</javaee:handler-class>
| </javaee:handler>
| </javaee:handler-chain>
| </pre-handler-chains>
| </endpoint-config>
| </jaxws-config>
|
so far so good - deploy the EAR to jboss4.2.2. checked the localhost:8080/jbossws and checked where the generated WSDL is stored
heres what it gives me
| http://127.0.0.1:8080/wstest2-ear-wstest2-ejb/HelloService?wsdl
|
|
|
| heres is the generated WSDL
|
|
| |
| |
| | <definitions name="HelloService" targetNamespace="http://webservices.wstest2.domain.org/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://webservices.wstest2.domain.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
| | - <types>
| | - <xs:schema targetNamespace="http://webservices.wstest2.domain.org/" version="1.0" xmlns:tns="http://webservices.wstest2.domain.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
| | <xs:element name="sayHello" type="tns:sayHello" />
| | <xs:element name="sayHelloResponse" type="tns:sayHelloResponse" />
| | - <xs:complexType name="sayHello">
| | <xs:sequence />
| | </xs:complexType>
| | - <xs:complexType name="sayHelloResponse">
| | - <xs:sequence>
| | <xs:element minOccurs="0" name="helloResult" type="xs:string" />
| | </xs:sequence>
| | </xs:complexType>
| | </xs:schema>
| | </types>
| | - <message name="HelloServiceWS_sayHelloResponse">
| | <part element="tns:sayHelloResponse" name="sayHelloResponse" />
| | </message>
| | - <message name="HelloServiceWS_sayHello">
| | <part element="tns:sayHello" name="sayHello" />
| | </message>
| | - <portType name="HelloServiceWS">
| | - <operation name="sayHello" parameterOrder="sayHello">
| | <input message="tns:HelloServiceWS_sayHello" />
| | <output message="tns:HelloServiceWS_sayHelloResponse" />
| | </operation>
| | </portType>
| | - <binding name="HelloServiceWSBinding" type="tns:HelloServiceWS">
| | <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
| | - <operation name="sayHello">
| | <soap:operation soapAction="" />
| | - <input>
| | <soap:body use="literal" />
| | </input>
| | - <output>
| | <soap:body use="literal" />
| | </output>
| | </operation>
| | </binding>
| | - <service name="HelloService">
| | - <port binding="tns:HelloServiceWSBinding" name="HelloServiceWSPort">
| | <soap:address location="http://127.0.0.1:8080/wstest2-ear-wstest2-ejb/HelloService" />
| | </port>
| | </service>
| | </definitions>
| |
|
| Then I got a little stuck. I scouted round for stuff and entually got to the wsconsum.bat documentation to generate client artifacts.
|
| can the wsconsume and generated the client stubs - and then imported them into my client project (I did this as an EJB3) so that i could use the dependency injection (or so i thought).
|
| heres my EJB client
|
|
| | package test;
| |
| | import javax.ejb.Stateless;
| | import javax.xml.ws.WebServiceRef;
| |
| | import org.domain.wstest2.webservices.*;
| |
| | @Stateless
| | public class TestHelloBean implements TestHelloService, TestHelloServiceRemote
| | {
| |
| | //inject instance of generated service class from wsconsume
| | @WebServiceRef (HelloService.class)
| | private HelloService helloServiceEP;
| |
| | public String sayHello()
| | {
| | //get WS from the End point
| | HelloServiceWS helloService = helloServiceEP.getHelloServiceWSPort();
| |
| | //call my simple method
| | String res = helloService.sayHello();
| | return res;
| | //return "hello";
| | }
| | }
| |
|
| I have a simple main method that does the ctx lookup to get a remote interface to my TestHelloBean - this is run from the command line and i watch the error trace
|
|
| | package test;
| |
| | import java.util.Hashtable;
| |
| | import javax.naming.InitialContext;
| | import org.domain.wstest2.webservices.*;
| |
| | public class Test {
| |
| | /**
| | * @param args
| | */
| | public static void main(String[] args) throws Exception
| | {
| |
| | InitialContext ctx;
| | // TODO Auto-generated method stub
| |
| | TestHelloServiceRemote test;
| |
| | HelloService s = new HelloService();
| | HelloServiceWS ws = s.getHelloServiceWSPort();
| |
| |
| | ctx = getInitialContext();
| |
| | test = (TestHelloServiceRemote) ctx.lookup ("TestHelloBean/remote");
| | //String res = ws.sayHello();//test.sayHello();
| | String res = test.sayHello(); System.out.println ("test: returned " + res + " \n");
| |
| | }
| |
| | public static InitialContext getInitialContext() throws Exception
| | {
| | Hashtable<String, String> props = getInitialContextProperties();
| | return new InitialContext(props);
| | }
| |
| | private static Hashtable<String,String> getInitialContextProperties()
| | {
| | Hashtable <String, String> props = new Hashtable <String, String>();
| | props.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
| | props.put("java.naming.provider.url", "jnp://localhost:1099");
| | props.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces");
| | return props;
| | }
| |
| | }
| |
| |
|
|
| this gives me an error like this
|
|
|
| |
| | Exception in thread "main" javax.ejb.EJBException: javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
| | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
| | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
| | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
| | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| | Caused by: javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| | at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
| | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
| | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| | at $Proxy144.sayHello(Unknown Source)
| | at test.TestHelloBean.sayHello(TestHelloBean.java:18)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
| | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
| | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163)
| | at org.jboss.remoting.Client.invoke(Client.java:1634)
| | at org.jboss.remoting.Client.invoke(Client.java:548)
| | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| | at $Proxy25.sayHello(Unknown Source)
| | at test.Test.main(Test.java:30)
| | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)
| | at $Proxy25.sayHello(Unknown Source)
| | at test.Test.main(Test.java:30)
| | Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
| | at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| | at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
| | at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
| | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
| | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
| | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| | at $Proxy144.sayHello(Unknown Source)
| | at test.TestHelloBean.sayHello(TestHelloBean.java:18)
| | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| | at java.lang.reflect.Method.invoke(Unknown Source)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
| | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
| | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:304)
| | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
| | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
| | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
| | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
| | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
| | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)
| |
|
| i've also tried this from the client (without the ejb lookup ) as follows (modified client)
|
|
|
|
| |
| |
| | ...
| | HelloService s = new HelloService();
| | HelloServiceWS ws = s.getHelloServiceWSPort();
| |
| | ctx = getInitialContext();
| |
| | test = (TestHelloServiceRemote) ctx.lookup ("TestHelloBean/remote");
| |
| | String res = ws.sayHello(); //String res = test.sayHello();
| | System.out.println ("test: returned " + res + " \n");
| |
|
|
| This also errors with this at the client side
|
|
| | Exception in thread "main" javax.xml.ws.WebServiceException: No Content-type in the header!
| | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:143)
| | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
| | at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:559)
| | at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:518)
| | at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:503)
| | at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:400)
| | at com.sun.xml.ws.client.Stub.process(Stub.java:235)
| | at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:120)
| | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:230)
| | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
| | at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
| | at $Proxy24.sayHello(Unknown Source)
| | at test.Test.main(Test.java:29)
| |
|
| and this at the server
|
|
| | 02:06:11,100 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
| | at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:207)
| | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:185)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:389)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| | 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:230)
| | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| | 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:157)
| | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| | at java.lang.Thread.run(Unknown Source)
| | 02:06:11,111 ERROR [RequestHandlerImpl] Error processing web service request
| | org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| | at org.jboss.ws.WSException.rethrow(WSException.java:68)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:310)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| | 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:230)
| | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| | 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:157)
| | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| | at java.lang.Thread.run(Unknown Source)
| | Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
| | at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
| | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
| | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
| | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| | ... 22 more
| | 02:06:11,121 ERROR [[HelloService]] Servlet.service() for servlet HelloService threw exception
| | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
| | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
| | at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:67)
| | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
| | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:232)
| | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
| | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
| | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:430)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| | 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:230)
| | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| | 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:157)
| | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| | at java.lang.Thread.run(Unknown Source)
| |
| |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139966#4139966
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139966
18 years
[EJB 3.0] - Re: EJB 3.0 Entity problem - Error: Incomplete Deployment li
by HappyNewYear
Here it is. I also emailed you (at andrew.rubinger(a)jboss.org) my code and persistence.xml.
| ===============================================================================
|
| JBoss Bootstrap Environment
|
| JBOSS_HOME: C:\jboss-4.2.2.GA
|
| JAVA: C:\Sun\SDK\jdk\bin\java
|
| JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli
| ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
|
| CLASSPATH: C:\Sun\SDK\jdk\lib\tools.jar;C:\jboss-4.2.2.GA\bin\run.jar
|
| ===============================================================================
|
| 19:27:54,778 INFO [Server] Starting JBoss (MX MicroKernel)...
| 19:27:54,778 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=
| JBoss_4_2_2_GA date=200710221139)
| 19:27:54,778 INFO [Server] Home Dir: C:\jboss-4.2.2.GA
| 19:27:54,778 INFO [Server] Home URL: file:/C:/jboss-4.2.2.GA/
| 19:27:54,778 INFO [Server] Patch URL: null
| 19:27:54,778 INFO [Server] Server Name: default
| 19:27:54,778 INFO [Server] Server Home Dir: C:\jboss-4.2.2.GA\server\default
| 19:27:54,778 INFO [Server] Server Home URL: file:/C:/jboss-4.2.2.GA/server/defa
| ult/
| 19:27:54,778 INFO [Server] Server Log Dir: C:\jboss-4.2.2.GA\server\default\log
|
| 19:27:54,778 INFO [Server] Server Temp Dir: C:\jboss-4.2.2.GA\server\default\tm
| p
| 19:27:54,778 INFO [Server] Root Deployment Filename: jboss-service.xml
| 19:27:55,091 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
| 19:27:55,091 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,S
| un Microsystems Inc.
| 19:27:55,107 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
| 19:27:55,732 INFO [Server] Core system initialized
| 19:27:58,591 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083
| /
| 19:27:58,591 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
| ce:jboss-log4j.xml
| 19:27:59,138 INFO [TransactionManagerService] JBossTS Transaction Service (JTA
| version) - JBoss Inc.
| 19:27:59,138 INFO [TransactionManagerService] Setting up property manager MBean
| and JMX layer
| 19:27:59,388 INFO [TransactionManagerService] Starting recovery manager
| 19:27:59,482 INFO [TransactionManagerService] Recovery manager started
| 19:27:59,482 INFO [TransactionManagerService] Binding TransactionManager JNDI R
| eference
| 19:28:02,700 INFO [EJB3Deployer] Starting java:comp multiplexer
| 19:28:03,044 INFO [STDOUT] no object for null
| 19:28:03,044 INFO [STDOUT] no object for null
| 19:28:03,060 INFO [STDOUT] no object for null
| 19:28:03,075 INFO [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
| 19:28:03,091 INFO [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
| 19:28:05,685 INFO [NativeServerConfig] JBoss Web Services - Native
| 19:28:05,685 INFO [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=20071021
| 0837)
| 19:28:06,638 INFO [Embedded] Catalina naming disabled
| 19:28:06,778 INFO [AprLifecycleListener] The Apache Tomcat Native library which
| allows optimal performance in production environments was not found on the java
| .library.path: C:\Sun\SDK\jdk\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;
| C:\WINDOWS;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\INDIGO~1\perl\bin
| ;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickT
| ime\QTSystem\;C:\Sun\SDK\jdk\bin;C:\Program Files\apache-ant-1.7.0\bin;C:\PRISM
| WORKSPACE\PrismMW\lib;C:\Program Files\AspectJ\bin;C:\Program Files\AspectJ\lib\
| aspectjrt.jar;C:\Program Files\Common Files\Adobe\AGL;C:\PROGRA~1\ADDINS~1\XLSTA
| T~1;C:\indigoperl\perl\bin;C:\xmlbeans-2.3.0\bin;C:\shiftone-jrat-0.71b.zip;C:\j
| boss-4.2.2.GA;C:\jboss-4.2.2.GA\bin;ORACLE_HOME;ORACLE_SID;C:\oraclexe\app\oracl
| e\product\10.2.0\server\jdbc\lib;C:\Sun\SDK\bin;C:\Program Files\Pinnacle\Shared
| Files;C:\Program Files\Pinnacle\Shared Files\Filter
| 19:28:07,122 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0
| .1-8080
| 19:28:07,122 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-80
| 09
| 19:28:07,122 INFO [Catalina] Initialization processed in 495 ms
| 19:28:07,138 INFO [StandardService] Starting service jboss.web
| 19:28:07,138 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
| 19:28:07,310 INFO [Catalina] Server startup in 172 ms
| 19:28:07,388 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-w
| eb.deployer/ROOT.war/
| 19:28:08,107 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
| http-invoker.sar/invoker.war/
| 19:28:08,232 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/
| jbossws.sar/jbossws-context.war/
| 19:28:08,544 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
| deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
| 19:28:09,732 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
| loy/management/console-mgr.sar/web-console.war/
| 19:28:10,294 INFO [MailService] Mail Service bound to java:/Mail
| 19:28:10,419 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-ha-local-jdbc.rar
| 19:28:10,544 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 19:28:10,575 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-local-jdbc.rar
| 19:28:10,607 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jboss-xa-jdbc.rar
| 19:28:10,669 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/jms/jms-ra.rar
| 19:28:10,700 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/mail-ra.rar
| 19:28:10,732 INFO [RARDeployment] Required license terms exist, view META-INF/r
| a.xml in .../deploy/quartz-ra.rar
| 19:28:10,747 INFO [QuartzResourceAdapter] start quartz!!!
| 19:28:10,794 INFO [SimpleThreadPool] Job execution threads will use class loade
| r of thread: main
| 19:28:10,825 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
| 19:28:10,825 INFO [RAMJobStore] RAMJobStore initialized.
| 19:28:10,825 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzSchedule
| r' initialized from default resource file in Quartz package: 'quartz.properties'
|
| 19:28:10,825 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
| 19:28:10,825 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUS
| TERED started.
| 19:28:11,653 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
| oss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
| 19:28:11,982 INFO [A] Bound to JNDI name: queue/A
| 19:28:11,982 INFO [B] Bound to JNDI name: queue/B
| 19:28:11,982 INFO [C] Bound to JNDI name: queue/C
| 19:28:11,982 INFO [D] Bound to JNDI name: queue/D
| 19:28:11,982 INFO [ex] Bound to JNDI name: queue/ex
| 19:28:11,997 INFO [testTopic] Bound to JNDI name: topic/testTopic
| 19:28:12,013 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
| 19:28:12,013 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
|
| 19:28:12,013 INFO [testQueue] Bound to JNDI name: queue/testQueue
| 19:28:12,060 INFO [UILServerILService] JBossMQ UIL service available at : /127.
| 0.0.1:8093
| 19:28:12,091 INFO [DLQ] Bound to JNDI name: queue/DLQ
| 19:28:12,372 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
| oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
| 19:28:12,403 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
| loy/jmx-console.war/
| 19:28:12,841 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
| 080
| 19:28:12,872 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
| 19:28:12,919 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBos
| s_4_2_2_GA date=200710221139)] Started in 18s:141ms
| 19:28:23,263 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jbo
| ss.ejb3.stateless.StatelessContainer
| 19:28:23,263 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=tps-e
| ntity.jar,name=FlightBean,service=EJB3 with dependencies:
| 19:28:23,263 INFO [JmxKernelAbstraction] persistence.units:unitName=tps
| 19:28:23,278 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.2.GA/server/defau
| lt/deploy/tps-entity.jar
| 19:28:23,278 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.j2ee:jar=tps-entity.jar,name=FlightBean,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| persistence.units:unitName=tps
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: persistence.units:unitName=tps
| State: NOTYETINSTALLED
| Depends On Me:
| jboss.j2ee:jar=tps-entity.jar,name=FlightBean,service=EJB3
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139965#4139965
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139965
18 years
[EJB 3.0] - Re: @EJB Annotation
by mvlmachado
hi guys,
I've tried to reference an ejb (@EJB) within a managed bean, like ashishkulkarni did. In jboss 4.2.2, i had success, but in jboss5.0.0.beta4 the following error occurred:
| 20:09:14,359 ERROR [JBossInjectionProvider] Injection failed on managed bean.
| javax.naming.NameNotFoundException: ejb not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
| ...
| 20:09:14,406 WARN [lifecycle] executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@17412d0) threw exception
| javax.faces.FacesException: org.apache.jasper.el.JspELException: /index.jsp(13,2) '#{Alo.alo}' Error reading 'alo' on type aloee.Alo
| at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
| ...
|
Meanwhile, I did the same test with a servlet project and in the jboss5.0.0 it worked but in jboss4.2.2 did not.
JBoss Versions: 4.2.2.GA and 5.0.0.beta4
JDK Version - 1.6.0_05
Windows XP
remote interface
| @Remote
| public interface AloRemote {
| String alo();
| }
|
bean code
| @Stateless
| @RemoteBinding(jndiBinding="ejb/AloMundo")
| public class AloBean implements AloRemote {
|
| public String alo() {
| return "Alo, Java EE";
| }
|
| }
|
managed bean
| public class Alo {
|
| @EJB(name="ejb/AloMundo")
| private AloRemote aloRemote;
|
| public String getAlo() {
| return aloRemote.alo();
| }
|
| }
|
will the jboss5GA fix this issue? how can I manage to overcome this situation?
regards,
marcus
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139958#4139958
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139958
18 years