Wanted to thank everyone for their help on the past couple 
problems I've had.  

I think the container managed bean problem could be the 
transaction not supported (using MySQL which I know is not a 
great thing, and I need to use TX_NOT_SUPPORTED to get it to 
work), or maybe the changing of the primary key class.  

I've reviewed the EJB specification fairly completely, and can find 
nowhere that says that the primary key cannot change.  It is not an 
immutable object in my case, but it will always uniquely identify a 
bean, which I think is the requirement.

My case is a mail account on a server, where the primary key is 
the mail account mame ([EMAIL PROTECTED]) for example.. a 
combination of username and domain.  There are rare cases when 
an administrator will want to change the username of the person (or 
a domain if they sign up for a virtual hosting) while still retaining all 
other information associated with the account.  The mail address 
must always be unique, of course, so it makes a good primary key.

Anyhow, this works when I manage the persistance myself, so I've 
at least worked around the problem.

I wanted to report another possible problem... perhaps it has to do 
with the odd things I'm doing, perhaps its a problem in JOnAS... 
but occasionally the connection to the server fails.  I'm using a 
session bean to communicate with the client.. client makes the 
call to the session bean to get a list of customer accounts (sent 
back as a java.util.List of data rather than EntityBean references).  
Occasionally.. the call hangs.. it seems to be before the create 
method is called.. I've got System.out.println's in my beans and 
nothing happens.

Also, when this occurs, I move to stop the JOnAS server and kill 
the rmiregistry processes so I can start everything up again.

AdmServer -s hangs as well... so I don't think this is inside my 
beans.. it seems to deadlock the server.  I'm trying to find out what 
I can do to make this re-occur.. so far it seems sporadic.

- Tim.

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to