hi
I have successfully deployed a hyperbolic tree
thro' httpTunneling.The only problem i am facing.Once the
applet calls the
servlet from the jar file its opening a URLConnection.and doing the rest of the operation.After accessing 20-30
times its giving some kind of
thread is blocked
/servlet/NetSkillDAServlet means already in use.
How do i get out of it.None of the server like
tomcat,resin,weblogic behaves like this.Is it something with the code or some config has to be done.If anyone could advice me what to do.
Applet code:
webServerStr = null;
hostName = "....."
port = "8080";
servletPath="/sevlet/NetSkillDAServlet";
webServerStr = "http://" + hostName + ":" + port + servletPath;
URLL url = new URL(webServerStr);
URLConnection urlconnection = url.openConnection();
ObjectInputStream inputFromServlet = new ObjectInputStream(urlconnection.getInputStream());
Vector dataFromServlet = (Vector)inputFromServlet.readObject();
Anything else to do?? Coz URL connection does not
have something to close.But its not giving error in any other servers.
thanx and regards