startup.bat gets NumberFormatException

Help
Phil Chung
2002-11-26
2002-11-26
  • Phil Chung
    Phil Chung
    2002-11-26

    Hi, I tried to run the startup.bat.  One thing I did have to change was the classpath from

      dist\ubermq.jar to
      ..\dist\ubermq.jar

    Just tried starting the server and got this exception.

    >c:\Dev\j2sdk1.4.1_01\bin\java -cp ..\dist\ubermq.jar com.ubermq.jms.server.MessageServer
    Exception in thread "main" java.lang.NumberFormatException: null
            at java.lang.Integer.parseInt(Integer.java:394)
            at java.lang.Integer.valueOf(Integer.java:532)
            at com.ubermq.kernel.KernelBasedServer.run(KernelBasedServer.java:75)
            at com.ubermq.jms.server.ClusteredServer.run(ClusteredServer.java:67)
            at com.ubermq.jms.server.MessageServer.main(MessageServer.java:302)

    I'm running in W2K:
    java version "1.4.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
    Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

     
    • Jimmy P
      Jimmy P
      2002-11-26

      Hello there, trying running the batch file from the project directory as follows:

      bin/server.bat

      This should work better for you. Good luck!

       
      • Phil Chung
        Phil Chung
        2002-11-26

        yep, that was it.  Thanks.