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
Post a Comment