2 Replies Latest reply on Jan 12, 2009 11:12 AM by null null

    Problems with examples

    null null Newbie

      Hi

      I downl;oaded the latest examples on 10-Dec-2008 and can't seem to get commandLineClient to run. It appears as if the deployer is not being initialised in EmbeddedBootstrap.

      Any help would be gratefully appreciated.

      I'm running under Windows XP as follows:


      C:\examples\User_Guide\gettingStarted\commandLineClient\target\client-cl.dir>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Djava.ext.dirs=./lib -cp client-1.0.0.jar org.jboss.examp
      le.client.Client
      Client DEBUG [08-01-2009 13:52:53] KernelFactory - Starting JBoss Kernel construction...
      Client DEBUG [08-01-2009 13:52:53] KernelFactory - Completed JBoss Kernel construction. Duration: 203 milliseconds
      -----------------------------------
      Menu:

      d) Deploy Human Resources service
      u) Undeploy Human Resources service

      a) Add employee
      l) List employees
      r) Remove employee
      g) Get a salary
      s) Set a salary
      t) Toggle hiring freeze

      m) Display menu
      p) Print service status
      q) Quit
      >d
      Client WARN [08-01-2009 13:53:03] EmbeddedBootstrap - Error during deployment: null
      java.lang.NullPointerException
      at org.jboss.example.client.EmbeddedBootstrap.deploy(EmbeddedBootstrap.java:31)
      at org.jboss.example.client.Client.deploy(Client.java:72)
      at org.jboss.example.client.ConsoleInput$1.run(ConsoleInput.java:52)
      at java.lang.Thread.run(Thread.java:595)
      >
      Regards

      Alan Halley