Hi All...
I was running this code snippit this morning at about 3:00AM Eastern time
adn it worked great. That build was based upon a jBoss module chackout of
about 10:00PM last night.
I got to my office at about 10:00AM Eastern, did a full chackout of jBoss,
built it fine and rane the exact same code with the very same beans. This
time, when I call lookup(), I get this exception:
javax.naming.CommunicationException
with a root exception of:
java.io.StreamCorruptedException
The only difference between the two machines is that one is a Pentium 2
running Win 98 and the other is a Pentium 3 running Wondows 2000.
Otherwise, they are both running Suns JDK 1.3. I was using the same
development tools in both places. I have not yet been able to find a
problem on the Pentium 3 system yet.
So, did something change to introduce a bug, or is it more likely I should
keep looking for a problem on my system?
Thanks...
Jim
--------------------------------------------------------
UserHome userHome = null;
Properties prop = getEJBossProps();
try {
// Get context
Context ctx = new InitialContext(prop);
System.out.println("Got context");
// Get home object
System.out.println("Looking up the UserHome object...");
userHome = (UserHome) ctx.lookup("User");
if (userHome != null )
System.out.println("got home interface");
} catch (Exception e) {
System.out.println("Exception caught");
System.out.println(e.getMessage());
System.out.println(e.toString());
}
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]