4 Replies Latest reply on Oct 17, 2002 2:00 AM by Amy

    a problem with proxy

    Amy Newbie

      I'm using jboss-3.0.0_tomcat-4.0.3 in windows2000.
      I met an Exception when I find a local cmp entity through a stateless session bean:

      Exception occurred during event dispatching:
      java.lang.reflect.UndeclaredThrowableException: java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.EntityProxy (no security manager: RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:313)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:127)
      at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:138)
      at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java:913)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.inputClassFields(ObjectInputStream.java:2258)
      at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:514)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1407)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
      at java.rmi.MarshalledObject.get(MarshalledObject.java:133)
      at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:111)
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      at $Proxy1.findCompanyByPrimarykey(Unknown Source)

      I make sure that the entity has been found in the server side.
      Please help me. Thanks!