HELP ME! ERROR IN CONNECTION WITH USER TRANSACTION
Thomas <[email protected]> Fri, 17 Feb 2006 09:57:42 +0100
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Organization | OT Consulting |
| Message-ID | <[email protected]> |
Hi, i've seen the error in the attachement while i'm trying to connect with admin user. I 've deployed my app. in Jboss 4.03 AS and the data source is My Sql 5... anybody knows the mistake that i've made?
error_in_connect.txt
(text/plain, 1.2 KB)
the error...
2006-02-17 09:16:36,030 ERROR common.ExceptionUtility.<init>(ExceptionUtility.java:30) - Exception in connect
2006-02-17 09:16:36,030 ERROR common.ExceptionUtility.<init>(ExceptionUtility.java:31) - Message : Errore: rilascio della transazione fallito
2006-02-17 09:16:36,030 ERROR common.ExceptionUtility.<init>(ExceptionUtility.java:32) - Exception Message: Can't create UserTransaction
2006-02-17 09:16:36,040 ERROR common.ExceptionUtility.<init>(ExceptionUtility.java:33) - StackTrace: Can't create UserTransaction
2006-02-17 09:16:36,070 ERROR common.ExceptionUtility.<init>(ExceptionUtility.java:38) - java.lang.NullPointerException
at org.enhydra.shark.Shark.createUserTransaction(Shark.java:219)
at com.otconsulting.bpm.wf.services.ConnectionMgr.connect(ConnectionMgr.java:88)
...
My Source:
...
UserTransaction ut=null;
SharkTransaction t = null;
try{
ut=getLocalSrv().findWorkflowServer().getInstance().createUserTransaction(); <-- line 88
t=getLocalSrv().findWorkflowServer().getInstance().createTransaction();
getLog().debug("ConnectionMgr - Connect (start)");
String user=userSession.getUsername();
String pwd=userSession.getPwd();
....
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws