Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Catalina.start: LifecycleException: null.open: java.net.SocketException: Permission

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using windows vista I do see that 8080 is not used but due to some security issue in vista not able to open a java port ...... need help to resolve it


Catalina.start: LifecycleException: null.open: java.net.SocketException: Permi
ssion denied: listen failed
LifecycleException: null.open: java.net.SocketException: Permission denied: li
sten failed
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1130)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.SocketException: Permission denied: listen failed
at java.net.PlainSocketImpl.socketListen(Native Method)
at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:374)
at java.net.ServerSocket.bind(ServerSocket.java:320)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at java.net.ServerSocket.<init>(ServerSocket.java:141)
at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau
ltServerSocketFactory.java:118)
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava:948)
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1128)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)






this is from netstat
process Protocol localaddress remoteaddress state

svchost.exe:960TCP0.0.0.0:1350.0.0.0:0LISTENING
svchost.exe:1480TCP0.0.0.0:33890.0.0.0:0LISTENING
wininit.exe:636TCP0.0.0.0:491520.0.0.0:0LISTENING
svchost.exe:1148TCP0.0.0.0:491530.0.0.0:0LISTENING
svchost.exe:1372TCP0.0.0.0:491540.0.0.0:0LISTENING
svchost.exe:1184TCP0.0.0.0:491550.0.0.0:0LISTENING
lsass.exe:688TCP0.0.0.0:491560.0.0.0:0LISTENING
services.exe:676TCP0.0.0.0:491570.0.0.0:0LISTENING
McNASvc.exe:5388TCP0.0.0.0:66460.0.0.0:0LISTENING
System:4TCP59.161.156.87:1390.0.0.0:0LISTENING
svchost.exe:1184UDP0.0.0.0:500*:*
svchost.exe:1372UDP0.0.0.0:3702*:*
svchost.exe:1372UDP0.0.0.0:3702*:*
svchost.exe:1184UDP0.0.0.0:4500*:*
svchost.exe:1372UDP0.0.0.0:49152*:*
svchost.exe:1372UDP127.0.0.1:1900*:*
svchost.exe:1372UDP0.0.0.0:123*:*
System:4UDP59.161.156.87:137*:*
System:4UDP59.161.156.87:138*:*
svchost.exe:1372UDP59.161.156.87:1900*:*
svchost.exe:1480UDP0.0.0.0:5355*:*
iexplore.exe:4808UDP127.0.0.1:63690*:*
svchost.exe:1372UDP59.161.156.87:54636*:*
svchost.exe:1372UDP127.0.0.1:54637*:*
svchost.exe:1184UDPV6[0:0:0:0:0:0:0:0]:500*:*
svchost.exe:1372UDPV6[0:0:0:0:0:0:0:1]:1900*:*
svchost.exe:1372UDPV6[fe80:0:0:0:0:100:7f:fffe]:1900*:*
svchost.exe:1372UDPV6[fe80:0:0:0:355b:9fd0:1933:4e63]:1900*:*
svchost.exe:1372UDPV6[fe80:0:0:0:7877:f94d:734b:d9c8]:1900*:*
svchost.exe:1372UDPV6[fe80:0:0:0:e1e9:f5d8:5351:2168]:1900*:*
svchost.exe:1372UDPV6[0:0:0:0:0:0:0:0]:3702*:*
svchost.exe:1372UDPV6[0:0:0:0:0:0:0:0]:3702*:*
svchost.exe:1372UDPV6[0:0:0:0:0:0:0:0]:49153*:*
svchost.exe:1372UDPV6[0:0:0:0:0:0:0:0]:123*:*
svchost.exe:1372UDPV6[fe80:0:0:0:355b:9fd0:1933:4e63]:54631*:*
svchost.exe:1372UDPV6[fe80:0:0:0:e1e9:f5d8:5351:2168]:54632*:*
svchost.exe:1372UDPV6[fe80:0:0:0:7877:f94d:734b:d9c8]:54633*:*
svchost.exe:1372UDPV6[0:0:0:0:0:0:0:1]:54634*:*
svchost.exe:1372UDPV6[fe80:0:0:0:0:100:7f:fffe]:54635*:*
 
mahaveerchand jain
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
CAN ANYBODY WHO ABLE TO RUN THE APACHE TOMCAT IN WINDOWS VISTA PLEASE HELP ME
 
mahaveerchand jain
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please provide me the help to resolve the issue.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did you check your firewall settings?
 
mahaveerchand jain
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did , that should not be the issue , I want someone to help me , who already succeded in running the Apache tomcat server in Microsoft Windows Vista .

Just leave the errors i am getting which I mentioned in this thread , tell me in few simple steps from scratch so that I can kick start my tomact in windows vista.
 
mahaveerchand jain
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kathy ,

Is there anybody in this whole java ranch who can help me in getting started my tomcat in windows vista .
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its probably your firewall or anti-virus software that's taking up the socket.
 
Screaming fools! It's nothing more than a tiny ad:
The trailboss has a kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic