Hello,

i just trying to run my application with 1.4.7.

in my (stateless)session bean i have following code:

public void setSessionContext(SessionContext context)...
    ...
    ic = new InitialContext();
    Context rootCtx = (Context)ic.lookup("java:comp/env");
    ...

with 1.4.7 i get following exception:
   javax.ejb.EJBException: java:comp/env not found (not inside a J2EE 
   module, for instance a Web-App, EJB, or Application-Client)

whats that!?
did i miss something?

i will better stay at 1.4.0 for a while :(

klaus

--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]

  "There's got to be more to life than compile-and-go."


Reply via email to