RE: Problem : Apache Tomcat 7.0 starts up fine using startup scripts; error when starting as Windows Service

2015-05-14 Thread Caldarale, Charles R
 From: Troy Robinson [mailto:troy.robin...@sasktel.com] 
 Subject: Re: Problem : Apache Tomcat 7.0 starts up fine using startup 
 scripts; 
 error when starting as Windows Service


 I had installed 32 bit Apache Tomcat 7.0.59 ... and 64-bit Java 7.

 It's interesting ... that Tomcat starts up fine, using the startup scripts
... and the Application that I was installing Tomcat for ... also appears
 to be running fine.

Tomcat itself is pure Java (other than the optional APR connector), so it 
doesn't care whether or not the JVM is 32- or 64-bit.  However, the mode of the 
service launcher must match that of the installed JVM, since the launcher tries 
to load the JVM .dll into its own process.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem : Apache Tomcat 7.0 starts up fine using startup scripts; error when starting as Windows Service

2015-05-14 Thread Troy Robinson
Thanks Christopher,

Yeah ... that might be the issue.

I had installed 32 bit Apache Tomcat 7.0.59 ... and 64-bit Java 7.

I will plan on installing the 64 bit Apache Tomcat 7.0.59 version now.

It's interesting ... that Tomcat starts up fine, using the startup scripts
... and the Application that I was installing Tomcat for ... also appears
to be running fine.

Thanks for your help.



On Wed, May 13, 2015 at 2:34 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Troy,

 On 5/13/15 1:55 PM, Troy Robinson wrote:
  Sorry about that.
 
  'here' was just the Windows Services gui ... by highlighting the
  new Service called Apache Tomcat 7.0 Tomcat7 and clicking on
  Start the service.
 
  The error is a popup window titles Services with the following
  content.
 
  Windows could not start the Apache Tomcat 7.0 Tomcat7 on Local
  Computer. For more information, review the System Event Log.  If
  this is a non-Microsoft service, contact the service vendor, and
  refer to service-specific error code 1.
 
 
  The Event Log had the following information :
 
  Event 7024, Service Control Manager
 
  The Apache Tomcat 7.0 Tomcat7 service terminated with the
  following service-specific error: Incorrect function.

 I'm no expert, but...

 This sounds like what might happen if you have a 64-bit OS+service
 runner, but you have a 32-bit JVM (or vice-versa).

 Can you double-check that your architectures match-up for all
 components? The commons-daemon service runner needs to match the
 architecture of your JVM.

 Did commons-daemon print anything to its own log files? You can check
 the configuration for where those log files will be by running
 Tomcat7w.exe

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2
 Comment: GPGTools - http://gpgtools.org

 iQIcBAEBCAAGBQJVU7VTAAoJEBzwKT+lPKRYSzcQAK6w1LX9UCgQACPNOcZJA27E
 yZXXsKFD254LCM5Yxc/3cY8khzTps4YBLGkmKEvgN4wU3Saif36TiXaRWUvoF/YM
 ghlVFNuzbSWIUOV9rIBVWv0MToRWRSo//yCMEfVKQBxV+wXaWMeP8Cv/GKfY2V/X
 COO++cTkHN0RyzabaKKeua5LiFS1DnGRTv96X6HgTShuGFVj7CoerZSs5w3Afua7
 9YXBSOcp510O/VXNAHeyw/aCtRwg18pf5iNHK90W6FqxbLN6L5EGyaZoSrtuEY+p
 +IPn9H3/ghpdi3FIqH2ymrUeTSn+lB2QpzipVUlDRxw0OoMBbRcj/C/qLmPkIL19
 xM9elUGa4BvKVVIUWf8DUBhGDleF/xNFhqg9HwIWd30QrLKwSmP8dKhwIISLVuj8
 4oPm4d7cV9f9lK2Y6AQ5YYmLwaD9vm4VODhd6uHyzSm4SHJ+YV5rAwXbZycOYIy0
 tVjCJ8ep33F6M62s4Ai0jnd5xZ/yEdQl7K5jJWrBF6ysswB2N/Muwd2NOLWJK7hj
 4OVJemrSEofCLlNdxYgTyJcKwd7+XsPFo2N9vxk4ds4ay+RZLoGGtcPcPcvRSdbf
 W2MPD5jeZAIIM2/WYh9mQMIYJmMygMMqVk+yLSMZnWF3hHhRjlJpmaZ/FYOKhfwv
 BCFhu1Rtz21EeuUFu0kE
 =DTex
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Troy Robinson
Programmer Analyst
SaskTel
Phone  (306) 777-5491;  Mobile (306) 531-3810
Email:  troy.robin...@sasktel.com
Right Solution, Right Time

-- 
*NOTICE:  This confidential e-mail message is only for the intended 
recipients.  If you are not the intended recipient, be advised that 
disclosing, copying, distributing, or any other use of this message, is 
strictly prohibited.  In such case, please destroy this message and notify 
the sender.*


Re: Problem : Apache Tomcat 7.0 starts up fine using startup scripts; error when starting as Windows Service

2015-05-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Troy,

On 5/13/15 1:55 PM, Troy Robinson wrote:
 Sorry about that.
 
 'here' was just the Windows Services gui ... by highlighting the
 new Service called Apache Tomcat 7.0 Tomcat7 and clicking on
 Start the service.
 
 The error is a popup window titles Services with the following
 content.
 
 Windows could not start the Apache Tomcat 7.0 Tomcat7 on Local
 Computer. For more information, review the System Event Log.  If
 this is a non-Microsoft service, contact the service vendor, and
 refer to service-specific error code 1.
 
 
 The Event Log had the following information :
 
 Event 7024, Service Control Manager
 
 The Apache Tomcat 7.0 Tomcat7 service terminated with the
 following service-specific error: Incorrect function.

I'm no expert, but...

This sounds like what might happen if you have a 64-bit OS+service
runner, but you have a 32-bit JVM (or vice-versa).

Can you double-check that your architectures match-up for all
components? The commons-daemon service runner needs to match the
architecture of your JVM.

Did commons-daemon print anything to its own log files? You can check
the configuration for where those log files will be by running
Tomcat7w.exe

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVU7VTAAoJEBzwKT+lPKRYSzcQAK6w1LX9UCgQACPNOcZJA27E
yZXXsKFD254LCM5Yxc/3cY8khzTps4YBLGkmKEvgN4wU3Saif36TiXaRWUvoF/YM
ghlVFNuzbSWIUOV9rIBVWv0MToRWRSo//yCMEfVKQBxV+wXaWMeP8Cv/GKfY2V/X
COO++cTkHN0RyzabaKKeua5LiFS1DnGRTv96X6HgTShuGFVj7CoerZSs5w3Afua7
9YXBSOcp510O/VXNAHeyw/aCtRwg18pf5iNHK90W6FqxbLN6L5EGyaZoSrtuEY+p
+IPn9H3/ghpdi3FIqH2ymrUeTSn+lB2QpzipVUlDRxw0OoMBbRcj/C/qLmPkIL19
xM9elUGa4BvKVVIUWf8DUBhGDleF/xNFhqg9HwIWd30QrLKwSmP8dKhwIISLVuj8
4oPm4d7cV9f9lK2Y6AQ5YYmLwaD9vm4VODhd6uHyzSm4SHJ+YV5rAwXbZycOYIy0
tVjCJ8ep33F6M62s4Ai0jnd5xZ/yEdQl7K5jJWrBF6ysswB2N/Muwd2NOLWJK7hj
4OVJemrSEofCLlNdxYgTyJcKwd7+XsPFo2N9vxk4ds4ay+RZLoGGtcPcPcvRSdbf
W2MPD5jeZAIIM2/WYh9mQMIYJmMygMMqVk+yLSMZnWF3hHhRjlJpmaZ/FYOKhfwv
BCFhu1Rtz21EeuUFu0kE
=DTex
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Problem : Apache Tomcat 7.0 starts up fine using startup scripts; error when starting as Windows Service

2015-05-13 Thread Caldarale, Charles R
 From: Troy Robinson [mailto:troy.robin...@sasktel.com] 
 Subject: Problem : Apache Tomcat 7.0 starts up fine using startup scripts; 
 error when starting as Windows Service

 Windows Server 2012 Standard
 Apache Tomcat 7.0.59
 Java jre 7

Thanks for specifying the above; many people forget.

 I'm experiencing an issue ... where Apache Tomcat will start fine using :
 %CATALINA_HOME%\bin\startup.bat

Good so far.

 But if use :
 %CATALINA_HOME%\bin\service.bat install
 The Service does now show up in the Windows Services gui  but when I 
 start it from here 

Where is here?

 I get the following error :

Most attachments are automatically stripped by the list server, so you'll need 
to paste text, not an image.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Problem : Apache Tomcat 7.0 starts up fine using startup scripts; error when starting as Windows Service

2015-05-13 Thread Troy Robinson
Hi,

Sorry about that.

'here' was just the Windows Services gui ... by highlighting the new
Service called Apache Tomcat 7.0 Tomcat7 and clicking on Start the
service.

The error is a popup window titles Services with the following content.

Windows could not start the Apache Tomcat 7.0 Tomcat7 on Local Computer.
For more information, review the System Event Log.  If this is a
non-Microsoft service, contact the service vendor, and refer to
service-specific error code 1.


The Event Log had the following information :

Event 7024, Service Control Manager

The Apache Tomcat 7.0 Tomcat7 service terminated with the following
service-specific error:
Incorrect function.



On Wed, May 13, 2015 at 11:39 AM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Troy Robinson [mailto:troy.robin...@sasktel.com]
  Subject: Problem : Apache Tomcat 7.0 starts up fine using startup
 scripts;
  error when starting as Windows Service

  Windows Server 2012 Standard
  Apache Tomcat 7.0.59
  Java jre 7

 Thanks for specifying the above; many people forget.

  I'm experiencing an issue ... where Apache Tomcat will start fine using :
  %CATALINA_HOME%\bin\startup.bat

 Good so far.

  But if use :
  %CATALINA_HOME%\bin\service.bat install
  The Service does now show up in the Windows Services gui  but when I
 start it from here

 Where is here?

  I get the following error :

 Most attachments are automatically stripped by the list server, so you'll
 need to paste text, not an image.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail and
 its attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-- 
Troy Robinson
Programmer Analyst
SaskTel
Phone  (306) 777-5491;  Mobile (306) 531-3810
Email:  troy.robin...@sasktel.com
Right Solution, Right Time

-- 
*NOTICE:  This confidential e-mail message is only for the intended 
recipients.  If you are not the intended recipient, be advised that 
disclosing, copying, distributing, or any other use of this message, is 
strictly prohibited.  In such case, please destroy this message and notify 
the sender.*