[rules-users] Drools Guvnor installation on weblogic

Nilima R nilima.r at tcs.com
Tue Jan 5 03:41:07 EST 2010


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
____________________________________________
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


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


More information about the rules-users mailing list