Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How can I find out more when the publishing of my dynamic web project fails?
How can I find out more when the publishing of my dynamic web project fails? [message #206826] Tue, 15 January 2008 19:58 Go to next message
Eclipse UserFriend
Originally posted by: Florian.Kirchhoff.qwest.com

Hi,

I have been having strange issues when publishing a dynamic web projects
to a WTP server running Tomcat 5.5.23. I am trying to find out how I can
1) debug the issues and 2) solve it!

It first started when some JSPs were not getting refreshed during
publishing.
To overcome this I forced a clesn publish by using "Clean..." on the
Server node.

After that every time I publish my web project I get a pop-up with a
'detailed' error of:
Publishing failed with multiple errors
Resource '/web' does not exist.
[ 20 times]
Resource '/web' does not exist.

where "web" is the name of my project and the name of the "context".

I have deleted and re-created the server, added the project to it anew,
but to no avail.

How can I debug the problem? Is there a way to switch on logging so I can
find out more about the errors the publishing step is encountering?

Finally, I am using Eclipse 3.3.1 and WTP 2.0.1.

In advance thank you for any help with this matter.

Florian
Re: How can I find out more when the publishing of my dynamic web project fails? [message #206834 is a reply to message #206826] Tue, 15 January 2008 22:41 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
Florian wrote:
> Hi,
>
> I have been having strange issues when publishing a dynamic web projects
> to a WTP server running Tomcat 5.5.23. I am trying to find out how I can
> 1) debug the issues and 2) solve it!
>
> It first started when some JSPs were not getting refreshed during
> publishing.
> To overcome this I forced a clesn publish by using "Clean..." on the
> Server node.
>
> After that every time I publish my web project I get a pop-up with a
> 'detailed' error of: Publishing failed with multiple errors
> Resource '/web' does not exist.
> [ 20 times]
> Resource '/web' does not exist.
>
> where "web" is the name of my project and the name of the "context".
>
> I have deleted and re-created the server, added the project to it anew,
> but to no avail.
>
> How can I debug the problem? Is there a way to switch on logging so I
> can find out more about the errors the publishing step is encountering?
>
> Finally, I am using Eclipse 3.3.1 and WTP 2.0.1.
>
> In advance thank you for any help with this matter.
>
> Florian
>
>
>

I would first try exporting the project as a war and see if that
succeeds. If it shows a problem too, the "problem" may be something
about the project. If you are lucky, you might get a more helpful error
message. You might also look in the Error Log view to see if anything
that might be related appears there. Finally, is it only this one
project having this problem, or are there others, or perhaps a freshly
created Dynamic Web Project, that also have this problem?

To get some additional logging, you can use an approach that applies to
many plug-ins. If you examine the plug-in's jar, found in the
"eclipse/plugins" directory, a number have a ".options" file in the root
folder of the jar. You can extract this file into the "eclipse"
directory where you have installed Eclipse (along side of the
eclipse.ini" file). Then add "-debug" to the Eclipse startup arguments
and restart Eclipse. The properties in the ".options" file give you
some control over what is logged. You can try this with the
org.eclipse.wst.server.core plug-in, but I not sure if the output will
provide any help.

Cheers,
Larry
Re: How can I find out more when the publishing of my dynamic web project fails? [message #206950 is a reply to message #206826] Thu, 17 January 2008 20:01 Go to previous message
John J. Barton is currently offline John J. BartonFriend
Messages: 311
Registered: July 2009
Senior Member
Florian wrote:
> Hi,
>
> I have been having strange issues when publishing a dynamic web projects
> to a WTP server running Tomcat 5.5.23. I am trying to find out how I can
> 1) debug the issues and 2) solve it!
>
> It first started when some JSPs were not getting refreshed during
> publishing.
> To overcome this I forced a clesn publish by using "Clean..." on the
> Server node.

I recall that this deletes a subdirectory. I lost a chunk of work one
time by doing some funky directory linking one day and "clean" the next:
my source was deleted.

>
> After that every time I publish my web project I get a pop-up with a
> 'detailed' error of: Publishing failed with multiple errors
> Resource '/web' does not exist.
> [ 20 times]
> Resource '/web' does not exist.

As in /web was deleted ?

>
> where "web" is the name of my project and the name of the "context".
>
> I have deleted and re-created the server, added the project to it anew,
> but to no avail.
>
> How can I debug the problem? Is there a way to switch on logging so I
> can find out more about the errors the publishing step is encountering?


Did you ever double click on the server line in the server view? That
brings up a secret panel that shows where the server config files are
mapped. Sometimes you can also change values on this panel, but not always.

HTH,
John.


>
> Finally, I am using Eclipse 3.3.1 and WTP 2.0.1.
>
> In advance thank you for any help with this matter.
>
> Florian
>
>
>
Previous Topic:Using WTP 3.0M4 to create a project at a specified location
Next Topic:Update Site then try to open any XML file causes NPE?
Goto Forum:
  


Current Time: Wed Apr 24 23:07:23 GMT 2024

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

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

Back to the top