duplicate web modules [message #172039] |
Thu, 22 June 2006 08:20  |
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.04268 seconds