Re: [JBoss-user] JBoss IDE VM Argument Problem

2003-01-31 Thread Hans Dockter
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



Re: [JBoss-user] JBoss IDE VM Argument Problem

2003-01-31 Thread Rod Macpherson
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



Re[2]: [JBoss-user] JBoss IDE VM Argument Problem

2003-01-31 Thread Hans Dockter
RM Hello Hans,

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

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

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

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

It passed the vmargs but some white spaces where missing so that to
the java process two of them appeared as one. This bug has been fixed
and checked in cvs.

See build-howto:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/website/content/src/web/default/developers/projects/jboss/jbosside/build_howto.html



---
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



Re: Re[2]: [JBoss-user] JBoss IDE VM Argument Problem

2003-01-31 Thread Rod Macpherson
Thanks for the quick response!

- Original Message -
From: Hans Dockter [EMAIL PROTECTED]
To: Rod Macpherson [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 6:18 AM
Subject: Re[2]: [JBoss-user] JBoss IDE VM Argument Problem


 RM Hello Hans,

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

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

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

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

 It passed the vmargs but some white spaces where missing so that to
 the java process two of them appeared as one. This bug has been fixed
 and checked in cvs.

 See build-howto:


http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/website/content/src/web
/default/developers/projects/jboss/jbosside/build_howto.html



 ---
 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



[JBoss-user] JBoss IDE VM Argument Problem

2003-01-30 Thread Rod Macpherson
I am setting these VM arguments in the start box of the server
configuration:

-DTURBO -Xms512m -Xmx512

These values are not getting through because the TURBO property does not
exist. Works fine when setting these value in JAVA_OPTS and using run.bat.




---
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