Wednesday, January 15, 2014

Nvidia Network Service and Jboss for 9990

Source: https://cagricelebi.com/blog/nvidia-network-service-and-jboss-for-9990/

Hello,

Today I discovered that my Jboss server on my local machine was not working. On server.log it was saying port 9990 was used. Last night everything was just fine? Here is the output;

"
...
12:58:06,908 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: Address already in use: bind /127.0.0.1:9990
      ...

12:58:06,999 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015964: Http management interface is not enabled
12:58:07,000 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015954: Admin console is not enabled
12:58:07,000 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss AS 7.2.0.Final "Janus" started (with errors) in 3122ms - Started 223 of 320 services (3 services failed or missing dependencies, 90 services are passive or on-demand)
...
"

I investigated my local computer and saw that it was used by an Nvidia service. I remembered that I updated my driver last night... Sigh...

"
C:\Users\cagri.celebi> netstat -an | findstr 9990
  TCP    127.0.0.1:9990         0.0.0.0:0              LISTENING

C:\Users\cagri.celebi> netstat -anb 
...
  TCP    127.0.0.1:9990         0.0.0.0:0              LISTENING
 [NvNetworkService.exe]
...

"

To fix this, go to services.msc and find NVIDIA Network Service (NvNetworkService) and stop it, also disabling is an option.

After that jboss started normally.

I love you Nvidia, but why on earth did you choose that port? Really guys... <3