Hi,

I have no idea about Jboss-2.4.x. It is fine with Jboss 3.0.x.

It may have something to do with serialization of PK??/ (Just a wild
guess!!!)

-Saroj

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Ooi Leng
Chai
Sent: Tuesday, August 27, 2002 3:21 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] RE: illegalArgumentException while removing the
entity bean (Saroj Kumar)


Hi,

   I am having the same problem.

   I am deploying the CMP bean that use composite key. I have no 
problem load and update the same bean.

   I have tried on both JBoss-2.4.7_Tomcat-4.0.4 and JBoss-2.4.8_Tomcat-
4.0.4 both throw the IllegalArgumentException when I attemp to invoke 
home.remove(key) from whithin a servlet.

   I wrote a jboss-client to test out the same bean, calling home.remove
(key). This time it doesn't any exception.

   I tried those (remove from servlet & remove from jboss-client) a few 
times, and the result are consistence. The servlet always throws 
exception and the jboss-client always no problem. I also try running 
jboss on Linux and NT server (using IBM JVM, hotspot1.3 and hotspot1.4) 
all give same result.

   The next thing I did was to download the JBoss-3.0.1_Tomcat-4.0.4 
and test my bean on it. I have no problem calling the remove on ny bean 
home interface.

   Has anybody ever try cmp + composite key + servlet + JBoss 2.4.x + 
Tomcat-4.0.4 with a successful result before?

   Can this be a bug for JBoss-2.4.x_Tomcat-4.0.4?

Cheers



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to