Re: [Hypercontent-users] Moving Server/Portal
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-05-11 15:24:24
|
Hi Carl, My guess would be that you have a different version of Xalan in this other environment. Newer versions of Xalan have become picky about things older version would let fly - I've run into this a couple of times, and basically had to go through the concerned XSL and comment out sections one at a time to see what section of the stylesheet is causing the offense. It's a brute force debugging method, but unfortunately the error message from Xalan does not provide any useful guidance! Alex On May 11, 2005, at 11:19 AM, Carl Barrow wrote: > 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(Transfo > rmerHandlerImpl.java:433) > at > edu.columbia.hypercontent.filters.XmlIncludeFilter$IncludesCachingConte > ntHandler.parse(XmlIncludeFilter.java:256) > at > edu.columbia.hypercontent.util.CachingContentHandler.parse(CachingConte > ntHandler.java:242) > at edu.columbia.hypercontent.FileHolder.parse(FileHolder.java:291) > at > edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.jav > a:591) > at > edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.jav > a:525) > at > edu.columbia.hypercontent.filters.XslTransformFilter.filter(XslTransfor > mFilter.java:162) > at > edu.columbia.hypercontent.engine.RenderingWorkerTask.run(RenderingWorke > rTask.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 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |