jboss 5.1.2 remoting client exception from osgi ejb client app
kaustuv.maji Feb 8, 2013 5:47 AMHi 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)
Caused 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}