[jboss-user] [JBoss Messaging] - Re: Jboss Messaging - Warning Message on Transaction isolati

timfox do-not-reply at jboss.com
Mon Apr 16 07:35:01 EDT 2007


"Craig2007" wrote : 
  | Your reply note says that only at database side these isolation level need to be changed and not at JBoss messaging deployment side(JBOSS_HOME/server/messaging). 
  | 
  | 

No, I didn't say that.

If you look in your mysql-persistence-service.xml (or clustered-mysql-persistence-service.xml) file, you will see it references a particular datasource


  | <depends>jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
  | 

This is the datasource JBoss Messaging will use. By default it's value is DefaultDS. You can change it to use any DataSource you want.

In JBoss AS, datasources are typically deployed in the server/<server-name//deploy directory with names like mysql-ds.xml. This is the data source configuration file.

This link will show you how to configure the datasource including how to set the transaction isolation.

http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources








View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037510#4037510

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037510



More information about the jboss-user mailing list