[jboss-user] [Microcontainer] - Problems with examples

ahalley do-not-reply at jboss.com
Thu Jan 8 08:57:13 EST 2009


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200344#4200344

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200344



More information about the jboss-user mailing list