|
From: Leif M. <le...@ta...> - 2005-12-12 04:04:17
|
The examples that you send appear to be correct. I am not really clear
as to exactly
what problem you are having. Could you enable debug output with the
wrapper.debug=true property then post back with your wrapper.conf and
wrapper.log files. That will let me see what exactly is going on.
Cheers,
Leif
karthikeyan d 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 know how i can pass all these values in the wrapper config file?
>
> i tried the following scenarios.
>
> #1. wrapper.java.additional.1=-Dconfigfolder=E:/workingfolder
>
> #2. wrapper.java.additional.2=-Dlog4j.configuration=log4j.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="configfolder"
> value="${configfolder}"/>
>
> Thanks & Regards,
>
> buiswhiz
|