11-27-2019 11:01 PM - edited 11-27-2019 11:15 PM
Hi All,
My ncs version is "nso-5.1.0.1.linux.x86_64". When I start nso in debug mode I am getting the error as below. Am I doing something wrong? Can anyone help me?
=========================================================================== santanu@nsodemo:~/santanu/ncs-run/$ ncs-start-java-vm -d
Starting java-vm with options:
' -classpath :/home/xoriant/Shrinivas/nso-work/java/jar/* -Xdebug -Xrunjdwp:transport=dt_socket,address=9000,server=y,suspend=n -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF-8'
Listening for transport dt_socket at address: 9000
NCS JVM STARTING
NcsLogger applying Default configuration!
<INFO> 21-Nov-2019::07:41:03.844 NcsMain JVM-Launcher: - CONNECTED TO to NCS --> Socket[addr=/127.0.0.1,port=4569,localport=60658]
<INFO> 21-Nov-2019::07:41:04.177 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 21-Nov-2019::07:41:04.733 NcsMain JVM-Launcher: - <= GOT INIT_JVM
JMXURL : service:jmx:rmi://127.0.0.1:9901/jndi/rmi://127.0.0.1:9902/ncs
<INFO> 21-Nov-2019::07:41:06.860 NcsMain JVM-Launcher: - ALARM SERVICE STARTED
<INFO> 21-Nov-2019::07:41:06.861 NcsMain JVM-Launcher: - DONE COMMAND --> INIT_JVM
<INFO> 21-Nov-2019::07:41:06.864 NcsMain JVM-Launcher: - READ SOCKET =>
<INFO> 21-Nov-2019::07:41:06.866 NcsMain JVM-Launcher: - <= GOT DONE_LOADING
<INFO> 21-Nov-2019::07:41:06.866 NcsMain JVM-Launcher: - DONE LOADING -->
<INFO> 21-Nov-2019::07:41:06.867 NcsMain JVM-Launcher: - DONE LOADING --> OK
<INFO> 21-Nov-2019::07:41:06.867 NcsMain JVM-Launcher: - DONE COMMAND --> DONE_LOADING
<INFO> 21-Nov-2019::07:41:06.868 NcsMain JVM-Launcher: - READ SOCKET =>
<WARN> 21-Nov-2019::07:41:06.874 NcsMain JVM-Launcher: - CONTROL SOCKET CLOSED - HALTING
<ERROR> 21-Nov-2019::07:41:06.889 NcsMain JVM-Launcher: - Error in NcsMain mainLoop :
com.tailf.conf.ConfException: unexpected end of file
at com.tailf.conf.ConfInternal.readFill(ConfInternal.java:414)
at com.tailf.conf.ConfInternal.termRead(ConfInternal.java:184)
at com.tailf.conf.ConfInternal.termRead(ConfInternal.java:112)
at com.tailf.ncs.NcsMain.read(NcsMain.java:1451)
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:653)
at com.tailf.ncs.NcsMain.run(NcsMain.java:489)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.EOFException
... 7 more
<WARN> 21-Nov-2019::07:41:06.989 NcsMain JVM-Launcher: - Stopping by System.exit()
<WARN> 21-Nov-2019::07:41:06.989 NcsMain JVM-Launcher: - NCS JVM STOPPED
Solved! Go to Solution.
11-28-2019 04:53 AM
My ncs version is "nso-5.1.0.1.linux.x86_64". When I start nso in debug mode I am getting the error as below.
santanu@nsodemo:~/santanu/ncs-run/$ ncs-start-java-vm -d
You are not starting NSO with this command. This starts nso's java-vm, not NSO itself.
Use the command "ncs" to start NSO.
<ERROR> 21-Nov-2019::07:41:06.889 NcsMain JVM-Launcher: - Error in NcsMain mainLoop :
com.tailf.conf.ConfException: unexpected end of file
at com.tailf.conf.ConfInternal.readFill(ConfInternal.java:414)
at com.tailf.conf.ConfInternal.termRead(ConfInternal.java:184)
at com.tailf.conf.ConfInternal.termRead(ConfInternal.java:112)
at com.tailf.ncs.NcsMain.read(NcsMain.java:1451)
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:653)
at com.tailf.ncs.NcsMain.run(NcsMain.java:489)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.EOFException
I get this same exception, if another instance of the java-vm is running. Check if you already have NSO and another instance of java-vm up and running.
/Ram
11-28-2019 04:53 AM
My ncs version is "nso-5.1.0.1.linux.x86_64". When I start nso in debug mode I am getting the error as below.
santanu@nsodemo:~/santanu/ncs-run/$ ncs-start-java-vm -d
You are not starting NSO with this command. This starts nso's java-vm, not NSO itself.
Use the command "ncs" to start NSO.
<ERROR> 21-Nov-2019::07:41:06.889 NcsMain JVM-Launcher: - Error in NcsMain mainLoop :
com.tailf.conf.ConfException: unexpected end of file
at com.tailf.conf.ConfInternal.readFill(ConfInternal.java:414)
at com.tailf.conf.ConfInternal.termRead(ConfInternal.java:184)
at com.tailf.conf.ConfInternal.termRead(ConfInternal.java:112)
at com.tailf.ncs.NcsMain.read(NcsMain.java:1451)
at com.tailf.ncs.NcsMain.mainLoop(NcsMain.java:653)
at com.tailf.ncs.NcsMain.run(NcsMain.java:489)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.EOFException
I get this same exception, if another instance of the java-vm is running. Check if you already have NSO and another instance of java-vm up and running.
/Ram
11-29-2019 01:43 AM
Thank you Ramkraja for your input. I had to stop java-vm from CLI prompt. Then I able to start java-vm with -d option.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide