Hi Toby ,  Thanks
   
  The complete exception is below :  

 java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is: 
        javax.transaction.TransactionRolledbackException: Load failed; nested
exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class; nested exception is: 
        java.rmi.ServerException: Load failed; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class; nested exception is: 
        javax.transaction.TransactionRolledbackException: Load failed; nested
exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class; nested exception is: 
        java.rmi.ServerException: Load failed; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class
javax.transaction.TransactionRolledbackException: Load failed; nested
exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class; nested exception is: 
        java.rmi.ServerException: Load failed; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class; nested exception is: 
        javax.transaction.TransactionRolledbackException: Load failed; nested
exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class; nested exception is: 
        java.rmi.ServerException: Load failed; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class
javax.transaction.TransactionRolledbackException: Load failed; nested
exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class; nested exception is: 
        java.rmi.ServerException: Load failed; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class
java.rmi.ServerException: Load failed; nested exception is: 
        java.lang.IllegalArgumentException: object is not an instance of
declaring class
java.lang.IllegalArgumentException: object is not an instance of
declaring class
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invoke(Unknown
Source)
        at
org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:188)
        at $Proxy1.adminDeleteCompany(Unknown Source)
        at com.cesma.ecommerce.pmg.pmgprocess.Untitled1.main(Untitled1.java:38)




Toby Allsopp wrote:
> 
> On Wed, May 16, 2001 at 11:21:57AM +0800, Russell wrote:
> >
> >  Hi all ,
> >
> >    I am using jBoss2.1 , jdk1.3 and Tomcat3.2.1.
> >
> >    When i tried to remove entity , i have the error below :
> >
> >     java.lang.Illegal.Argument Exception : object is not instance of the
> > class...
> 
> Please, when reporting exceptions, use copy and paste and include THE
> ENTIRE STACKTRACE.  Sorry for shouting, but this really gets on ones
> nerves after a while.
> 
> >    And the code is :
> >
> >       Remote r = home.findByPrimaryKey(new HomePK(3));
> >       r.remove() --> error here.
> 
> That looks reasonable to me.  The complete stacktrace might shed some
> more light on the matter.
> 
> Toby.
> 
> >   Anybody have any idea why like that ?? Is this a bug in jboss ??
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to