Thanks Thomas.

I think it is related to proxy.
I was able to get past that issue on my personal machine ... Though I have 
other issues which I am trying to resolve.



Thanks
Swapnil Agrawal
desk: (212)-816-7024
cell: (201)-616-1189
-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Wednesday, January 06, 2010 5:04 AM
To: [email protected]
Subject: rules-users Digest, Vol 38, Issue 10

Send rules-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.jboss.org/mailman/listinfo/rules-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of rules-users digest..."


Today's Topics:

   1. Re: compiling DROOLS 5 (Swindells, Thomas)
   2. Drools Flow with RuleSet node suppresses exceptions (vasilievip)
   3. Re: Drools Guvnor  installation on weblogic (Swindells, Thomas)


----------------------------------------------------------------------

Message: 1
Date: Wed, 6 Jan 2010 09:57:57 +0000
From: "Swindells, Thomas" <[email protected]>
Subject: Re: [rules-users] compiling DROOLS 5
To: Rules Users List <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="us-ascii"

This looks to be a maven issue.
The most likely cause is probably that your networks proxy hasn't been 
configured properly in your maven settings.xml file, alternatively your proxy 
may be blocking the downloads or you were just unlucky and the site was down!

Thomas

From: [email protected] 
[mailto:[email protected]] On Behalf Of Agrawal, Swapnil
Sent: 05 January 2010 19:53
To: '[email protected]'
Subject: [rules-users] compiling DROOLS 5


Hi

I downloaded the Drools 5 source code from the website.

I am trying to compile it and see following errors:


[WARNING] Unable to get resource 'org.apache.maven.wagon:wagon-webdav:pom:1.0-be
ta-2' from repository repository.jboss.org (http://repository.jboss.org/maven2):
 Error transferring file: repository.jboss.org

.
.
(bunch of such warnings)
.
.
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.codehaus.plexus:plexus-utils:jar:1.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.codehaus.plexus 
-DartifactId=plexus -utils -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=org.codehaus.plexus 
-DartifactId=plexus-u tils -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file 
-Durl=[url] -Drepository Id=[id]

  Path to dependency:
        1) org.drools:drools:pom:5.0.1
        2) org.codehaus.plexus:plexus-utils:jar:1.1

2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.maven.wagon 
-DartifactId=wag on-webdav -Dversion=1.0-beta-2 -Dpackaging=jar 
-Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=org.apache.maven.wagon 
-DartifactId=wagon -webdav -Dversion=1.0-beta-2 -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -D repositoryId=[id]

  Path to dependency:
        1) org.drools:drools:pom:5.0.1
        2) org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2


Thanks
Swapnil

________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

________________________________
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.jboss.org/pipermail/rules-users/attachments/20100106/46915af2/attachment-0001.html

------------------------------

Message: 2
Date: Wed, 6 Jan 2010 02:01:50 -0800 (PST)
From: vasilievip <[email protected]>
Subject: [rules-users] Drools Flow with RuleSet node suppresses
        exceptions
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii


Hello,

I' m trying to use Drools Flow (Drools version 5.0.1) in my tiny little project 
and found strange problem/behavior (and can't find  solution in
web):
When I've added  RuleSet node to flow, and if I get exception after this node, 
in ,for example, Action node then this exception will be suppressed.

Please find test cases attached.

It looks like a bug but also can be leak of knowledge.

Could you please help?

http://n3.nabble.com/file/n110927/exceptions_test_case.zip
exceptions_test_case.zip
--
View this message in context: 
http://n3.nabble.com/Drools-Flow-with-RuleSet-node-suppresses-exceptions-tp110927p110927.html
Sent from the Drools - User mailing list archive at Nabble.com.


------------------------------

Message: 3
Date: Wed, 6 Jan 2010 10:04:00 +0000
From: "Swindells, Thomas" <[email protected]>
Subject: Re: [rules-users] Drools Guvnor  installation on weblogic
To: Rules Users List <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="us-ascii"

I believe currently you can only apply rules on POJO, you could use JAXB to 
convert from XML to POJO but this doesn't work very well on deeply nested or 
complex data structures if you wish to perform updates on the data.

XML support is something I've been pondering over as to how easy it would be to 
do. If I get some free time I might put together a prototype to see how well it 
would work as currently the application I'm working on does the JAXB route and 
it isn't great, particular with respects to updating different fields and 
re-execution of rules.

Thomas

From: [email protected] 
[mailto:[email protected]] On Behalf Of Nilima R
Sent: 06 January 2010 09:42
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: [email protected]
Website: http://www.tcs.com<http://www.tcs.com/>
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________

From:

Vijay K Pandey <[email protected]>

To:

Rules Users List <[email protected]>

Cc:

Nilima R <[email protected]>

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: [email protected] 
[mailto:[email protected]] On Behalf Of Nilima R
Sent: Tuesday, January 05, 2010 2:41 AM
To: [email protected]
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: [email protected]
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





________________________________

**************************************************************************************
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes. To protect the environment please do not 
print this e-mail unless necessary.

NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, 
United Kingdom. A company registered in England and Wales. Registered no. 
3080780. VAT no. GB 603 8808 40-00
**************************************************************************************

________________________________
This message is confidential and intended only for the addressee. If you have 
received this message in error, please immediately notify the 
[email protected] and delete it from your system as well as any copies. The 
content of e-mails as well as traffic data may be monitored by NDS for 
employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.jboss.org/pipermail/rules-users/attachments/20100106/12e3c3c1/attachment.html

------------------------------

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users


End of rules-users Digest, Vol 38, Issue 10
*******************************************

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to