Operator Error on that last problem. Thanks very much for the help.
To JetSpeed and Beyond! At 4/16/02 04:52 PM, you wrote: >There's more, though you probably won't believe me. > >I did the logical thing and changed the admin.rss file from > > <item> > <title>Global</title> > <description> > This portlet gives general information about the portal resources >utilisation > </description> > <!--------------------------------> > ><link>/jetspeed/portal?action=controls.Maximize&portlet=GlobalAdminPortl >et</link> > </item> > >To this > > <item> > <title>Global</title> > <description> > This portlet gives general information about the portal resources >utilisation > </description> > <!--------------------------------> > ><link>/WizBangPortal/portal?action=controls.Maximize&portlet=GlobalAdmin >Portlet</link> > </item> > >Guess what I get for a link? No kidding... > >http://66.189.23.253:8080/jetspeed/WizBangPortal/portal?action=controls.Maxi >mize&portlet=GlobalAdminPortlet > > > > > >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&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]> > > >Tom Whitehill >[EMAIL PROTECTED] > >The Java Team Corporation >36 South Main Street >Millbury, MA 01527 >508-958-8270 Tom Whitehill [EMAIL PROTECTED] The Java Team Corporation 36 South Main Street Millbury, MA 01527 508-958-8270
