6 Replies Latest reply on Nov 9, 2012 7:43 AM by samavedulark

    Jboss 5.1.0 Service issues

    samavedulark

      Hi,

       

      I am using Jboss native for creating Jboss as service, i am using service.bat for creating service.

      Creation and start of the service is fine, but issues are coming from shutdown of service.

       

      This is how it is there in service.bat for starting service

      call run.bat -c all -g XYZ -u 239.0.0.239 -Djboss.messaging.ServerPeerID=1

       

      This is how it is there in service.bat for stoping service

      jbosssvc.exe -p 1 "Shutting down %SVCDISP%" >> %JBOSS_HOME%\server\all\log\server.log

      call shutdown -s jnp://127.0.0.1:11099 -S >> %JBOSS_HOME%\server\all\log\server.log 2>&1

      jbosssvc.exe -p 1 "Shutdown %SVCDISP% service" >> %JBOSS_HOME%\server\all\log\server.log

       

      I had changed my JNI port to 11099.

       

      When i am stopping it is throwing error in

      Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls:jnp://127.0.0.1:11099

       

      Thanks

      Ravi S