[rules-users] Drools Guvnor installation on weblogic

Vijay K Pandey VPandey at mdes.ms.gov
Wed Jan 6 09:51:58 EST 2010


Take a look at drools pipeline for non POJO based data sources.

http://blog.athico.com/2009/01/drools-pipeline-for-smooks-jaxbxsd-jxls.html

http://www.kijanowski.eu/index.php?site=articles&article=drools_pipeline&lang=en

Regards
Vijay

________________________________
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Nilima R
Sent: Wednesday, January 06, 2010 3:42 AM
To: Rules Users List
Subject: Re: [rules-users] Drools Guvnor installation on weblogic


Hi All,


Can you please let me know if I can apply rules on xml data using Drools or we can just apply rules on POJO.


Regards,

Nilima Rajendra Raichandani
Sub Focus Area Lead - BPM/BAM/BRE
TEG - Open Source Platform
Tata Consultancy Services
Ph:- +91 22 6778 2027
Cell:- 9322108518
Mailto: nilima.r at tcs.com
Website: http://www.tcs.com<http://www.tcs.com/>
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________

From:

Vijay K Pandey <VPandey at mdes.ms.gov>

To:

Rules Users List <rules-users at lists.jboss.org>

Cc:

Nilima R <nilima.r at tcs.com>

Date:

01/05/2010 08:59 PM

Subject:

RE: [rules-users] Drools Guvnor  installation on weblogic


________________________________



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 jdbc/testDS1 jndi name.

Regards
Vijay

________________________________

From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Nilima R
Sent: Tuesday, January 05, 2010 2:41 AM
To: rules-users at lists.jboss.org
Subject: [rules-users] Drools Guvnor installation on weblogic


Hi All,

I am trying to install Drools Guvnor on weblogic 10 .I have added the Guvnor WAR file and dependent jars from Drools binaries download.
However  I am getting error for datasource configuration. Do we need to configure any datasource?
Please find error logs below



<Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1262262938099' for task '1'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
       at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:317)
       at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
       at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
       at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
       Truncated. see log file for complete stacktrace
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 subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/testDS1'
       at weblogic.deployment.PersistenceUnitInfoImpl.lookUpDataSources(PersistenceUnitInfoImpl.java:126)
       at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:105)
       at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:316)
       at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:96)
       at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:53)
       Truncated. see log file for complete stacktrace
>
<Dec 31, 2009 6:05:52 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating distribute task for application 'drools_guvnor'.>
<Dec 31, 2009 6:05:52 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
       at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:317)
       at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
       at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
       at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
       Truncated. see log file for complete stacktrace
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
ntext 'jdbc'. Resolved ''; remaining name 'jdbc/testDS1'
       at weblogic.deployment.PersistenceUnitInfoImpl.lookUpDataSources(PersistenceUnitInfoImpl.java:126)
       at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:105)
       at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:316)
       at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:96)
       at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:53)
       Truncated. see log file for complete stacktrace
>
<Dec 31, 2009 6:05:52 PM IST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException:
       at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:317)
       at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
       at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
       at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
       at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
       at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
       at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
       at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
       at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
       at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
       at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
       at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
       at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
       at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
       at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:719)
       at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1186)
       at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
       at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
       at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
       at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
       at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
       at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
       at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
       at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
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
find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/testDS1'
       at weblogic.deployment.PersistenceUnitInfoImpl.lookUpDataSources(PersistenceUnitInfoImpl.java:126)
       at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:105)
       at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:316)
       at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptors(AbstractPersistenceUnitRegistry.java:96)
       at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:53)
       at weblogic.servlet.internal.WebAppModule.initPURegistry(WebAppModule.java:1176)
       at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:307)
>



Regards,
Nilima Rajendra Raichandani
Sub Focus Area Lead - BPM/BAM/BRE
TEG - Open Source Platform
Tata Consultancy Services
Ph:- +91 22 6778 2027
Cell:- 9322108518
Mailto: nilima.r at tcs.com
Website: http://www.tcs.com<http://www.tcs.com/>
____________________________________________
Experience certainty.        IT Services
                      Business Solutions
                      Outsourcing
____________________________________________
=====-----=====-----=====
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



=====-----=====-----=====

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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100106/e72b2c05/attachment.html 


More information about the rules-users mailing list