<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: problems using jbpm5 integrated with oracle and tomcat
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/kishoret">kishore t</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/626158#626158">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Mauricio,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks for the reply. </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>When I add '&lt;Listener className="bitronix.tm.integration.tomcat55.BTMLifecycleListener" /&gt;' in server.xml, I guess there is some exception it is generating but from console I couldn't able to figure out as it is closing automatically. When I check the logs I could only see below message:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>log message</strong></p><p>Sep 13, 2011 10:05:45 AM org.apache.catalina.core.AprLifecycleListener init</p><p>INFO: Loaded APR based Apache Tomcat Native library 1.1.20.</p><p>Sep 13, 2011 10:05:45 AM org.apache.catalina.core.AprLifecycleListener init</p><p>INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].</p><p>Sep 13, 2011 10:05:45 AM org.apache.coyote.AbstractProtocol init</p><p>INFO: Initializing ProtocolHandler ["http-apr-8080"]</p><p>Sep 13, 2011 10:05:46 AM org.apache.coyote.AbstractProtocol init</p><p>INFO: Initializing ProtocolHandler ["ajp-apr-8009"]</p><p>Sep 13, 2011 10:05:46 AM org.apache.catalina.startup.Catalina load</p><p>INFO: Initialization processed in 1012 ms</p><p>Sep 13, 2011 10:05:46 AM bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecycleEvent</p><p>INFO: Starting Bitronix Transaction Manager</p><p>Sep 13, 2011 10:05:46 AM bitronix.tm.BitronixTransactionManager logVersion</p><p>INFO: Bitronix Transaction Manager version 2.1.1</p><p>Sep 13, 2011 10:05:46 AM bitronix.tm.Configuration buildServerIdArray</p><p>INFO: JVM unique ID: &lt;tomcat7-btm-node0&gt;</p><p>Sep 13, 2011 10:05:46 AM bitronix.tm.resource.ResourceLoader init</p><p>INFO: reading resources configuration from C:/apache-tomcat-7.0.19/conf/btm-resources.properties</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Below are my BTM configuration details,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>setenv.bat</strong></p><p> set CATALINA_OPTS=-Dbtm.root=%CATALINA_HOME% -Dbitronix.tm.configuration=%CATALINA_HOME%\conf\btm-config.properties -Djbpm.console.directory=%JBPM_INSTALLER%\sample\evaluation\src\main\resources\</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>btm-config.properties:</strong>&#160;&#160;&#160;&#160; </p><p>bitronix.tm.serverId = tomcat7-btm-node0</p><p>bitronix.tm.journal.disk.logPart1Filename = ${btm.root}/work/btm1.tlog</p><p>bitronix.tm.journal.disk.logPart2Filename = ${btm.root}/work/btm2.tlog</p><p>bitronix.tm.resource.configuration = ${btm.root}/conf/btm-resources.properties</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>btm-resources.properties:&#160; [VALID DB URL, USER &amp; PWD details are provided in my machine, not mentioning here.... ]<br/></strong></p><p>resource.defaultDS.className = oracle.jdbc.xa.client.OracleXADataSource</p><p>resource.defaultDS.uniqueName = jdbc/testDummyDS</p><p>resource.defaultDS.minPoolSize = 0</p><p>resource.defaultDS.maxPoolSize = 5</p><p>resource.defaultDS.allowLocalTransactions = true</p><p>resource.defaultDS.driverProperties.user = </p><p>resource.defaultDS.driverProperties.password = </p><p>resource.defaultDS.driverProperties.URL = </p><p>resource.ds1.driverProperties.driverClassName=oracle.jdbc.OracleDriver</p><p>resource.ds1.driverProperties.createDatabase=create</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>context.xml</strong></p><p>&lt;Transaction factory="bitronix.tm.BitronixUserTransactionObjectFactory" /&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>&lt;Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&lt;Resource name="TransactionManager" auth="Container" type="javax.transaction.TransactionManager"&#160;&#160;&#160;&#160;&#160;&#160;&#160; factory="bitronix.tm.BitronixTransactionManagerObjectFactory" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p><p>&lt;Resource name="TransactionSynchronizationRegistry" auth="Container" type="javax.transaction.TransactionSynchronizationRegistry"&#160;&#160;&#160;&#160;&#160;&#160;&#160; factory="bitronix.tm.BitronixTransactionSynchronizationRegistryObjectFactory" /&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>jar files:</strong></p><p>btm-2.1.1.jar</p><p>btm-tomcat55-lifecycle.jar</p><p>geronimo-jta_1.1_spec-1.1.1.jar</p><p>geronimo-jms_1.1_spec-1.1.1.jar</p><p>slf4j-jdk14-1.6.1.jar</p><p>slf4j-api-1.6.1.jar</p><p>jta.jar</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong><br/></strong></p><p>Please let me know if your looking for any other information.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>Note: </strong>My persistence related issue is still not being resolved, also let me know if I need to do any modifications related to that configuration also.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Thanks,</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/626158#626158">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>