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 class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-xml"><span class="code-tag">&lt;?xml version=<span class="code-quote">&quot;1.0&quot;</span> encoding=<span class="code-quote">&quot;UTF-8&quot;</span>?&gt;</span><br>&lt;!--<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 class="code-quote">&quot;License&quot;</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">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 class="code-quote">&quot;AS IS&quot;</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>--&gt;<br><span class="code-tag">&lt;Context antiResourceLocking=<span class="code-quote">&quot;false&quot;</span> privileged=<span class="code-quote">&quot;true&quot;</span>&gt;</span><br>
<br>&lt;Environment description=<span class="code-quote">&quot;&quot; name=&quot;</span>cas/serverName<span class="code-quote">&quot; override=&quot;</span>false&quot;<br>type=<span class="code-quote">&quot;java.lang.String&quot;</span> value=<span class="code-quote">&quot;<a href="http://localhost:8080">http://localhost:8080</a>&quot;</span>/&gt;<br>
<br>&lt;Environment description=<span class="code-quote">&quot;&quot; name=&quot;</span>cas/AuthenticationFilter/casServerLoginUrl<span class="code-quote">&quot; override=&quot;</span>false&quot;<br>type=<span class="code-quote">&quot;java.lang.String&quot;</span> value=<span class="code-quote">&quot;<a href="https://www.ja-sig.org/cas/login">https://www.ja-sig.org/cas/login</a>&quot;</span>/&gt;<br>
<br>&lt;Environment description=<span class="code-quote">&quot;&quot; name=&quot;</span>cas/Cas20ProxyReceivingTicketValidationFilter/casServerUrlPrefix<span class="code-quote">&quot; override=&quot;</span>false&quot;<br>
type=<span class="code-quote">&quot;java.lang.String&quot;</span> value=<span class="code-quote">&quot;<a href="https://www.ja-sig.org/cas">https://www.ja-sig.org/cas</a>&quot;</span>/&gt;<br><span class="code-tag">&lt;/Context&gt;</span></pre>

</div></div><br>How can this be done in jboss-tomcat?<br><br><br>Thanks,<br>Joćo<br><br>