Phil, Java programs are not aware of environment variables such as JAVA_ENDORSED_DIRS and JAVA_HOME. Scripts such as ant.bat and run.bat take care of mapping environment variables to system properties.
You need to either (a) copy the jars from jboss-4.0.4.GA\lib\endorsed to jdk.1.5.0_11\jre\lib\endorsed or (b) set the java.endorsed.dirs system property to jboss-4.0.4.GA\lib\endorsed. To do (b) from the command line, try: set ANT_OPTS=-Djava.endorsed.dirs=jboss-4.0.4.GA\lib\endorsed | ant run-test ant.bat will read the ANT_OPTS environment variable and pass the variable value as parameters to the Java VM. This is all described in the Endorsed Standards Override Mechanism document, which is referenced from the jBPM BPEL user guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015183#4015183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015183 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
