Multi threads


hello all,

i using windows server 2012 right now. bit new servers world.

my problem multi threads in server.

i explain situation background:

1. runnning several java apps on server.

2. running apache server.

until couldn't send 2 http requests.

when 1 of  my javas programs sends kind of http request other programms standing in line , waiting last 1 finish(basicly, no multi threading). 

second problem when open 1 of java apps web server(js):

  function active(i)          {              theurl = "http://localhost:8000/run?user="+i;              alert(theurl);              var xmlhttp = null;              xmlhttp = new xmlhttprequest();              xmlhttp.open( "get", theurl, false );              xmlhttp.send( null );              //return xmlhttp.responsetext;          }

basicly happands webserver "waiting" untill close java app , can run second one. moment clsoe first java app abale run second.

whats wrong server? thank you!

this forum followed system administrator types of people , not application developers.  might have better luck posting in java forum.

that said, sounds programming issue.  sure code written allow multi-threading?  jvm set allow single thread?  these sort of questions better answered people program in java on windows - don't.


.:|:.:|:. tim



Windows Server  >  Windows Server 2012 General



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file