kaustuv.maji
2013-02-08 10:46:10 UTC
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]
"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]