[jboss-user] [JNDI/Naming/Network] - VERY URGENT:Cant Invoke the Remote Method by REFLECTIOn
shah.gaurav
do-not-reply at jboss.com
Tue Jul 31 04:16:05 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=4069041#4069041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069041
More information about the jboss-user
mailing list