Thread: [ginp-users] RE: Setup Wizard fails with war v0.23
Brought to you by:
burchbri,
dougculnane
From: Brian B. <Br...@Pi...> - 2006-03-18 15:00:12
|
Interesting... I got lucky and now have ginp running with my photo collection. Unfortunately, I'm not entirely sure what I did that mattered! I copied xalan.jar from my installation of OpenOffice 2 to WEB-INF/lib. I restarted Tomcat, but didn't re-deploy the webapp. I gave the wizard my original paths for ginp.xml and my photos. I entered the default admin password cribbed from the test/ginp.xml, which also happened to be sitting in the /home/ginp/config directory. I specified public access to my highest-level photo directory and selected the "textart" style. Bingo! The wizard completed successfully. Does anyone have any words of wisdom? Regards, Brian Burch [http://www.PingToo.com/] |
From: Justin <ju...@sq...> - 2006-03-18 19:04:42
|
Ginp is kind of touchy about the versions of the xml libs that are being us= ed. This mostly has to do with features of the jdk1.4 preferences api which is = used to bootstrap ginp. Glad you got it to work. You probably had an old version of xerces or xalan in your classpath that one of your other webapps was using. On 3/18/06, Brian Burch <Br...@pi...> wrote: > Interesting... I got lucky and now have ginp running with my photo collec= tion. > > Unfortunately, I'm not entirely sure what I did that mattered! > > I copied xalan.jar from my installation of OpenOffice 2 to WEB-INF/lib. > > I restarted Tomcat, but didn't re-deploy the webapp. > > I gave the wizard my original paths for ginp.xml and my photos. > > I entered the default admin password cribbed from the test/ginp.xml, whic= h also > happened to be sitting in the /home/ginp/config directory. > > I specified public access to my highest-level photo directory and selecte= d the "textart" > style. > > Bingo! The wizard completed successfully. > > Does anyone have any words of wisdom? > > > Regards, > > Brian Burch > [http://www.PingToo.com/] > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > ginp-users mailing list > gin...@li... > https://lists.sourceforge.net/lists/listinfo/ginp-users > > |
From: Doug C. <do...@cu...> - 2006-03-18 19:19:18
|
Dear Brian, Sorry you are getting frustrated with the set up. 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 ;-). Good luck, Doug On Saturday 18 March 2006 16:01, Brian Burch wrote: > Interesting... I got lucky and now have ginp running with my photo > collection. > > Unfortunately, I'm not entirely sure what I did that mattered! > > I copied xalan.jar from my installation of OpenOffice 2 to WEB-INF/lib. > > I restarted Tomcat, but didn't re-deploy the webapp. > > I gave the wizard my original paths for ginp.xml and my photos. > > I entered the default admin password cribbed from the test/ginp.xml, which > also happened to be sitting in the /home/ginp/config directory. > > I specified public access to my highest-level photo directory and selected > the "textart" style. > > Bingo! The wizard completed successfully. > > Does anyone have any words of wisdom? > > > Regards, > > Brian Burch > [http://www.PingToo.com/] > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live > webcast and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > ginp-users mailing list > gin...@li... > https://lists.sourceforge.net/lists/listinfo/ginp-users -- Doug Culnane www.culnane.net |
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 |
From: Justin <ju...@sq...> - 2006-03-19 17:13:27
|
GINP uses the little known and underutilized jdk1.4 preferences api of the user running the web server. It checks for a preference that has a path to the config file. These files are located in the webserver user's home directory under .java on unix and in the registry on windows. If a pref is there it uses it, otherwise it starts the wizard. I really wanted the thing to work out of the box without having to think which is like most php apps and totally unlike most java apps which IMHO are way to difficult to setup. Most of the PHP stuff works with File I/O to detect a file in the app directory. The servlet spec is not very accomodative to file i/o. I was looking for a good crossplatform way to bootstrap the location of the config file and used the Prefs API. That's why it comes with all the dependencies. Anyway, I thought JDK 1.5 comes with xalan? On 3/19/06, Brian Burch <Br...@pi...> wrote: > 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 th= e system to work easily "out of the box" and was lulled by the home page in= to 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 kn= ow 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/con= fig 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 publi= c collection would be recognised. > > After I successfully ran the configuration wizard, I went back to /home/g= inp/config/ginp.xml. My own collection was there, but all the sample collec= tions 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 directror= y 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 w= hether 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 e= ffort for me and I guess you know the answers without having to do any rese= arch. Just getting the Q&A on the mailing list will hopefully help the next > person avoid wasting your time. > > > Regards, > > Brian > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > ginp-users mailing list > gin...@li... > https://lists.sourceforge.net/lists/listinfo/ginp-users > > |