db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Calvin (Yu-Hui) Liu" <koif...@shaw.ca>
Subject Re: How to register derby as Windows service?
Date Sat, 09 Jun 2007 20:10:12 GMT
Hi, Jean,

Thanks for the useful information. I suppose there's a way to solve this 
problem -- create a Windows registery file and merge it by double click 
it. Take MySQL as a reference:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):22,00,44,00,3a,00,5c,00,4d,00,79,00,53,00,51,00,4c,00,5c,00,\
  
53,00,65,00,72,00,76,00,65,00,72,00,35,00,2e,00,30,00,5f,00,45,00,73,00,73,\
  
00,65,00,6e,00,74,00,69,00,61,00,6c,00,5c,00,62,00,69,00,6e,00,5c,00,6d,00,\
  
79,00,73,00,71,00,6c,00,64,00,2d,00,6e,00,74,00,22,00,20,00,2d,00,2d,00,64,\
  
00,65,00,66,00,61,00,75,00,6c,00,74,00,73,00,2d,00,66,00,69,00,6c,00,65,00,\
  
3d,00,22,00,44,00,3a,00,5c,00,4d,00,79,00,53,00,51,00,4c,00,5c,00,53,00,65,\
  
00,72,00,76,00,65,00,72,00,35,00,2e,00,30,00,5f,00,45,00,73,00,73,00,65,00,\
  
6e,00,74,00,69,00,61,00,6c,00,5c,00,6d,00,79,00,2e,00,69,00,6e,00,69,00,22,\
  00,20,00,4d,00,79,00,53,00,51,00,4c,00,00,00
"DisplayName"="MySQL"
"ObjectName"="LocalSystem"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL\Security]
"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  
00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  
05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  
20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  
00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL\Enum]
"0"="Root\\LEGACY_MYSQL\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

Anyway, it's always good to have a tool to help us. Makes my life 
easier. :) I'll try JSL at first.

Thansk again!
Calvin

Jean T. Anderson :
> On Sat, 09 Jun 2007 11:20:52 -0700, "Calvin (Yu-Hui) Liu"
> <koifans@shaw.ca> said:
>   
>> Hi, there,
>>
>> I'd like to have the derby db automatically start up when the Windows
>> boots up. Anybody has such experience before?
>>     
>
> Hi, Calvin, I haven't tried this myself, but maybe this wiki page will
> help:
>
> http://wiki.apache.org/db-derby/DerbyWindowsService
>
> regards,
>
>  -jean
>
>
>   


Mime
View raw message