Re: [ginp-users] Setup Wizard fails with war v0.23 - configuration files
Brought to you by:
burchbri,
dougculnane
From: Brian B. <Br...@Pi...> - 2006-03-19 11:49:39
|
On Sat, 18 Mar 2006 20:18:59 +0100, Doug Culnane wrote: >Dear Brian, >Sorry you are getting frustrated with the set up. Doug, thanks very much for the quick response. No, not frustrated. I was just running out of ideas and time. I wanted the system to work easily "out of the box" and was lulled by the home page into suspending my usual suspicious and cynical attitude to any new software (including, by the way, anything I've written myself). You'll see I've talked about xalan in the other post, so please take that as read. I wonder whether the missing xalan was my only problem, but there were several different symptoms and my knowledge of ginp was minimal. >I have only ever used the ginp with a public collection first but maybe there >is a problem if there is password protection on all the collections. > >The set up wizard in the latest stable version builds a config file and sets >its location. In the development version this has been changed to be a known >location which will maybe make this more reliable. Unfortunately I have not >finished programming this. It would however let you configure the ginp >manually, so I will try to tidy this up and publish a new version. > >I have not got round to working on the ginp for a while but if there are users >out their with problems then this is encouraging. Let me or the list know if >you need help, or have any comments, they will help me WTFM ;-). I copied the sample ginp.xml from ../../test to the default home/ginp/config directory and edited the contents. I wasn't sure how much to take out, so I left it intact and added another collection for my own photo directory. I left the <users> list as null, guessing that was how a public collection would be recognised. After I successfully ran the configuration wizard, I went back to /home/ginp/config/ginp.xml. My own collection was there, but all the sample collections had been removed. Clearly this was the "live" copy. Clearly a public collection is one with an empty users list. Do you think I needed to put that sample ginp.xml in the config directrory to get the wizard to run successfully, or was that a red herring? I also tried uploading the same file from my browser, but couldn't tell whether it worked or not... would it have simply been written to my selected config path? How does the wizard know whether it needs to run or stay quiet? In other words, is the wizard looking at anything else - properties, files, servlet parameters, etc? I realise I could read the code to find out, but it would take quite an effort for me and I guess you know the answers without having to do any research. Just getting the Q&A on the mailing list will hopefully help the next person avoid wasting your time. Regards, Brian |