Calvin Varney wrote:

> hi Jeff,
>
> I'm currently using autoexnt - 
>http://www.ntfaq.com/Articles/Index.cfm?ArticleID=14849, have also tried srvany from 
>the nt resource kit and jsrvany - http://jsrvany.sourceforge.net/.
>
> All  can be configured to start jonas and registry but unfortunately the 1.3 jvm 
>gets killed as soon as any user logs off their NT session. Users logging in are ok, 
>locking the server console is ok, just cannot logoff.
>
> The most promising solution I've seen is http://www.kcmultimedia.com/javaserv/ 
>however it looks like you require a microsoft visual c++ development environment to 
>build it. If anyone can provide a prebuilt version of this for jonas please let me 
>know!
>
> Have also found the following references you may wish to check out (I haven't 
>reviewed any of them)
> http://www.kcmultimedia.com/smaster/
> http://www.advok.com/gservany.html
> http://www.winwinsoft.com/goodies/RunExeSvc/index.html
>

We (High Sierra Technology, http://www.hisitech.com)
have a running implementation using our own product:

JavaService.

It is a modified version of the JavaService framework from Mike Jennings, published in 
Dr. Dobb's  one year ago. We are using it about one year with Jonas 1.6.1 and Windows 
HotSpot server 2.0 jdk1.3 at a customer's premises.

It survives crashes of the 1.3 Java Virtual Machine on user logout.

Jonas will have serious installation troubles under jdk1.2.2 (not that it is 
impossible, but it is hard), due to a bug on the context class loader used for 
attached threads, that makes difficult to have RMI classes loaded correctly when 
running as a service. This bug does not apply to jvm 1.3.

It allows propagation of Window events related to services to the JVM, such as 
stopping a service in a clean, ordered way, either in the Services Control Panel or by 
shutting down the machine.

This is the reason way we needed to use something like this. Jigsaw and Jonas both are 
better dealt with if they shut down the JVM nicely. Else one can have configuration 
files corrupt (Jigsaw) and/or transactions rolled back (Jonas).

The product is a commercial one. Most of the source code (except for the part that 
avoids shutdown under jdk1.3) is Open Sourced. It would be fairly trivial to build 
your own version skipping this bug. Our business model is based on warranty and 
support for the "compiled" copy, plus the fact that most java developers does not want 
to deal with issues like compiling C++ applications and the like.

There is a "shareware" version downloadable at our Web Site.

Sorry about the advertising, but I think these kind of issues are relevant to products 
like Jonas, where use as a service is a real need.

>
> cheers
>
> >>> "Barbieri, Jeff" <[EMAIL PROTECTED]> 16/11/00 04:25:42 >>>
> Has anyone had any experience/success with installing JOnAS as an NT
> service??
>
> Using the command scripts to start JOnAS is fine for development purposes,
> but I'm looking to be able to start JOnAS automatically and run it in the
> background.
>
> Thanks in advance,
> -Jeff
>
> ----------------------------------
> Jeff Barbieri
> Consultant
> Tallán Inc.
> [EMAIL PROTECTED]
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
>
> This email or attachment(s) may contain confidential or legally privileged 
>information intended for the sole use of the addressee(s). Any use, redistribution, 
>disclosure, or reproduction of this message, except as intended, is prohibited. If 
>you received this email in error, please notify the sender and remove all copies of 
>the message, including any attachments. Any views or opinions expressed in this email 
>(unless otherwise stated) may not represent those of Canterbury Health Ltd.
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to