No one knows how to add environment properties to the jndi in jboss?<br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style><br>
<div class="gmail_quote">On Thu, May 27, 2010 at 1:22 PM, Joćo Galaio da Silva <span dir="ltr"><<a href="mailto:digitalis.developer@gmail.com">digitalis.developer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi everybody,<br><br>does anyone knows how to set jndi context properties so i can acess them by lookup java:comp/env/<br>without the need to specify this inside a war or ear.<br><br>For example, i have this configuration in tomcat 6:<br>
<br><div style="border-width: 1px;"><div>
<pre><span><?xml version=<span>"1.0"</span> encoding=<span>"UTF-8"</span>?></span><br><!--<br> Licensed to the Apache Software Foundation (ASF) under one or more<br>
contributor license agreements. See the NOTICE file distributed with<br> this work for additional information regarding copyright ownership.<br> The ASF licenses this file to You under the Apache License, Version 2.0<br>
(the <span>"License"</span>); you may not use this file except in compliance with<br> the License. You may obtain a copy of the License at<br><br> <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">http://www.apache.org/licenses/LICENSE-2.0</a><br>
<br> Unless required by applicable law or agreed to in writing, software<br> distributed under the License is distributed on an <span>"AS IS"</span> BASIS,<br> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br>
See the License for the specific language governing permissions and<br> limitations under the License.<br>--><br><span><Context antiResourceLocking=<span>"false"</span> privileged=<span>"true"</span>></span><br>
<br><Environment description=<span>"" name="</span>cas/serverName<span>" override="</span>false"<br>type=<span>"java.lang.String"</span> value=<span>"<a href="http://localhost:8080" target="_blank">http://localhost:8080</a>"</span>/><br>
<br><Environment description=<span>"" name="</span>cas/AuthenticationFilter/casServerLoginUrl<span>" override="</span>false"<br>type=<span>"java.lang.String"</span> value=<span>"<a href="https://www.ja-sig.org/cas/login" target="_blank">https://www.ja-sig.org/cas/login</a>"</span>/><br>
<br><Environment description=<span>"" name="</span>cas/Cas20ProxyReceivingTicketValidationFilter/casServerUrlPrefix<span>" override="</span>false"<br>
type=<span>"java.lang.String"</span> value=<span>"<a href="https://www.ja-sig.org/cas" target="_blank">https://www.ja-sig.org/cas</a>"</span>/><br><span></Context></span></pre>
</div></div><br>How can this be done in jboss-tomcat?<br><br><br>Thanks,<br><font color="#888888">Joćo<br><br>
</font></blockquote></div><br>