You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Jacek Laskowski (Created) (JIRA)" <ji...@apache.org> on 2011/10/09 17:41:29 UTC
[jira] [Created] (TOMEE-28) Support for global environment entries
(defined as in server.xml)
Support for global environment entries (defined as <Environment> in server.xml)
-------------------------------------------------------------------------------
Key: TOMEE-28
URL: https://issues.apache.org/jira/browse/TOMEE-28
Project: TomEE
Issue Type: New Feature
Affects Versions: 1.0.0-beta-1
Reporter: Jacek Laskowski
Assignee: Jacek Laskowski
Fix For: 1.0.0-beta-1
Define <Environment name="number" value="10" type="java.lang.Integer" /> in conf/server.xml and access it with @Resource(name="number") in a servlet. The field won't get assigned the value from server.xml.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (TOMEE-28) Support for global environment entries
(defined as in server.xml)
Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TOMEE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau closed TOMEE-28.
-----------------------------------
Resolution: Fixed
please reopen if still relevant
> Support for global environment entries (defined as <Environment> in server.xml)
> -------------------------------------------------------------------------------
>
> Key: TOMEE-28
> URL: https://issues.apache.org/jira/browse/TOMEE-28
> Project: TomEE
> Issue Type: New Feature
> Affects Versions: 1.0.0-beta-1
> Reporter: Jacek Laskowski
> Assignee: Jacek Laskowski
> Fix For: 1.0.0-beta-1
>
>
> Define <Environment name="number" value="10" type="java.lang.Integer" /> in conf/server.xml and access it with @Resource(name="number") in a servlet. The field won't get assigned the value from server.xml.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TOMEE-28) Support for global environment
entries (defined as in server.xml)
Posted by "Romain Manni-Bucau (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TOMEE-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274336#comment-13274336 ]
Romain Manni-Bucau commented on TOMEE-28:
-----------------------------------------
is it still relevant? if you speak about <environment> in <context> i thought it was done in OpenEJBNamingContextListener
> Support for global environment entries (defined as <Environment> in server.xml)
> -------------------------------------------------------------------------------
>
> Key: TOMEE-28
> URL: https://issues.apache.org/jira/browse/TOMEE-28
> Project: TomEE
> Issue Type: New Feature
> Affects Versions: 1.0.0-beta-1
> Reporter: Jacek Laskowski
> Assignee: Jacek Laskowski
> Fix For: 1.0.0-beta-1
>
>
> Define <Environment name="number" value="10" type="java.lang.Integer" /> in conf/server.xml and access it with @Resource(name="number") in a servlet. The field won't get assigned the value from server.xml.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira