Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Creating a web service by WTP
Creating a web service by WTP [message #196733] Thu, 19 July 2007 17:04 Go to next message
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 20:01 Go to previous messageGo to next message
Seng Phung Lu is currently offline Seng Phung Lu
Messages: 62
Registered: July 2009
Member
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 #196775 is a reply to message #196767] Thu, 19 July 2007 20:30 Go to previous messageGo to next message
Eclipse User
Originally posted by: zomithex1.yahooo.com

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
Re: Creating a web service by WTP [message #196782 is a reply to message #196775] Thu, 19 July 2007 20:48 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1310
Registered: July 2009
Senior Member
The following would be a good place to start in the WTP Tomcat FAQ to
learn about these "instances":

http://www.eclipse.org/webtools/faq/TomcatServerFAQ.php#gett ing_started_1

This FAQ has not been updated with WTP 2.0 info yet, but this aspect of
Tomcat servers in WTP hasn't changed and is still relevant.

Cheers,
Larry

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
>
>
>
Re: Creating a web service by WTP [message #196790 is a reply to message #196775] Thu, 19 July 2007 20:53 Go to previous message
Seng Phung Lu is currently offline Seng Phung Lu
Messages: 62
Registered: July 2009
Member
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
>
>
>
Previous Topic:Error parsing WSDL
Next Topic:Exported jars from utility module...
Goto Forum:
  


Current Time: Fri Oct 24 18:22:53 GMT 2014

Powered by FUDForum. Page generated in 0.02556 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software