[JBoss Tools] - Running JBoss Developer Studio 4.x with JRE/JDK 7
by Isaac Rooskov
Isaac Rooskov [http://community.jboss.org/people/irooskov] created the document:
"Running JBoss Developer Studio 4.x with JRE/JDK 7"
To view the document, visit: http://community.jboss.org/docs/DOC-17191
--------------------------------------------------------------
When installing JBoss Developer Studio 4.x, if you attempt to set JRE/JDK 7 as the Java version to be used you will encounter an error and installation will not complete.
JBoss Developer Studio 4.x is not supported with Java 7, however you can complete installation with Java 6 and then follow a few steps to allow it to work with version 7; though it must be stressed that this is not supported. Java 7 will be supported for JBoss Developer Studio 5.
To use Java 7 with JBoss Developer Studio 4.x:
- Install JBoss Developer Studio using Java 6
- After installation, navigate to the /studio/ folder of your installation.
- Open the jbdevstudio.ini file in a text editor
- Add the following lines to the end of the file:
-vm
JAVA_7_FOLDER/bin/java
- Replace JAVA_7_FOLDER with the path to your Java 7 installation
- Save the file and exit your text editor
When you next launch JBoss Developer Studio 4.x it will use Java 7
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-17191]
Create a new document in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
14 years, 7 months
[Beginner's Corner] - Drools flow Using Timer node
by Pete P
Pete P [http://community.jboss.org/people/pete_p] created the discussion
"Drools flow Using Timer node"
To view the discussion, visit: http://community.jboss.org/message/626276#626276
--------------------------------------------------------------
Hi,
I am experimenting with Drools flow and need some help with the "Timer" node.
I am using the Timer node basically to introduce a delay.
The simple flow I have is :-
Start ->
Print "Before Timer" (Action Node) ->
Configure Timer node ( name = "Name", TimerDelay = "20000", Timer Period = "0" ) ->
Print "After Timer" (Action Node) ->
End
Below is the snippet of code to start the process.
KnowledgeBase kbase = readKnowledgeBase();
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
ksession.startProcess("com.sample.ruleflow");
ksession.fireAllRules()
The output is "
Before Timer"
but NO "After Timer".
The process is not getting past the timer node.
As suggestion or example as why the process is not getting past the Timer node ?
Many Thanks for your help.
Pete
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/626276#626276]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 7 months