On another note, how would I use the database page manager ? How is it that I can get a psml file into the database easily ?
On 11/20/06, Patrick McCabe <[EMAIL PROTECTED]> wrote:
What do you mean when you say "treating them as a resource in the WEB-INF/pages". Is there something special that I have to do to make this happen ? On 11/20/06, David Sean Taylor <[EMAIL PROTECTED]> wrote: > > Patrick McCabe wrote: > > Hi Guys; > > > > We have 2 front end jetspeed deployments up and running, and they > share the > > same database. Everything is the same on both machines, including the > psml > > files. However, it is not working as I would expect. > > > > We are running into issues with Jetspeed-Layouts not available > > exceptions on > > one of the machines, our secondary box that we are only using for > testing. > > Almost every single portlet has this error when we try to view it. > > > > I have run into this exact same problem before when we had different > psml > > files, that had fragments with identical id's..one fragment was > pointing to > > VelocityThreeColumns layout, and the other was pointing to > > VelocityOneColum. This caused all of the VelocityOneColumn layouts to > not > > function. This is one of the reasons why we are supposed to use > unique > > id's > > I guess. > > > > So back to my original question, Is it not a good idea to have the > same > > psml > > files, with same fragment id's on 2 seperate machines sharing the same > > database. Is there a way to make this work without changing all of > the > > fragment id's on the second box, or would that be the recomended > solution ? > > > Recommend using the Database Page Manager if you are clustering and if > users can update their PSML files. If your PSML files are read only, > then you can get away with treating them as a resource in the > WEB-INF/pages directory. > > In the second case, use the same fragment IDS on both machines. If you > are going to change the portlet (even layout portlet) associated with a > fragment, its best to create a new fragment ID and do this for all pages > > in the cluster. > > I have seen problems with redeploying portlet applications, and the > fragment ids getting out of sync on a cluster. Im working on a proposal > for safely deploying portlet applications in clusters. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
