users@glassfish.java.net

Re: Alternate docroot in an

From: <forums_at_java.net>
Date: Wed, 23 Mar 2011 01:22:27 -0500 (CDT)

[quote=swchan2]There may be an issue with the property from Admin Console. I
have verified that it works if one use deployment descriptior, sun-web.xml as
follows: <sun-web-app> <property name="alternatedocroot_1"
value="from=/domain.xml dir=/tmp/tmpDir/config"/> <property
name="alternatedocroot_2" value="from=*.policy dir=/tmp/tmpDir/config"/>
<property name="alternatedocroot_3" value="from=/config/* dir=/tmp/tmpDir"/>
</sun-web-app>[/quote]

 

 

Thanks a lot swchna2. 

As i know, NetBean or Eclipse will create a deployment descriptior,
sun-web.xml in the WEB-INF directory  when we new a web application,  which
is diferent from Jdeveloper (i use). Jdeveloper will only create a web.xml

Is web.xml same as sun-web.xml . if yes, how can i set
the alternatedocroot_1 in it,  it seems not support
 the <sun-web-app> </sun-web-app>.

Thanks.

 


--
[Message sent by forum member 'rob1213']
View Post: http://forums.java.net/node/783831