• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Drools Debug

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
In Eclipse Galileo, I created a new Drools project. I selected the options to add a sample HelloWorld rule file and java class to execute the HelloWorld rule. I modified the code to allow me to debug the rule file; see modified "main method" below (DroolsTest.java). When I tried to "debug as" the Drools Application, I get the a FATAL ERROR as shown below. Now according to this URL, https://jira.jboss.org/browse/JBRULES-2515 I need to get the "5.1.0.M1 drools-eclipse plugin" to resolve this issue. So, my question is how do I get my hands on this plugin? So, I downloaded the drools-compiler.api from here: http://grepcode.com/snapshot/repository.jboss.org/nexus/content/repositories/releases/org.drools/drools-compiler/5.1.0.M1 , but that didn't seem to work. Does anyone know which jar file(s) I need?

Environment:
Java 1.5
JBoss 5
Eclipse 3.1.1

Thanks in advance for your help!

FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)
ERROR: transport error 202: connect failed: Connection refused ["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L500]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized

DroolsTest.java

 
Shannon Sims
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ugh, I'm still stuck..anyone??? I've searched and searched the internet and found nothing that resolves this issue. Based on what I've found, this is what I've done:

1. ensure /etc/host file includes 127.0.0.1 localhost
2. ensure no spaces before the "," are in the JBoss run.bat file; which I did:
set JAVA_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
3. disabled my firewall, but I still get the same error
4. ran the command "cmd.exe /C set" and everything looks fine.
5. checked to ensure port 11555 was not being used (netstat -a).

I'm running this simple "HelloWorld" app locally from home and work; I get the same error every time. All I am doing is right clicking on the DroolsTest.java file in Eclipse, then select "Debug As", and then select "Drools Application" and every time I get this error.

Any help would be very much appreciated!!!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic