[jboss-user] [EJB/JBoss] - Cant Invoke remote methods by remote Object
shah.gaurav
do-not-reply at jboss.com
Tue Jul 31 04:36:33 EDT 2007
Please Help me in this issue...ITS VERY URGENT.
I m migrating application from IBM WEBSPHERE to JBOSS 4.0.5.
I was using PROVIDER_URL as corbaloc:iiop:loaclhost:2809
Nw for jboss I m using jnp://localhost:1099
with this i m able to get EJB's HomeObject and RemoteObject(after setting true in call-by-value attribute of ear-deployer.xml file in deault/deploy folder)
But i cant invoke the remote methods by REFLECTION like
Object objDp = methodDoProcess.invoke(objRemote,new Object[]{dp1});
...
getting error as java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-07-29 19:44:56,338 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-07-29 19:44:56,338 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
Caused by: java.io.NotSerializableException: org.apache.log4j.Logger
Pls help in this...its very urgent.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069058#4069058
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069058
More information about the jboss-user
mailing list