aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting java.netSocketException " Watch "Getting java.netSocketException " New topic

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: Permission denied: connect: 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.

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:
subject: Getting java.netSocketException
Similar Threads
JBOSS SocketException PermissionDenied
java.policy setting not reflecting
Security Policy with WAS
please I urgently need help
JBoss initialcontext problem