[daisy] daisy-service-install.bat exception
Caleb Callaway
caleb at autometrix.com
Fri Apr 13 11:37:03 CDT 2007
Bah, I completely missed that it was the service sub-folder of your repodata
dir, not your wrapper dir.
I apologize of the newbish questions...believe it or not, I don't enjoy
asking them! Thank you for your patience.
-----Original Message-----
From: daisy-bounces at lists.cocoondev.org
[mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Bruno Dumon
Sent: Friday, April 13, 2007 1:00 AM
To: Daisy: open source CMS - general mailinglist
Subject: RE: [daisy] daisy-service-install.bat exception
Hi,
On Thu, 2007-04-12 at 16:28 -0700, Caleb Callaway wrote:
> Found an error in the claspath adjustment I'd made--adding
> %DAISY_HOME%\lib\daisy\jars\daisy-install-2.0.1.jar to the classpath
> declaration allowed the script to run.
>
If you start modifying things, I think you should mention that when asking
questions, especially if the modifications break stuff. You made me scared
for a little while that the 2.0.1 release would be broken in such an obvious
way :-)
> Ran into another problem when running the install-daisy-*-service.bat
> scripts:
>
> set _WRAPPER_EXE=%_REALPATH%.\wrapper.exe
>
> Needs to be (in the default configuration at least):
>
> set _WRAPPER_EXE=%_REALPATH%\..\bin\wrapper.exe
>
> Likewise,
>
> set _WRAPPER_CONF=".\daisy-wiki-service.conf"
>
> Needs to be:
>
> set
> _WRAPPER_CONF="%_REALPATH%\..\conf\daisy-repository-server-service.conf"
>
> Now, with those problems sorted out, I get the following error when I
> try to start the service:
>
> C:\daisy\wrapper\service>start-daisy-repository-server-service.bat
>
> C:\daisy\RepoData\service>echo off
> The Daisy CMS Repository Server service is starting...
> The Daisy CMS Repository Server service could not be started.
>
> A system error has occurred.
>
> System error 1067 has occurred.
>
> The process terminated unexpectedly.
>
> Press any key to continue . . .
> C:\daisy\wrapper\service>
>
> I cannot find any further information about this error anywhere. Tried
> running the command manually:
>
> C:\daisy\wrapper\service>C:\daisy\wrapper\bin\wrapper.exe -s
> C:\daisy\wrapper\conf\daisy-repository-server-service.conf
> Attempting to start Daisy CMS Repository Server as an NT service.
>
> Calling StartServiceCtrlDispatcher...please wait.
>
> StartServiceControlDispatcher failed!
>
> For help, type
>
> C:\daisy\wrapper\bin\wrapper.exe /?
>
> C:\daisy\wrapper\service>
>
> Hrm. The help doesn't list a -s switch...but what about -t?
>
> C:\daisy\wrapper\service>C:\daisy\wrapper\bin\wrapper.exe -t
> C:\daisy\wrapper\conf\daisy-repository-server-service.conf
> wrapper | Starting the Daisy CMS Repository Server service...
> wrapper | The Daisy CMS Repository Server service was launched, but
> failed to start.
>
> C:\daisy\wrapper\service>
>
> *is sad*
Have a look at the documentation on how you should use these scripts.
It's very simple if you follow the guidelines.
The documentation can be found here:
http://cocoondev.org/daisydocs-2_0/admin/service/193-cd.html
In the wrapper/bin directory there's a DO_NOT_USE_THESE_SCRIPTS.txt to avoid
confusion, but I didn't think to put one in the service directory too (since
I'm not familiar with the wrapper stuff), I'll do that now.
--
Bruno Dumon http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org bruno at apache.org
_______________________________________________
daisy community mailing list
Professional Daisy support:
http://outerthought.org/site/services/daisy/daisysupport.html
mail to: daisy at lists.cocoondev.org
list information: http://lists.cocoondev.org/mailman/listinfo/daisy
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 4/12/2007
7:58 PM
More information about the daisy
mailing list