Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Redundant vmargs getting added during deploy
Redundant vmargs getting added during deploy [message #225591] Tue, 23 December 2008 05:43 Go to next message
Michael Hansen is currently offline Michael Hansen
Messages: 2
Registered: July 2009
Junior Member
Hi all,

I'm using Eclipse 3.4.1 with Tomcat 6. I have set up a Tomcat launch
configuration and everything is starting up nicely. However sometimes (not
always) some generated vm-args are added to the launch config during
run/debug, although the arguments have already been added. Over time this
turns into somthing like this:

-Dcatalina.home="C:\Agetor3\jakarta-tomcat"
-Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
-Dcatalina.base="C:\Agetor3\jakarta-tomcat"
-Dcatalina.home="C:\Agetor3\jakarta-tomcat"
-Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
-Dcatalina.base="C:\Agetor3\jakarta-tomcat"
-Dcatalina.home="C:\Agetor3\jakarta-tomcat"
-Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
etc. etc.

Has anybody else seen this type of behavior and better yet, how to get rid
of it ;)

Cheers,

Michael
Re: Redundant vmargs getting added during deploy [message #225634 is a reply to message #225591] Tue, 23 December 2008 10:31 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
Registered: July 2009
Senior Member
Michael Hansen wrote:
> Hi all,
>
> I'm using Eclipse 3.4.1 with Tomcat 6. I have set up a Tomcat launch
> configuration and everything is starting up nicely. However sometimes
> (not always) some generated vm-args are added to the launch config
> during run/debug, although the arguments have already been added. Over
> time this turns into somthing like this:
>
> -Dcatalina.home="C:\Agetor3\jakarta-tomcat"
> -Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
> -Dcatalina.base="C:\Agetor3\jakarta-tomcat"
> -Dcatalina.home="C:\Agetor3\jakarta-tomcat"
> -Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
> -Dcatalina.base="C:\Agetor3\jakarta-tomcat"
> -Dcatalina.home="C:\Agetor3\jakarta-tomcat"
> -Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
> etc. etc.
>
> Has anybody else seen this type of behavior and better yet, how to get
> rid of it ;)
>
> Cheers,
>
> Michael
>

I've heard rare reports of this. However it has tended to disappear by
creating a new server and discarding the misbehaving one. Something
strange prevents the code that "merges" these settings from functioning
correctly. So far, I haven't been able to figure out the cause just by
code inspection. What would help to diagnose this would be to place the
server's ".launch" file (found in
<workspace>/.metadata/.plugins/org.eclipse.debug.core/.launches ") in a
zip and attach it to a bug report. By putting it in a zip, I can be a
little more certain that I will get the file without any characters
being modified. File the bug against WTP ServerTools as the product and
"jst.server" as the component.

Cheers,
Larry
Re: Redundant vmargs getting added during deploy [message #225793 is a reply to message #225634] Tue, 30 December 2008 04:09 Go to previous messageGo to next message
Michael Hansen is currently offline Michael Hansen
Messages: 2
Registered: July 2009
Junior Member
Hi Larry,

I have just submitted bug report 259779 in regards to this issue, please
find the launch config attached to the report.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=259779

Merry x-mas and a happy New Year,


Michael
Re: Redundant vmargs getting added during deploy [message #225800 is a reply to message #225591] Tue, 30 December 2008 11:04 Go to previous message
Eclipse User
Originally posted by: nowhere.a.com

Michael Hansen wrote :
> Hi all,
>
> I'm using Eclipse 3.4.1 with Tomcat 6. I have set up a Tomcat launch
> configuration and everything is starting up nicely. However sometimes (not
> always) some generated vm-args are added to the launch config during
> run/debug, although the arguments have already been added. Over time this
> turns into somthing like this:
>
> -Dcatalina.home="C:\Agetor3\jakarta-tomcat"
> -Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
> -Dcatalina.base="C:\Agetor3\jakarta-tomcat"
> -Dcatalina.home="C:\Agetor3\jakarta-tomcat"
> -Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
> -Dcatalina.base="C:\Agetor3\jakarta-tomcat"
> -Dcatalina.home="C:\Agetor3\jakarta-tomcat"
> -Djava.endorsed.dirs="C:\Agetor3\jakarta-tomcat\endorsed"
> etc. etc.
>
> Has anybody else seen this type of behavior and better yet, how to get rid of
> it ;)

I had it happen. I think it was when I was fooling with the server
settings. I made several changes (individually), then back again, to
see the behaviour difference.

And I noticed that the argument list kept growing.

Since I stopped making config changes, the list has not grown.

--
Wojtek :-)
Previous Topic:Generating a WSDL File from a WSDL Model instance ?
Next Topic:Error message when starting eclipse whit VEX plugin
Goto Forum:
  


Current Time: Sat Aug 23 11:26:10 EDT 2014

Powered by FUDForum. Page generated in 0.02833 seconds