[daisy] daisy-service-install.bat exception
Caleb Callaway
caleb at autometrix.com
Thu Apr 12 18:28:33 CDT 2007
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.
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*
-----Original Message-----
From: daisy-bounces at lists.cocoondev.org
[mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of Paul Focke
Sent: Thursday, April 12, 2007 10:34 AM
To: Daisy: open source CMS - general mailinglist
Subject: Re: [daisy] daisy-service-install.bat exception
On Thursday 12 April 2007 18:34, Caleb Callaway wrote:
> Installed the maintenance release this morning, seems to be working great!
> I did run across this, however:
>
> C:\daisy\install>daisy-service-install.bat -r %DAISY_HOME%\RepoData -w
> %DAISY_HOME%\WikiData
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/outerj/daisy/install/ServiceScriptInstaller
>
> Tried tweaking the classpath declaration in the batch file, to no avail.
Could you check that :
- %DAISY_HOME% is pointing to your new daisy install
- %DAISY_HOME%\lib\daisy\jars\daisy-install-2.0.1.jar exists
- jar tf %DAISY_HOME%\lib\daisy\jars\daisy-install-2.0.1.jar contains
org/outerj/daisy/install/ServiceScriptInstaller.class
Thanks,
Paul
_______________________________________________
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.2.0/757 - Release Date: 4/11/2007
5:14 PM
More information about the daisy
mailing list