users@glassfish.java.net

Re: Glassfish directory stuff driving me nuts

From: Daniel <daniel.guo_at_oracle.com>
Date: Wed, 17 Apr 2013 11:06:18 -0700

I tried to reproduce the issue, but everything works fine for me.
1. Setting 'allowlinking' to true, setting alternatedocroot_1 to a
symbolic linked directory when creating virtual server
2. Modified default-web.xml

<servlet>

     <servlet-name>default</servlet-name>

     <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>

     <init-param>

       <param-name>debug</param-name>

       <param-value>0</param-value>

     </init-param>

     <init-param>

       <param-name>listings</param-name>

       <param-value>true</param-value>

     </init-param>

     <load-on-startup>1</load-on-startup>

   </servlet>

Everything works fine.

Could you please provide more details of your issue?


On 04/16/2013 05:33 AM, forums_at_java.net wrote:
> Did u manually edited the domain.xml file and added alternate docroot.
> If u
> added docroot through admin gui, kindly share the screenshot.
>
> --
>
> [Message sent by forum member 'amsash']
>
> View Post: http://forums.java.net/node/896348
>
>