hi,
i'm new to this topic. i try to write a client application for
jboss, an easy helloWorld.
my directory strukture:
question 1:
do i have to put the interfaces into a HelloWorldClient.jar to run the client? i thought i dont have to, because of jndi. Must I always import the interfaces? or is there a other better way?
question 2:
my client doesn't work, what means the exception:
java.lang.NoClassDefFoundError: org/jboss/logging/Logger
at org.jnp.interfaces.NamingContext.<clinit>(NamingContext.java:92)
at org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFactory.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at HelloWorldClient.main(HelloWorldClient.java:16)
Exception in
thread "main" Process terminated with exit code 1
question 3:
Context.lookup must have the name of the jar-file as param?
please help, thanks a lot
regards kay
[ January 08, 2003: Message edited by: Kay Tracid ]