You can have a look at openejb-standalone module and in particular bat files
here
https://svn.apache.org/repos/asf/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/(
service.install.as.admin.bat<https://svn.apache.org/repos/asf/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/service.install.as.admin.bat>for
example).

- Romain

2011/6/6 Christian Koppen <[email protected]>

> There's no problem with it. I need to write some infrastructure code for
> automatic creation and management of OpenEJB servers and services; this code
> is tool-specific, of course. Thus, I want to know what options exist and
> which one is recommended.
>
> If Java Service Wrapper is working, what's the clue with openejb-daemon?
>
>
> Am 03.06.2011 18:19, schrieb Romain Manni-Bucau:
>
>  Hi,
>>
>> openejb daemon is a kind of wrapper, what is the problem with java service
>> wrapper?
>>
>> - Romain
>>
>> 2011/6/3 Christian Koppen<[email protected]>
>>
>>  Dear OpenEJB users,
>>>
>>> is it possible to run OpenEJB 3.1.4 as a windows service,
>>> and if so, what is the recommended way?
>>>
>>> I'm a little bit confused because there are be several approaches,
>>> but none of them is included in the 3.1.4 release:
>>>
>>> 1.) I found a thread on this user list from 2002 [1]. This solution seems
>>> to use the Java Service Wrapper [2], a generic library to start Java
>>> applications as a service. There are several licence models available,
>>> and
>>> I'm not sure which one is the right one for me.
>>>
>>> 2.) I also found the OpenEJB subproject 'openejb-daemon' on the SVN
>>> trunk,
>>> but neither on the 3.1.x nor on the 3.2.x branches. I downloaded the
>>> project
>>> from trunk and tried to use it with 3.1.4, but I didn't get it to work.
>>>
>>> What is the current status on this topic?
>>>
>>>
>>> Kind regards
>>> Christian
>>>
>>> [1]
>>>
>>> http://www.mail-archive.com/[email protected]/msg00277.html
>>> [2] http://wrapper.tanukisoftware.com
>>>
>>>
>>

Reply via email to