|
From: Leif M. <le...@ta...> - 2004-09-30 10:18:37
|
Victor,
Ok this failure mode has been removed for the 3.1.2 release. If a
java additional property
does not start with a - character then it is skipped and a warning is
displayed in the log.
If a future user makes this mistake in 3.1.2, it should now be
immediately obvious how to
resolve it.
Cheers,
Leif
Leif Mortenson wrote:
> Victor,
> I see the problem now. If you look closely t the command
> generated by the Wrapper, you
> will that your main class is showing up before the classpath or
> anything. I was not paying
> close enough attention to the right things.
>
> Change:
> wrapper.java.additional.1=uk.co.mooed.calllogger.Logger
> wrapper.java.additional.2=call-logger.properties
>
> To:
> wrapper.app.parameter.1=uk.co.mooed.calllogger.Logger
> wrapper.app.parameter.2=call-logger.properties
>
> The way Java was being launched, your Logger class was the direct main
> class, and
> everything else was being passed to your main method as arguments. I
> will try to think
> of a way that the Wrapper could have caught this for a future
> version. May just be
> as simple as making sure that the wrapper.java.additional.n properties
> always start
> with a "-" character.
>
> Cheers,
> Leif
|