Closed GoogleCodeExporter closed 8 years ago
Hi
Have you tried using the "datasources" parameter, which allows you to list a
comma separated list of datasources you want to monitor. You list the JNDI
names.
Regards
Alf Høgemark
Original comment by alf.hoge...@gmail.com
on 9 Aug 2014 at 12:49
Hi,
If I send "datasources" parameters or put my datasource inside web.xml , I get
an error regarding my Oracle driver module:
Caused by: java.lang.ClassNotFoundException: javax.transaction.xa.XAResource
from [Module "com.oracle:main" from local module loader @37cc745e (finder:
local module finder @4febe3f0 (roots:
C:\jboss-eap-6.1\modules,C:\jboss-eap-6.1\modules\system\layers\base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:196) [jboss-modules.jar:1.2.0.Final-redhat-1]
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:444) [jboss-modules.jar:1.2.0.Final-redhat-1]
... 41 more
Then I realized my module was wrong, this is the working version:
<module xmlns="urn:jboss:module:1.0" name="com.oracle">
<resources>
<resource-root path="ojdbc6.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>
Now it's working fine! =)
Original comment by boag...@gmail.com
on 12 Aug 2014 at 4:06
ok
Original comment by evernat@free.fr
on 12 Aug 2014 at 8:02
Original issue reported on code.google.com by
boag...@gmail.com
on 8 Aug 2014 at 2:07