4 Replies Latest reply on Apr 19, 2002 11:13 AM by Adrian Brock

    no security manager: RMI class loader disabled

    Kerstin Bank Newbie

      Hi,

      I want to invoke the method "selectMessagetypes" of an stateless SessionBean. This one should select all entries from the database-table, map each to one data-object, pick this data-objects in an ArrayList and return this list. However this invocation accumulates in the following error:

      At client-side:

      com.werum.pasx.foundation.utilities.SystemException: Start of service selectMessagetypes fails in userSession.: null;
      ---> nested java.lang.reflect.UndeclaredThrowableException
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
      at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
      Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown Source)
      at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(Ge
      nericProxy.java:357)
      at org.jboss.ejb.plugins.jrmp.interfaces.StatefulSessionProxy.invoke(StatefulSessionProxy.java:136)
      at $Proxy1.execute(Unknown Source)
      at com.werum.pasx.foundation.utilitiesClient.proxy.EJBProxy.execute(EJBProxy.java:142)
      at com.werum.pasx.foundation.utilitiesClient.proxy.EJBSwingProxy.execute(EJBSwingProxy.java:95)
      at com.werum.pasx.foundation.guiComponents.MesErpTestDataComponent$Messa
      getypeTableModel.getArrayZeilen(MesErpTestDataComponent.java:2390)
      at com.werum.pasx.foundation.guiComponents.MesErpTestDataComponent$Messa
      getypeTableModel.(MesErpTestDataComponent.java:2385)
      at com.werum.pasx.foundation.guiComponents.MesErpTestDataComponent.getMe
      ssagetypes(MesErpTestDataComponent.java:2362)
      at com.werum.pasx.foundation.guiComponents.MesErpTestDataComponent.actio
      nPerformed(MesErpTestDataComponent.java:251)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
      n Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
      ce)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

      At server-side (JBoss 2.4.4):

      [INFO,Default] in UserSession request selectMessagetypes
      [INFO,Default] Error in UserSession:
      [ERROR,Default] java.lang.reflect.UndeclaredThrowableException:
      [ERROR,Default] java.lang.ClassNotFoundException: com.werum.pasx.prototypen.
      erpMesSchnittstelle.MessagetypeData (no security manager: RMI class loader disabled)

      [ERROR,Default] <<no stack trace available>>
      [ERROR,Default]

      I think I have make a mistake by the configuration of the JBoss-Server (2.4.4), because the same jar-files (of cource with other META-INF files) I have deployed in the Inprise AppServer and start then the client, I don't get this error.

      What could cause this error?
      Kerstin