Bugs item #558052, was opened at 2002-05-19 19:32
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=558052&group_id=22866

Category: None
Group: v3.0 Rabbit Hole
Status: Closed
Resolution: Fixed
Priority: 5
Submitted By: Bogdan Ghidireac (ghidi)
Assigned to: Nobody/Anonymous (nobody)
Summary: ENC is not set in ServletContextListener

Initial Comment:
I want to use ServletContextListener to create an EJB 
used to initialize my application. 
When I am trying to lookup my bean, I get a 
javax.naming.NameNotFoundException: env not bound

I am using JBoss3.0.0RC2-Jetty.

With JBoss3.0.0RC2-tomcat it is working fine.

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Keenan Ross (keenanross)
Date: 2002-11-14 22:25

Message:
Logged In: YES 
user_id=649277

I'm seeing the same error with an
javax.servlet.http.HttpSessionListener on either JBoss 3.0.4
or 3.2.0Beta, both the Jetty distribution. I'm on Jdk
1.4.1_01 on Windows. I have a HttpSessionListener who's
constructor creates a new ServiceLocator and puts it in the
session. The service locator calls "ic =new
InitialContext()" which works, but then as it tries to
navigate to the ENC with enc =
(Context)ic.lookup("java:comp/env"), I get a naming
exception indicating "env not bound". I don't actually want
to do any ENC lookups at this time, just store away the
context for future use.

I'm new to JBoss bug reporting, so let me know if I need to
supply more info, or if I should have opened this as a new bug.

----------------------------------------------------------------------

Comment By: Jan Bartel (janb)
Date: 2002-05-22 15:17

Message:
Logged In: YES 
user_id=45251

This is now fixed in JBoss HEAD. 

Can a CVS admin please close this issue as I don't have
permission. Thanks.

----------------------------------------------------------------------

Comment By: Jan Bartel (janb)
Date: 2002-05-21 15:18

Message:
Logged In: YES 
user_id=45251

I have fixed this in Jetty HEAD. It will be incorporated
into JBoss HEAD in the next day or so.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=558052&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to