1 Reply Latest reply on Jul 31, 2007 11:35 AM by Peter Johnson

    Cant Handle EJB for REMOTE INVOCATION

    Gaurav Shah Newbie

      Please Help me in this issue...ITS VERY URGENT.
      Is this related with Configuration of JBOSS?

      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.

        • 1. Re: Cant Handle EJB for REMOTE INVOCATION
          Peter Johnson Master

          1) By definition, no posts in this forum are urgent. These forums are user forums where users help each other out. This is not a support portal. If you have urgent need for support, then you should buy support from RedHat or one of the many other companies that provide support. Then you will get a guaranteed response.

          2) Do not be so impatient. You first post was all of 20 minutes before this one (and your replied twice to your original post within 10 minutes.) As I said, this is not a support forum. Users read this forum at their leisure. There is no-one constantly monitoring these forums.

          3) Maybe it is my eyes, or maybe I am getting old, but I find it difficult to comprehend text containing instant messaging-style abbreviations. If I don't understand a post the first read-through I usually skip it. I had to read yours several times to figure out what you were asking.

          4) It does not help that you did not post the full stack trace. Most likely the important part is missing. The "caused by" clause gives me concern.