Arcgis server JAVA application every morning problem

Discussion created by krystian4421 on Apr 16, 2012
Latest reply on Jun 19, 2012 by krystian4421

I've developed web application in JAVA API. Since then (maybe 3-4weeks) every morning when someone try to connect to my application always get errors, and then map is not loading. Tomcat log file I always get error like this:
[HTML]SEVERE: Unable to initialize resource 'ags1'. This resource will be removed
com.esri.adf.web.ags.ADFAGSException: Cannot create MapServer instance for server object 'map1' [hosts=[]]
at Source)
at Source)
at Source)
at$ Source)
at java.util.concurrent.Executors$ Source)
at java.util.concurrent.Executors$PrivilegedCallable$ Source)
at Method)
at java.util.concurrent.Executors$ Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
Caused by: com.esri.arcgis.server.SOMNotAvailableException: Unable to activate {|} SOMs in this cluster or no SOMs in this cluster.
at com.esri.arcgis.server.ServerCluster2.getServerConnection(Unknown Source)
... 13 more[/HTML]
it's funny because after few minutes when the application is refreshed everything is OK. I dont know what can be a problem. For all day long application is just fine, but everyday the error occurs. I would like to mention, that my tomcat server (v.6) is on VMware and ArcGIS server is on other machine.
can someone resolve my problem? :)