0 Replies Latest reply on Mar 8, 2002 6:40 AM by Frank Karlstrøm

    EJB methods going through RMI when it should go in-VM

    Frank Karlstrøm Newbie

      Hello everybody.

      I have been checking my JBOSS-installation for performance problems, and it looks like my EJB-calls are going through RMI. I am not sure if this is the case,
      but most of the time in the JBOSS-code is used in:

      initialization of a java.rmi.MarshalledObject
      java.rmi.MarshalledObject.get()
      java.io.ObjectOutputStream.writeObject()
      java.io.ObjectInputStream.readObject()


      This should not happen since my jndi.properties says:

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      # Do NOT uncomment this line as it causes in VM calls to go over
      # RMI!
      #java.naming.provider.url=localhost


      My configuration is:
      JBoss 2.4.4 with tomcat 4.0.1 (the one available on the JBoss site)
      JRE 1.3.1_02 HotSpot server VM.

      Hope someone can point me in the right direction to fix this, perhaps downgrade, or installing a patch or something.

      Best regards Frank Karlstrøm