+ Reply to Thread
Results 1 to 3 of 3

Thread: Arcgis server JAVA application every morning problem

  1. #1
    Krystian p
    Join Date
    Feb 2012
    Posts
    13
    Points
    0
    Answers Provided
    2


    0

    Default Arcgis server JAVA application every morning problem

    Hello,

    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 Code:
    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=[xxx.xxx.xxx.xxx]]
    	at com.esri.adf.web.ags.data.AGSLocalConnection.activateResource(Unknown Source)
    	at com.esri.adf.web.ags.data.AGSLocalConnection.initResource(Unknown Source)
    	at com.esri.adf.web.ags.data.AGSLocalMapResource.init(Unknown Source)
    	at com.esri.adf.web.data.WebContext$0.run(Unknown Source)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    	at java.util.concurrent.Executors$PrivilegedCallable$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.util.concurrent.Executors$PrivilegedCallable.call(Unknown Source)
    	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    	at java.util.concurrent.FutureTask.run(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: com.esri.arcgis.server.SOMNotAvailableException: Unable to activate {xxx.xxx.xxx.xxx|} SOMs in this cluster or no SOMs in this cluster.
    	at com.esri.arcgis.server.ServerCluster2.getServerConnection(Unknown Source)
    	... 13 more
    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?

  2. #2
    Vadivelan Palanichamy
    Join Date
    Aug 2010
    Posts
    106
    Points
    1
    Answers Provided
    0


    0

    Default Re: Arcgis server JAVA application every morning problem

    Hi, Have you checked the health condition of arcgis server and services before you get this error?

    http://<<machinename>>:8399/arcgis/rest/services
    http://<<machinename>>:8099/arcgismanager/main/login.jsf

    may be an issue in the tomcat configuration,

  3. #3
    Krystian p
    Join Date
    Feb 2012
    Posts
    13
    Points
    0
    Answers Provided
    2


    0

    Default Re: Arcgis server JAVA application every morning problem

    hi, yes, with REST services evertyhing is ok.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts