continuation
| mentScanner.java:273)
| at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
If I uncomment the depends-list and comment the depends, jboss reports:
| 16:42:28,484 INFO [ConfigFile] Starting
| 16:42:28,500 ERROR [ConfigFile] Starting failed
| javax.management.InstanceNotFoundException:
jboss.mq:service=DestinationManager is not registered.
| at
I made a mistake.
:P
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3856484#3856484
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3856484
---
SF email is sponsored by -
How jboss associates database connection(java.sql.Connection) with transaction?
example
|xxmethod {
|...
|UserTransaction ut = ctx.lookup(UserTransaction);
|ut.begin();
|call xx.method1();
|call xx.method2();
|
Because JDBC comments as following:
Note: By default a Connection object is in auto-commit mode, which means that
it automatically commits changes after executing each statement. If auto-commit
mode has been disabled, the method commit must be called explicitly in order to
commit changes;