For what it's worth, I've attached a clean admin.rss file.

Simply changed

/jetspeed/portal....

to

./portal

Cheers.


At 4/16/02 01:25 PM, you wrote:
>You're right Tom. That's a bug.
>You gave me the impression that *all* of your links have '/jetspeed'.
>
>Its just this one portlet: AdminInfo.
>If you take a look at the RSS file, its hardcoded (/rss/admin.rss) with
>links like:
>
>
><link>/jetspeed/portal?action=controls.Maximize&#38;portlet=GlobalAdminP
>ortlet</link>
>
>The AdminInfo portlet has been around a long time. I've never used it
>outside of the demo site.
>
>> -----Original Message-----
>> From: Tom Whitehill [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, April 16, 2002 12:40 PM
>> To: Jetspeed Users List
>> Subject: RE: How to configure webappRoot?
>>
>>
>>
>> >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.Maximiz
>e&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
>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
<?xml version="1.0"?>

<rss version="0.91">
  <channel>
    <title>Jetspeed Administration</title>
    <description>
      The Jetspeed Administration features are mainly 
      implemented in a few administrative portlets which you can access
      from the admin user home page by chosing the "Admin" tab.
      The following admin portlets are implemented in 1.3a2
    </description>
  
    <item>
      <title>Global</title>
      <description>
        This portlet gives general information about the portal
        resources utilisation
      </description>    
      <link>./portal?action=controls.Maximize&#38;portlet=GlobalAdminPortlet</link>
    </item>
    <item>    
    <title>Java Runtime</title>
      <description>
        Give you all the properties defined for the JVM running 
        the application
      </description>
      <link>./portal?action=controls.Maximize&#38;portlet=JavaRuntimePortlet</link>
    </item>
    <item>
      <title>Daemons</title>
      <description>
        From this portlet you can control the various deamon threads
        operations. The three daemons currently implemented are the
        feed daemon which processes OCS feeds in order to register 
        new RSS datasources in the portal, the disk cache daemon which
        periodically refreshes the cached syndicated files and the
        bad URL daemon which removes from the syndicated data source list
        the unreachable or stale URLs
      </description>
      <link>./portal?action=controls.Maximize&#38;portlet=DaemonAdminPortlet</link>
    </item>
    <item>
      <title>Jetspeed Content</title>
      <description>
        Allows you to add items to the various Jetspeed channels defined 
        on your portal.
      </description>
      <link>./portal?action=controls.Maximize&#38;portlet=JetspeedContentAdmin</link>
    </item>
    <item>
      <title>BadURLManager</title>
      <description>
        Lists the URLs currently marked as unreachable by the system and
        allows you to manually test these URLs.
      </description>
      <link>./portal?action=controls.Maximize&#38;portlet=BadURLManagerPortlet</link>
    </item>
  </channel>
</rss>

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]>

Reply via email to