[Performance Tuning] - Getting frequently OUT OF MEMORY ERROR ON JBOSS SOA SERVER
by bhadre Gowda
bhadre Gowda [https://community.jboss.org/people/bhadre198307] created the discussion
"Getting frequently OUT OF MEMORY ERROR ON JBOSS SOA SERVER"
To view the discussion, visit: https://community.jboss.org/message/722676#722676
--------------------------------------------------------------
Hi All,
We are facing frequent OOM issue in Production SOA server instances.
we have configured the JVM arug like below Is this the correct configuration or else any thing we need to add avoid frequent OOM error.
/usr/java/latest/bin/java -Dprogram.name=run.sh -server -Xms4096m -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=512m
Below restarting the server i have taken the Heap history.
Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 4294967296 (4096.0MB)
NewSize = 1310720 (1.25MB)
MaxNewSize = 17592186044415 MB
OldSize = 5439488 (5.1875MB)
NewRatio = 2
SurvivorRatio = 8
PermSize = 268435456 (256.0MB)
MaxPermSize = 536870912 (512.0MB)
Heap Usage:
PS Young Generation
Eden Space:
capacity = 1139474432 (1086.6875MB)
used = 1134005864 (1081.472267150879MB)
free = 5468568 (5.215232849121094MB)
99.52007979763077% used
>From Space:
capacity = 38797312 (37.0MB)
used = 0 (0.0MB)
free = 38797312 (37.0MB)
0.0% used
To Space:
capacity = 159252480 (151.875MB)
used = 0 (0.0MB)
free = 159252480 (151.875MB)
0.0% used
PS Old Generation
capacity = 2863333376 (2730.6875MB)
used = 2863333296 (2730.6874237060547MB)
free = 80 (7.62939453125E-5MB)
99.99999720605359% used
PS Perm Generation
capacity = 268697600 (256.25MB)
used = 197767376 (188.6056671142578MB)
free = 70930224 (67.64433288574219MB)
73.60221155678353% used
I suspect some generation ration configuration is worng, Could you please correct me if am wrong.
Regards,
Bhadre Gowda
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/722676#722676]
Start a new discussion in Performance Tuning at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 7 months
[Datasource Configuration] - I meet a problem when I use XA Transaction
by andy215
andy215 [https://community.jboss.org/people/andy215] created the discussion
"I meet a problem when I use XA Transaction"
To view the discussion, visit: https://community.jboss.org/message/717372#717372
--------------------------------------------------------------
I deployed oracle-xa-ds.xml, it looks like:
<datasources>
<xa-datasource>
<jndi-name>XAOracleDS</jndi-name>
<!-- uncomment to enable interleaving <interleaving/> -->
<isSameRM-override-value>false</isSameRM-override-value>
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
<xa-datasource-property name="URL">jdbc:oracle:thin:@ip:port:test</xa-datasource-property>
<xa-datasource-property name="User">test</xa-datasource-property>
<xa-datasource-property name="Password">test</xa-datasource-property>
<!-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool -->
<!--valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name-->
<!-- Checks the Oracle error codes and messages for fatal errors -->
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<!-- Oracles XA datasource cannot reuse a connection outside a transaction once enlisted in a global transaction and vice-versa -->
<no-tx-separate-pools/>
<!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->
<!--
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
-->
</xa-datasource>
<mbean code="org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter"
name="jboss.jca:service=OracleXAExceptionFormatter">
<depends optional-attribute-name="TransactionManagerService">jboss:service=TransactionManager</depends>
</mbean>
</datasources>
I use EJB, my code looks like:
private EntityManager em;
public void greet(String message) {
GreetingEbo ebo = new GreetingEbo();
ebo.setGreeting(message);
em.persist(ebo);
}
When I invoke greet() api, there is a exception:
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:213)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:789)
at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:500)
at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:908)
at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:662)
at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:403)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:625)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:499)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:46)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
at org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:116)
at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:54)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2186)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2666)
at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)
at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)
at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)
at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:49)
at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:154)
at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:110)
at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:645)
at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:619)
at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:623)
at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:220)
at org.jboss.jpa.tx.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:187)
at com.andy.proxy.EjbTestProxyBean.greet(EjbTestProxyBean.java:39)
I don't the root cause, anybody can give some help? thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717372#717372]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 7 months
[jBPM] - Working with KnowledgeAgent and ChangeSet.xml
by TC ONG
TC ONG [https://community.jboss.org/people/devilkazuya99] created the discussion
"Working with KnowledgeAgent and ChangeSet.xml"
To view the discussion, visit: https://community.jboss.org/message/722692#722692
--------------------------------------------------------------
Seeking for help.
I have a changeset.xml adding my JavaInteractiveFlow.rf.
I have id="interactiveJava" in JavaInteractiveFlow.rf.
But when I run the code below, it gives me
Unknown process ID: interactiveJava
Can anyone show me how to get this works?
Here is my code.
package com.geneoz.procedureengine;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import org.apache.log4j.Logger;
import org.drools.KnowledgeBase;
import org.drools.agent.KnowledgeAgent;
import org.drools.agent.KnowledgeAgentConfiguration;
import org.drools.agent.KnowledgeAgentFactory;
import org.drools.event.knowledgeagent.AfterChangeSetAppliedEvent;
import org.drools.event.knowledgeagent.AfterChangeSetProcessedEvent;
import org.drools.event.knowledgeagent.AfterResourceProcessedEvent;
import org.drools.event.knowledgeagent.BeforeChangeSetAppliedEvent;
import org.drools.event.knowledgeagent.BeforeChangeSetProcessedEvent;
import org.drools.event.knowledgeagent.BeforeResourceProcessedEvent;
import org.drools.event.knowledgeagent.KnowledgeAgentEventListener;
import org.drools.event.knowledgeagent.KnowledgeBaseUpdatedEvent;
import org.drools.event.knowledgeagent.ResourceCompilationFailedEvent;
import org.drools.io.ResourceChangeScannerConfiguration;
import org.drools.io.ResourceFactory;
import org.drools.runtime.StatefulKnowledgeSession;
public class KnowledgeAgentTest {
static String CHANGE_SET_URL = " http://192.168.10.13/drools/changeset.xml http://192.168.10.13/drools/changeset.xml";
static String JAVA_INTERACTIVE_URL = " http://192.168.10.13/drools/JavaInteractiveFlow.rf http://192.168.10.13/drools/JavaInteractiveFlow.rf";
static Logger logger = Logger.getLogger(KnowledgeAgentTest.class);
public static void main(String[] args) {
try {
KnowledgeAgentConfiguration agentConfig = KnowledgeAgentFactory.newKnowledgeAgentConfiguration();
agentConfig.setProperty("drools.agent.newInstance", "true");
agentConfig.setProperty("drools.agent.scanDirectories", "false");
KnowledgeAgent kagent = KnowledgeAgentFactory.newKnowledgeAgent( "MyKnowledgeAgent", agentConfig );
KnowledgeAgentEventListener kaListener = new KnowledgeAgentEventListener() {
@Override
public void resourceCompilationFailed(ResourceCompilationFailedEvent arg0) {
logger.debug("resourceCompilationFailed");
}
@Override
public void knowledgeBaseUpdated(KnowledgeBaseUpdatedEvent arg0) {
logger.debug("knowledgeBaseUpdated");
}
@Override
public void beforeResourceProcessed(BeforeResourceProcessedEvent arg0) {
logger.debug("beforeResourceProcessed");
}
@Override
public void beforeChangeSetProcessed(BeforeChangeSetProcessedEvent arg0) {
logger.debug("beforeChangeSetProcessed");
}
@Override
public void beforeChangeSetApplied(BeforeChangeSetAppliedEvent arg0) {
logger.debug("beforeChangeSetApplied");
}
@Override
public void afterResourceProcessed(AfterResourceProcessedEvent arg0) {
logger.debug("afterResourceProcessed");
}
@Override
public void afterChangeSetProcessed(AfterChangeSetProcessedEvent arg0) {
logger.debug("afterChangeSetProcessed");
}
@Override
public void afterChangeSetApplied(AfterChangeSetAppliedEvent arg0) {
logger.debug("afterChangeSetApplied");
}
};
kagent.addEventListener(kaListener);
kagent.applyChangeSet( ResourceFactory.newUrlResource(CHANGE_SET_URL) );
kagent.monitorResourceChangeEvents(true);
ResourceChangeScannerConfiguration scannerConfig = ResourceFactory
.getResourceChangeScannerService()
.newResourceChangeScannerConfiguration();
scannerConfig.setProperty("drools.resource.scanner.interval", "2");
ResourceFactory.getResourceChangeScannerService().configure(scannerConfig);
ResourceFactory.getResourceChangeNotifierService().start();
ResourceFactory.getResourceChangeScannerService().start();
KnowledgeBase kbase = kagent.getKnowledgeBase();
System.out.println(kbase.getClass());
logger.debug("Creting new KnowledgeSession");
final StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
logger.debug("Executing session.");
String input = null;
while(!"yes".equals(input)) {
ksession.startProcess("interactiveJava");
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
System.out.print("Exit?");
input = br.readLine();
} catch (IOException e) {
System.out.println("Error!");
}
}
logger.debug("Finish execution.");
} catch (Exception e) {
e.printStackTrace();
}
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/722692#722692]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 7 months
[jBPM] - Eclipse Editor and defining Service Tasks
by Tim Kutz
Tim Kutz [https://community.jboss.org/people/tim.kutz] created the discussion
"Eclipse Editor and defining Service Tasks"
To view the discussion, visit: https://community.jboss.org/message/715301#715301
--------------------------------------------------------------
I am having difficulty with defining Service Tasks for the BPMN editor for Eclipse. I believe there is some form of conflict between the BPMN editor plugin, and something else in my Eclipse. We use a standard bundle of plugins for the development team, to ensure we are all using common versions of necessary plugins such as m2eclipse, and subclipse.
I have downloaded the 5.2 installer, and run the ant task "install.droolsjbpm-eclipse.into.eclipse" task, and the editor appears to be installed, with the ability to create a new bpmn process appearing as expected from the documentation. However, when I attempt to define a Service Task, following the directions in Chapter 13 of the User Guide, the editor gives me an error when starting up, which says: *Could not parse work definitions test.wid: java.util.HashMap cannot be cast to java.util.List*
There is a stack trace in my eclipse log file, as well:
!ENTRY org.drools.eclipse 4 120 2012-02-08 12:39:17.635
!MESSAGE Internal error in Drools Plugin:
!STACK 0
java.lang.RuntimeException: Could not parse work definitions test.wid: java.util.HashMap cannot be cast to java.util.List
at org.drools.RuleBaseConfiguration.loadWorkItems(RuleBaseConfiguration.java:806)
at org.drools.RuleBaseConfiguration.initWorkDefinitions(RuleBaseConfiguration.java:790)
at org.drools.RuleBaseConfiguration.getWorkDefinitions(RuleBaseConfiguration.java:765)
at org.drools.eclipse.WorkItemDefinitions.getWorkDefinitions(WorkItemDefinitions.java:67)
at org.drools.eclipse.WorkItemDefinitions.getWorkDefinitions(WorkItemDefinitions.java:50)
at org.drools.eclipse.flow.bpmn2.editor.BPMNModelEditor.refreshPalette(BPMNModelEditor.java:123)
at org.drools.eclipse.flow.bpmn2.editor.BPMNModelEditor.setInput(BPMNModelEditor.java:108)
at org.eclipse.gef.ui.parts.GraphicalEditor.init(GraphicalEditor.java:346)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
I have also used the installer to download and install a full clean eclipse package using the install.demo.eclipse target, and the definition works as expected, there. This confirms that the .wid file itself is valid. However, that install is missing all of the other plugins needed for development in our standard development.
I am using Eclipse Helios, with m2eclipse 0.12, subclipse 1.6.17. Any assistance in making this work in our standard environment would be greatly appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/715301#715301]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 7 months
[jBPM] - InvocationTargetException when creating StatefulKnowledgeSession public StatefulKnowledgeSession createNewKnowledgeSession() { // create a new knowledge session that uses JPA to store the runtime state StatefulKnowledgeSession kSession = null; try
by Tim Kutz
Tim Kutz [https://community.jboss.org/people/tim.kutz] created the discussion
"InvocationTargetException when creating StatefulKnowledgeSession public StatefulKnowledgeSession createNewKnowledgeSession() { // create a new knowledge session that uses JPA to store the runtime state StatefulKnowledgeSession kSession = null; try"
To view the discussion, visit: https://community.jboss.org/message/722605#722605
--------------------------------------------------------------
Hello -
I've been wrestling with this for about a day and a half, now. My environment is jBPM 5.2.0.Final, running on JBoss 5.1.0.GA, with Java 1.5.0_12, under 64-bit Windows 7. It's entirely possible that I am missing some portion of configuration, but I'm not able to determine what it is, exactly, that I'm missing.
I am attempting to create a new StatefulKnowledgeSession, and start a process with it, using the JPAKnowledgeService, as described in the documentation. The code I am using to do this is as follows:
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
kbuilder.add(ResourceFactory.newClassPathResource("ImmunizationProcess.bpmn"), ResourceType.BPMN2);
kbuilder.add(ResourceFactory.newClassPathResource("SchoolFormProcess.bpmn"), ResourceType.BPMN2);
kbuilder.add(ResourceFactory.newClassPathResource("LegacySubscriptionProcess.bpmn"), ResourceType.BPMN2);
kbuilder.add(ResourceFactory.newClassPathResource("SubscriptionMasterProcess.bpmn"), ResourceType.BPMN2);
kBase = kbuilder.newKnowledgeBase();
// create the entity manager factory and register it in the environment
EntityManagerFactory emf = Persistence.createEntityManagerFactory( "org.jbpm.persistence.jpa" );
env = KnowledgeBaseFactory.newEnvironment();
env.set( EnvironmentName.ENTITY_MANAGER_FACTORY, emf );
env.set( EnvironmentName.TRANSACTION_MANAGER, jtaManager);
kSession = JPAKnowledgeService.newStatefulKnowledgeSession( kBase, null, env );
When it reaches this last line, it throws an InvocationTargetException, which I've managed to narrow down to the constructor call on SingleSessionCommandService, which appears to not exist:
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommandService(KnowledgeStoreServiceImpl.java:129)
... 85 more
The persistence.xml I've put in place for the JPA persistence looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<persistence
version="1.0"
xsi:schemaLocation=
" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm
http://java.sun.com/xml/ns/persistence/orm_1_0.xsd http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
xmlns:orm=" http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm"
xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
xmlns=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence">
<persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:DefaultDS</jta-data-source>
<mapping-file>META-INF/JBPMorm.xml</mapping-file>
<class>org.drools.persistence.info.SessionInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
<class>org.drools.persistence.info.WorkItemInfo</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/>
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.show_sql" value="true"/>
<property name="hibernate.transaction.manager_lookup_class"
value="org.hibernate.transaction.JBossTransactionManagerLookup"/>
</properties>
</persistence-unit>
</persistence>
Any and all help would be appreciated, and I can provide additional information if needed.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/722605#722605]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 7 months