Absolutely positive (i think :) ) anyhow after rolling all of my stuff back
to j2sdkee1.2 w/no recompiles everything magically connected again. On a
side note perhaps it is the way i'm connecting (because i could figure no
other way out and it seems to be a sticking point for many people) but I am
doing
System.setProperty("org.omg.CORBA.ORBInitialHost","gnvl_mail02");//this is
the same as -D on the command line
InitialContext ic = new InitialContext();
System.out.println("Got InitialContext");
Object obj = ic.lookup("CostMatrix");
System.out.println("Got Lookup");
CostMatrixHome home = (CostMatrixHome)PortableRemoteObject.narrow(obj,
CostMatrixHome.class);
CostMatrix costMatrixCalculator = home.create();
this has to work in the instance that no containter exists on the "client"
machine or in the chance that one does.
This is on an NT machine, and the machine with j2sdkee1.2 is also an NT
machine
Any suggestions?
-----Original Message-----
From: Jason A. Westra [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 15, 2000 10:03 PM
To: [EMAIL PROTECTED]
Subject: Re: working with j2sdkee1.2 and j2sdkee1.2.1
Greg,
I have the new version of J2EE RI (1.2.1) talking to WLS 5.1 no problem.
The only things I ran into were getting the WLS classes into the
server.policy file to prevent security exceptions. Are you sure the
InitialContext from your "client" EJB is connecting to the correct
host:port??
Jason
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Greg Robertson
Sent: Monday, May 15, 2000 1:46 PM
To: [EMAIL PROTECTED]
Subject: working with j2sdkee1.2 and j2sdkee1.2.1
until recently (like when j2sdkee1.2.1 was released) i had an EJB that could
(as could command line) succefully call an EJB that resides on a different
server (they are both stateless session). after upgrading my machine to
1.2.1 and the other machine is still at 1.2 it seems i can longer connect to
the other server from either command line or the EJB. My concern is that
the j2ee.jar that this stuff is reliant upon is "broken" in some form or
fashion (eg not backwards compatible). Has anyone else experienced this?
btw the error i am getting from printStackTrace() is
javax.naming.NameNotFoundException: CostMatrix not found
(like i said this was working previously). Is anyone else experiencing like
problems or have any suggestions?
Thanks
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".