Re: Eclipse: running on server error: "Multiple Contexts have a path of ..."
- From: kenniskrijger@xxxxxxxxx
- Date: Mon, 3 Mar 2008 01:31:12 -0800 (PST)
On 14 feb, 15:19, xlucio.fla...@xxxxxxxxx wrote:
On 4 fev, 12:31, Woland <thewol...@xxxxxxxxx> wrote:
Hi all!
I'm having a problem running my web project on server (Tomcat 5.5 or
Tomcat 6.0) from Eclipse IDE 3.3 WST.
Whenever I try to run my project on server, during the publishing
process I get the following error:
Multiple Contexts have a path of "/Project_Name"
I've tried many thing to solve it including making a new workspace
directory.
Any ideas?
Hello
Try to rename the Project / Properties / WebProject Settings to
Project_name2 for example.
Works fine for me.
Now why this $#%#*# happen, I simplily don't know!!!
Actually it's really simple. The server.xml file is corrupted by
Eclipse!!! How it happens I don't know, there could be many reasons
internal to Eclipse WST guts. So, like I found out many times with
Eclipse, don't be afraid to do some XML file surgery.
Open the corrupted server.xml file by selecting it in Eclipse.
Do a search for the particular path ( /Project_Name ) ...
notice how there are multiple Context tags using the same path? Remove
the unwanted ones and live will be good yet again.
No thanks, just making the programmer world a better place
Daniel Gressmann
.
- Follow-Ups:
- Next by Date: Re: ArgoUML
- Next by thread: Re: Eclipse: running on server error: "Multiple Contexts have a path of ..."
- Index(es):
Relevant Pages
|
|