Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » duplicate web modules
duplicate web modules [message #172039] Thu, 22 June 2006 08:20 Go to next message
Eclipse User
Originally posted by: nick.cuckson.rbos.com

I've been developing a web app without any problem in Eclipse for several
months. All of a sudden a problem has developed with Eclipse/Tomcat.

The problem I have is that a 2nd web module has been defined with the same
context root. I don't know how this has happened but the outcome is that
I can't launch the web app anymore and I get the message "Two or more Web
modules defined in the configuration have the same context root. To start
this server you will need to remove the duplicate(s)." Here's the entry
in the error log:
!ENTRY org.eclipse.jst.server.tomcat.core 4 0 2006-06-22 11:57:07.396
!MESSAGE Two or more Web modules defined in the configuration have the
same context root. To start this server you will need to remove the
duplicate(s).

I've looked for some sort of config file where this may be defined and the
only one I could find was under
$project_workspace\.metadata\.plugins\org.eclipse.wst.server .core\modules.xml
I've tried modifying the contents but this hasn't made any difference.
I'm using Eclipse v3.1.1, EMF v2.1.2, JEM v1.1.0.1, JST v1.0.0, WST v1.0.0.

I've searched high and low for info on the problem I have and the only
reference I can find is in bugzilla. The bug was closed, but from what I
can see this was because the originator didn't get back in touch as
requested.

Has anyone got any information that may help?

thanks in advance,

Nick
Re: duplicate web modules [message #172258 is a reply to message #172039] Fri, 23 June 2006 10:51 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1299
Registered: July 2009
Senior Member
In case you haven't already discovered it, I believe the "Two or more
Web modules..." complaint stems from multiple contexts in the server.xml
found under the Servers project in your workspace having the same "path"
attribute.

Cheers,
Larry

Nick wrote:
> I've been developing a web app without any problem in Eclipse for
> several months. All of a sudden a problem has developed with
> Eclipse/Tomcat.
>
> The problem I have is that a 2nd web module has been defined with the
> same context root. I don't know how this has happened but the outcome
> is that I can't launch the web app anymore and I get the message "Two or
> more Web modules defined in the configuration have the same context
> root. To start this server you will need to remove the duplicate(s)."
> Here's the entry in the error log:
> !ENTRY org.eclipse.jst.server.tomcat.core 4 0 2006-06-22 11:57:07.396
> !MESSAGE Two or more Web modules defined in the configuration have the
> same context root. To start this server you will need to remove the
> duplicate(s).
>
> I've looked for some sort of config file where this may be defined and
> the only one I could find was under
> $project_workspace\.metadata\.plugins\org.eclipse.wst.server .core\modules.xml
>
> I've tried modifying the contents but this hasn't made any difference.
> I'm using Eclipse v3.1.1, EMF v2.1.2, JEM v1.1.0.1, JST v1.0.0, WST v1.0.0.
>
> I've searched high and low for info on the problem I have and the only
> reference I can find is in bugzilla. The bug was closed, but from what
> I can see this was because the originator didn't get back in touch as
> requested.
>
> Has anyone got any information that may help?
>
> thanks in advance,
>
> Nick
>
Previous Topic:Eclipse 3.2 with WTP
Next Topic:Formatting SOAP structure of Vectors
Goto Forum:
  


Current Time: Tue Jul 29 13:16:31 EDT 2014

Powered by FUDForum. Page generated in 0.02414 seconds