InitialContext ctx = new InitialContext();
//
if (ctx == null) {
out.println("Ctx is null");
}
else {
out.println("CTX is not null");
}
Object obj = ctx.lookup("EBAddress");
And here is the jsp code that I use to get the JNDI ref. Sorry for not putting it together in the last email.. Any help?
Se Hee
-----Original Message-----
From: Dmitriy Braginskiy [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 1:27 PM
To: Orion-Interest
Subject: transaction error message
whenever I specify exclusive-write-access="false" in my
orion-ejb-jar.xml descriptor, I get the following error message when
trying to deploy the application:
Auto-deploying cstool-ejb.jar (orion-ejb-jar.xml had been updated since
the previous deployment)...
UserAuthHome_EntityHomeWrapper50.java:197: Undefined variable:
transaction
wrapper = new UserAuth_EntityBeanWrapper40(context, transaction !=
null);
UserAuthHome_EntityHomeWrapper50.java:199: Undefined variable:
transaction
if(transaction != null)
UserAuthHome_EntityHomeWrapper50.java:231: Undefined variable:
transaction
if(transaction != null)
UserAuthHome_EntityHomeWrapper50.java:598: Undefined variable:
transaction wrapper = new UserAuth_EntityBeanWrapper40(context,
transaction != null);
UserAuthHome_EntityHomeWrapper50.java:600: Undefined variable:
transaction
if(transaction != null)
UserAuthHome_EntityHomeWrapper50.java:633: Undefined variable:
transaction
if(transaction != null)
Any ideas on why this is happening? I am using CMP and
container-managed transactions...
Thanks.
