This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes Getting java.netSocketException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting java.netSocketException " Watch "Getting java.netSocketException " New topic
Author

Getting java.netSocketException

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634


The Flow of project is :
user submits a sparql query to a sparql endpoint:

i am using eclipse Helios Service Release 1 and server tomcat v5.5
i am using a campus public wifi network and even the firewall on my pc is not showing any notification that if it is blocking it.
i am getting the following exception while running a project on eclipse.



i tried to run the code on server and got the following exception
: HttpException: java.net.SocketException: Permission denied: connect: java.net.SocketException: Permission denied: connect

OCPJP 6.0 93%
OCPJWCD 5.0 98%
Pete Nelson
Ranch Hand

Joined: Aug 30, 2010
Posts: 147

Is this coming from your servlet, or from Eclipse itself?

If Eclipse is unable to launch Tomcat, and there's nothing listening on the port Eclipse is trying to connect to, you're likely to get this message. Try opening up the Tomcat server in a browser, I think you'll find it cannot connect.


OCPJP
In preparing for battle I have always found that plans are useless, but planning is indispensable. -- Dwight D. Eisenhower
Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

i am able to run the tomcat server and even the input page opens but when i submit ,it waits for a while and then the exception comes

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

please HELP
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting java.netSocketException
 
Similar Threads
Security Policy with WAS
please I urgently need help
java.policy setting not reflecting
JBoss initialcontext problem
JBOSS SocketException PermissionDenied