|
From: karthikeyan d <bui...@gm...> - 2005-12-14 06:18:58
|
Hi, Thanks for your response. i found a workaround for the problem like having = a simple java class to set the system properties and i used that class as the main class to start the services. Also i changed the log level to debug and got the following. *DEBUG | wrapperp | 2005/12/13 19:35:28 | read a packet PING : ok DEBUG | wrapper | 2005/12/13 19:35:28 | Got ping response from JVM DEBUG | wrapperp | 2005/12/13 19:35:32 | send a packet PING : ping INFO | jvm 1 | 2005/12/13 19:35:32 | Received a packet PING : ping INFO | jvm 1 | 2005/12/13 19:35:32 | Send a packet PING : ok DEBUG | wrapperp | 2005/12/13 19:35:32 | read a packet PING : ok DEBUG | wrapper | 2005/12/13 19:35:32 | Got ping response from JVM DEBUG | wrapperp | 2005/12/13 19:35:36 | send a packet PING : ping* Once Again THANKS for your TIME and giving some EXCELLENT stuff to sourceforge.net Regards, buiswhiz. On 12/9/05, karthikeyan d <bui...@gm...> wrote: > > 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 kn= ow > 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 ar= e > 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 whic= h 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 > |