Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » publish outright not working...it was before(publish outright not working...it was before)
publish outright not working...it was before [message #488458] Mon, 28 September 2009 19:10 Go to next message
Dean Hiller is currently offline Dean HillerFriend
Messages: 46
Registered: July 2009
Member
I have been checking the "Serve modules without publishing" checkbox and once in a while, my changes in a sub project stop hot swapping and then I try to republish but my changes just don't take affect after the tomcat reboot at all. It is very strange. Is there an option to tell tomcat WTP plugin to not use "Serve modules without publishing" AND have it "Merge class files from subprojects and main project into WEB-INF/classes" so I could easily debug what is going on if publish started failing. MyEclipse has this option which always made it easy to see if the class file was correctly replaced or not. Does this option exist?
thanks,
Dean

[Updated on: Mon, 28 September 2009 19:10]

Report message to a moderator

Re: publish outright not working...it was before [message #488662 is a reply to message #488458] Tue, 29 September 2009 16:19 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Dean Hiller wrote:
> I have been checking the "Serve modules without publishing" checkbox and
> once in a while, my changes in a sub project stop hot swapping and then
> I try to republish but my changes just don't take affect after the
> tomcat reboot at all. It is very strange. Is there an option to tell
> tomcat WTP plugin to not use "Serve modules without publishing" AND have
> it "Merge class files from subprojects and main project into
> WEB-INF/classes" so I could easily debug what is going on if publish
> started failing. MyEclipse has this option which always made it easy to
> see if the class file was correctly replaced or not. Does this option
> exist?
> thanks,
> Dean

Once "Serve modules without publishing" is disabled, you are back to
standard publishing, which will always build dependent projects in to
jars that go in WEB-INF/lib. There isn't enough info to make a
diagnosis about why changes aren't being seen after restarting Tomcat.

Cheers,
Larry
Re: publish outright not working...it was before [message #488965 is a reply to message #488662] Wed, 30 September 2009 22:05 Go to previous messageGo to next message
Dean Hiller is currently offline Dean HillerFriend
Messages: 46
Registered: July 2009
Member
yeah, is there any logs that would give more diagnosis. It kinda stinks without a merge classes into WEB-INF/classes option as that would help alot...wish I had that Sad....any other way to debug it?

thanks,
Dean
Re: publish outright not working...it was before [message #489093 is a reply to message #488965] Thu, 01 October 2009 13:32 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Dean Hiller wrote:
> yeah, is there any logs that would give more diagnosis. It kinda stinks
> without a merge classes into WEB-INF/classes option as that would help
> alot...wish I had that :(....any other way to debug it?
>
> thanks,
> Dean

I'm not certain that "merge classes" would behave any different since
that is what "Serve modules without publishing" is effectively doing.

The first question is what exactly is meant by "hot swapping". Does
this imply you are running in debug mode and expecting the debugger to
apply code changes, or you are expecting Tomcat's auto-reload feature to
"hot swap" the class by auto-reloading the context. I would guess the
first, but I'd rather make sure before wasting time if I'm wrong.

Cheers,
Larry
Previous Topic:JSP Validator Hates Spring's form:errors Tag
Next Topic:Configuring more memory for a managed Tomcat server
Goto Forum:
  


Current Time: Sat Apr 20 02:16:36 GMT 2024

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

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

Back to the top