Error with Firebird

13 views
Skip to first unread message

erickdeol...@gmail.com

unread,
Apr 14, 2016, 4:47:29 PM4/14/16
to p6spy users
I'm trying to spy a Firebird connection.


Created a spy.properties like this:
append=true
realdatasource=java:jboss/Firebird

spy.log is like this:
1460665418166|1|rollback|connection 0||
1460665418173|0|rollback|connection 0||

p6py module
<module xmlns="urn:jboss:module:1.3" name="com.mysql.driver">
 <resources>
  <resource-root path="mysql-connector-java-5.1.38-bin.jar" />
 </resources>
 <dependencies>
  <module name="javax.api"/>
  <module name="javax.transaction.api"/>
 </dependencies>
</module>

Firebird module
<?xml version="1.0" ?>

<module xmlns="urn:jboss:module:1.1" name="org.firebirdsql">

    <resources>
        <resource-root path="jaybird-2.2.10.jar"/>
    </resources>

    <dependencies>
        <module name="javax.api"/>
        <module name="javax.transaction.api"/>
        <module name="javax.resource.api"/>
<module name="org.antlr4"/>
    </dependencies>
</module>


persistence.xml:
<jta-data-source>java:jboss/FirebirdSpy</jta-data-source> 
yuiyuiyi.png

butk...@gmail.com

unread,
Apr 18, 2016, 1:24:15 AM4/18/16
to p6spy users

Hi,

What version of jboss do you use?
Did you follow the instructions for your case? See: http://p6spy.github.io/p6spy/2.0/install.html

Regards,
Peter B.

--
You received this message because you are subscribed to the Google Groups "p6spy users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to p6spy-users...@googlegroups.com.
To post to this group, send email to p6spy...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/p6spy-users/987de65f-c4de-4db7-9f58-884d09133442%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

butk...@gmail.com

unread,
Apr 18, 2016, 1:29:28 AM4/18/16
to p6spy users

Btw. Seems like your p6spy module def is wrong. How about:
<module xmlns="urn:jboss:module:1.0" name="com.p6spy">
    <resources>
        <resource-root path="p6spy-2.2.0.jar"/>


    </resources>
    <dependencies>
        <module name="javax.api"/>
        <module name="javax.transaction.api"/>

        <!-- make sure to refer to module holding real driver -->
        <module name="org.firebirdsql"/>
    </dependencies>
</module>

Reply all
Reply to author
Forward
0 new messages