-
1. Re: JBoss 5.1 - DefaultJMSProvider exception continually appearing in logs
thunder.farmer Jul 22, 2011 3:54 AM (in response to eightyseventurbo)hi,
from error log, I guess you config a xa datasource for JMS perstance.
look into "YOUR_JBOSS_HOME/server/YOUR_PROFILE/deploy/messaging/XXX-persistence-service", where there are two attribute "DataSource", find out the datasource name and check corresponding datascource if it's XA datasource.
-
2. Re: JBoss 5.1 - DefaultJMSProvider exception continually appearing in logs
eightyseventurbo Oct 25, 2011 3:02 PM (in response to thunder.farmer)Hey, Thunder,
Apologies for the late reply, but I'm still trying to deal with this issue.
I looked into the datasource defined in the path you gave, which turned out to be a file called "hsqldb-persistence-service.xml". From what I've read, this refers to the default Hypersonic database that JBoss ships with. I'm not sure why I'm seeing a continuous error from something that is included in the default JBoss configuration. Do I have to configure Hypersonic somehow to prevent this error from occurring? Should I modify the hsqldb-persistence-service.xml file to ensure that this datasource is treated as an XA Datasource by JBoss?
I'm kind of at a loss with this one, so any help that anyone can offer is much appreciated. This exception is spamming itself in our log files about every five minutes or so.
-
3. Re: JBoss 5.1 - DefaultJMSProvider exception continually appearing in logs
jowilson Jul 26, 2012 10:10 AM (in response to eightyseventurbo)Did you ever figure this out. I recently ran across this and figured I would at least post one possible solution.
If you are not using clustering then there are a few fields in the oracle-persistance-service.xml file that need to be commented out.
You should have already done steps 1 - 3 but I added them just in case.
- cd /.../jbossas/server/xxx/deploy/messaging/
- rm hsqldb-persistence-service.xml
- cp /.../jbossas/docs/examples/jms/oracle-persistance-service.xml .
- vim oracle-persistence-service.xml
- / Channel (that is find for 'Channel' in vim)
- comment out the 4 lines below the Note that tell you to comment out the lines, like so.
<!--depends optional-attribute-name="ChannelFactoryName">jboss.jgroups:service=ChannelFactory</depends>
<attribute name="ControlChannelName">jbm-control</attribute>
<attribute name="DataChannelName">jbm-data</attribute>
<attribute name="ChannelPartitionName">${jboss.partition.name:DefaultPartition}-JMS</attribute-->