<!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">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;">
jBPM4.3 on Weblogic 9.2
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/abhishek.chikane%40gmail.com">Abhishek Chikane</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/545533#545533">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>Hi,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am installing jBPM 4.3 on Weblogic 9.2. I followed falling steps.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>1) Added all the jars (78 jars from jBPM  lib directory) on Weblogic classpath.</p><p>2) Added the  jbpm.hibernate.cfg.xml, jbpm.cfg.xml, logging.properties inside my application. (Put on classpath)</p><p>3) Here are the xml files details,</p><p>    <strong> jbpm.hibernate.cfg.xml</strong></p><p>     <hibernate-configuration><br/>     <session-factory>    <br/>        <property  name="connection.datasource">JbpmDS</property><br/>         <property name="jndi.url">t3://localhost:7001</property><br/>          <property  name="jndi.class">weblogic.jndi.WLInitialContextFactory</property><br/>          <property  name="dialect">org.hibernate.dialect.OracleDialect</property><br/>          <property name="show_sql">false</property><br/>         <property  name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property><br/>          <property  name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WeblogicTransactionManagerLookup</property><br/>          <property  name="hibernate.transaction.factory_class">org.hibernate.transaction.CMTTransactionFactory</property><br/>          <br/>        <mapping resource="jbpm.repository.hbm.xml" /><br/>          <mapping resource="jbpm.execution.hbm.xml" /><br/>         <mapping resource="jbpm.history.hbm.xml" /><br/>         <mapping resource="jbpm.task.hbm.xml" /><br/>        <mapping  resource="jbpm.identity.hbm.xml" /></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>     </session-factory><br/></hibernate-configuration></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      <strong>jbpm.cfg.xml</strong></p><p>     <jbpm-configuration><br/>     <import resource="jbpm.default.cfg.xml"/><br/>    <import  resource="jbpm.tx.hibernate.cfg.xml"/><br/>    <import  resource="jbpm.tx.jta.cfg.xml" /><br/>    <import  resource="jbpm.jpdl.cfg.xml"/><br/>    <import  resource="jbpm.businesscalendar.cfg.xml" /><br/>    <import  resource="jbpm.bpmn.cfg.xml" /><br/>    <import  resource="jbpm.identity.cfg.xml" /><br/>    <import  resource="jbpm.jobexecutor.cfg.xml" /><br/>    <import  resource="jbpm.console.cfg.xml" /><br/></jbpm-configuration></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>4)  Created a server directory and added a Java option -  -Dorg.jbpm.report.engine.dir and copied the unzipped report zip file and  jbpm reports jar file  to that directory.</p><p>5) Created datasource  named JbpmDS and created all the tables(Oracle db).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>The  deployment works fine without error. But now I am facing two problems.</p><p>1)  The jbpm console did not allow to login. <strong>Authentication failure</strong> on weblogic error. I have following entries into tables.</p><p>     <strong>JBPM4_ID_USER</strong></p><p><span>      1    0    abhishek    abhishek    Abhishek    Chikane     </span><a class="jive-link-email-small" href="mailto:achikane@ccrn.com" target="_blank">achikane@ccrn.com</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>     <strong>JBPM4_ID_GROUP</strong></p><p>      1    0    administrator    administrator    security-role       </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>    <strong> JBPM4_ID_MEMBERSHIP</strong></p><p>     1    0    1    1  </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>      Also I have got this notice in weblogic log.</p><p>     <Jun 1,  2010 1:03:34 AM IST> <Notice> <Security>  <BEA-090078> <User abhishek in security realm myrealm has had 5  invalid login attempts, locking account for 30 minutes.></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I  haven't created any user on weblogic. Is it due to the role type  (security-role)? Can you please help to resolve this issue?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>2)  When I try to run the process I got this exception.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-family: Courier New; "><pre>org.hibernate.TransactionException: Could not register synchronization for container transaction<br/>     at org.hibernate.transaction.CMTTransaction.begin(CMTTransaction.java:76)<br/>     at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1353)<br/>     at org.jbpm.pvm.internal.tx.HibernateSessionResource.(HibernateSessionResource.java:44)<br/>     at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:87)<br/>     at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:469)<br/>     at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:448)<br/>     at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:437)<br/></pre></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Can anybody verify and give me tips why this error is occurring?</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/545533#545533">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>