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"><?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"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 class="code-quote">"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">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">"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 class="code-tag"><Context antiResourceLocking=<span class="code-quote">"false"</span> privileged=<span class="code-quote">"true"</span>></span><br>
<br><Environment description=<span class="code-quote">"" name="</span>cas/serverName<span class="code-quote">" override="</span>false"<br>type=<span class="code-quote">"java.lang.String"</span> value=<span class="code-quote">"<a href="http://localhost:8080">http://localhost:8080</a>"</span>/><br>
<br><Environment description=<span class="code-quote">"" name="</span>cas/AuthenticationFilter/casServerLoginUrl<span class="code-quote">" override="</span>false"<br>type=<span class="code-quote">"java.lang.String"</span> value=<span class="code-quote">"<a href="https://www.ja-sig.org/cas/login">https://www.ja-sig.org/cas/login</a>"</span>/><br>
<br><Environment description=<span class="code-quote">"" name="</span>cas/Cas20ProxyReceivingTicketValidationFilter/casServerUrlPrefix<span class="code-quote">" override="</span>false"<br>
type=<span class="code-quote">"java.lang.String"</span> value=<span class="code-quote">"<a href="https://www.ja-sig.org/cas">https://www.ja-sig.org/cas</a>"</span>/><br><span class="code-tag"></Context></span></pre>
</div></div><br>How can this be done in jboss-tomcat?<br><br><br>Thanks,<br>Joćo<br><br>