Problems Installing Drools Workbench on Tomcat Server

736 views
Skip to first unread message

Terrance Jones

unread,
Apr 29, 2015, 12:41:57 PM4/29/15
to drools...@googlegroups.com
I've been at this for days and still can't get this to work.  I followed the instructions from https://github.com/plugtree/workbench-extensions/tree/master/p3-kie-wb-distribution-wars/src/main/tomcat7 But I'm currently having issues with getting the resource "
no resource registered with uniqueName 'jdbc/jbpm', available resources:"  When I look at the properties in the instructions of step 2
         resource.ds1.driverProperties.driverClassName=org.h2.Driver
         resource.ds1.driverProperties.url=jdbc:h2:file:~/jbpm
         resource.ds1.driverProperties.user=sa
         resource.ds1.driverProperties.password=
         resource.ds1.allowLocalTransactions=true

Does resource.ds1.driverProperties.url=jdbc:h2:file:~/jbpm part need to be changed for Windows?

Also in step 3 I changed it to the following for windows
set CATALINA_OPTS=-Xmx512M -XX:MaxPermSize=512m -Dbtm.root=%CATALINA_HOME% -Dbitronix.tm.configuration=%CATALINA_HOME%\conf\btm-config.properties -Djbpm.tsr.jndi.lookup=java:comp\env\TransactionSynchronizationRegistry

Any help would be greatly appreciated. I really want to test get the Workbench installed.

Thanks 

Michael Anstis

unread,
Apr 30, 2015, 8:49:36 AM4/30/15
to drools...@googlegroups.com
Yes, you will probably have to change file:~/jbpm on Windows.

Furthermore the README does state you'll need to change your CATALINA_OPTS on Windows, to use Windows environment variables.

Please let us know what (other) problems you encounter when you've made these adjustments.

--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/866d4fee-1143-40c2-b503-c7f72053a434%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Terrance Jones

unread,
Apr 30, 2015, 4:08:10 PM4/30/15
to drools...@googlegroups.com
Hello Mr. Anstis,
    Thanks for the reply. I made the changes, but I'm still having the same issue.  Is there another location outside of these steps that could cause this issue? 


Thanks and have a great day,

                      Terrance

Mauricio Salatino

unread,
May 8, 2015, 5:27:04 AM5/8/15
to drools...@googlegroups.com
Hi Terrance, 
Did you manage to solve the issue?

~/jbpm in mac osx and linux means the user home directory. In windows it should be something like: file:C:/tmp/jbpm

Can you give that a try?


For more options, visit https://groups.google.com/d/optout.



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -

Terrance Jones

unread,
May 11, 2015, 6:16:09 PM5/11/15
to drools...@googlegroups.com

Hello Salaboy,
     As of yet I'm still having the same issue as I previously mentioned.  I even went to the 6.1 release and I'm facing the same issue.  I was wondering is their a way to check and see if the setenv.bat file has ran?  Does anyone know when or who calls the setenv.bat file?  I just want to make sure its getting called, but I don't see anything in the log file or see any file calling it.  I'm thinking that may be the issue, but I'm not sure.  I will continue to plug away until I get it installed.

    Thanks and have a great day,
                           Terrance

Thanks,
           TJ

Bradley Lee

unread,
Jun 28, 2015, 9:53:04 PM6/28/15
to drools...@googlegroups.com
Posted a possible solution here.

Sunil Sahu

unread,
Aug 27, 2015, 11:14:37 AM8/27/15
to Drools Setup
Hello TJ,

Were you able to resolve the issue? I had the same issue but now everything is working fine.

Thanks
Sunil

Terrance Jones

unread,
Aug 31, 2015, 10:46:27 AM8/31/15
to Drools Setup
Hello Sunil,
    I'm still having the problem.  Did you recently set up a database? I installed an older version(6.1) since I was having the issue, but I can't connect the server to it so, I just tested with the eclipse plugin.  Would really like to get this to work with 6.2.  Would you mind sharing the steps you took or the link to the steps you used to get the 6.2 version to work?  I might have missed something.

Thanks,
     TJ 

amit gupta

unread,
Oct 29, 2015, 3:42:48 PM10/29/15
to Drools Setup
This worked
Reply all
Reply to author
Forward
0 new messages