How can I find out more when the publishing of my dynamic web project fails? [message #206826] |
Tue, 15 January 2008 19:58 |
Eclipse User |
|
|
|
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 |
Larry Isaacs 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03259 seconds