Running Java DAs under new framework

2 views
Skip to first unread message

Jeremy Mange

unread,
Jul 7, 2010, 2:51:46 PM7/7/10
to DXC10
I recently downloaded and compiled the new version of the framework,
and I am having trouble getting Java JAR-based DAs to run. Even
trying to run the ExampleJavaDA by uncommenting the ADAPT-Lite system
results in:

SL: INFO: Loading Diagnoser: Example Java Diagnosis Algorithm
Starting Oracle...
SL: ERROR: No such file or directory
SL: ERROR: Exception. Terminating DA.
Killed


I am not sure what file or directory it could be looking for -- the
Example DA (Linux binary based) runs fine, so it seems to be a problem
specific to JAR-based ones. Does anyone know what this could be?

David Garcia

unread,
Jul 7, 2010, 4:03:16 PM7/7/10
to DXC10
Did you compile it on Windows or Linux? Here are some things to
troubleshoot..

- try running ExampleJavaDA with SDS in standalone mode (run SDS w/o
arguments for usage), the command line should be something like "java -
cp [path to DA and API jars] org.dxc.example.ExampleJavaDA"

- if that works, make sure JAVA_HOME is set properly in $DXC_HOME/
Dxc.cfg

- make sure that $DXC_HOME is set properly and your $PATH contains
$DXC_HOME/Bin

- compile in debug mode and step through ScenarioLoader source code to
figure out where the exception is being thrown

So far I've been unable to reproduce the bug, so any additional
information you can think of that may be specific to your system would
help.. for the time being if you're using windows, a workaround would
be to install the .msi version of the framework (both versions can
coexist on the same machine, only %DXC_HOME% and your %PATH% variable
need to be set according to the version you want to use).

David G
Reply all
Reply to author
Forward
0 new messages