jk_nt_service

2003-07-02 Thread Oxley, David
Tomcat developers,

Can I suggest we bring back jk_nt_service.exe for running Tomcat as a
service for 5.0.x? It works perfectly fine with TC4.1 and is a lot more
flexible and easier to use for the end users. Plus I have had several
crashes of the JavaService exe that is currently distributed with TC.

I also wrote a Service Manager for it a couple of years ago.
http://issues.apache.org/bugzilla/show_bug.cgi?id=3798. We've been using it
at my company for the last couple of years and find it extremely useful.

If there is nobody to maintain it, then I volunteer.

Dave.
[EMAIL PROTECTED]



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk


RE: jk_nt_service

2003-07-02 Thread Mladen Turk


 -Original Message-
 From: Oxley, David
 Subject: jk_nt_service
 
 
 Tomcat developers,
 
 Can I suggest we bring back jk_nt_service.exe for running 
 Tomcat as a service for 5.0.x?

Why?

 It works perfectly fine with 
 TC4.1 and is a lot more flexible and easier to use for the 
 end users.

Not so sure it works with TC 5.

 Plus I have had several crashes of the JavaService 
 exe that is currently distributed with TC.
 

You meant procrun distributed with 5.0.3?
Declare several, and declare crashes, even better use the bugzilla.


MT.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: jk_nt_service

2003-07-02 Thread Oxley, David
I was talking about my experience with TC4.1 here. The tomcat.exe
(JavaService) crashes on me every now and again. So we only use
jk_nt_service.exe now.

I didn't know TC5 has already got something that is implemented differently
from TC4.1. Is there any documentation about procrun?

Dave.

 -Original Message-
 From: Mladen Turk [mailto:[EMAIL PROTECTED]
 Sent: 02 July 2003 16:10
 To: 'Tomcat Developers List'
 Subject: RE: jk_nt_service
 
 
 
  -Original Message-
  From: Oxley, David
  Subject: jk_nt_service
 
 
  Tomcat developers,
 
  Can I suggest we bring back jk_nt_service.exe for running
  Tomcat as a service for 5.0.x?
 
 Why?
 
  It works perfectly fine with
  TC4.1 and is a lot more flexible and easier to use for the
  end users.
 
 Not so sure it works with TC 5.
 
  Plus I have had several crashes of the JavaService
  exe that is currently distributed with TC.
 
 
 You meant procrun distributed with 5.0.3?
 Declare several, and declare crashes, even better use the bugzilla.
 
 
 MT.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk


DO NOT REPLY [Bug 471] - Problem using jk_nt_service (with a blank space in tomcat_home directory path) BugRat Report#797

2002-10-02 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=471.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=471

Problem using jk_nt_service (with a blank space in tomcat_home directory path) BugRat 
Report#797

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED



--- Additional Comments From [EMAIL PROTECTED]  2002-10-02 18:37 ---
This has been fixed.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




3798: service monitor for jk_nt_service

2002-10-02 Thread Costin Manolache

Can someone with windows experience check the attachment and 
decide what to do ? 

It seems like usefull and good, but I don't know what is the
benefit over just using 'net start' or the default service
manager.

-- 
Costin



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




[PATCH] jtc jk_nt_service set service properties on install

2002-03-12 Thread Tim Whittington

Attached is a patch to the jtc jk_nt_service.c to allow service properties
to be supplied as arguments on the command line when the service is
installed.

Most of this is a merge from the tomcat 3.3 tree, with the addition of
allowing the
service description to be set.

--

tim
 jk_nt_service.c.diff 



jk_nt_service.c.diff
Description: Binary data

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


PATCH: jk_nt_service enhancements - TC3.3

2001-09-01 Thread Dave Oxley

I've made a couple of enhancements to jk_nt_service. Attached is a patch for 
jk_nt_service.c and the documentation. This change was made against HEAD of 
jakarta-tomcat. Can someone check it over for possible check in.

Dave
[EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Index: jakarta-tomcat/src/doc/NT-Service-howto.html
===
RCS file: /home/cvspublic/jakarta-tomcat/src/doc/NT-Service-howto.html,v
retrieving revision 1.5
diff -r1.5 NT-Service-howto.html
0a1
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
3,4c4,6
   !-- $Id: NT-Service-howto.html,v 1.5 2001/07/17 03:53:41 costin Exp $ 
--
   !-- Copyright 1999-2001, Apache Software Foundation --
---
   !-- $Id: NT-Service-howto.html,v 1.5 2001/07/17 03:53:41 costin Exp 
$ --
   !-- Copyright 1999-2001, Apache Software Foundation --
5a8

7a11

9,11c13

 body

---
   body
13,22c15,22

 pBy Gal Shachor
 ttlt;a href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/agt;
 /tt/p


 pThe Jakarta NT service is an executable that wraps the
 Tomcat servlet container and executes it in the background as an NT 
service. To
 install it you will need to:/p

---
pBy Gal Shachor ttlt;a 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a
gt;/ttbr
Modified by Dave Oxley lt;a 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a
gt;br
/p
pThe Jakarta NT service is an executable that wraps the Tomcat servlet 
container
and executes it in the background as an NT service. To install it you will
need to:/p
24,79c24,102
  liGet a
  hold on the NT executable (jk_nt_service.exe)/li
  ul
   liDownload
   the executable from the win32/i386 directory  found where you 
downloaded the
   a href=http://jakarta.apache.org/site/binindex.html; Tomcat 
binary
   distribution./a For those using Netscape as your browser, try 
downloading
   a zip version of the file, if available. There can be problems using 
Netscape
   to download DLL files./li
  /ul
  liCustomize
  a properties file that provides the service with Tomcat information
  (wrapper.properties)./li
  ul
   liLocate the wrapper.properties template file in your Tomcat conf/jk 
directory.
   liUpdate
   the wrapper.tomcat_home property to point at your tomcat home./li
   liUpdate
   the wrapper.java_home property to point at your Java home./li
  /ul
  liInstall
  jk_nt_service by running it with the -i flag./li
  ul
   liExecute
   jk_nt_service -I lt;name of servicegt; lt;path to updated wrapper
   propertiesgt;/li
   lilt;name
   of servicegt; should be a single word (without and spaces) such as
   Jakarta/li
   lilt;path
   to updated wrapper propertiesgt; should point to your 
wrapper.properties
   file (and the service will check it's existence.)/li
   liFor
   example, a valid command line can be jk_nt_service -I Jakarta 
wrapper.properties/li
  /ul
  liStart
  tomcat as a service./li
  ul
   liFrom
   the command line, execute net start lt;name of servicegt; (e.g. 
net
   start Jakarta)/li
   liFrom
   the NT services applet, highlight your service and press start./li
  /ul
  bNote:/b If the log file location in your wrapper.properties file 
points to
  the ttlogs/tt directory, and the ttlogs/tt directory doesn't yet 
exist,
  manually create it before starting the service.
  liStop
  Tomcat as a service./li
  ul
   liFrom
   the command line, execute net stop lt;name of servicegt; (e.g. net
   stop Jakarta)/li
   liFrom
   the NT services applet, highlight your service and press stop./li
  /ul
---
   liGet a  hold on the NT executable (jk_nt_service.exe)/li
   ul
 liDownload   the executable from the win32/i386 directory  found 
  where you downloaded the   a 
href=http://jakarta.apache.org/site/binindex.html;
 Tomcat binary   distribution./a
 For those using Netscape as your browser, try downloading   a zip 
version  of the file, if available. There can be problems using Netscape
   to download DLL files./li
   /ul
   liCustomize  a properties file that provides the service with 
Tomcat  information  (wrapper.properties)./li
   ul
 liLocate the wrapper.properties template file in your Tomcat conf/jk 
  directory.   /li
 liUpdate   the wrapper.tomcat_home property to point at your 
tomcat  home./li
 liUpdate   the wrapper.java_home property to point at your Java  
home./li
   /ul
   liInstall  jk_nt_service by running it with the -i flag./li
   ul
 liExecute   jk_nt_service -I lt;name of servicegt; 
lt;optional  paramsgt; lt;path to updated wrapper   
propertiesgt;/li
 lilt;name   of servicegt; should be a single word (without and 
  spaces) such as   Jakarta/li
 lilt;optional paramsgt; are any of the following:/li
 ul

RE: PATCH: jk_nt_service enhancements - TC3.3

2001-09-01 Thread Ignacio J. Ortega

Hola David:

Could you send the patch as a diff -u? 

Better if you fill a bug report as a request for enhancements, and
attaches the patch to it, so we can follow the issue more closely..

Thanks for the feedback and the patch..

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Dave Oxley [mailto:[EMAIL PROTECTED]]
 Enviado el: sábado 1 de septiembre de 2001 14:15
 Para: [EMAIL PROTECTED]
 Asunto: PATCH: jk_nt_service enhancements - TC3.3
 
 
 I've made a couple of enhancements to jk_nt_service. Attached 
 is a patch for 
 jk_nt_service.c and the documentation. This change was made 
 against HEAD of 
 jakarta-tomcat. Can someone check it over for possible check in.
 
 Dave
 [EMAIL PROTECTED]
 
 _
 Get your FREE download of MSN Explorer at 
 http://explorer.msn.com/intl.asp
 



RE: PATCH: jk_nt_service enhancements - TC3.3

2001-09-01 Thread Dave Oxley

Hope this is better.

By the way the new features are:
Allow adding of service dependancies
Allow adding of service with different user name
Allow adding of service as Automatic startup
New functions to start and stop services on remote machines

Going to add a Bugzilla entry now...

Dave
[EMAIL PROTECTED]


From: Ignacio J. Ortega [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: '[EMAIL PROTECTED]' [EMAIL PROTECTED], 
'[EMAIL PROTECTED]' [EMAIL PROTECTED]
Subject: RE: PATCH: jk_nt_service enhancements - TC3.3
Date: Sat, 1 Sep 2001 20:16:58 +0200

Hola David:

Could you send the patch as a diff -u?

Better if you fill a bug report as a request for enhancements, and
attaches the patch to it, so we can follow the issue more closely..

Thanks for the feedback and the patch..

Saludos ,
Ignacio J. Ortega


  -Mensaje original-
  De: Dave Oxley [mailto:[EMAIL PROTECTED]]
  Enviado el: sábado 1 de septiembre de 2001 14:15
  Para: [EMAIL PROTECTED]
  Asunto: PATCH: jk_nt_service enhancements - TC3.3
 
 
  I've made a couple of enhancements to jk_nt_service. Attached
  is a patch for
  jk_nt_service.c and the documentation. This change was made
  against HEAD of
  jakarta-tomcat. Can someone check it over for possible check in.
 
  Dave
  [EMAIL PROTECTED]
 
  _
  Get your FREE download of MSN Explorer at
  http://explorer.msn.com/intl.asp
 


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Index: jakarta-tomcat/src/doc/NT-Service-howto.html
===
RCS file: /home/cvspublic/jakarta-tomcat/src/doc/NT-Service-howto.html,v
retrieving revision 1.5
diff -u -r1.5 NT-Service-howto.html
--- jakarta-tomcat/src/doc/NT-Service-howto.html2001/07/17 03:53:41 1.5
+++ jakarta-tomcat/src/doc/NT-Service-howto.html2001/09/01 23:28:51
@@ -1,148 +1,157 @@
+!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
-  !-- $Id: NT-Service-howto.html,v 1.5 2001/07/17 03:53:41 costin Exp $ 
--
-  !-- Copyright 1999-2001, Apache Software Foundation --
+  !-- $Id: NT-Service-howto.html,v 1.5 2001/07/17 03:53:41 costin Exp 
$ --
+  !-- Copyright 1999-2001, Apache Software Foundation --
+
   meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
+
   link rel=stylesheet href=style.css
   titleWorking with the Jakarta NT Service/title
+
/head
-
-body
-
+  body
h1Working with the Jakarta NT Service/h1
-
-pBy Gal Shachor
-ttlt;a href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/agt;
-/tt/p
-
-
-pThe Jakarta NT service is an executable that wraps the
-Tomcat servlet container and executes it in the background as an NT 
service. To
-install it you will need to:/p
-
+pBy Gal Shachor ttlt;a 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a
+   gt;/ttbr
+   Modified by Dave Oxley lt;a 
href=mailto:[EMAIL PROTECTED];[EMAIL PROTECTED]/a
+   gt;br
+/p
+pThe Jakarta NT service is an executable that wraps the Tomcat servlet 
container
+and executes it in the background as an NT service. To install it you will
+need to:/p
ol
- liGet a
- hold on the NT executable (jk_nt_service.exe)/li
- ul
-  liDownload
-  the executable from the win32/i386 directory  found where you 
downloaded the
-  a href=http://jakarta.apache.org/site/binindex.html; Tomcat binary
-  distribution./a For those using Netscape as your browser, try 
downloading
-  a zip version of the file, if available. There can be problems using 
Netscape
-  to download DLL files./li
- /ul
- liCustomize
- a properties file that provides the service with Tomcat information
- (wrapper.properties)./li
- ul
-  liLocate the wrapper.properties template file in your Tomcat conf/jk 
directory.
-  liUpdate
-  the wrapper.tomcat_home property to point at your tomcat home./li
-  liUpdate
-  the wrapper.java_home property to point at your Java home./li
- /ul
- liInstall
- jk_nt_service by running it with the -i flag./li
- ul
-  liExecute
-  jk_nt_service -I lt;name of servicegt; lt;path to updated wrapper
-  propertiesgt;/li
-  lilt;name
-  of servicegt; should be a single word (without and spaces) such as
-  Jakarta/li
-  lilt;path
-  to updated wrapper propertiesgt; should point to your 
wrapper.properties
-  file (and the service will check it's existence.)/li
-  liFor
-  example, a valid command line can be jk_nt_service -I Jakarta 
wrapper.properties/li
- /ul
- liStart
- tomcat as a service./li
- ul
-  liFrom
-  the command line, execute net start lt;name of servicegt; (e.g. net
-  start Jakarta)/li
-  liFrom
-  the NT services applet, highlight your service and press start./li
- /ul
- bNote:/b If the log file location in your wrapper.properties file 
points to
- the ttlogs/tt directory, and the ttlogs/tt directory doesn't yet 
exist,
- manually

RE: PATCH: jk_nt_service can't automatically be restarted by Windows Service Control Manager upon crash

2001-08-31 Thread Marc Saegesser

Costin,

Sure, I'll take care of it today.


Marc Saegesser 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 31, 2001 12:13 AM
 To: [EMAIL PROTECTED]
 Subject: RE: PATCH: jk_nt_service can't automatically be restarted by
 Windows Service Control Manager upon crash
 
 
 On Thu, 30 Aug 2001, Marc Saegesser wrote:
 
  The patch looks good and seems to work OK after I configured my tomcat
  service to attempt restarts on failures.  I hacked Tomcat to 
 croak on start
  up and the SCM correctly attempted a single restart and then quit.
 
 Hi Marc,
 
 Could you check it in the main branch too ?
 
 Costin



RE: PATCH: jk_nt_service can't automatically be restarted by Windows Service Control Manager upon crash

2001-08-31 Thread Brian Enright

Way to go Dave!

-Original Message-
From: Marc Saegesser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 10:26 PM
To: [EMAIL PROTECTED]
Cc: Chien-Ming Huang; Brian Enright; Rob Webb; Patti Vrobel; Steven
Velez
Subject: RE: PATCH: jk_nt_service can't automatically be restarted by
Windows Service Control Manager upon crash


The patch looks good and seems to work OK after I configured my tomcat
service to attempt restarts on failures.  I hacked Tomcat to croak on start
up and the SCM correctly attempted a single restart and then quit.

The patch has been committed.  The native code doesn't get built for the
nightly builds so this won't show up in a distribution until Tomcat 3.2.4
(and I haven't worked out a schedule for that yet).


Marc Saegesser

 -Original Message-
 From: Dave Ringoen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 4:55 PM
 To: '[EMAIL PROTECTED]'
 Cc: Chien-Ming Huang; Brian Enright; Rob Webb; Patti Vrobel; Steven
 Velez
 Subject: PATCH: jk_nt_service can't automatically be restarted by
 Windows Service Control Manager upon crash


 We're using Tomcat at our company with considerable success, but
 discovered
 that if java.exe crashes for some reason, the Tomcat service won't
 restart
 automatically.

 I diagnosed the problem and came up with this discovery and a proposed
 fix.

 jk_nt_service.exe exits too gracefully if the java.exe process dies,
 notifying the Service Control Manager that it is shutting down. When
 Service
 Control Manager receives the shutdown message, it does not restart the
 service. It assumes that the service was supposed to be shut down.

 This patch makes jk_nt_service exit more abruptly without notifying SCM.
 With this patch, SCM will correctly initiate a restart of the Tomcat
 service.

 I couldn't file this in Bugzilla because Bugzilla was down.

 Thanks for your consideration on this patch. I'm very impressed with the
 Tomcat development approach and process.

 Dave Ringoen
 Alventive, Inc.


 cvs diff -u jk_nt_service.c (in directory
 C:\Temp\tomcatsrcnightly\jakarta-tomcat\src\native\mod_jk\nt_service)
 Index: jk_nt_service.c
 ===
 RCS file:
 /home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_servic
 e.c,
 v
 retrieving revision 1.3
 diff -u -r1.3 jk_nt_service.c
 --- jk_nt_service.c   2001/04/24 08:49:46 1.3
 +++ jk_nt_service.c   2001/08/30 18:05:02
 @@ -535,6 +535,11 @@
  /*
   * Tomcat died !!!
   */
 +CloseHandle(hServerStopEvent);
 +CloseHandle(hTomcat);
 +exit(0); // exit ungracefully so
 + // Service Control Manager
 + // will attempt a restart.
  break;
  default:
  /*




PATCH: jk_nt_service can't automatically be restarted by Windows Service Control Manager upon crash

2001-08-30 Thread Dave Ringoen

We're using Tomcat at our company with considerable success, but discovered
that if java.exe crashes for some reason, the Tomcat service won't restart
automatically.

I diagnosed the problem and came up with this discovery and a proposed fix.

jk_nt_service.exe exits too gracefully if the java.exe process dies,
notifying the Service Control Manager that it is shutting down. When Service
Control Manager receives the shutdown message, it does not restart the
service. It assumes that the service was supposed to be shut down.

This patch makes jk_nt_service exit more abruptly without notifying SCM.
With this patch, SCM will correctly initiate a restart of the Tomcat
service.

I couldn't file this in Bugzilla because Bugzilla was down.

Thanks for your consideration on this patch. I'm very impressed with the
Tomcat development approach and process.

Dave Ringoen
Alventive, Inc.


cvs diff -u jk_nt_service.c (in directory
C:\Temp\tomcatsrcnightly\jakarta-tomcat\src\native\mod_jk\nt_service)
Index: jk_nt_service.c
===
RCS file:
/home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_service.c,
v
retrieving revision 1.3
diff -u -r1.3 jk_nt_service.c
--- jk_nt_service.c 2001/04/24 08:49:46 1.3
+++ jk_nt_service.c 2001/08/30 18:05:02
@@ -535,6 +535,11 @@
 /* 
  * Tomcat died !!!
  */ 
+CloseHandle(hServerStopEvent);
+CloseHandle(hTomcat);
+exit(0); // exit ungracefully so
+ // Service Control Manager 
+ // will attempt a restart.
 break;
 default:
 /* 



RE: PATCH: jk_nt_service can't automatically be restarted by Windows Service Control Manager upon crash

2001-08-30 Thread Schreibman, David

If you really want the service code to be aggressive about restarting
Tomcat, I would suggest just calling start_tomcat() again.  This would avoid
any dependency on the Service Control Manager's reaction to ungraceful
exits.  In fact, I've never seen any documentation from Microsoft about such
restarts.  The only automatic service startups that I know about are upon
booting.  Can you send a reference to MS documentation about this?

In addition, I don't think you would want this to just keep restarting
indefinitely.  If the vm is crashing a lot then there's something going on
that needs to be looked at.  Such restart functionality should be limited to
a certain number of retries.  Continuing to run the vm might interfere with
other software running on the same machine.  Especially if the vm is
crashing due to some unusual resource consumption.

Just my 2 bits worth.

-David


-Original Message-
From: Dave Ringoen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 2:55 PM
To: '[EMAIL PROTECTED]'
Cc: Chien-Ming Huang; Brian Enright; Rob Webb; Patti Vrobel; Steven
Velez
Subject: PATCH: jk_nt_service can't automatically be restarted by
Windows Service Control Manager upon crash


We're using Tomcat at our company with considerable success, but discovered
that if java.exe crashes for some reason, the Tomcat service won't restart
automatically.

I diagnosed the problem and came up with this discovery and a proposed fix.

jk_nt_service.exe exits too gracefully if the java.exe process dies,
notifying the Service Control Manager that it is shutting down. When Service
Control Manager receives the shutdown message, it does not restart the
service. It assumes that the service was supposed to be shut down.

This patch makes jk_nt_service exit more abruptly without notifying SCM.
With this patch, SCM will correctly initiate a restart of the Tomcat
service.

I couldn't file this in Bugzilla because Bugzilla was down.

Thanks for your consideration on this patch. I'm very impressed with the
Tomcat development approach and process.

Dave Ringoen
Alventive, Inc.


cvs diff -u jk_nt_service.c (in directory
C:\Temp\tomcatsrcnightly\jakarta-tomcat\src\native\mod_jk\nt_service)
Index: jk_nt_service.c
===
RCS file:
/home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_service.c,
v
retrieving revision 1.3
diff -u -r1.3 jk_nt_service.c
--- jk_nt_service.c 2001/04/24 08:49:46 1.3
+++ jk_nt_service.c 2001/08/30 18:05:02
@@ -535,6 +535,11 @@
 /* 
  * Tomcat died !!!
  */ 
+CloseHandle(hServerStopEvent);
+CloseHandle(hTomcat);
+exit(0); // exit ungracefully so
+ // Service Control Manager 
+ // will attempt a restart.
 break;
 default:
 /* 



RE: PATCH: jk_nt_service can't automatically be restarted by Windows Service Control Manager upon crash

2001-08-30 Thread Marc Saegesser

The patch looks good and seems to work OK after I configured my tomcat
service to attempt restarts on failures.  I hacked Tomcat to croak on start
up and the SCM correctly attempted a single restart and then quit.

The patch has been committed.  The native code doesn't get built for the
nightly builds so this won't show up in a distribution until Tomcat 3.2.4
(and I haven't worked out a schedule for that yet).


Marc Saegesser

 -Original Message-
 From: Dave Ringoen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 4:55 PM
 To: '[EMAIL PROTECTED]'
 Cc: Chien-Ming Huang; Brian Enright; Rob Webb; Patti Vrobel; Steven
 Velez
 Subject: PATCH: jk_nt_service can't automatically be restarted by
 Windows Service Control Manager upon crash


 We're using Tomcat at our company with considerable success, but
 discovered
 that if java.exe crashes for some reason, the Tomcat service won't
 restart
 automatically.

 I diagnosed the problem and came up with this discovery and a proposed
 fix.

 jk_nt_service.exe exits too gracefully if the java.exe process dies,
 notifying the Service Control Manager that it is shutting down. When
 Service
 Control Manager receives the shutdown message, it does not restart the
 service. It assumes that the service was supposed to be shut down.

 This patch makes jk_nt_service exit more abruptly without notifying SCM.
 With this patch, SCM will correctly initiate a restart of the Tomcat
 service.

 I couldn't file this in Bugzilla because Bugzilla was down.

 Thanks for your consideration on this patch. I'm very impressed with the
 Tomcat development approach and process.

 Dave Ringoen
 Alventive, Inc.


 cvs diff -u jk_nt_service.c (in directory
 C:\Temp\tomcatsrcnightly\jakarta-tomcat\src\native\mod_jk\nt_service)
 Index: jk_nt_service.c
 ===
 RCS file:
 /home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_servic
 e.c,
 v
 retrieving revision 1.3
 diff -u -r1.3 jk_nt_service.c
 --- jk_nt_service.c   2001/04/24 08:49:46 1.3
 +++ jk_nt_service.c   2001/08/30 18:05:02
 @@ -535,6 +535,11 @@
  /*
   * Tomcat died !!!
   */
 +CloseHandle(hServerStopEvent);
 +CloseHandle(hTomcat);
 +exit(0); // exit ungracefully so
 + // Service Control Manager
 + // will attempt a restart.
  break;
  default:
  /*





RE: PATCH: jk_nt_service can't automatically be restarted by Windows Service Control Manager upon crash

2001-08-30 Thread Marc Saegesser

As of Win2000 (not sure if this existed in WinNT) you can configure a
service to attempt to recover if it dies.  This is fairly flexible in that
you can cause it to attempt up to three restarts (after a delay period),
execute a file on failure, reboot the system, etc.

We might as well use the facilities the OS provides instead of duplicating
this inside the service.


Marc Saegesser

 -Original Message-
 From: Schreibman, David [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 6:06 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: PATCH: jk_nt_service can't automatically be restarted by
 Windows Service Control Manager upon crash


 If you really want the service code to be aggressive about restarting
 Tomcat, I would suggest just calling start_tomcat() again.  This
 would avoid
 any dependency on the Service Control Manager's reaction to ungraceful
 exits.  In fact, I've never seen any documentation from Microsoft
 about such
 restarts.  The only automatic service startups that I know about are upon
 booting.  Can you send a reference to MS documentation about this?

 In addition, I don't think you would want this to just keep restarting
 indefinitely.  If the vm is crashing a lot then there's something going on
 that needs to be looked at.  Such restart functionality should be
 limited to
 a certain number of retries.  Continuing to run the vm might
 interfere with
 other software running on the same machine.  Especially if the vm is
 crashing due to some unusual resource consumption.

 Just my 2 bits worth.

 -David


 -Original Message-
 From: Dave Ringoen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 2:55 PM
 To: '[EMAIL PROTECTED]'
 Cc: Chien-Ming Huang; Brian Enright; Rob Webb; Patti Vrobel; Steven
 Velez
 Subject: PATCH: jk_nt_service can't automatically be restarted by
 Windows Service Control Manager upon crash


 We're using Tomcat at our company with considerable success, but
 discovered
 that if java.exe crashes for some reason, the Tomcat service won't restart
 automatically.

 I diagnosed the problem and came up with this discovery and a
 proposed fix.

 jk_nt_service.exe exits too gracefully if the java.exe process dies,
 notifying the Service Control Manager that it is shutting down.
 When Service
 Control Manager receives the shutdown message, it does not restart the
 service. It assumes that the service was supposed to be shut down.

 This patch makes jk_nt_service exit more abruptly without notifying SCM.
 With this patch, SCM will correctly initiate a restart of the Tomcat
 service.

 I couldn't file this in Bugzilla because Bugzilla was down.

 Thanks for your consideration on this patch. I'm very impressed with the
 Tomcat development approach and process.

 Dave Ringoen
 Alventive, Inc.


 cvs diff -u jk_nt_service.c (in directory
 C:\Temp\tomcatsrcnightly\jakarta-tomcat\src\native\mod_jk\nt_service)
 Index: jk_nt_service.c
 ===
 RCS file:
 /home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_
 service.c,
 v
 retrieving revision 1.3
 diff -u -r1.3 jk_nt_service.c
 --- jk_nt_service.c   2001/04/24 08:49:46 1.3
 +++ jk_nt_service.c   2001/08/30 18:05:02
 @@ -535,6 +535,11 @@
  /*
   * Tomcat died !!!
   */
 +CloseHandle(hServerStopEvent);
 +CloseHandle(hTomcat);
 +exit(0); // exit ungracefully so
 + // Service Control Manager
 + // will attempt a restart.
  break;
  default:
  /*




RE: PATCH: jk_nt_service can't automatically be restarted by Windows Service Control Manager upon crash

2001-08-30 Thread Schreibman, David

I guess that was what I was trying to get at.  The failure restart
functionality was not available before Windows 2000.  Otherwise I totally
agree with taking full advantage of the OS.

Thanks,

-David


-Original Message-
From: Marc Saegesser [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 7:30 PM
To: [EMAIL PROTECTED]
Subject: RE: PATCH: jk_nt_service can't automatically be restarted by
Windows Service Control Manager upon crash


As of Win2000 (not sure if this existed in WinNT) you can configure a
service to attempt to recover if it dies.  This is fairly flexible in that
you can cause it to attempt up to three restarts (after a delay period),
execute a file on failure, reboot the system, etc.

We might as well use the facilities the OS provides instead of duplicating
this inside the service.


Marc Saegesser

 -Original Message-
 From: Schreibman, David [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 6:06 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: PATCH: jk_nt_service can't automatically be restarted by
 Windows Service Control Manager upon crash


 If you really want the service code to be aggressive about restarting
 Tomcat, I would suggest just calling start_tomcat() again.  This
 would avoid
 any dependency on the Service Control Manager's reaction to ungraceful
 exits.  In fact, I've never seen any documentation from Microsoft
 about such
 restarts.  The only automatic service startups that I know about are upon
 booting.  Can you send a reference to MS documentation about this?

 In addition, I don't think you would want this to just keep restarting
 indefinitely.  If the vm is crashing a lot then there's something going on
 that needs to be looked at.  Such restart functionality should be
 limited to
 a certain number of retries.  Continuing to run the vm might
 interfere with
 other software running on the same machine.  Especially if the vm is
 crashing due to some unusual resource consumption.

 Just my 2 bits worth.

 -David


 -Original Message-
 From: Dave Ringoen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 30, 2001 2:55 PM
 To: '[EMAIL PROTECTED]'
 Cc: Chien-Ming Huang; Brian Enright; Rob Webb; Patti Vrobel; Steven
 Velez
 Subject: PATCH: jk_nt_service can't automatically be restarted by
 Windows Service Control Manager upon crash


 We're using Tomcat at our company with considerable success, but
 discovered
 that if java.exe crashes for some reason, the Tomcat service won't restart
 automatically.

 I diagnosed the problem and came up with this discovery and a
 proposed fix.

 jk_nt_service.exe exits too gracefully if the java.exe process dies,
 notifying the Service Control Manager that it is shutting down.
 When Service
 Control Manager receives the shutdown message, it does not restart the
 service. It assumes that the service was supposed to be shut down.

 This patch makes jk_nt_service exit more abruptly without notifying SCM.
 With this patch, SCM will correctly initiate a restart of the Tomcat
 service.

 I couldn't file this in Bugzilla because Bugzilla was down.

 Thanks for your consideration on this patch. I'm very impressed with the
 Tomcat development approach and process.

 Dave Ringoen
 Alventive, Inc.


 cvs diff -u jk_nt_service.c (in directory
 C:\Temp\tomcatsrcnightly\jakarta-tomcat\src\native\mod_jk\nt_service)
 Index: jk_nt_service.c
 ===
 RCS file:
 /home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_
 service.c,
 v
 retrieving revision 1.3
 diff -u -r1.3 jk_nt_service.c
 --- jk_nt_service.c   2001/04/24 08:49:46 1.3
 +++ jk_nt_service.c   2001/08/30 18:05:02
 @@ -535,6 +535,11 @@
  /*
   * Tomcat died !!!
   */
 +CloseHandle(hServerStopEvent);
 +CloseHandle(hTomcat);
 +exit(0); // exit ungracefully so
 + // Service Control Manager
 + // will attempt a restart.
  break;
  default:
  /*



RE: PATCH: jk_nt_service can't automatically be restarted by WindowsService Control Manager upon crash

2001-08-30 Thread cmanolache

On Thu, 30 Aug 2001, Marc Saegesser wrote:

 The patch looks good and seems to work OK after I configured my tomcat
 service to attempt restarts on failures.  I hacked Tomcat to croak on start
 up and the SCM correctly attempted a single restart and then quit.

Hi Marc,

Could you check it in the main branch too ?

Costin




RE: jk_nt_service problem

2001-06-13 Thread GOMEZ Henri

Did you try with JDK 1.3.1 ?

There is a known problem with Sun JDK 1.3
and NT Service

-
Henri Gomez ___[_]
EMAIL : [EMAIL PROTECTED](. .) 
PGP KEY : 697ECEDD...oOOo..(_)..oOOo...
PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 



-Original Message-
From: Srinivas Kothuri [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 8:08 PM
To: '[EMAIL PROTECTED]'
Subject: Re: jk_nt_service problem 


i AM HAVING THE SAME PROBLEM TOO.
i AM RUNNING TOMCAT ON WINDOWS 200 AND TRYING TO CONFIGURE IT 
AS A SERVICE.

I AM GETTING THE 
Tomcat service didn't start but returned no error
More help is available by typing NET HELPMSG 3534

when i do net helpmsg 3534 it gives a message .
please try later or contact the network administrator.


THIS IS MY WRAPPERS.PROPERTIES FILE 

I CHANGED THE TOMCAT HOME AND THE JDK HOME TO

C:\JAKARTA-TOMCAT
C:\JDK1.3

it still doesnt seem to work.
any inputs or suggestions are welcome..
thanx.
srinivas kothuri




# wrapper.properties starts here-
#
# $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v
1.2.2.1 2000/10/16 01:59:22 larryi Exp $
# $Revision: 1.2.2.1 $
# $Date: 2000/10/16 01:59:22 $
#
#
# jk_service.properties - a bootstrap file for the Tomcat NT service.
#
# This file provides jk_nt_service with the needed information to
# start tomcat at a different process.
#
# As a general note, the characters $( and ) are used 
internally to define
# macros. Do not use them!!!
#
# Whenever you see a set of lines like these:
# x=value
# y=$(x)\something
#
# the final value for y will be value\something
#
# Normally all you will need to modify is the first two 
properties, i.e.,
# wrapper.tomcat_home and wrapper.java_home. Most of the configuration
# is derived from these two.
#

#
# wrapper.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
wrapper.tomcat_home=put your Tomcat home

#
# wrapper.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
wrapper.java_home=put your Java home


#
#-- ADVANCED MODE 
# Make sure that you read the how-to before making too many changes.
#-
#

#
# Defining where the service is going to put the standard
# output of Tomcat. This is where System.out.println and
# System.err.println go to.
#
wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr

#
# Additions to the path. Put here directories where you store DLLs for
# native methods, etc.
#
wrapper.ld_path=d:\
wrapper.ld_path=c:\

#
# Defining the classpath. All the rows that belongs to the class_path
# property are concatenated to create the classpath for Tomcat.
#
# If you have additional locations that you would like to add to the
# classpath, add a new wrapper.class_path=location line.
#
wrapper.class_path=$(wrapper.tomcat_home)\classes
wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\xml.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar


#
# This is where Javac is located in JDK1.2.x.
#
wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
#
# and a tribute to JDK1.1.x
#
wrapper.class_path=$(wrapper.java_home)\lib\classes.zip

#
# This is the Java interpreter used for running Tomcat.
#
wrapper.javabin=$(wrapper.java_home)\bin\java.exe

#
# This is Tomcat's startup class (the class that contains Tomcat's
# starting point).
#
wrapper.startup_class=org.apache.tomcat.startup.Tomcat

#
# This is where tomcat's server.xml configuration file is located. 
#
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml

#
# The NT service uses AJP12/AJP13 to shut down Tomcat. The 
# wrapper.shutdown_port tells the service the identity of the 
port that 
# is used by AJP12/AJP13.
#
wrapper.shutdown_port=8007

#
# Can be either ajp12 or ajp13 depending on your configuration.
#
# Default value is ajp12.
#
wrapper.shutdown_protocol=ajp12

#
# This is the command line that is used to start Tomcat. You 
can *add* extra
# parameters to it, but you can not remove anything.
#
wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path)
$(wrapper.startup_class) -config $(wrapper.server_xml) -home
$(wrapper.tomcat_home)

#-wrapper.properties ends here-





RE: jk_nt_service problem

2001-06-13 Thread Jeremy

I've been experiencing the exact same problem with ibm jdk 1.1.8

 From: GOMEZ Henri [mailto:[EMAIL PROTECTED]]
 Did you try with JDK 1.3.1 ?

 There is a known problem with Sun JDK 1.3
 and NT Service

From: Srinivas Kothuri [mailto:[EMAIL PROTECTED]]
I AM GETTING THE
Tomcat service didn't start but returned no error
More help is available by typing NET HELPMSG 3534

best regards,
Jeremy
--
But they are useless.  They can only give you answers - Pablo Picasso,
about computers




Re: jk_nt_service problem

2001-06-12 Thread Srinivas Kothuri

i AM HAVING THE SAME PROBLEM TOO.
i AM RUNNING TOMCAT ON WINDOWS 200 AND TRYING TO CONFIGURE IT AS A SERVICE.

I AM GETTING THE 
Tomcat service didn't start but returned no error
More help is available by typing NET HELPMSG 3534

when i do net helpmsg 3534 it gives a message .
please try later or contact the network administrator.


THIS IS MY WRAPPERS.PROPERTIES FILE 

I CHANGED THE TOMCAT HOME AND THE JDK HOME TO

C:\JAKARTA-TOMCAT
C:\JDK1.3

it still doesnt seem to work.
any inputs or suggestions are welcome..
thanx.
srinivas kothuri




# wrapper.properties starts here-
#
# $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v
1.2.2.1 2000/10/16 01:59:22 larryi Exp $
# $Revision: 1.2.2.1 $
# $Date: 2000/10/16 01:59:22 $
#
#
# jk_service.properties - a bootstrap file for the Tomcat NT service.
#
# This file provides jk_nt_service with the needed information to
# start tomcat at a different process.
#
# As a general note, the characters $( and ) are used internally to define
# macros. Do not use them!!!
#
# Whenever you see a set of lines like these:
# x=value
# y=$(x)\something
#
# the final value for y will be value\something
#
# Normally all you will need to modify is the first two properties, i.e.,
# wrapper.tomcat_home and wrapper.java_home. Most of the configuration
# is derived from these two.
#

#
# wrapper.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
wrapper.tomcat_home=put your Tomcat home

#
# wrapper.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
wrapper.java_home=put your Java home


#
#-- ADVANCED MODE 
# Make sure that you read the how-to before making too many changes.
#-
#

#
# Defining where the service is going to put the standard
# output of Tomcat. This is where System.out.println and
# System.err.println go to.
#
wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr

#
# Additions to the path. Put here directories where you store DLLs for
# native methods, etc.
#
wrapper.ld_path=d:\
wrapper.ld_path=c:\

#
# Defining the classpath. All the rows that belongs to the class_path
# property are concatenated to create the classpath for Tomcat.
#
# If you have additional locations that you would like to add to the
# classpath, add a new wrapper.class_path=location line.
#
wrapper.class_path=$(wrapper.tomcat_home)\classes
wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\xml.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar


#
# This is where Javac is located in JDK1.2.x.
#
wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
#
# and a tribute to JDK1.1.x
#
wrapper.class_path=$(wrapper.java_home)\lib\classes.zip

#
# This is the Java interpreter used for running Tomcat.
#
wrapper.javabin=$(wrapper.java_home)\bin\java.exe

#
# This is Tomcat's startup class (the class that contains Tomcat's
# starting point).
#
wrapper.startup_class=org.apache.tomcat.startup.Tomcat

#
# This is where tomcat's server.xml configuration file is located. 
#
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml

#
# The NT service uses AJP12/AJP13 to shut down Tomcat. The 
# wrapper.shutdown_port tells the service the identity of the port that 
# is used by AJP12/AJP13.
#
wrapper.shutdown_port=8007

#
# Can be either ajp12 or ajp13 depending on your configuration.
#
# Default value is ajp12.
#
wrapper.shutdown_protocol=ajp12

#
# This is the command line that is used to start Tomcat. You can *add* extra
# parameters to it, but you can not remove anything.
#
wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path)
$(wrapper.startup_class) -config $(wrapper.server_xml) -home
$(wrapper.tomcat_home)

#-wrapper.properties ends here-





Problem using jk_nt_service (with a blank in tomcat_home directory path)

2001-01-17 Thread Amit Sarkar



Hi,
 I am trying to make Tomcat as NT 
service. It works fine when tomcat_home directory is a continuous string. But, 
it does not work when I use the directory name with a blank. For example, 
if the tomcat_home directorypath is 

 c:\jakartatomcathome\ 

but causes problem if it is 
 c:\jakarta tomcat home\ 

Can somebody please suggest me a 
solution.
Thanks,
Amit Sarkar
[EMAIL PROTECTED]


Re: [PATCH] jk_nt_service shutdown

2000-11-04 Thread Craig R. McClanahan

Luke,

I apologize for not giving you credit for this patch -- it was included (along
with other patches) by someone else.  But thanks!!!

Craig McClanahan


"Kirby, Luke" wrote:

 Hi!

 It would seem that the Jakarta NT Service fails to properly shutdown Tomcat.
 Examining the code shows that it does the right thing and sends the ajp1[23]
 shutdown message but then happily proceeds to terminate the Tomcat process
 before it has a chance to shutdown gracefully. Oops!

 The patch to fix it is below. This patch also includes a fix to the .dsp
 file, required by the mod_jk reorganisation.

 Enjoy!

  Luke

 Index: jk_nt_service.c
 ===
 RCS file:
 /home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/jk_nt_service.c,
 v
 retrieving revision 1.1
 diff -u -r1.1 jk_nt_service.c
 --- jk_nt_service.c 2000/08/26 02:03:53 1.1
 +++ jk_nt_service.c 2000/10/25 04:19:10
 @@ -639,9 +639,10 @@
  static void stop_tomcat(short port,
  const char *protocol,
  HANDLE hTomcat)
 -{
 +{
 +
  struct sockaddr_in in;
 -
 +
  if(jk_resolve("localhost", port, in)) {
  int sd = jk_open_socket(in, JK_TRUE, NULL);
  if(sd 0) {
 @@ -659,7 +660,7 @@
  rc = ajp13_marshal_shutdown_into_msgb(msg,
pool,
NULL);
 -if(rc) {
 +if (JK_TRUE == rc) {
  jk_b_end(msg);

  if(0  jk_tcp_socket_sendfull(sd,
 @@ -670,13 +671,13 @@
  }
  } else {
  char b[] = {(char)254, (char)15};
 -int rc = send(sd, b, 2, 0);
 -if(2 == rc) {
 +if(2 == send(sd, b, 2, 0)) {
  rc = JK_TRUE;
  }
  }
  jk_close_socket(sd);
 -if(2 == rc) {
 +if(JK_TRUE == rc) {
 +// shutdown message sent - give it a moment to finish.
  if(WAIT_OBJECT_0 == WaitForSingleObject(hTomcat, 30*1000))
 {
  return;
  }
 Index: nt_service.dsp
 ===
 RCS file:
 /home/cvspublic/jakarta-tomcat/src/native/mod_jk/nt_service/nt_service.dsp,v
 retrieving revision 1.1
 diff -u -r1.1 nt_service.dsp
 --- nt_service.dsp  2000/08/26 02:03:53 1.1
 +++ nt_service.dsp  2000/10/25 04:19:10
 @@ -42,7 +42,7 @@
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D
 "_MBCS" /YX /FD /c
 -# ADD CPP /nologo /W3 /GX /O2 /I "../jk" /D "WIN32" /D "NDEBUG" /D
 "_CONSOLE" /D "_MBCS" /YX /FD /c
 +# ADD CPP /nologo /W3 /GX /O2 /I "../common" /D "WIN32" /D "NDEBUG" /D
 "_CONSOLE" /D "_MBCS" /YX /FD /c
  # ADD BASE RSC /l 0x409 /d "NDEBUG"
  # ADD RSC /l 0x409 /d "NDEBUG"
  BSC32=bscmake.exe
 @@ -66,7 +66,7 @@
  # PROP Ignore_Export_Lib 0
  # PROP Target_Dir ""
  # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D
 "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
 -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../jk" /D "WIN32" /D "_DEBUG" /D
 "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
 +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../common" /D "WIN32" /D "_DEBUG"
 /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
  # ADD BASE RSC /l 0x409 /d "_DEBUG"
  # ADD RSC /l 0x409 /d "_DEBUG"
  BSC32=bscmake.exe

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]