[jboss-user] [EJB3] - jboss 5.1 remoting client exception from osgi ejb client app

kaustuv.maji do-not-reply at jboss.com
Fri Feb 8 05:46:10 EST 2013


kaustuv.maji [https://community.jboss.org/people/kaustuv.maji] created the discussion

"jboss 5.1 remoting client exception from osgi ejb client app"

To view the discussion, visit: https://community.jboss.org/message/796718#796718

--------------------------------------------------------------
Hi All,

Am facing problem during remote calling ejb service deployed in jboss 5.1.2 from my osgi client app following is a log stracktrace . I'm able to remote call my ejb service from standalone

+*Caused by: java.lang.reflect.UndeclaredThrowableException*+
     at $Proxy52.create(Unknown Source)
*Ca+used by: java.lang.Exception: Can not make remoting client invocation due to not being connected to server.+*
+          at org.jboss.remoting.Client.invoke(Client.java:2075)+
+          at org.jboss.remoting.Client.invoke(Client.java:879)+
+          at org.jboss.invocation.unified.interfaces.UnifiedInvokerHAProxy.invoke(UnifiedInvokerHAProxy.java:220)+
+          at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:416)+
+          at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:248)+
+          at org.jboss.proxy.TransactionStickyInterceptor.invoke(TransactionStickyInterceptor.java:40)+
+          at org.jboss.proxy.ejb.RetryInterceptor.invoke(RetryInterceptor.java:177)+
+          at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)+
+          at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)+
+          at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)+
+          at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)+
+          at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)+
+          ... 20 more+


osgi client app contains following jboss 5.1.2 client jars in it's classpath

    jboss-security-spi.jar
          jbosssx-client.jar
          jboss-javaee.jar
          jboss-logging-spi.jar
          concurrent.jar
          jboss-aop-client.jar
          jboss-ha-legacy-client.jar
          jboss-ha-client.jar
          jboss-client.jar
          jboss-common-core.jar
          jboss-integration.jar
          jboss-logging-log4j.jar
          jboss-serialization.jar
          jboss-remoting.jar
          jnp-client.jar
          javassist.jar
          jboss-aspect-jdk50-client.jar
     trove.jar

and enviroment variables are
{java.naming.provider.url=jnp://localhost:1099, java.naming.factory.initial=org.jboss.naming.NamingContextFactory, jnp.disableDiscovery=true, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796718#796718]

Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130208/9d9a5b22/attachment.html 


More information about the jboss-user mailing list