You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/20 03:54:06 UTC

DO NOT REPLY [Bug 9240] New: - env-entry bug

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9240

env-entry bug

           Summary: env-entry bug
           Product: Tomcat 4
           Version: 4.0.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: slobo@matavnet.hu


if i put the following into the web.xml
<env-entry>
  <env-entry-name>someName</env-entry-name>
  <env-entry-type>java.lang.String</env-entry-type>
</env-entry>
and put the following into the server.xml
<Environment name="someName" type="java.lang.String" value="someValue"/>
the name "someName" will not be bound into the java:comp/env context 

however if i remove the env-entry from the web.xml
(but leave the Environment in the server.xml)
the name "someName" becomes bound

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>