Re: [Hypercontent-users] Moving Server/Portal
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-05-11 15:15:32
|
Hi Alex I decided to do a test move to a local installation which seems to have gone okay. I've moved over the repositories and edited a couple of sites and published them. I am getting an error in one though, this isn't happening when I publish from my other install. Any idea what might be happening, I can't see a difference anywhere. Thanks Carl * There was an error attempting to preview or publish /index.html; There was an error while processing this directive; There was an error while processing this directive; java.lang.ArrayIndexOutOfBoundsException: -1 There was an error attempting to preview or publish /index.html Recorded Exception: There was an error while processing this directive Recorded Exception: There was an error while processing this directive Recorded Exception: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -1 at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433) at edu.columbia.hypercontent.filters.XmlIncludeFilter$IncludesCachingContentHandler.parse(XmlIncludeFilter.java:256) at edu.columbia.hypercontent.util.CachingContentHandler.parse(CachingContentHandler.java:242) at edu.columbia.hypercontent.FileHolder.parse(FileHolder.java:291) at edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.java:591) at edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.java:525) at edu.columbia.hypercontent.filters.XslTransformFilter.filter(XslTransformFilter.java:162) at edu.columbia.hypercontent.engine.RenderingWorkerTask.run(RenderingWorkerTask.java:116) at edu.columbia.hypercontent.RequestTracker$Worker.run(RequestTracker.java:324) Alex Vigdor wrote: > Hi Carl, > The two things to make doubly sure of when you're moving the files > are paths and permissions; if the files will be moving to different > directories on the production server, you may need to adjust the paths > in your project definitions. If you can keep all the paths the same, > that won't be an issue. With permissions, you need to be certain that > the UID under which the portal runs will have full read/write access > to the repository files, and that the process has the appropriate > umask for creating new files with the right permissions. > As I have mentioned before, it's worth considering hosting the > repositories on a file server - if you have more than one portal > server, this is an especially good idea, so each server has the same > repository filesystem mounted. If you've just got one production > portal server, you can get by with using its internal disk, just make > sure you back it up regularly. > Those caveats aside, tarring up the files and moving them over > seems like a fine approach. Good luck! > > Alex > > On May 5, 2005, at 10:40 AM, Carl Barrow wrote: > >> Hi Alex >> >> Sorry for all the questions...... >> >> Now breadcrumbs are working I need to move HyperContent over to the >> live portal ready for the full role out. I'm using it to manage >> twelve live sites and a number of others in testing. In your opinion >> what is the best procedure to move everything over from my test >> portal to the live University Portal on a different server. Should I >> just deploy HyperContent on the live portal and then tar up all the >> repositories on the test server and move them over? Do you foresee >> any difficulties with the move? >> >> Thanks >> Carl >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |