Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.softwaretools > #201

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

Newsgroups comp.lang.java.softwaretools
Date 2013-03-27 16:16 -0700
References <1301502b-e617-47d8-8a8d-43e5ef5980e7@c4g2000hsg.googlegroups.com> <8c9684b5-8995-4287-9174-f69415cf473d@q78g2000hsh.googlegroups.com> <2bf3f66b-6245-4195-ad9d-8a9044c41388@d4g2000prg.googlegroups.com>
Message-ID <15987a1c-29dc-445d-9e23-0032b222867b@googlegroups.com> (permalink)
Subject Re: Eclipse: running on server error: "Multiple Contexts have a path of ..."
From ksevksev@gmail.com

Show all headers | View raw


On Monday, March 3, 2008 2:31:12 AM UTC-7, kennis...@gmail.com wrote:
> On 14 feb, 15:19, xlucio.fla...@gmail.com wrote:
> > On 4 fev, 12:31, Woland <thewol...@gmail.com> 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

Thank you so much Daniel! 

Back to comp.lang.java.softwaretools | Previous | Next | Find similar | Unroll thread


Thread

Re: Eclipse: running on server error: "Multiple Contexts have a path  of ..." ksevksev@gmail.com - 2013-03-27 16:16 -0700

csiph-web