Re: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-31 Thread Jonathan Camilleri
After a bit of tinkering, I uninstalled JDK 1.6 u13 and:
1. Installed JDK 1.6 u14
Release notes:
http://java.sun.com/javase/6/webnotes/6u14.html
Download link:
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/viewproductdetail-start?productref=jdk-6u14-oth-...@cds-cds_developer
2. Uninstalled Tomcat 6.0.18 and re-installed, using default JVM (within UI)


Tomcat is up and running.  Joy :)  My only problem is that this seemed to
have confused Eclipse 3.4.2, because it's displaying ugly messages on
startup, however, I guess that's another issue.

Thanks,

Jonathan


2009/5/31 Caldarale, Charles R chuck.caldar...@unisys.com

  From: Martin Gainty [mailto:mgai...@hotmail.com]
  Subject: RE: Tomcat 6.0 - Cannot startup Tomcat service
 
  //i would suggest changing
  C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
  to C:\PROGRA~1\Java\jre6\bin\client\jvm.dll

 Completely unnecessary; the service launcher works fine with the JVM in the
 default location.

  set JAVA_OPTS environment variable
  -XXaltjvm=C:\PROGRA~1\Java\jre6
 
  set JAVA_HOME environment variable
  C:\PROGRA~1\Java\jre6

 This is Tomcat running as a Windows service; environment variables aren't
 used.

 What the OP does need to do is install a 64-bit JVM, since he's using the
 64-bit service wrapper.

  - 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




-- 
Jonathan Camilleri

Mobile (MT): 00356 7982 7113
E-mail: camilleri@gmail.com
Please consider your environmental responsibility before printing this
e-mail.

I usually reply to e-mails within 2 business days.  If it's urgent, give me
a call.


Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Jonathan Camilleri
I've just installed Tomcat 6.0 on Windows Server 2008 64 bit, however the
service is not starting.

[2009-05-30 20:56:03] [info] Procrun (2.0.4.0) started
[2009-05-30 20:56:03] [info] Service Tomcat6 name Apache Tomcat
[2009-05-30 20:56:03] [info] Service Tomcat6 installed
[2009-05-30 20:56:03] [info] Procrun finished.
[2009-05-30 20:56:06] [info] Procrun (2.0.4.0) started
[2009-05-30 20:56:06] [info] Updating service...
[2009-05-30 20:56:06] [info] Service Tomcat6 updated
[2009-05-30 20:56:06] [info] Update service finished.
[2009-05-30 20:56:06] [info] Procrun finished.
[2009-05-30 20:56:06] [info] Procrun (2.0.4.0) started
[2009-05-30 20:56:06] [info] Updating service...
[2009-05-30 20:56:06] [info] Service Tomcat6 updated
[2009-05-30 20:56:06] [info] Update service finished.
[2009-05-30 20:56:06] [info] Procrun finished.
[2009-05-30 20:56:10] [info] Procrun (2.0.4.0) started
[2009-05-30 20:56:10] [info] Running Service...
[2009-05-30 20:56:10] [info] Starting service...
[2009-05-30 20:56:11] [174  javajni.c] [error] The specified module could
not be found.
[2009-05-30 20:56:11] [994  prunsrv.c] [error] Failed creating java
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
[2009-05-30 20:56:11] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-05-30 20:56:11] [info] Run service finished.
[2009-05-30 20:56:11] [info] Procrun finished.
[2009-05-30 20:56:49] [info] Procrun (2.0.4.0) started
[2009-05-30 20:56:49] [info] Running Service...
[2009-05-30 20:56:49] [info] Starting service...
[2009-05-30 20:56:49] [174  javajni.c] [error] The specified module could
not be found.
[2009-05-30 20:56:49] [994  prunsrv.c] [error] Failed creating java
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
[2009-05-30 20:56:49] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-05-30 20:56:49] [info] Run service finished.
[2009-05-30 20:56:49] [info] Procrun finished.
[2009-05-30 20:57:03] [info] Procrun (2.0.4.0) started
[2009-05-30 20:57:03] [info] Running Service...
[2009-05-30 20:57:03] [info] Starting service...
[2009-05-30 20:57:03] [174  javajni.c] [error] The specified module could
not be found.
[2009-05-30 20:57:03] [994  prunsrv.c] [error] Failed creating java
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
[2009-05-30 20:57:03] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-05-30 20:57:03] [info] Run service finished.
[2009-05-30 20:57:03] [info] Procrun finished.
[2009-05-30 20:57:08] [info] Procrun (2.0.4.0) started
[2009-05-30 20:57:08] [info] Running Service...
[2009-05-30 20:57:08] [info] Starting service...
[2009-05-30 20:57:08] [174  javajni.c] [error] The specified module could
not be found.
[2009-05-30 20:57:08] [994  prunsrv.c] [error] Failed creating java
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
[2009-05-30 20:57:08] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-05-30 20:57:08] [info] Run service finished.
[2009-05-30 20:57:08] [info] Procrun finished.
[2009-05-30 21:01:07] [174  javajni.c] [error] The specified module could
not be found.
*[2009-05-30 21:01:07] [994  prunsrv.c] [error] Failed creating java
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll*
[2009-05-30 21:01:07] [1269 prunsrv.c] [error] ServiceStart returned 1

Java is installed on the same machine:
*Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Administratorjava -version
java version 1.6.0_13
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
*

Any ideas please?

-- 
Jonathan Camilleri

Mobile (MT): 00356 7982 7113
E-mail: camilleri@gmail.com
Please consider your environmental responsibility before printing this
e-mail.

I usually reply to e-mails within 2 business days.  If it's urgent, give me
a call.


RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Caldarale, Charles R
 From: Jonathan Camilleri [mailto:camilleri@gmail.com]
 Subject: Tomcat 6.0 - Cannot startup Tomcat service
 
 [2009-05-30 20:56:11] [994  prunsrv.c] [error] Failed creating java
 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

You've installed a 32-bit JVM; since you're on a 64-bit OS I'd recommend a 
64-bit JVM, and use the 64-bit versions of tomcat6.exe and tomcat6w.exe (which 
you may already be doing).  If you don't already have them, the 64-bit 
tomcat6*.exe files are here:
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/res/procrun/amd64/

If you want to use the APR dll, you'll also need the 64-bit version of that:
http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.16/binaries/win64/x64/

 - 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.



Re: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Jonathan Camilleri
I tried replacing the .exe files with the 64 bit within C:\Program Files
(x86)\Apache Software Foundation\Tomcat 6.0\bin, however no joy yet.

What do I do with the tc-native-1.dll?

Rgds,


J.

2009/5/30 Caldarale, Charles R chuck.caldar...@unisys.com

  From: Jonathan Camilleri [mailto:camilleri@gmail.com]
  Subject: Tomcat 6.0 - Cannot startup Tomcat service
 
  [2009-05-30 20:56:11] [994  prunsrv.c] [error] Failed creating java
  C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

 You've installed a 32-bit JVM; since you're on a 64-bit OS I'd recommend a
 64-bit JVM, and use the 64-bit versions of tomcat6.exe and tomcat6w.exe
 (which you may already be doing).  If you don't already have them, the
 64-bit tomcat6*.exe files are here:

 http://svn.apache.org/repos/asf/tomcat/tc6.0.x/tags/TOMCAT_6_0_18/res/procrun/amd64/

 If you want to use the APR dll, you'll also need the 64-bit version of
 that:

 http://archive.apache.org/dist/tomcat/tomcat-connectors/native/1.1.16/binaries/win64/x64/

  - 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.




-- 
Jonathan Camilleri

Mobile (MT): 00356 7982 7113
E-mail: camilleri@gmail.com
Please consider your environmental responsibility before printing this
e-mail.

I usually reply to e-mails within 2 business days.  If it's urgent, give me
a call.

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

RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Caldarale, Charles R
 From: Jonathan Camilleri [mailto:camilleri@gmail.com]
 Subject: Re: Tomcat 6.0 - Cannot startup Tomcat service
 
 I tried replacing the .exe files with the 64 bit within C:\Program
 Files (x86)\Apache Software Foundation\Tomcat 6.0\bin, however no joy
 yet.

What about the 64-bit JVM?  Your log shows you're using a 32-bit one.

 What do I do with the tc-native-1.dll?

If you didn't already have a tcnative-1.dll in Tomcat's bin directory, don't 
put it anywhere (at least not yet).  It's the APR connector, which can provide 
better performance, especially for SSL.  But if you didn't have it set up 
before, don't complicate the issue.

 - 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.



RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Martin Gainty

[2009-05-30 20:56:49] [994  prunsrv.c] [error] Failed creating java
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll//i've never been able to 
get folders with spaces and parenthesis to resolve correctly
//i would suggest changing
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
to C:\PROGRA~1\Java\jre6\bin\client\jvm.dll


to 
C:\PROGRA~1\Java\jre6\bin\server\jvm.dll

set JAVA_OPTS environment variable
-XXaltjvm=C:\PROGRA~1\Java\jre6

set JAVA_HOME environment variable
C:\PROGRA~1\Java\jre6

make sure %JAVA_HOME%\bin is on PATH e.g.
set %PATH%=%JAVA_HOME%\bin;%PATH%

if none of  that works re-install Java to a short folder name e.g.
C:\JAVA

hth!
Martin Gainty 
__ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und 
Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




 Date: Sat, 30 May 2009 21:02:50 +0200
 Subject: Tomcat 6.0 - Cannot startup Tomcat service
 From: camilleri@gmail.com
 To: users@tomcat.apache.org
 
 I've just installed Tomcat 6.0 on Windows Server 2008 64 bit, however the
 service is not starting.
 
 [2009-05-30 20:56:03] [info] Procrun (2.0.4.0) started
 [2009-05-30 20:56:03] [info] Service Tomcat6 name Apache Tomcat
 [2009-05-30 20:56:03] [info] Service Tomcat6 installed
 [2009-05-30 20:56:03] [info] Procrun finished.
 [2009-05-30 20:56:06] [info] Procrun (2.0.4.0) started
 [2009-05-30 20:56:06] [info] Updating service...
 [2009-05-30 20:56:06] [info] Service Tomcat6 updated
 [2009-05-30 20:56:06] [info] Update service finished.
 [2009-05-30 20:56:06] [info] Procrun finished.
 [2009-05-30 20:56:06] [info] Procrun (2.0.4.0) started
 [2009-05-30 20:56:06] [info] Updating service...
 [2009-05-30 20:56:06] [info] Service Tomcat6 updated
 [2009-05-30 20:56:06] [info] Update service finished.
 [2009-05-30 20:56:06] [info] Procrun finished.
 [2009-05-30 20:56:10] [info] Procrun (2.0.4.0) started
 [2009-05-30 20:56:10] [info] Running Service...
 [2009-05-30 20:56:10] [info] Starting service...
 [2009-05-30 20:56:11] [174  javajni.c] [error] The specified module could
 not be found.
 [2009-05-30 20:56:11] [994  prunsrv.c] [error] Failed creating java
 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
 [2009-05-30 20:56:11] [1269 prunsrv.c] [error] ServiceStart returned 1
 [2009-05-30 20:56:11] [info] Run service finished.
 [2009-05-30 20:56:11] [info] Procrun finished.
 [2009-05-30 20:56:49] [info] Procrun (2.0.4.0) started
 [2009-05-30 20:56:49] [info] Running Service...
 [2009-05-30 20:56:49] [info] Starting service...
 [2009-05-30 20:56:49] [174  javajni.c] [error] The specified module could
 not be found.
 [2009-05-30 20:56:49] [994  prunsrv.c] [error] Failed creating java
 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
 [2009-05-30 20:56:49] [1269 prunsrv.c] [error] ServiceStart returned 1
 [2009-05-30 20:56:49] [info] Run service finished.
 [2009-05-30 20:56:49] [info] Procrun finished.
 [2009-05-30 20:57:03] [info] Procrun (2.0.4.0) started
 [2009-05-30 20:57:03] [info] Running Service...
 [2009-05-30 20:57:03] [info] Starting service...
 [2009-05-30 20:57:03] [174  javajni.c] [error] The specified module could
 not be found.
 [2009-05-30 20:57:03] [994  prunsrv.c] [error] Failed creating java
 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
 [2009-05-30 20:57:03] [1269 prunsrv.c] [error] ServiceStart returned 1
 [2009-05-30 20:57:03] [info] Run service finished.
 [2009-05-30 20:57:03] [info] Procrun finished.
 [2009-05-30 20:57:08] [info] Procrun (2.0.4.0) started
 [2009-05-30 20:57:08] [info] Running Service...
 [2009-05-30 20:57:08] [info] Starting service...
 [2009-05-30 20:57:08] [174  javajni.c] [error] The specified module

RE: Tomcat 6.0 - Cannot startup Tomcat service

2009-05-30 Thread Caldarale, Charles R
 From: Martin Gainty [mailto:mgai...@hotmail.com]
 Subject: RE: Tomcat 6.0 - Cannot startup Tomcat service
 
 //i would suggest changing
 C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
 to C:\PROGRA~1\Java\jre6\bin\client\jvm.dll

Completely unnecessary; the service launcher works fine with the JVM in the 
default location.

 set JAVA_OPTS environment variable
 -XXaltjvm=C:\PROGRA~1\Java\jre6
 
 set JAVA_HOME environment variable
 C:\PROGRA~1\Java\jre6

This is Tomcat running as a Windows service; environment variables aren't used.

What the OP does need to do is install a 64-bit JVM, since he's using the 
64-bit service wrapper.

 - 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