There must be a disconnect between where you placed the file and the classpath.
How are you starting the client? Via Eclipse, NetBeans, Ant, command line?
Also, exactly where are you placing the properties file and exactly what is the
classpath?
Are you creating a jar file that contains the c
Which JBoss client jar files are you including in your client's classpath?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993943#3993943
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993943
___
This happens, both, when I run the client in Eclipse or by using Ant.
All the client classes, including the one with main() method are packaged in a
jar file which is included in the classpath.
I place jndi.properties in c:\Temp and specify c:\Temp in classpath. It seems
that this properties fi
Here is an excerpt from build.xml. myClient.jar are my classes. Classpath must
be ok as things work when I place the JNDI variables in system variables!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Let's try one more thing. Set this environment variable:
set _JAVA_LAUNCHER_DEBUG=1
Add the 'output' attribute to the < java > task so that you can capture the
program output in a file. In addition, add the -verbose:class JVM argument. So
the < java > task would look like:
|
|
If y
Similar problem, however, I'm using portlets, running things inside the same
JVM and everything runs inside the same app, however, in some places my app uses
TransactionManager tm = (TransactionManager)new
InitialContext().lookup("java:/TransactionManager") ;
... wich runs nice and smooth, whil
I am stumped. Based on the output you sent me, it should work. The
C:\jboss-4.0.4.CR2\client\jbossall-client.jar, which contains the
org.jnp.interfaces.NamingContextFactory is in the class path, so there should
be no problem in finding and loading that class. It is almost as if, suddenly,
an
i'm having the same problem, anyone knows the solution to this?
Thanks!!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033480#4033480
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033480