Endpoint Protection

 View Only
  • 1.  SEMSRV keeps stopping erro The Java Virtual Machine has exited with a code of -1, the service is being stopped.

    Posted May 07, 2012 10:03 AM

    Hi Folks,

    I was away on tarvels during the week and noticed that the SEMSRV had stopped..  Login and tryed to restart the service..
    After a number of times of starting the sevice it just keeps stopping..

    SEPM 11. is installed on a Server 2008 32bit Enterprise and the SQL DB installed on a Server 2008 R2 64bit Enterprise with SQL2008 R2..

    The SEPM is setup to Replacate to another server with SEPM installed, which is on Server 2003 32bit through VPN.

    On the  Server 2003 32bit the SEPM is working with no issue.. But on the Server 2008 32bit Enterprise SEPM failes to keep the SEMSRV started..

    I checked the Server system logs in the SEM DB on SQL::

    DOMAIN_ID SITE_ID SERVER_ID TIME_STAMP SEVERITY EVENT_ID EVENT_DESC MSG_ID ERROR_CODE STACK_TRACE RESERVED_INT1 RESERVED_INT2 RESERVED_BIGINT1 RESERVED_BIGINT2 RESERVED_CHAR1 RESERVED_CHAR2 RESERVED_VARCHAR1 RESERVED_BINARY
    NULL B07BC419C0A801EC00D5CE53B23EF0DE 738AD6EBC0A801C0011FF1B83F42CD9B 1336032129695 1000 1281 org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character. -1 -1 com.sygate.scm.server.util.ScmServerError: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.  at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:961)  at com.sygate.scm.server.configmanager.ConfigManager.getSemServerStateObject(ConfigManager.java:2786)  at com.sygate.scm.server.task.ClientTransportInfoTask.run(ClientTransportInfoTask.java:227)  at java.util.TimerThread.mainLoop(Timer.java:512)  at java.util.TimerThread.run(Timer.java:462) Caused by: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)  at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)  at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)  at com.sygate.scm.common.configobject.XMLHelper.parse(XMLHelper.java:54)  at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:110)  at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:116)  at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:953)  ... 4 more  NULL NULL NULL NULL NULL NULL NULL NULL

    Error in Logs in scm-server-0.log:
    2012-05-07 14:24:26.300 SEVERE: ================== Server Environment ===================
    2012-05-07 14:24:26.300 SEVERE: os.name = Windows Server 2008
    2012-05-07 14:24:26.300 SEVERE: os.version = 6.0
    2012-05-07 14:24:26.300 SEVERE: os.arch = x86
    2012-05-07 14:24:26.300 SEVERE: java.version = 1.6.0_14
    2012-05-07 14:24:26.300 SEVERE: java.vendor = Sun Microsystems Inc.
    2012-05-07 14:24:26.300 SEVERE: java.vm.name = Java HotSpot(TM) Server VM
    2012-05-07 14:24:26.300 SEVERE: java.vm.version = 14.0-b16
    2012-05-07 14:24:26.300 SEVERE: java.home = C:\Program Files\Symantec\Symantec Endpoint Protection Manager\jdk\jre
    2012-05-07 14:24:26.300 SEVERE: catalina.home = C:\Program Files\Symantec\Symantec Endpoint Protection Manager\tomcat
    2012-05-07 14:24:26.300 SEVERE: java.user = null
    2012-05-07 14:24:26.300 SEVERE: user.language = en
    2012-05-07 14:24:26.300 SEVERE: user.country = US
    2012-05-07 14:24:26.316 SEVERE: scm.server.version = 11.0.5002.333
    2012-05-07 14:24:28.316 SEVERE: ================== StartClientTransport ===================
    2012-05-07 14:24:28.488 SEVERE: Schedule is started!
    2012-05-07 14:24:30.347 SEVERE: Unknown Exception in: com.sygate.scm.server.task.ClientTransportInfoTask
    com.sygate.scm.server.util.ScmServerError: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.

     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:961)
     at com.sygate.scm.server.configmanager.ConfigManager.getSemServerStateObject(ConfigManager.java:2786)
     at com.sygate.scm.server.task.ClientTransportInfoTask.run(ClientTransportInfoTask.java:227)
     at java.util.TimerThread.mainLoop(Timer.java:512)
     at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
     at com.sygate.scm.common.configobject.XMLHelper.parse(XMLHelper.java:54)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:110)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:116)
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:953)
     ... 4 more
    2012-05-07 14:24:38.422 SEVERE: Unknown Exception in: com.sygate.scm.server.task.PackageTask
    com.sygate.scm.server.util.ScmServerError: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:961)
     at com.sygate.scm.server.configmanager.ConfigManager.getSemServerStateObject(ConfigManager.java:2786)
     at com.sygate.scm.server.configmanager.ConfigManager.getDefServerListObject(ConfigManager.java:2879)
     at com.sygate.scm.server.configmanager.ConfigManager.getDefServerListObject(ConfigManager.java:2833)
     at com.sygate.scm.server.publisher.compiler.logicaobject.SylinkObject.getServerList(SylinkObject.java:94)
     at com.sygate.scm.server.publisher.compiler.logicaobject.SylinkObject.compile(SylinkObject.java:64)
     at com.sygate.scm.server.publisher.compiler.Spa50ProfileCompiler.buildSylink(Spa50ProfileCompiler.java:1625)
     at com.sygate.scm.server.publisher.compiler.Spa50ProfileCompiler.compile(Spa50ProfileCompiler.java:620)
     at com.sygate.scm.server.task.PackageTask.updateProfile(PackageTask.java:823)
     at com.sygate.scm.server.task.PackageTask.updateGroup(PackageTask.java:770)
     at com.sygate.scm.server.task.PackageTask.checkGroupDirectory(PackageTask.java:679)
     at com.sygate.scm.server.task.PackageTask.run(PackageTask.java:287)
     at java.util.TimerThread.mainLoop(Timer.java:512)
     at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
     at com.sygate.scm.common.configobject.XMLHelper.parse(XMLHelper.java:54)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:110)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:116)
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:953)
     ... 13 more
    2012-05-07 14:24:40.013 SEVERE: Unknown Exception in: com.sygate.scm.server.task.ClientTransportInfoTask
    com.sygate.scm.server.util.ScmServerError: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:961)
     at com.sygate.scm.server.configmanager.ConfigManager.getSemServerStateObject(ConfigManager.java:2786)
     at com.sygate.scm.server.task.ClientTransportInfoTask.run(ClientTransportInfoTask.java:227)
     at java.util.TimerThread.mainLoop(Timer.java:512)
     at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
     at com.sygate.scm.common.configobject.XMLHelper.parse(XMLHelper.java:54)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:110)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:116)
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:953)
     ... 4 more
    2012-05-07 14:24:50.044 SEVERE: Unknown Exception in: com.sygate.scm.server.task.ClientTransportInfoTask
    com.sygate.scm.server.util.ScmServerError: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:961)
     at com.sygate.scm.server.configmanager.ConfigManager.getSemServerStateObject(ConfigManager.java:2786)
     at com.sygate.scm.server.task.ClientTransportInfoTask.run(ClientTransportInfoTask.java:227)
     at java.util.TimerThread.mainLoop(Timer.java:512)
     at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
     at com.sygate.scm.common.configobject.XMLHelper.parse(XMLHelper.java:54)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:110)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:116)
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:953)
     ... 4 more
    2012-05-07 14:24:51.651 SEVERE: Unknown Exception in: com.sygate.scm.server.task.PackageTask
    com.sygate.scm.server.util.ScmServerError: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:961)
     at com.sygate.scm.server.configmanager.ConfigManager.getSemServerStateObject(ConfigManager.java:2786)
     at com.sygate.scm.server.configmanager.ConfigManager.getDefServerListObject(ConfigManager.java:2879)
     at com.sygate.scm.server.configmanager.ConfigManager.getDefServerListObject(ConfigManager.java:2833)
     at com.sygate.scm.server.publisher.compiler.logicaobject.SylinkObject.getServerList(SylinkObject.java:94)
     at com.sygate.scm.server.publisher.compiler.logicaobject.SylinkObject.compile(SylinkObject.java:64)
     at com.sygate.scm.server.publisher.compiler.Spa50ProfileCompiler.buildSylink(Spa50ProfileCompiler.java:1625)
     at com.sygate.scm.server.publisher.compiler.Spa50ProfileCompiler.compile(Spa50ProfileCompiler.java:620)
     at com.sygate.scm.server.task.PackageTask.updateProfile(PackageTask.java:823)
     at com.sygate.scm.server.task.PackageTask.updateGroup(PackageTask.java:770)
     at com.sygate.scm.server.task.PackageTask.checkGroupDirectory(PackageTask.java:679)
     at com.sygate.scm.server.task.PackageTask.run(PackageTask.java:287)
     at java.util.TimerThread.mainLoop(Timer.java:512)
     at java.util.TimerThread.run(Timer.java:462)
    Caused by: org.xml.sax.SAXParseException: Attribute name "Se" associated with an element type "SemServerState" must be followed by the ' = ' character.
     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
     at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
     at com.sygate.scm.common.configobject.XMLHelper.parse(XMLHelper.java:54)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:110)
     at com.sygate.scm.common.configobject.AbstractSchema.readXML(AbstractSchema.java:116)
     at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:953)
     ... 13 more

    If any one has com accross this before, let me know.. Just to point out there is no issue with ODB connects as the 2ndserver is working fine..
    I also tryed the repair SEPM same issue..

     

    Thanks a Mill

    Nigel

     



  • 2.  RE: SEMSRV keeps stopping erro The Java Virtual Machine has exited with a code of -1, the service is being stopped.

    Posted Jul 22, 2012 04:13 PM

     

    Unable to log into the Symantec Endpoint Protection Manager - there is a Java 1 error in the Application Event Log

    http://www.symantec.com/docs/TECH106369

     


  • 3.  RE: SEMSRV keeps stopping erro The Java Virtual Machine has exited with a code of -1, the service is being stopped.

    Posted Jul 22, 2012 04:14 PM

     

    Failed to connect to the server http://www.symantec.com/docs/TECH153719
    http://www.symantec.com/business/support/index?page=content&id=TECH160378


  • 4.  RE: SEMSRV keeps stopping erro The Java Virtual Machine has exited with a code of -1, the service is being stopped.

    Posted Aug 15, 2012 10:37 AM

    Please reinstall IIS

    Regards

     



  • 5.  RE: SEMSRV keeps stopping erro The Java Virtual Machine has exited with a code of -1, the service is being stopped.
    Best Answer

    Posted Aug 15, 2012 11:05 AM

    Hi Samerr,

        I solved the issue my self, Symnatec was not able to help me..

    Problem occurred when SEPM was installed on a DC server.. when the server was joying the Domain as a DC, SEPM some how got corrupt and caused the SEM DB on a seperate SQL server to become corrupt.

    Only way to fix the issue was to restore a Backup of the Sem DB...

    Thanks god for backups, it was a good way to test my backups..

    lol Restarted the IIS would not solved this issue..

    the Sever setup is failover and loadbalancing..

    Local Site
                   1: SQLVM\SQL2008R2 - this has the sql DB SEM
                   2: Server1 - SEPM - Priorty 1 (HQ server)
                   3: Server2 - SEPM - Priorty 2 (England)
                   4: Server2 - SEPM - Priorty 3 (Fracne)

    Cheers

    Nigel



  • 6.  RE: SEMSRV keeps stopping erro The Java Virtual Machine has exited with a code of -1, the service is being stopped.

    Posted Aug 15, 2012 11:19 AM

    Hello Nrothwell,

    Kindly involve Symantec Technical Support and have them checked the SEPM Log Settings.

    Regards,