|
Re: Synchronized, but not Published [message #1724106 is a reply to message #1724104] |
Sat, 20 February 2016 23:53 |
Brian Smither Messages: 13 Registered: February 2016 Location: Rocky Mountains, USA |
Junior Member |
|
|
It seems every time I delete a server and and re-add Tomcat, a new /tmp#/ folder is created. That means (apparently) I need to re-do all the server properties and (apparently) re-copy ROOT to a .metadata/.plugins folder.
So, in Server Overview, I choose "Use Tomcat Installation", "Automatically publish after a build event", and maybe something else.
The folder appears, but still "Resource not found". I stop the server and then Debug As, on Server. I do not find any clue what is missing on the Debug tab, but the Console says:
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'tutorialproject' did not find a matching property.
|
|
|
Re: Synchronized, but not Published [message #1724633 is a reply to message #1724106] |
Thu, 25 February 2016 01:39 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
On 2/20/2016 6:53 PM, Brian Smither wrote:
> It seems every time I delete a server and and re-add Tomcat, a new
> /tmp#/ folder is created. That means (apparently) I need to re-do all
> the server properties and (apparently) re-copy ROOT to a
> .metadata/.plugins folder.
>
> So, in Server Overview, I choose "Use Tomcat Installation",
> "Automatically publish after a build event", and maybe something else.
>
> The folder appears, but still "Resource not found". I stop the server
> and then Debug As, on Server. I do not find any clue what is missing on
> the Debug tab, but the Console says:
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'tutorialproject' did not find a matching property.
>
Now I see you did indeed download a Tomcat 8 version.
For details about the WTP Tomcat support, see the WTP Tomcat FAQ[1].
It's old, but still applies to how the Tomcat support works and in some
cases explains why. Hopefully, it will help clear up what is going on.
As for the WARNING, it may be ignored. It is indicating that the
"source" attribute doesn't have an equivalent field in the Context
object in Tomcat. This is expected. The WTP Tomcat support adds this
extra "source" attribute solely to track which project in Eclipse
corresponds to this Context.
Cheers,
Larry
[1] http://wiki.eclipse.org/WTP_Tomcat_FAQ
|
|
|
Powered by
FUDForum. Page generated in 0.03944 seconds