Hi Stuart,
In 1.5.1, we used to launch the handle server using:
dsrun -Ddspace.log.init.disable=true
-Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main
C:\DSpace\handle-server
I used your suggestion and set up the DSpace Handle Server as a Windows
server. Now, when I start this service in Windows Services, it shows as
running and I can restart it there w/o any problems, but when I click on a
handle link in DSpace records, I have "Error - Cannot Connect to Server".
On the other hand, even when the DSpace Handle Server service is not started
in the Services window, I can just run:
dspace-handle.bat
in the command prompt and the handle server starts just fine, asks me for
the passphrase and then I can resolve handles w/o any problem until I Ctrl+C
out of the command prompt.
So, it looks like the Windows service I set up is not launching the server,
or at least not what dspace-handle.bat is launching. I think I should
change some settings somewhere, but I am not sure which ones. Any advice is
most welcome!
Cheers,
Stan
On Sun, Sep 19, 2010 at 12:47 AM, Stuart Lewis <s.le...@auckland.ac.nz>wrote:
> Hi Stan,
>
> > I've update 1.5.1 to 1.6.2 on a Windows 2003 server and it is running.
> However, when I try to start the handle server, I got an error. It depends
> on what I use - "dspace" or "dsrun":
> >
> > C:\DSpace\bin>dspace start-handle-server
> > Using DSpace installation in: C:\DSpace
> > Command not found: start-handle-server
> >
> > C:\DSpace\bin>dsrun start-handle-server
> > Using DSpace installation in: C:\DSpace
> > Error in launcher.xml: Invalid class name: start-handle-server
>
> How did you do this in 1.5.1? I think that most people using Windows tend
> to use this approach:
>
> -
> https://wiki.duraspace.org/display/DSPACE/Handle+Server+Setup+as+Windows+Service+%28using+Tanuki%29
>
> This allows you to set it up as a Windows Service, so that it starts up
> automatically when the machines boots up.
>
> Thanks,
>
>
> Stuart Lewis
> IT Innovations Analyst and Developer
> Te Tumu Herenga The University of Auckland Library
> Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
> Ph: +64 (0)9 373 7599 x81928
>
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech