[JBoss-user] [Installation, Configuration Deployment] - Re: JMS in transacted beans

2006-01-19 Thread svinther
That seemed to solve my problem about committing automatically.

But I still have a problem with the scenario. In a MDB onMessage method I 
change/create some entity beans and send a message. Both changes are committed 
successfully on exit of the onMessage method. The message sent then reaches 
another MDB, but here the entity bean changes made in the fist MDB can not be 
seen. 

It actually works 1 time, on the first run, so I think it might be a problem 
with setting up the QueueSession in the ejbCreate method. If that is so, how or 
where should the QueueSession be set up ? If setting it up in the onMessage 
method, I don't see how the Session would ever be closed down again 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918319#3918319

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918319


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: JMS in transacted beans

2006-01-19 Thread svinther
I have now read this wiki entry 
http://wiki.jboss.org/wiki/Wiki.jsp?page=MyJMSReceiverCannotSeeADBUpdateMadeInTheSameTransactionAsASend

and understand that 2 phase commits does not guarantee that when the 
transaction is done, all datasources has completed their commit operations. The 
wiki entry states that setting the isolation level of the datasource to 
TRANSACTION_SERIALIZABLE should prevent the problem. So I tried that, but with 
no luck. Here is my datasource configuration

  | datasources
  |   xa-datasource
  | !--jndi-namePostgresXADS/jndi-name--
  | jndi-nameDefaultDS/jndi-name
  | track-connection-by-tx/
  | 
xa-datasource-classorg.postgresql.xa.PGXADataSource/xa-datasource-class
  | xa-datasource-property 
name=ServerName192.168.1.177/xa-datasource-property
  | xa-datasource-property name=PortNumber5432/xa-datasource-property
  | xa-datasource-property 
name=DatabaseNamesignserver-svs/xa-datasource-property
  | xa-datasource-property name=Userpostgres/xa-datasource-property
  | xa-datasource-property name=Password/xa-datasource-property
  | transaction-isolationTRANSACTION_SERIALIZABLE/transaction-isolation
  |   /xa-datasource
  | 
  | /datasources
  | 

Any additional hints would be highly appreciated!

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918347#3918347

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918347


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: JMS in transacted beans

2006-01-18 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJMSRA

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3918271#3918271

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3918271


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user