<div dir="ltr"><div><div><div><div>I am having trouble using byteman, the rule seems to load, but simply won't fire<br><br></div>AS7 startup log<br>17:08:31,523 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.4.GA-redhat-1<br>
17:08:31,638 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Starting Coyote HTTP/1.1 on http-/<a href="http://127.0.0.1:8080">127.0.0.1:8080</a><br>17:08:31,785 INFO [stdout] (MSC service thread 1-5) org.jboss.byteman.agent.Transformer : possible trigger for rule Set URLDelimiter in class org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory<br>
17:08:31,812 INFO [stdout] (MSC service thread 1-5) RuleTriggerMethodAdapter.injectTriggerPoint : inserting trigger into org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.initSelector() void for rule Set URLDelimiter<br>
17:08:31,833 INFO [stdout] (MSC service thread 1-5) org.jboss.byteman.agent.Transformer : inserted trigger for Set URLDelimiter in class org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory<br><br><br></div>test1.btm (rule)<br>
RULE Set URLDelimiter<br>CLASS org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory<br>METHOD initSelector<br>AT ENTRY<br>IF true<br>DO traceln("************************************************")<br>ENDRULE<br>
<br><br></div>When I configure and test a XA datasource, nothing gets printed?<br><br></div>Regards<br><div><div><div><div><br></div></div></div></div></div>