Re: [Hypercontent-users] Moving Server/Portal
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-05-25 15:52:18
|
Hi Carl (and everybody), I'm back . . . tanner than I've been in a decade and feeling relaxed, though it is cold and rainy here in New York. It sounds to me like the file "WEB-INF/classes/properties/FileSystemConfig.xml" is missing under the uPortal webapp. You should also make sure you've copied over the files in "WEB-INF/classes/properties/hypercontent". -Alex On May 25, 2005, at 6:30 AM, Carl Barrow wrote: > Hi > > I've moved everything over to the live server and added the > HyperContent channel which goes in fine. I just get 'You are not > authorized to view any configured projects' in the channel. The > repositories are in the correct place so I can't figure out why this > is happening. I get the following error in the log file. > > May/25 09:56:46 - Could not load project listings > ERROR [tcpConnection-6502-1] root.[] May/25 09:56:46 - EXCEPTION: > edu.columbia.filesystem.FileSystemException: A configuration error > made it impossible to fulfil this request; InputStream cannot be null > A configuration error made it impossible to fulfil this request > Recorded Exception: > java.lang.IllegalArgumentException: InputStream cannot be null > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:72) > at > edu.columbia.filesystem.FileSystemFactory.init(FileSystemFactory.java: > 53) > at > edu.columbia.filesystem.FileSystemFactory.instance(FileSystemFactory.ja > va:115) > at > edu.columbia.filesystem.FileSystemFactory.getFileSystemType(FileSystemF > actory.java:168) > at > edu.columbia.filesystem.FileSystemFactory.getFileSystem(FileSystemFacto > ry.java:83) > at > edu.columbia.hypercontent.Project.getFileSystemFromElement(Project.java > :225) > at > edu.columbia.hypercontent.Project.initFileSystems(Project.java:215) > at edu.columbia.hypercontent.Project.<init>(Project.java:183) > at > edu.columbia.hypercontent.ProjectFactory.load(ProjectFactory.java:52) > at > edu.columbia.hypercontent.ProjectFactory.<init>(ProjectFactory.java: > 47) > at > edu.columbia.hypercontent.ProjectFactory.instance(ProjectFactory.java: > 64) > at > edu.columbia.hypercontent.ProjectFactory.getProjectKeys(ProjectFactory. > java:72) > at > edu.columbia.hypercontent.contentmanager.CMModel.getProjectListings(CMM > odel.java:81) > at > edu.columbia.hypercontent.contentmanager.CContentManager.setStaticData( > CContentManager.java:120) > Has anyone go any idea what might be happening? > > Many thanks > Carl > > > 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 Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |