Hi Jim-
Thanks for the tip. I had seen that I could use jboss-web.xml to enable
java:com/env/ejb references but I did not realize that at least one such entry
was required to cause the java:comp/env namespace to be functional at all.
Now I do see this line:
[EmbeddedTomcat] Add env-entry jsppath java.lang.String /web/jsp Path to the
JS
P pages for redirect
in the log when doing a deployment.
However, the sad part is that the servlet still has the exact same problem
when trying to do a lookup on this key.
This line:
result = (String)getInitialContext().lookup("java:comp/env/jsppath");
is where it fails. My other non-ENC naming queries are successful.
Oddly enough I get the almost the exact same error:
[EmbeddedTomcat] Naming Exception looking up "java:comp/env/jsppath"
[EmbeddedTomcat] javax.naming.NameNotFoundException: jsppath not bound
using this line:
result = (String)getInitialContext().lookup("jsppath");
(The original line gives:
[EmbeddedTomcat] Naming Exception looking up "java:comp/env/jsppath"
[EmbeddedTomcat] javax.naming.NameNotFoundException: comp not bound
)
Oh, also I did not mention before that I am still on 2.0 final, in case
that is the root of the problem.
Thanks again,
Steve
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]