Creating a web service by WTP [message #196733] |
Thu, 19 July 2007 13:04  |
Eclipse User |
|
|
|
Originally posted by: zomithex1.yahoo.com
Hello Dear Friends,
I am trying to create a web service using WTP by going through the
"Eclipse Evaluation Guide".
http://www.eclipse.org/webtools/initial-contribution/IBM/eva lGuides/WebServicesToolsEval.html#tour-bu-prereqtomcat
in part 3.2.4 which is "Create a Web service and Web service client"
after step 8, which is the end of the configuration of the web service
before using it, I got this error:
"IWAB0213E Error in starting server
Detail:
org.eclipse.core.runtime.CoreException:
several ports(8005,8080,8009) required by Tomcat v6.0 server at localhost
are already in use. The server may already be running in another
process, or a system process may be using the port. To start this server
you will need to stop the other process or change the port number(s)".
I can run the Tomcat manually, seems noting is wrong with it.
And I am not using any other program which may use Tomcat server.
Do you have any idea what's wrong and what should I do?
Thanks a lot
Mitra
|
|
|
Re: Creating a web service by WTP [message #196767 is a reply to message #196733] |
Thu, 19 July 2007 16:01   |
Eclipse User |
|
|
|
Hi Mitra,
When you are running Tomcat from WTP, is the other instance(outside of
Eclipse) also running? If so, there's likely a port sharing issue, and
you need to shutdown the outside server. Another option is to change
the WTP Tomcat configuration to use a different server port other than 8080.
I have used Tomcat5.0 and Tomcat5.5 (but not Tomcat v6.0) in this
scenario, so I can't rule out Tomcat v6.0 behaviour.
Hope that helps,
Seng
mitra wrote:
>
> Hello Dear Friends,
>
> I am trying to create a web service using WTP by going through the
> "Eclipse Evaluation Guide".
> http://www.eclipse.org/webtools/initial-contribution/IBM/eva lGuides/WebServicesToolsEval.html#tour-bu-prereqtomcat
>
>
> in part 3.2.4 which is "Create a Web service and Web service client"
> after step 8, which is the end of the configuration of the web service
> before using it, I got this error:
> "IWAB0213E Error in starting server
> Detail:
> org.eclipse.core.runtime.CoreException:
> several ports(8005,8080,8009) required by Tomcat v6.0 server at
> localhost are already in use. The server may already be running in
> another process, or a system process may be using the port. To start
> this server you will need to stop the other process or change the port
> number(s)".
> I can run the Tomcat manually, seems noting is wrong with it.
> And I am not using any other program which may use Tomcat server.
>
> Do you have any idea what's wrong and what should I do?
>
> Thanks a lot
> Mitra
>
|
|
|
|
|
Re: Creating a web service by WTP [message #196790 is a reply to message #196775] |
Thu, 19 July 2007 16:53  |
Eclipse User |
|
|
|
Hi Mitra,
I may be wrong here, but a common mistake is starting Tomcat from the
actual install location; that is what I mean by the 'outside(of Eclipse)
server', and then starting it again from inside Eclipse. The conflict
occurs because the Tomcat server created in WTP is attemptig use the
same ports but since another server may already be started, there is a
conflict.
The solution is to make sure you have no servers(or ports) occupied when
you try to start your server from Eclipse.
Hope that helps,
Seng
mitra wrote:
> Dear Seng,
>
> Would you please explain me a lil what you mean by "other instance" in
> "is the other instance(outside of Eclipse) also running?" and "outside
> server" in "you need to shutdown the outside server".
> Sorry, but I have no idea what they really point to.
>
> thanks a lot
> Mitra
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04894 seconds