I have in my web.xml: anonymous wrote : | <env-entry> | | Sets the logging context for the Change Form Application | | <env-entry-name>logging-context</env-entry-name> | <env-entry-value>/totwcf</env-entry-value> | <env-entry-type>java.lang.String</env-entry-type> | </env-entry> |
Then in java: anonymous wrote : | Context initCtx = new InitialContext(); | Context envCtx = (Context) initCtx.lookup("java:comp/env"); | loggingContextName = (String) envCtx.lookup("logging-context"); | System.out.println("Found JDNIRS: java:comp/env"); | This is throwing a NamingException saying: env not bound I'm new to JBoss can somebody help me? Shawn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917484#3917484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917484 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user