Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Apache server auto restarts with auto-restart features disabled
Apache server auto restarts with auto-restart features disabled [message #169654] Fri, 19 May 2006 13:33 Go to next message
Eclipse UserFriend
Originally posted by: fuz4wra3.hotmail.com

Hi,
I'm using wtp 1.0.2 on a web project.
The project is deployed in Apache server 5.5 used in debug mode.

When I edit java classes,
the server sometimes restart (without asking anything) instead of just
doing hot code replacement.

I just want the project to be auto-published (to reflect changes in jsp)
but never restarted!

Same problem occurs with 1.0.1.
I've search for a bug report but can't find anything about that.

Is this a bug or am I missing something?
Can I do something to avoid auto restarting of the server (this issue
really annoy me) ?

My settings:
Automatic publishing is set to "Use default publishing settings" with:
Automatically publish when starting servers checked
Automatically publish to local server: 2 sec
and that's all (Automatically restart servers when necessary is unchecked
!)

I've tried with "Override default settings", but it gives me the same
result.
Thanks,
Benjamin
Re: Apache server auto restarts with auto-restart features disabled [message #169663 is a reply to message #169654] Fri, 19 May 2006 15:48 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1313
Registered: July 2009
Senior Member
This sounds like Tomcat's auto-reload feature. Double-click the Tomcat
server in the Servers view. In the server configuration editor, switch
to the Modules tab and examine the Auto Reload column for the module.
If "enabled", select the module, click "Edit...", uncheck the "Auto
reloading enabled" checkbox, and click OK. Finally, save the
configuration and close the configuration editor.

Note: It is best to close this configuration editor in WTP 1.0.x because
its information isn't refreshed when various operations make changes to
the configuration. Using the configuration editor when its contents are
stale can corrupt things if you save it. In WTP 1.5, the configuration
editor will let you know if its contents have become stale.

Be aware that with auto-reload disabled, changes you make to a servlet
in the web module may get published to the server, but these changes
won't be available in the running server until you restart.

Cheers,
Larry

Benjamin wrote:
> Hi,
> I'm using wtp 1.0.2 on a web project.
> The project is deployed in Apache server 5.5 used in debug mode.
>
> When I edit java classes,
> the server sometimes restart (without asking anything) instead of just
> doing hot code replacement.
>
> I just want the project to be auto-published (to reflect changes in jsp)
> but never restarted!
>
> Same problem occurs with 1.0.1.
> I've search for a bug report but can't find anything about that.
>
> Is this a bug or am I missing something?
> Can I do something to avoid auto restarting of the server (this issue
> really annoy me) ?
>
> My settings:
> Automatic publishing is set to "Use default publishing settings" with:
> Automatically publish when starting servers checked
> Automatically publish to local server: 2 sec
> and that's all (Automatically restart servers when necessary is
> unchecked !)
>
> I've tried with "Override default settings", but it gives me the same
> result.
> Thanks,
> Benjamin
>
>
Previous Topic:Re: Handle to project's classloader
Next Topic:In a Generic Server, how can the server's properties be edited/viewed once created?
Goto Forum:
  


Current Time: Mon Dec 22 10:00:09 GMT 2014

Powered by FUDForum. Page generated in 0.01761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software