Re: Eclipse: running on server error: "Multiple Contexts have a path of ..."



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
.



Relevant Pages

  • Eclipse, WST and an existing Project
    ... untill now. ... How do I deploy my project on the server running inside Eclipse? ... Also I'd like to know if there's some sort of beginners guide to WST ...
    (comp.lang.java.programmer)
  • Re: Eclipse: running on server error: "Multiple Contexts have a path of ..."
    ... Tomcat 6.0) from Eclipse IDE 3.3 WST. ... Whenever I try to run my project on server, during the publishing ...
    (comp.lang.java.softwaretools)
  • Re: Eclipse Europa Probleme unter Windows Vista 64 Bit
    ... Dazu ist es jedoch notwendig eine Version von Eclipse zu Downloaden, ... Das bedeutet für die WST und WTP dass die ... An den Update Manager ...
    (de.comp.lang.java)
  • Eclipse: " A palette is not available" ?
    ... I have been installed the wst for Eclipse... ... Really I just download ... the entire file thats contains eclipse+wst+dependences.zip from ...
    (comp.lang.java.programmer)
  • Re: New Eclipse offerings...
    ... I think Eclipse are trying to clamp down on the heavy ... normal, p2p services etc may well run slower during peak times, if he ... use Gmail for POP, and I believe you can with Yahoo too. ... I thought about my own mail server, but I sleep my G5 when I'm not here, ...
    (uk.comp.sys.mac)