MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Wuntang
Post subject: Passing system parameters to Tomcat [Closed]  PostPosted: Jul 22, 2003 - 12:24 AM



Joined: May 14, 2003
Posts: 2

I have some system properties I need to pass to Tomcat when I start it via MyEclipse. How do I do that? When I pass them as

-Dproperty=value

on the Optional Program Arguments in the Tomcat server configuration, they do not get seen.

I am using Tomcat 5 by the way.

Thanks.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-scott
Post subject:   PostPosted: Jul 22, 2003 - 01:30 AM
Moderator
Moderator


Joined: May 06, 2003
Posts: 6760

Well, placing them on the Tomcat > JDK preference page in the Optional VM Arguments box, one per line like:
-Dprop1=value
-Dprop2=value2

Should do the trick. I was unable to reproduce any problem with this behavior. However, I'm testing on the candidate GA release build which will be available on the website tomorrow. In any event, I highly recommend upgrading the the new release when it becomes available.

--Scott
MyEclipse Support

_________________
--Scott
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Wuntang
Post subject: It worked!  PostPosted: Jul 23, 2003 - 12:42 AM



Joined: May 14, 2003
Posts: 2

Thanks for the reply Scott; works very well with the latest release. :D
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits