Thread: [Hypercontent-users] Moving Server/Portal
Brought to you by:
alexvigdor
From: Carl B. <C.P...@hu...> - 2005-05-05 14:36:32
|
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 ************************************ |
From: Alex V. <av...@co...> - 2005-05-05 14:58:52
|
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 |
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 ************************************ |
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 |
From: Carl B. <C.P...@hu...> - 2005-05-11 15:39:58
|
Thanks Alex Thats makes sense, it's a template that uses a lot of Javascript for the menu which makes the template very fiddly. I'll debug as you suggested. Carl Alex Vigdor wrote: > 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 > > > > > ------------------------------------------------------- > 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 -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2005-05-25 10:24:24
|
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.java:115) at edu.columbia.filesystem.FileSystemFactory.getFileSystemType(FileSystemFactory.java:168) at edu.columbia.filesystem.FileSystemFactory.getFileSystem(FileSystemFactory.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(CMModel.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 ************************************ |
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 |
From: Carl B. <C.P...@hu...> - 2005-05-26 07:55:44
|
Hi Alex Glad to hear you've had a good break! Thanks, it was just FileSystemConfig.xml that I had missed when moving over. All seems to be working now. What hasn't been transfered is the user access security on each site, is there a file that I've missed here or will I need to set up access for everyone again? Thanks Carl Alex Vigdor wrote: > 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.java:115) > > at > edu.columbia.filesystem.FileSystemFactory.getFileSystemType(FileSystemFactory.java:168) > > at > edu.columbia.filesystem.FileSystemFactory.getFileSystem(FileSystemFactory.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(CMModel.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 > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-05-26 13:33:30
|
Hi Carl, All the groups and permissions are stored in the portal database, so you would either have to re-enter them or run some SQL queries to extract them from your test database and move them into production. In the UP_PERM table, all the HyperContent permissions have an OWNER that starts with "CMS_PROJECT::". It could get sticky moving the groups over, since you need the group keys to match the PRINCIPAL fields in the permissions table, but if those groups do not already exist in production, those keys may already be taken (they are generated by a simple number sequence). This is changing in 2.0, where groups and permissions will be stored in XML files in your project repository, making portability much easier. Unfortunately, there's no automated conversion routine for groups and permissions from 1.x to 2.0 - for now we're anticipating a manual conversion. 2.0 also adds an "approve" permission which is required to set the current edition of a file. Alex On May 26, 2005, at 4:01 AM, Carl Barrow wrote: > Hi Alex > > Glad to hear you've had a good break! > > Thanks, it was just FileSystemConfig.xml that I had missed when moving > over. All seems to be working now. What hasn't been transfered is > the user access security on each site, is there a file that I've > missed here or will I need to set up access for everyone again? > > Thanks > Carl > > > Alex Vigdor wrote: > >> 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.j >> ava:115) >> >> at >> >> edu.columbia.filesystem.FileSystemFactory.getFileSystemType(FileSystem >> Factory.java:168) >> >> at >> >> edu.columbia.filesystem.FileSystemFactory.getFileSystem(FileSystemFact >> ory.java:83) >> >> at >> >> edu.columbia.hypercontent.Project.getFileSystemFromElement(Project.jav >> a: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(CM >> Model.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 >> > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > SF.Net email is sponsored by: GoToMeeting - the easiest way to > collaborate > online with coworkers and clients while avoiding the high cost of > travel and > communications. There is no equipment to buy and you can meet as often > as > you want. Try it > free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |