Clarity PPM

Expand all | Collapse all

NSA stops

Jump to Best Answer
  • 1.  NSA stops

    Posted 12-30-2015 05:39 AM

    Hi,

     

    I noticed something curious about the NSA in one of our test environments. I was trying to access the NSA page via http://server:8090 but got a page cannot be displayed.

    So I got on the server and checked the status of the service, which was stopped.

    Then I issues a service start nsa command and the service started successfully.

    But I still got a "page cannot be displayed" when I tried accessing the NSA again.

     

    It looks like the service stops itself immediately after it starts.

     

    I tried looking in the nsa.log file for some more info but couldn't see anything there which might indicate what's going on.



  • 2.  Re: NSA stops

    Posted 12-30-2015 05:41 AM

    Check for the port number if there is conflict then the services will stop. Also check admin log



  • 3.  Re: NSA stops

    Posted 12-30-2015 05:49 AM

    Hi Suman,

     

    I checked the admin.log file and it says that the hosts.xml file is out of date?

    12/30/15 5:37 AM (niku) execute: Config Mgr setup

    12/30/15 5:37 AM (niku) execute: read hosts.xml

    12/30/15 5:37 AM (niku) execute: remote = false

    12/30/15 5:37 AM (niku) execute: hosts.xml out of date

    12/30/15 5:37 AM (niku) execute: Config Mgr setup

    12/30/15 5:37 AM (niku) execute: read hosts.xml

    12/30/15 5:37 AM (niku) execute: remote = false

    12/30/15 5:37 AM (niku) execute: hosts.xml out of date

    12/30/15 5:37 AM (niku) execute: Config Mgr setup

    12/30/15 5:37 AM (niku) execute: read hosts.xml

    12/30/15 5:37 AM (niku) execute: remote = false

    12/30/15 5:37 AM (niku) execute: hosts.xml out of date

    12/30/15 5:37 AM (niku) execute: Config Mgr setup

    12/30/15 5:37 AM (niku) execute: read hosts.xml



  • 4.  Re: NSA stops

    Posted 12-30-2015 06:11 AM

    I also tried removing the NSA service and adding it again, This went ok but when I tried to deploy and start the service a series of errors were thrown that appear to indicate something wrong in the tomcat config?

     

    dispatch(Unknown Source)

            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un

    known Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour

    ce)

            at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)

            at com.niku.tools.taskdefs.XPath.execute(XPath.java:385)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single

    CheckExecutor.java:38)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single

    CheckExecutor.java:38)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

     

     

            at com.niku.tools.taskdefs.xpath.Iter.executeTarget(Iter.java:294)

            at com.niku.tools.taskdefs.xpath.Iter.execute(Iter.java:189)

            at com.niku.tools.taskdefs.xpath.Iter.execute(Iter.java:145)

            at com.niku.tools.taskdefs.XPath.execute(XPath.java:419)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:219)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe

    cutor.java:41)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at com.niku.nsa.service.AntUtil.executeTargets(AntUtil.java:119)

            at com.niku.nsa.service.AntUtil.executeAntScript(AntUtil.java:55)

            at com.niku.nsa.service.ServiceManager.deploy(ServiceManager.java:616)

            at com.niku.nsa.service.ServiceManager.invokeAction(ServiceManager.java:

    210)

            at com.niku.nsa.service.ServiceManager.execute(ServiceManager.java:152)

            at com.niku.nsa.service.Niku.main(Niku.java:107)

    Caused by: org.xml.sax.SAXParseException; lineNumber: 4615; columnNumber: 2; The

    markup in the document following the root element must be well-formed.

            at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un

    known Source)

            at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

     

     

            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

            at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)

            at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.

    dispatch(Unknown Source)

            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un

    known Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour

    ce)

            at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)

            at com.niku.tools.taskdefs.XPath.execute(XPath.java:385)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single

    CheckExecutor.java:38)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single

    CheckExecutor.java:38)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

     

     

            at com.niku.tools.taskdefs.xpath.Iter.executeTarget(Iter.java:294)

            at com.niku.tools.taskdefs.xpath.Iter.execute(Iter.java:189)

            at com.niku.tools.taskdefs.xpath.Iter.execute(Iter.java:145)

            at com.niku.tools.taskdefs.XPath.execute(XPath.java:419)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:219)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe

    cutor.java:41)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at com.niku.nsa.service.AntUtil.executeTargets(AntUtil.java:119)

            at com.niku.nsa.service.AntUtil.executeAntScript(AntUtil.java:55)

            at com.niku.nsa.service.ServiceManager.deploy(ServiceManager.java:616)

            at com.niku.nsa.service.ServiceManager.invokeAction(ServiceManager.java:

    210)

            at com.niku.nsa.service.ServiceManager.execute(ServiceManager.java:152)

            at com.niku.nsa.service.Niku.main(Niku.java:107)

    D:\niku\clarity\.setup\scripts\deploy.xml:151: The following error occurred whil

    e executing this line:

    D:\niku\clarity\.setup\scripts\deploy.xml:166: The following error occurred whil

    e executing this line:

    D:\niku\clarity\.setup\scripts\j2ee\tomcat\deploy.xml:438: org.jdom.input.JDOMPa

    rseException: Error on line 4615: The markup in the document following the root

    element must be well-formed.

            at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec

    tHelper.java:551)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)

            at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

     

     

            at com.niku.tools.taskdefs.xpath.Iter.executeTarget(Iter.java:294)

            at com.niku.tools.taskdefs.xpath.Iter.execute(Iter.java:189)

            at com.niku.tools.taskdefs.xpath.Iter.execute(Iter.java:145)

            at com.niku.tools.taskdefs.XPath.execute(XPath.java:419)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:219)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.Project.executeTarget(Project.java:1368)

            at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe

    cutor.java:41)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at com.niku.nsa.service.AntUtil.executeTargets(AntUtil.java:119)

            at com.niku.nsa.service.AntUtil.executeAntScript(AntUtil.java:55)

            at com.niku.nsa.service.ServiceManager.deploy(ServiceManager.java:616)

            at com.niku.nsa.service.ServiceManag

    er.invokeAction(ServiceManager.java:210)

            at com.niku.nsa.service.ServiceManager.execute(ServiceManager.java:152)

            at com.nikuFailure occured:

    D:\niku\clarity\.setup\scripts\deploy.xml:150: D:\niku\clarity\.setup\scripts\de

    ploy.xml:151: The following error occurred while executing this line:

    D:\niku\clarity\.setup\scripts\deploy.xml:166: The following error occurred whil

    e exec.nsa.service.Niku.main(Niku.java:107)

    Caused by: D:\niku\clarity\.setup\scripts\deploy.xml:166: The following error oc

    curred whuting this line:

    D:\niku\clarity\.setup\scripts\j2ee\tomcat\deploy.xml:438: org.jdom.input.JDOMPa

    rseException: Error on line 46ile executing this line:

    D:\niku\clarity\.setup\scripts\j2ee\tomcat\deploy.xml:438: org.jdom.input.JDOMPa

    rseException: Error on15: The markup in the document following the root element

    must be well-formed.

     

     

    See admin.log file for possible errors, or try line 4615: The markup in the docu

    ment following the root element must be well-formed.

            at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Projec

    tHelper.java:551)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444)

            at org.apache. -verbose option.

    tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single

    CheckExecutor.java:38)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

            ... 30 more

    Caused by: D:\niku\clarity\.setup\scripts\j2ee\tomcat\deploy.xml:438: org.jdom.i

    nput.JDOMParseException: Error on line 4615: The markup in the document followin

    g the root element must be well-formed.

            at com.niku.tools.taskdefs.XPath.execute(XPath.java:448)

            at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

            at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

    sorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:606)

            at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav

    a:106)

            at org.apache.tools.ant.Task.perform(Task.java:348)

            at org.apache.tools.ant.Target.execute(Target.java:392)

            at org.apache.tools.ant.Target.performTasks(Target.java:413)

            at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)

            at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single

    CheckExecutor.java:38)

            at org.apache.tools.ant.Project.executeTargets(Project.java:1251)

            at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

            ... 42 more

    Caused by: org.jdom.input.JDOMParseException: Error on line 4615: The markup in

    the document following the root element must be well-formed.

            at org.jdom.input.SAXBuilder.build(SAXBuilder.java:468)

            at com.niku.tools.taskdefs.XPath.execute(XPath.java:385)

            ... 54 more

    Caused by: org.xml.sax.SAXParseException; lineNumber: 4615; columnNumber: 2; The

    markup in the document following the root element must be well-formed.

            at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un

    known Source)

            at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

     

     

            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)

            at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)

            at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.

    dispatch(Unknown Source)

            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un

    known Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

            at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour

    ce)

            at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453)

            ... 55 more

     

     

    C:\Users\x183622a>service status nsa

    [-] Niku System Admin Server [nsa] is stopped

     

     

    C:\Users\x183622a>



  • 5.  Re: NSA stops

    Posted 12-30-2015 06:27 AM

    check for properties.xml. Have you made any manual changes to properties.xml



  • 6.  Re: NSA stops

    Posted 12-30-2015 06:41 AM

    I think I may be close to resolving this now. I remembered that some changes were attempted to the server.xml, context.xml and web.xml files in Tomcat\conf as recommended by our application security team. I reversed these changes and after I did this, I was able too successfully re-deploy and start the NSA service.

    When I do a service status NSA now the NSA services is started and looks ok.

     

    But, when I try to access the NSA via http://server:8090 I am getting a blank page.



  • 7.  Re: NSA stops

    Posted 12-30-2015 06:59 AM

    So next I tried restarting all services and all came back up with a started status.

     

    But when I try to access the url I'm getting an error:

     

    Cannot connect to url: http://localhost:8080/niku/nu



  • 8.  Re: NSA stops

    Posted 12-30-2015 07:00 AM

    Anything in the admin log?

     

    Regards

    Suman



  • 9.  Re: NSA stops

    Posted 12-30-2015 07:12 AM

    12/30/15 6:42 AM (niku) Deploying service(s)...

    12/30/15 6:42 AM (niku) Initialized...

    12/30/15 6:42 AM (niku) Executing ant script

    12/30/15 6:42 AM (niku) Executed ant script

    12/30/15 6:42 AM (niku) Updating service: beacon

    12/30/15 6:42 AM (niku) Updating windows service: Niku Beacon

    12/30/15 6:42 AM (niku) Updated windows service: Niku Beacon

    12/30/15 6:42 AM (niku) Done.

    12/30/15 6:42 AM (niku) execute: remote = false

    12/30/15 6:42 AM (niku) execute: hosts.xml out of date

    12/30/15 6:42 AM (niku) execute: Config Mgr setup

    12/30/15 6:42 AM (niku) execute: read hosts.xml

    12/30/15 6:42 AM (niku) Deploying service(s)...

    12/30/15 6:42 AM (niku) Initialized...

    12/30/15 6:42 AM (niku) Executing ant script

    12/30/15 6:42 AM (niku) Executed ant script

    12/30/15 6:42 AM (niku) Updating service: app

    12/30/15 6:42 AM (niku) Updating windows service: Niku Server

    12/30/15 6:42 AM (niku) Updated windows service: Niku Server

    12/30/15 6:42 AM (niku) Done.

    12/30/15 6:42 AM (niku) execute: remote = false

    12/30/15 6:42 AM (niku) execute: hosts.xml out of date

    12/30/15 6:42 AM (niku) execute: Config Mgr setup

    12/30/15 6:42 AM (niku) execute: read hosts.xml

    12/30/15 6:42 AM (niku) Deploying service(s)...

    12/30/15 6:42 AM (niku) Initialized...

    12/30/15 6:42 AM (niku) Executing ant script

    12/30/15 6:42 AM (niku) Executed ant script

    12/30/15 6:42 AM (niku) Updating service: nsa

    12/30/15 6:42 AM (niku) Updating windows service: Niku System Admin Server

    12/30/15 6:42 AM (niku) Updated windows service: Niku System Admin Server

    12/30/15 6:42 AM (niku) Done.

    12/30/15 6:42 AM (niku) execute: remote = false

    12/30/15 6:42 AM (niku) execute: hosts.xml out of date

    12/30/15 6:43 AM (niku) execute: Config Mgr setup

    12/30/15 6:43 AM (niku) execute: read hosts.xml

    12/30/15 6:43 AM (niku) Deploying service(s)...

    12/30/15 6:43 AM (niku) Initialized...

    12/30/15 6:43 AM (niku) Executing ant script

    12/30/15 6:43 AM (niku) Executed ant script

    12/30/15 6:43 AM (niku) Updating service: bg

    12/30/15 6:43 AM (niku) Updating windows service: Niku Background Server

    12/30/15 6:43 AM (niku) Updated windows service: Niku Background Server

    12/30/15 6:43 AM (niku) Done.

    12/30/15 6:45 AM (admin) java.io.IOException: Cannot connect to url: http://localhost:8080/niku/nu

    12/30/15 6:45 AM (admin) admin warmup aborted.

    12/30/15 6:45 AM (admin) java.io.IOException: Cannot connect to url: http://localhost:8080/niku/nu

    12/30/15 6:45 AM (admin) admin warmup aborted.

    12/30/15 6:46 AM (niku) execute: remote = false

    12/30/15 6:46 AM (niku) execute: hosts.xml out of date

    12/30/15 6:46 AM (niku) execute: Config Mgr setup

    12/30/15 6:46 AM (niku) execute: read hosts.xml

    12/30/15 6:46 AM (admin) java.io.IOException: Cannot connect to url: http://localhost:8080/niku/nu

    12/30/15 6:46 AM (admin) admin warmup aborted.

    12/30/15 6:50 AM (niku) execute: remote = false

    12/30/15 6:50 AM (niku) execute: hosts.xml out of date

    12/30/15 6:50 AM (niku) execute: Config Mgr setup

    12/30/15 6:50 AM (niku) execute: read hosts.xml

    12/30/15 6:50 AM (admin) java.io.IOException: Cannot connect to url: http://localhost:8080/niku/nu

    12/30/15 6:50 AM (admin) admin warmup aborted.

    12/30/15 7:08 AM (niku) execute: remote = false

    12/30/15 7:08 AM (niku) execute: hosts.xml out of date

    12/30/15 7:08 AM (niku) execute: Config Mgr setup

    12/30/15 7:08 AM (niku) execute: read hosts.xml



  • 10.  Re: NSA stops
    Best Answer

    Posted 12-30-2015 07:54 AM

    There is a Java IO error

     

    2/30/15 6:45 AM (admin) java.io.IOException: Cannot connect to url: http://localhost:8080/niku/nu

    12/30/15 6:45 AM (admin) admin warmup aborted.

    12/30/15 6:45 AM (admin) java.io.IOException: Cannot connect to url: http://localhost:8080/niku/nu

     

    Can you check the java home path and see, also if you can delete the tomcat folder and unzip the tomcat again to see if it helps



  • 11.  Re: NSA stops

    Posted 12-30-2015 07:56 AM

    Latest error is:

     

    java.io.IOException: Cannot connect to url: http://localhost:8080/niku/nu



  • 12.  Re: NSA stops

    Posted 12-30-2015 09:01 AM

    Bravo Suman once again!

     

    The Java path was correct but I deleted the existing apache tomcat path having stopped all services firstly. Then I unzipped a "fresh" apache folder and restarted all services. Everything appears to be working ok now again including the NSA.

     

    It was obviously something to do with the changes made to the config files within the config folder recommended by our application security team.

     

    Thank you for your advice Suman - much appreciated as always.