Hi,
Sorry for the previous incomplete message. Some key combination that I
couldn't figure out is sending the mail on my Netscape mail reader and I
accidentally pressed that combination.
I have deployed my first beans to jboss and started the server
successfully, but when I try to do a lookup on the client, the client
hangs (actually, one time it returned with ClassNotFound
org.jboss.logging.Logger, but when I restarted the server, the client
got hung again).
My client and server are running java 1.2.2_007 on solaris. They are on
the same machine. Also, the database is installed on the same machine (I
am using CMP). The code I am using for the client is:
System.out.println("will set property");
System.setProperty("java.naming.factory.initial",
"org.jnp.interfaces.NamingContextFactory");
System.setProperty("java.naming.provider.url",
"localhost:1099");
System.out.println("will create inital context");
InitialContext context = new InitialContext();
System.out.println("will lookup " + args[0]);
Object ref = context.lookup(args[0]);
at this point, it gets hung.
The classpath I am using is:
./server/jboss/client/jboss-client.jar:./server/jboss/client/jbosssx-client.jar:$MYCLASSPATH
I have looked at the JNDI names via JNDIView, and the beans are there.
What am I missing??? Is there some special configuration setting for
java 1.2 usage ? or is java 1.2 not supported at all (run.sh doesn't
work with it, to begin with)?
thanks,
ilker
Hi,
I have setup the jboss server and deployed two beans. It seems all okay on the
server side (beans deployed, bound to names, ...). On the client side, when I do a
lookup the client hangs. I have seen a similar message on the list asking for the
following: