Hello Hans,

The turbo switch is an example system property defined by the -D option:
java -DTURBO ...

turbo = System.getProperty("TURBO") == null ? false : true;

I am passing options to java with -D through the VM options dialog under
server configuration. I assume that is the IDE analog to setting the
JAVA_OPTS environment variable that the jboss run script uses. The reason
you got an error with the memory settings is that -Xmx512 is mistyped
(-Xmx512m is correct) but I only used that as another example of VM
arguments not getting passed to java. The key point is that VM arguments are
not being passed on.

I use Show | View | Configuration then select my default server
configuration. You have kindly provided two inputs under the start(x) tab:
Program arguments and VM arguments. The latter is where I am setting the VM
arguments I provided in my example. They are not making it to the java VM
that JBoss is running under when debugging. That's causing my application to
fail. Maybe that input box is not hooked up to pass VM arguments yet? This
is an "alpha" after all :)

Rod

----- Original Message -----
From: "Hans Dockter" <[EMAIL PROTECTED]>
To: "Rod Macpherson" <[EMAIL PROTECTED]>
Sent: Friday, January 31, 2003 3:11 AM
Subject: Re: [JBoss-user] JBoss IDE VM Argument Problem


> RM> I am setting these VM arguments in the "start" box of the server
> RM> configuration:
>
> RM> -DTURBO -Xms512m -Xmx512
>
> RM> These values are not getting through because the TURBO property does
not
> RM> exist.
>
> I don't understand what you mean with 'because the TURBO property does
> not exists'
>
> RM> Works fine when setting these value in JAVA_OPTS and using run.bat.
>
> The arguments get passed to the java process. To verify you can switch to
the debug
> view, right click the process and choose properties. In java 1.4.1 with
this arguments I
> get the message:
>
> Error occurred during initialization of VM
> Incompatible initial and maximum heap sizes specified
>
> Hans
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> http://www.vasoftware.com
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to