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


Groups > comp.lang.java.softwaretools > #167 > unrolled thread

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

Started bytryasta@gmail.com
First post2012-10-01 03:02 -0700
Last post2012-10-01 03:02 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.java.softwaretools

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Eclipse: running on server error: "Multiple Contexts have a path  of ..." tryasta@gmail.com - 2012-10-01 03:02 -0700

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

Fromtryasta@gmail.com
Date2012-10-01 03:02 -0700
SubjectRe: Eclipse: running on server error: "Multiple Contexts have a path of ..."
Message-ID<37823114-5d83-46f3-bc99-0e1f5ecf1561@googlegroups.com>
El sábado, 22 de marzo de 2008 08:13:57 UTC+1, feit...@gmail.com  escribió:
> On 3月3日, 下午5时31分, kenniskrij...@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!
> I met this problem then I goole it
> find you method, and take a try. Now it can work!
> Thank you !!!^_^

The corruption of the server.xml file is done by the Server´s plugin. Every time the war is Added (for example, if you remove and add it again) Eclipse creates a new Context tag in the server.xml file.

[toc] | [standalone]


Back to top | Article view | comp.lang.java.softwaretools


csiph-web