6 Replies Latest reply on Dec 17, 2002 12:31 PM by Gayathri Vidyasankar

    What in the world is this?

    Eduardo Elgueta Newbie

      Hi All,

      On a EJB client app I have this code:
      Context ctx = new InitialContext();
      Object ref = ctx.lookup("PaxFinder");
      paxFinderHome = (PaxFinderHome) PortableRemoteObject.narrow(ref, PaxFinderHome.class);
      paxFinder = paxFinderHome.create(param1);
      String uid = paxFinder.getUId(); <== Exception line

      I get this exception:
      java.lang.reflect.UndeclaredThrowableException: javax.resource.ResourceException: associateConnection not supported
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
      at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
      at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:138)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
      at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:117)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy1.getUId(Unknown Source)
      at com.cocha.sistemas.crdb_test.PaxFinderTestClient.getUId(PaxFinderTestClient.java:93)
      at com.cocha.sistemas.crdb_test.PaxFinderTestClient.main(PaxFinderTestClient.java:142)

      I'm totally lost!

      TIA,

      Ed.