You might try just doing a reload on your jetspeed webapp in Tomcat
manager.  That might work.

Gerry Reno


--- Jason Weiss <[EMAIL PROTECTED]> wrote:
> Is there a flag that can be set in some .properties file to make the
> changes go to disk immediately?  The problem I have is what if a
> number of
> portlets were added or ?? and suddenly the server loses power.  That
> 30
> minutes of work may have been lost all because the info was cached
> in-memory.
> 
> Jason
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 
> Sent: Monday, July 28, 2003 1:10 AM
> To: [EMAIL PROTECTED]
> Subject: AW: problems with .xreg updating
> 
> 
> It works!
> Thanks a lot!!!
> 
> -----Urspr�ngliche Nachricht-----
> Von: Gerry Reno [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 25. Juli 2003 17:20
> An: Jetspeed Users List
> Betreff: Re: problems with .xreg updating
> 
>   The registry files are written out on shutdown.  Before making
> changes
> make sure that you have shutdown Tomcat, then make your changes, then
> restart Tomcat and you should see your changes.
> 
> Gerry Reno
> 
> --- [EMAIL PROTECTED] wrote:
> > Hi!
> > 
> > I have a problem with the updating of my .xreg files, especially
> with 
> > my local-portlets.xreg! I have modified the database-browse-portlet
> 
> > and tried to register my new modified portlet in the 
> > local-portlets.xreg. This was no problem at all, but now i want to 
> > change the sql statement in this new portlet-entry. This seems to
> be a 
> > big problem.
> > 
> > First I can't recognise a change in the portlet, when i save the 
> > modified local-portlets.xreg. How can I "refresh" the view?
> > 
> > Second if I restart the whole tomcat (to be sure to see my
> changes), 
> > my old local-portlets.xreg is restored as if I've never changed it.
> So 
> > the portlet also doesn't change in any way. Even if I delete the
> whole 
> > local-portlets.xreg the file appears after a restart of the tomcat 
> > again.
> > 
> > I've no idea how to solve this problem.
> > Thanks for any help!
> > 
> > My portlet-entry in the local-portlets.xreg:
> > 
> > <portlet-entry name="Edia" hidden="false" type="ref"
> >         parent="DatabaseBrowserPortlet" application="false">
> >         <meta-info>
> >             <title>News</title>
> >             <description>Simple Test Database Browser by 
> > Edi</description>
> >         </meta-info>
> >        
> >
>
<classname>org.apache.jetspeed.portal.portlets.browser.DatabaseBrowserPort
> let</classname>
> >         <parameter name="template" 
> > value="edis-database-browser-portlet"
> >             hidden="true" cachedOnName="true"
> cachedOnValue="true"/>
> >         <parameter name="customizeTemplate"
> >             value="database-browser-customize" hidden="true"
> >             cachedOnName="true" cachedOnValue="true"/>
> >         <parameter name="action"
> >             value="portlets.browser.DatabaseBrowserAction"
> > hidden="true"
> >             cachedOnName="true" cachedOnValue="true"/>
> >         <parameter name="sql"
> >             value="select newsdate, newscontent from news"
> >             hidden="false" cachedOnName="true"
> cachedOnValue="true"/>
> >         <parameter name="windowSize" value="5" hidden="false"
> >             cachedOnName="true" cachedOnValue="true"/>
> >         <media-type ref="html"/>
> >         <url cachedOnURL="true"/>
> >         <category group="Jetspeed">database</category>
> >     </portlet-entry>
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 

> ATTACHMENT part 2 application/x-pkcs7-signature name=smime.p7s



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to