Try Apache Commons daemon.
With prunsrv you can run any java app as a service on Windows.

Regards,
-Nick
~~~~~~~~~~~~~~~~
Sent from my iPhone

On Oct 19, 2011, at 10:27 AM, Jun Dai <wizardisha...@gmail.com> wrote:

> Thank you Josef for your help.
> I googled and got "Java Service Wrapper" which seemed can do this job. But I 
> found there are many things I should to config for this tool to add 
> axis2Server as a Windows Service. Are there any existed configuration I could 
> found to help my work?
> Thank you.
> 
> 2011/10/19 Stadelmann Josef <josef.stadelm...@axa-winterthur.ch>
> Google like that
> 
>  
> 
> java application as a windows service
> 
>  
> 
> you need a wrapper of your axis2server, which deals with the OS to register 
> itself as a service,
> 
> if it has successfully done that this wrapper needs to launch a JVM and pass 
> as argument axis2server.class
> 
>  
> 
> Josef
> 
>  
> 
> Von: Jun Dai [mailto:wizardisha...@gmail.com] 
> Gesendet: Mittwoch, 19. Oktober 2011 14:38
> An: java-user@axis.apache.org
> Betreff: axis2Server stops when logoff occurs.
> 
>  
> 
> Dears,
> I run a axis2Server in my machine which listens to 8080 port in Windows XP 
> system. 
> I can remote login the machine using mstsc.exe /admin, but when I logoff, I 
> found the the axis2Server shutdown. How can I solve this problem? i.e. How 
> can I keep the axis2Server running even after I logoff(I have to login in by 
> mstsc.exe /admin some times.)
> 
> Thanks in advance!
> 
> -- 
> Best Regards
> DAI Jun
> 
> 
> 
> 
> -- 
> Best Regards
> DAI Jun

Reply via email to