RE: [JBoss-user] Passing Business Exception to Client

2002-01-14 Thread Perryn . Fowler
Bill, The confusion probably resulted because it wasnt clear you were talking about ejbStore(). As I understand it the comments about application exceptions are all correct, but an ejbStore() should never throw an app exception. basically any changes to the state of the bean should be validated

RE: [JBoss-user] rollback jdbc transaction

2001-07-05 Thread Perryn . Fowler
Jure, As I understand it you are not meant to directly access con.commit() or con.rollback() methods from within an EJB. If you want to do Bean demarcated transactions, then you should use an external (to postgres) transaction manager via the javax.transaction.UserTransaction interface and use i

RE: [JBoss-user] Problems Running Interest Example

2001-07-01 Thread Perryn . Fowler
check what JNDI name your bean is bound to and what you are looking up in your client. If you correctly deployed the Jboss.xml example provided your bean should be bound to 'interest/Interest' - if not it should default to the bean name 'Interest' it looks like you are trying to lookup 'interest

[JBoss-user] Cant run InterestClient example

2001-06-20 Thread Perryn . Fowler
Hi I have recently downloaded JBoss and Im having some trouble running the example interest bean. I have managed to deploy the bean, however when I try to run the client, it prints out >Got context >mprotect: Bad address >mprotect reset: Bad address >mprotect reset: Bad address >mprotect: Bad a