|
From: karthikeyan d <bui...@gm...> - 2005-12-09 13:34:18
|
Hi All,
i am currently facing the following issue.
i have one windows command file to invoke an RMI engine. i have one
build.xml file where i have written all the tasks to start and stop the
engine. while executing the command file, i will be passing a lot of
parameters(more than 20) to the RMI engine main class. i would like to know
how i can pass all these values in the wrapper config file?
i tried the following scenarios.
#1. wrapper.java.additional.1=3D-Dconfigfolder=3DE:/workingfolder
#2. wrapper.java.additional.2=3D-Dlog4j.configuration=3Dlog4j.properties
i have set the application parameters properly. Also all required jars are
in the classpath.
i am able to run the test sample wrapper application and jboss as a service
without any issues. Also i am able to run the RMI engine from a command
prompt by invoking the ant target without any errors.
Can anyone please help in telling me where i have gone wrong? All I need to
know is how to pass some properties dynamically to the main class which i
want to run as a service? This is easily done in ANT script using the
<sysproperty key=3D"configfolder" value=3D"${configfolder}"/>
Thanks & Regards,
buiswhiz
|