You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ha...@magnasteyr.com on 2007/08/02 13:00:58 UTC

ResourceLink Problems in 6.0.13

> Hello, 
> 
> here is my problem:
> 
> Its not possible to override web.xml env.entries with server.xml env. entries (this works fine in TC 5.0.30)
> 
> conf/server.xml:
> 
> <Server port="8005" shutdown="SHUTDOWN">
>   <GlobalNamingResources>
>     <Environment override="false" description="Web Portal URL mit ending Slash" name="uiportal.webapp1.url" type="java.lang.String" value="http://server:port/portalurl/"/>
> ...
> 
> 
> conf/Cataline/localhost/appcontext.xml:
> 
> ...
> <ResourceLink global="uiportal.webapp1.url" name="uiportal.webapp1.url" type="java.lang.String" />
> ...
> 
> 
> web.xml (<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">):
> 
>   <env-entry>
>     <env-entry-name>uiportal.webapp1.url</env-entry-name>
>     <env-entry-value>http://test.com</env-entry-value>
>     <env-entry-type>java.lang.String</env-entry-type>
>   </env-entry>
> 
> Thanks for any help!!!
> 
> Ing Hans-Dieter Mader
> Software Engineering / IT-Systeme 
> Jeep/Chrysler Produktion
> 
> hans.mader@magnasteyr.com
> 
> MAGNA STEYR Fahrzeugtechnik
> Liebenauer Hauptstrasse 317, A-8041 Graz
> Tel.: ++43 316 404-190 3415 Fax ++43 316 404 2266
> 
> 
> 
> 





Diese Nachricht ist ausschliesslich fuer den oben bezeichneten Adressaten bestimmt und enthaelt moeglicherweise vertrauliche Informationen. Sollten Sie nicht der oben bezeichnete Adressat sein oder diese Nachricht irrtuemlich erhalten haben, ersuchen wir Sie, diese Nachricht nicht weiterzugeben, zu kopieren oder im Vertrauen darauf zu handeln, sondern den Absender zu verstaendigen und diese Nachricht samt allfaelliger Anlagen sofort zu loeschen. Vielen Dank. 

This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee, you should not disseminate, copy, or take any action in reliance on it. If you have received this message in error, please immediately notify the sender of this message and delete this message and any attachment. Thank you.

Re: ResourceLink Problems in 6.0.13

Posted by Mark Thomas <ma...@apache.org>.
hans.mader@magnasteyr.com wrote:
>> Hello, 
>>
>> here is my problem:
>>
>> Its not possible to override web.xml env.entries with server.xml env. entries (this works fine in TC 5.0.30)

This should be fixed in 6.0.14. See
http://marc.info/?l=tomcat-dev&m=118261088127037&w=2

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org