[JBoss-user] [EJB/JBoss] - Re: TransactionRolledbackException: null
the configuration we did we specific for mvc persistance manager from persistance soft. If you are actually using that, I can tell you. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947963#3947963 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947963 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: TransactionRolledbackException: null
I've had this exception too, but probably in a different setup than you have. We were using mvc from persistance soft to enable ejb2.1 in jboss 2.4.x (also worked with later jboss version). This persistance mechanism had the default behaviour to only set Transaction to rollbackonly and NOT throw an EJBException when the commit on the database transaction fails. Then at a later time (the spot where your exception originates from) the transaction is rolled back (because it is set to rollbackonly) but the original error message from the database is lost. When changing the default behaviour to not only roll back the Server Transaction, but to also throw an EJBException, the message of the database is exception is not lost but can still be found at the end of a big nested exception chain within the TransactionRolledBackException. You might have a different system setup, but maybe this explanation what happened to us helps you find your problem. Basically, the Server Transaction was set to rollbackonly at a certain point without throwing an exception there. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947597#3947597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947597 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Maintaining TX across EJBs and POJOs using JDBC, notifyi
I don't fully understand what you are doing, but concerning the necessity to have it all in one transaction: if your datasources are configured in *-ds.xml files and obtained via jndi lookup, then this will all happen in one server transaction. If you are using different datasources, all but one need to be xa-enabled. If you get your datasource via jndi lookup and specify the same datasource as your EJB persistance datasource, then you will get the same database connection so you won't have to worry about xa. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947600#3947600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947600 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Is this a Java Or JBoss bug?
It's neither a bug in java or jboss, you shouldn't alternate a collection while running over it with an iterator. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3947613#3947613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3947613 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: How to know if a bean instance is accessed by a local or
This is an interesting question, but I doubt there is a solution to it. You might want to go one step back and post what you need to know this information for. If it is merely for logging and to check if calls are local or remote, you could just write an interceptor that logs the invocation type. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945244#3945244 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945244 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: RequiredNew transaction type
methodC should run in a separate transaction and commit upon completion. Your post doesn't show how you called methodB and methodC, so let me make sure: Did you call those methods over the local interface or just inside the bean implementation? The new Transaction is of course only started if the invocation passes the interceptor stack. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945247#3945247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945247 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: TransactionRolledbackException: null
I'd check if there are some constraints on your database that doesn't let the server save the data. Like uniqueness constraints of not-null constraints. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3945391#3945391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945391 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: how to ensure the deployed sequence of different Jars wh
http://www.jboss.org/wiki/Wiki.jsp?page=URLComparator that should do it. dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3942422#3942422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3942422 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Question on Invocation Payload
Hi, I'm using jboss 4.0.2 and in an attempt to measure the time needed for rmi calls and serialization, I implemented a client side and a server side interceptor that would put different timestamps as Long values into the invocation payload (AS_IS). What happened is that the payload set on the client would reach the server, but on the way back the payload set on the server would not reach the client again. Is this behaviour intended or is there most likely a bug in my implementation? thanks for any help and hints, Dirk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940981#3940981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940981 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user