this is an issue in spring 2.0.6. works fine in 2.0.8
thx
jnl1 wrote:
hi,
i'm running andromda 3.3, jdk 1.6 and jboss 4.3.2.ga. this was working fine in 4.0.5. but after updating jboss, when an exception is thrown from a service, the exception is not getting caught and displayed to the user. in my controllerImpl:
this.getAccountService().addAccount(form.getAccount());
in my accountServiceImpl I throw this exception:
throw new AccountServiceException("Test: " +
"Account Name exists already");
That message is not being displayed, but instead this message is (as a result of the previous failure):
12:58:32,145 ERROR [NewAccountController] javax.ejb.EJBException: org.springframework.transaction.NoTransactionException
: No active JTA transaction
Everytime an exception is thrown, instead of displaying the correct message from the messages.properties file, it displays the 'jta...' message.
ideas?
thx!