You have to get the JBoss client
jars in your client.
How about:
Create a library in JBuilder (Let's
say JBoss_Library). Add the following jars to that library:
$JBOSS_HOME/client/ejb.jar
-> REQUIRED
$JBOSS_HOME/client/jaas.jar
-> In case you have security
$JBOSS_HOME/client/jboss-client.jar ->
REQUIRED
$JBOSS_HOME/client/jbossmq-client.jar -> In case you work with
JMS
$JBOSS_HOME/client/jbossmx-client.jar -> In case you want to use
JMX
$JBOSS_HOME/client/jndi.jar ->
REQUIRED
$JBOSS_HOME/client/jnp-client.jar ->
REQUIRED
$JBOSS_HOME/client/jta-spec1_0_1.jar ->
In case you want user transactions.
Then add this library to your project (Project
Properties).
Then create a jndi.properties file in your src directory. Put
in it:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099/ Try again.
Lachezar
|
Title: Newbie having problems with Interest sample
- [JBoss-user] Newbie having problems with Interest samp... Martin Welch
- RE: [JBoss-user] Newbie having problems with Inte... Lachezar Dobrev
- RE: [JBoss-user] Newbie having problems with Inte... Martin Welch
- Re: [JBoss-user] Newbie having problems with Inte... Lachezar Dobrev
- Re: [JBoss-user] Newbie having problems with ... Christofer Jennings
- RE: [JBoss-user] Newbie having problems with Inte... Martin Welch
- Re: [JBoss-user] Newbie having problems with ... Burkhard Vogel
- RE: [JBoss-user] Newbie having problems with Inte... Martin Welch