<br><font size=2 face="sans-serif">Hi All,</font>
<br>
<br>
<br><font size=2 face="sans-serif">Can you please let me know if I can
apply rules on xml data using Drools or we can just apply rules on POJO.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif"><br>
Nilima Rajendra Raichandani<br>
Sub Focus Area Lead - BPM/BAM/BRE<br>
TEG - Open Source Platform<br>
Tata Consultancy Services<br>
Ph:- +91 22 6778 2027<br>
Cell:- 9322108518<br>
Mailto: nilima.r@tcs.com<br>
Website: </font><a href=http://www.tcs.com/><font size=2 face="sans-serif">http://www.tcs.com</font></a><font size=2 face="sans-serif"><br>
____________________________________________<br>
Experience certainty. IT Services<br>
Business Solutions<br>
Outsourcing<br>
____________________________________________</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Vijay K Pandey <VPandey@mdes.ms.gov></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Rules Users List <rules-users@lists.jboss.org></font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">Nilima R <nilima.r@tcs.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">01/05/2010 08:59 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">RE: [rules-users] Drools Guvnor installation
on weblogic</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 color=#000080 face="Arial">The datasource defined in the
persistence unit (jta-data-source or non-jta-data-source) of the persistence.xml
maps to the JNDI name that must be configured beforehand. In your case
you need to have the datasource configured against the <b>jdbc/testDS1</b>
jndi name.</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">Regards</font>
<br><font size=2 color=#000080 face="Arial">Vijay</font>
<div align=center>
<br>
<hr></div>
<br><font size=2 face="Tahoma"><b>From:</b> rules-users-bounces@lists.jboss.org
[</font><a href="mailto:rules-users-bounces@lists.jboss.org"><font size=2 face="Tahoma">mailto:rules-users-bounces@lists.jboss.org</font></a><font size=2 face="Tahoma">]
<b>On Behalf Of </b>Nilima R<b><br>
Sent:</b> Tuesday, January 05, 2010 2:41 AM<b><br>
To:</b> rules-users@lists.jboss.org<b><br>
Subject:</b> [rules-users] Drools Guvnor installation on weblogic</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 face="sans-serif"><br>
Hi All,</font><font size=3 face="Times New Roman"> <br>
</font><font size=2 face="sans-serif"><br>
I am trying to install Drools Guvnor on weblogic 10 .I have added the Guvnor
WAR file and dependent jars from Drools binaries download.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
However I am getting error for datasource configuration. Do we need
to configure any datasource? </font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Please find error logs below</font><font size=3 face="Times New Roman">
<br>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
<Error> <Deployer> <BEA-149265> <Failure occurred
in the execution of deployment request with ID '1262262938099' for task
'1'. Error is: 'weblogic.application.ModuleException: '</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
weblogic.application.ModuleException:</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:317)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Truncated. see log file for complete stacktrace</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
weblogic.deployment.EnvironmentException:<b> Error processing persitence
unit org.drools.persistence.jpa of module drools_guvnor.war: Error looking
up a DataSource for PersistenceUnit org.drools.persistence.jpa: javax.naming.NameNotFoundException:
While trying to lookup 'jdbc.testDS1' didn't find subcontext 'jdbc'. Resolved
''; remaining name 'jdbc/testDS1'</b></font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.PersistenceUnitInfoImpl.lookUpDataSources(PersistenceUnitInfoImpl.java:126)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:105)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:316)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:96)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:53)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Truncated. see log file for complete stacktrace</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
></font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
<Dec 31, 2009 6:05:52 PM IST> <Warning> <Deployer> <BEA-149004>
<Failures were detected while initiating distribute task for application
'drools_guvnor'.></font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
<Dec 31, 2009 6:05:52 PM IST> <Warning> <Deployer> <BEA-149078>
<Stack trace for message 149004</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
weblogic.application.ModuleException:</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:317)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Truncated. see log file for complete stacktrace</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
weblogic.deployment.EnvironmentException: Error processing persitence unit
org.drools.persistence.jpa of module drools_guvnor.war: Error looking up
a DataSource for PersistenceUnit org.drools.persistence.jpa: javax.naming.NameNotFoundException:
While trying to lookup 'jdbc.testDS1' didn't find subco</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
ntext 'jdbc'. Resolved ''; remaining name 'jdbc/testDS1'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.PersistenceUnitInfoImpl.lookUpDataSources(PersistenceUnitInfoImpl.java:126)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:105)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:316)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:96)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:53)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Truncated. see log file for complete stacktrace</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
></font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
<Dec 31, 2009 6:05:52 PM IST> <Error> <Console> <BEA-240003>
<Console encountered the following error weblogic.application.ModuleException:</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:317)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
Caused by: weblogic.deployment.EnvironmentException: Error processing persitence
unit org.drools.persistence.jpa of module drools_guvnor.war: Error looking
up a DataSource for PersistenceUnit org.drools.persistence.jpa: javax.naming.NameNotFoundException:
While trying to lookup 'jdbc.testDS1' didn't</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/testDS1'</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.PersistenceUnitInfoImpl.lookUpDataSources(PersistenceUnitInfoImpl.java:126)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:105)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:316)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:96)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:53)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.servlet.internal.WebAppModule.initPURegistry(WebAppModule.java:1176)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:307)</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif"><br>
></font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
</font><font size=3 face="Times New Roman"><br>
<br>
</font><font size=2 face="sans-serif"><br>
Regards,<br>
Nilima Rajendra Raichandani<br>
Sub Focus Area Lead - BPM/BAM/BRE<br>
TEG - Open Source Platform<br>
Tata Consultancy Services<br>
Ph:- +91 22 6778 2027<br>
Cell:- 9322108518<br>
Mailto: nilima.r@tcs.com<br>
Website: </font><a href=http://www.tcs.com/><font size=2 color=blue face="sans-serif"><u>http://www.tcs.com</u></font></a><font size=2 face="sans-serif"><br>
____________________________________________<br>
Experience certainty. IT Services<br>
Business Solutions<br>
Outsourcing<br>
____________________________________________</font>
<br><font size=2 face="Courier New">=====-----=====-----=====</font>
<br><font size=2 face="Courier New">Notice: The information contained in
this e-mail</font>
<br><font size=2 face="Courier New">message and/or attachments to it may
contain </font>
<br><font size=2 face="Courier New">confidential or privileged information.
If you are </font>
<br><font size=2 face="Courier New">not the intended recipient, any dissemination,
use, </font>
<br><font size=2 face="Courier New">review, distribution, printing or copying
of the </font>
<br><font size=2 face="Courier New">information contained in this e-mail
message </font>
<br><font size=2 face="Courier New">and/or attachments to it are strictly
prohibited. If </font>
<br><font size=2 face="Courier New">you have received this communication
in error, </font>
<br><font size=2 face="Courier New">please notify us by reply e-mail or
telephone and </font>
<br><font size=2 face="Courier New">immediately and permanently delete
the message </font>
<br><font size=2 face="Courier New">and any attachments. Thank you</font>
<br><font size=2 face="Courier New"> </font>
<br><font size=2 face="Courier New"> </font>
<br>
<br><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
</pre>