Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACB5790B0 for ; Wed, 19 Oct 2011 16:23:48 +0000 (UTC) Received: (qmail 79303 invoked by uid 500); 19 Oct 2011 16:23:47 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 79117 invoked by uid 500); 19 Oct 2011 16:23:47 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 79109 invoked by uid 99); 19 Oct 2011 16:23:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2011 16:23:47 +0000 X-ASF-Spam-Status: No, hits=4.8 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.139.53.206] (HELO nm4-vm0.bullet.mail.ac4.yahoo.com) (98.139.53.206) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 19 Oct 2011 16:23:39 +0000 Received: from [98.139.52.196] by nm4.bullet.mail.ac4.yahoo.com with NNFMP; 19 Oct 2011 16:23:18 -0000 Received: from [98.139.52.162] by tm9.bullet.mail.ac4.yahoo.com with NNFMP; 19 Oct 2011 16:23:18 -0000 Received: from [127.0.0.1] by omp1045.mail.ac4.yahoo.com with NNFMP; 19 Oct 2011 16:23:18 -0000 X-Yahoo-Newman-Id: 195848.65464.bm@omp1045.mail.ac4.yahoo.com Received: (qmail 95255 invoked from network); 19 Oct 2011 16:23:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:Mime-Version:In-Reply-To:X-Apple-Yahoo-Original-Message-Folder:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:X-Apple-Yahoo-Replied-Msgid:Subject:Date:To; b=vbTqa5/IFW6nTRxg26LevVt7wM2I7b7uGHI/Hp5UEPkZjMOASllEaHpbAVbMgpuNb0TnZ+A5uUR3HP+fFSCfamZ775Olwdf/4YC9I+Y9YjbjFJAn5o/mmOq2yf3sVGSCb8kngJ9kTJt+k3EkAhfLMSVCmtGlPdXN8TlFqpX62+0= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1319041397; bh=qdnWrTnZk8IUFOslsvCcpKyJQRpyxyQyKWVeYODosFk=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:Mime-Version:In-Reply-To:X-Apple-Yahoo-Original-Message-Folder:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:X-Apple-Yahoo-Replied-Msgid:Subject:Date:To; b=V9i00KbGauE7/1I10BMVavWdN540HIxcYp0KXKrLcfxFVMT0pvSilsvlQATXmFgn5lj5/cfs+W8ZDWW7jUN9BWzjSzEUVbPqvC8pygvu4V4DMSIHCWh9Ld6eAn3O9pTwRNKeCtsW0SMKVXH/YA9I+Mdhyb7DbwxRUFYU0TFdz/g= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2YuVFf0VM1l_c4yZ6l84g_juT7QgJmgWyeQqlZnJOYurV1V 5yrBSAGko1OAFYtI_8Oc8k5wTo08u.wKyqBnSLxo6S6WDX_hj16HdFiO5qU8 l5DyGUTsabe9gETYggKtoVzr.a4iDL2e4WY0obvv13_7AiOFlomgtOyUE_VC QSWSq13ijwO5GfYTD7Qs.0FDkwm7IFG0fD7zn7Bn25OCc2deG_aXcYb0CRe3 VLS3efpptq52RIVC90IE5iPpJ9Kr4uze9rkkyu3DlLXleMPzyGXZFhHwhgmc nXf86Wlc0Gh2SOikguoaHftwG5Gtwh12Y5ubSEtWudONDD58FCsxp90UHIva FwLuEm1uT_vm76n8w3mlDdJIgNWpj0y3ISjM_bgnEIAREsUgCBdvajirvNHF rw4kVZ99FuPymTDQE99EKMndXjZ0R X-Yahoo-SMTP: IK4EYvOswBBhQoaOodowyCoV4jM- Received: from [10.65.35.229] (npopov1@166.205.12.88 with xymcookie) by smtp102-mob.biz.mail.ac4.yahoo.com with SMTP; 19 Oct 2011 09:23:16 -0700 PDT References: Mime-Version: 1.0 (iPhone Mail 8B117) In-Reply-To: X-Apple-Yahoo-Original-Message-Folder: Inbox Content-Type: multipart/alternative; boundary=Apple-Mail-1--715706333 Content-Transfer-Encoding: 7bit Message-Id: <36AFCA04-C3E8-48E3-A989-3076E9F7890B@yahoo.com> Cc: "java-user@axis.apache.org" X-Mailer: iPhone Mail (8B117) From: Nick Popov X-Apple-Yahoo-Replied-Msgid: 1_1923607_AMZWiGIAAT1WTp7seg4MDBW6ra0 Subject: Re: axis2Server stops when logoff occurs. Date: Wed, 19 Oct 2011 11:23:10 -0500 To: "java-user@axis.apache.org" --Apple-Mail-1--715706333 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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 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 axis2= Server as a Windows Service. Are there any existed configuration I could fou= nd to help my work? > Thank you. >=20 > 2011/10/19 Stadelmann Josef > Google like that >=20 > =20 >=20 > java application as a windows service >=20 > =20 >=20 > you need a wrapper of your axis2server, which deals with the OS to registe= r itself as a service, >=20 > if it has successfully done that this wrapper needs to launch a JVM and pa= ss as argument axis2server.class >=20 > =20 >=20 > Josef >=20 > =20 >=20 > Von: Jun Dai [mailto:wizardishappy@gmail.com]=20 > Gesendet: Mittwoch, 19. Oktober 2011 14:38 > An: java-user@axis.apache.org > Betreff: axis2Server stops when logoff occurs. >=20 > =20 >=20 > Dears, > I run a axis2Server in my machine which listens to 8080 port in Windows XP= system.=20 > 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 c= an I keep the axis2Server running even after I logoff(I have to login in by m= stsc.exe /admin some times.) >=20 > Thanks in advance! >=20 > --=20 > Best Regards > DAI Jun >=20 >=20 >=20 >=20 > --=20 > Best Regards > DAI Jun --Apple-Mail-1--715706333 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=utf-8
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 <wizardishappy@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.stadelmann@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:wizardishappy@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
--Apple-Mail-1--715706333--