>Its not hard-coded anywhere. Under tomcat, I think the name of the
>directory may be used.

>Have you copied or renamed /webapps/jetspeed to /webapps/WizBangPortal?

Yes.  Here are the steps that I took:

1) Changed WEB-INF/web.xml in build environment (see below)
2) Built jetspeed.war
3) renamed WizBangPortal.war
4) dropped it into TOMCAT/webapps
5) cycled Tomcat
6) Am able to browse to http://127.0.0.1:8080/WizBangPortal
7) Log in as admin/jetspeed
8) click on Global link and get
http://127.0.0.1:8080/jetspeed/portal?action=controls.Maximize&portlet=Globa
lAdminPortlet

Here are the web.xml changes (preceeded by comment lines <!------------>)

    <servlet>
        <!--------------------------->
        <servlet-name>
           WizBangPortal
        </servlet-name>
        <servlet-class>
            org.apache.turbine.Turbine
        </servlet-class>

        <init-param>
            <param-name>properties</param-name>
            <param-value>
              WEB-INF/conf/TurbineResources.properties
            </param-value>            
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
        <!--------------------------->
       <servlet-name>
          WizBangPortal
       </servlet-name>
       <url-pattern>
         /portal/*
       </url-pattern>
    </servlet-mapping>
    <servlet-mapping>
        <!--------------------------->
       <servlet-name>
          WizBangPortal
       </servlet-name>
       <url-pattern>
         /jetspeed/*
       </url-pattern>
    </servlet-mapping>


>
>> -----Original Message-----
>> From: Tom Whitehill [mailto:[EMAIL PROTECTED]] 
>> Sent: Tuesday, April 16, 2002 11:58 AM
>> To: [EMAIL PROTECTED]
>> Subject: How to configure webappRoot?
>> 
>> 
>> Hi,
>> 
>> I'd like to install a portal with a webappRoot that's not 
>> TOMCAT_INSTALL/webapps/jetspeed.  I'd prefer something like:
>> 
>> TOMCAT_INSTALL/webapps/WizBangPortal
>> 
>> I've modified <servlet-mapping> in web.xml to allow me to browser to :
>> 
>http://127.0.0.1:8080/WizBangPortal
>
> From here I can log in, say as admin.
>
>After loggin in, when I click on Global ("This portlet gives general
>information about the portal resources utilisation"), I get directed to
>the following URL:
>
>http://127.0.0.1:8080/jetspeed/portal?action=controls.Maximize&portlet=G
>lob
>alAdminPortlet
>
>How do I configure my system to replace /jetspeed/ with /WizBangPortal/
>?
>
>I've poked around in turbine, jetspeed and velocity property files to
>fine {$webappRoot}.  I'm assuming it might be the secret but can't
>figure out where it is set.
>
>Thanks very much in advance for any help,
>
>Tom
>
>
>
>Tom Whitehill
>[EMAIL PROTECTED]
>
>The Java Team Corporation
>36 South Main Street
>Millbury, MA 01527
>508-958-8270
>
>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


Tom Whitehill
[EMAIL PROTECTED]

The Java Team Corporation
36 South Main Street
Millbury, MA 01527
508-958-8270

Reply via email to