0 Replies Latest reply on May 15, 2003 5:31 AM by janny77

    Problem with JAAS and RMI Connector

    janny77 Newbie

      Hi,
      I'm trying to use an RMI Connector with JBoss 3.2.1 for connecting remotely to the MBeanServer. When I add a listener passing it a filter (extending the NotificationFilter class) I encounter this error:

      ///////////////////////////////////
      RuntimeMBeanException: null
      Cause: org.jboss.util.NestedRuntimeException: RemoteException occurred in server thread; nested exception is:
      java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
      java.lang.ClassNotFoundException: org.jboss.jmx.connector.InternalFilter (no security manager: RMI class loader disabled); - nested throwable: (java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
      java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
      java.lang.ClassNotFoundException: org.jboss.jmx.connector.InternalFilter (no security manager: RMI class loader disabled))
      at org.jboss.jmx.connector.rmi.RMIConnectorImpl.addNotificationListener(RMIConnectorImpl.java:431)
      at org.jboss.jmx.connector.notification.ClientNotificationListener.addNotificationListener(ClientNotificationListener.java:95)
      at org.jboss.jmx.connector.notification.RMIClientNotificationListener.(RMIClientNotificationListener.java:54)
      at org.jboss.jmx.connector.rmi.RMIConnectorImpl.addNotificationListener(RMIConnectorImpl.java:445)
      at org.jboss.jmx.connector.TestClient.run(TestClient.java:154)
      at org.jboss.jmx.connector.TestClient.main(TestClient.java:67)
      ///////////////////////////

      I suppose there is a problem with the security manager, but I'm not very skilled in RMI and JAAS.

      I do not know how to make setting in the server configuration to enable my client connecting...

      Anyone can help me???

      Thanks