aspose file tools*
The moose likes Tomcat and the fly likes whats this error due to ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "whats this error due to ?" Watch "whats this error due to ?" New topic
Author

whats this error due to ?

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
When I am trying to load default page of tomcat, it gives error message "Internet Explorer cannot display the webpage"
I checked the log files and in catalina log file, I found following
------------------------------------------------------------------------------------------------------------------------------------------

Apr 9, 2009 6:55:20 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_11\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Perl\bin;C:\Program Files\Java\jdk1.6.0_11\bin;C:\Program Files\DivX\DivX Player;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;;C:\Program Files\Common Files\DivX Shared\
Apr 9, 2009 6:55:42 PM org.apache.coyote.http11.Http11BaseProtocol init
SEVERE: Error initializing endpoint
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.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:293)
at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
at org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
---------------------------------------------------------------------------------------------------------------------------------------------

I read different posts, it says this can be firewall settings or anti-virus software taking up the socket. I changed the port number, but still same the same error.

How to solve this problem ? Please explain every step in detail and from scratch.

thanks
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Try to uninstall your anti-virus software
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: whats this error due to ?