- This topic has 6 replies, 2 voices, and was last updated 13 years, 11 months ago by support-swapna.
-
AuthorPosts
-
SumithraMemberSir,
I’m sumithra. For my academic porject i’m ME ide. I’ve created RESTful web services using JAX-RS support in ME. It was working well with your forum support.
but now i’m getting the below said error ,which i didnt encounter earlier.“LifecycleException: service.getName(): “Catalina”; Protocol handler start failed: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind”
I couldnt proceed with my work further because of this error.. So kindly help me as soon as possible..
Thank u in advance…
support-swapnaModeratorSumithra,
The only reason the exception above would be thrown is if Tomcat is being blocked from starting by another process. Things like permission issues can also prevent it from running.
1. I assume you are working with Tomcat to run the Webservice. Right?
2. Can you make sure that the ports for Tomcat are not already in use (by VMware for example)?. Use netstat -ano and check the port.
3. Can you check your Windows firewall to make sure those ports are available.
4. Can you also check if the permissions on the folders have been changed?It might be that Tomcat is unable to write to the data or work folders .Let us know it works for you.
SumithraMemberhi…
I changed the port no to 80 and the server got started without error… but as i’m doing restful services… i’m getting the uri as http://localhost:8080/Services/.. for the restful services i’m creating
where should i change that default port no in ME ide.
I’m using standalone Tomcat 6.0 and not myeclipse Tomcat…thank u..
SumithraMemberhi…
I changed the port no to 80 and the server got started without error… but as i’m doing restful services… i’m getting the uri as http://localhost:8080/Services/.. for the restful services i’m creating
where should i change that default port no in ME ide.
I’m using standalone Tomcat 6.0 and not myeclipse Tomcat…thank u..
support-swapnaModeratorSumithra,
Here is how you can change the default port of Tomcat :
1. Locate the server.xml in {Tomcat installation folder}\ conf \
2. Locate the following statement :<!– Define a non-SSL HTTP/1.1 Connector on port 8080 –>
<Connector port=”8080″ … />
By changing this 8080 value of port attribute, server would start listening on new port number.<Connector port=”8081″ … />
3. After saving the changed server.xml file, Tomcat server must be restarted (stop then start) to activate the change.
Hope this helps.
SumithraMemberHi,
As I mentioned earlier I’ve changed the default port no of standalone tomcat in the installation folder. The problem is the RESTful services I’ve created using JAX-RS(built-in support in ME(Myeclipse) providing the automatical Wadl uri as http://localhost:8080/Services/….wadl.
so that i couldnt run the services. how to change the port no in ME.
support-swapnaModeratorSumithra,
Sorry for the confusion.
Here is a post which discusses about changing the port for webservices. Please try to work on the lines discussed in it.
http://www.myeclipseide.com/PNphpBB2-printview-t-25576-start-0.htmlLet us know how it helps you.
-
AuthorPosts