Grokbase Groups Tomcat users May 2009
FAQ
We're having a heck of a time getting tomcat running on windows server
2003 enterprise x64 -- it barely gets started, and instantly quits. We
installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be
the only 64-bit version available? Our processor is intel, tho... Is
there an intel-not-amd version we missed?


All we get is "error 0x0"...?

This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
a 64-bit machine

Tried tomcat from both apache-tomcat-5.5.27.exe installer and from straight ZIP

Java is 1.5.0_18

Java has no spaces in its path: C:\Java\jdk1.5.0_18 (from
jdk-1_5_0_18-windows-amd64.exe installer)

No port conflicts (we're asking for port 80 instead of 8080) according
to netstat -an


yes, we're listening on port 80 instead of 8080 (via server.xml);
Tomcat has no spaces in its path: C:\Tomcat55

Executing "tomcat5.exe" from the command line shows only a blank line,
then the command prompt pops up again (no text-to-console logged).

Executing "startup.bat" shows
Using CATALINA_BASE: C:\Tomcat55
Using CATALINA_HOME: C:\Tomcat55
Using CATALINA_TMPDIR: C:\Tomcat55\temp
Using JRE_HOME: C:\Java\jdk1.5.0_18

We've tried running it as a service (setting it up via 'service.bat'), too:

The start>admin>componentServices>event viewer shows only:
"""
The Apache Tomcat service terminated with service-specific error 0 (0x0).

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
"""

C:\Tomcat55\logs>type jakarta_service_20090515.log
[2009-05-15 15:03:59] [info] Procrun (2.0.4.0) started
[2009-05-15 15:03:59] [info] Service sakai name Apache Tomcat sakai
[2009-05-15 15:04:00] [info] Service sakai installed
[2009-05-15 15:04:00] [info] Procrun finished.
[2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
[2009-05-15 15:04:00] [info] Updating service...
[2009-05-15 15:04:00] [info] Service sakai updated
[2009-05-15 15:04:00] [info] Update service finished.
[2009-05-15 15:04:00] [info] Procrun finished.
[2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
[2009-05-15 15:04:00] [info] Updating service...
[2009-05-15 15:04:00] [info] Service sakai updated
[2009-05-15 15:04:00] [info] Update service finished.
[2009-05-15 15:04:00] [info] Procrun finished.
[2009-05-15 15:05:19] [info] Procrun (2.0.4.0) started
[2009-05-15 15:05:19] [info] Running Service...
[2009-05-15 15:05:19] [info] Starting service...
[2009-05-15 15:05:19] [174 javajni.c] [error] %1 is not a valid Win32
application.
[2009-05-15 15:05:19] [994 prunsrv.c] [error] Failed creating java
C:\Java\jdk1.5.0_18\jre\bin\server\jvm.dll
[2009-05-15 15:05:19] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-05-15 15:05:19] [info] Run service finished.
[2009-05-15 15:05:19] [info] Procrun finished.

Both stderr and stdout logs are empty.

We did find a thread online that recommended "copy the file
msvcr71.dll from the bin dir of your java installation, to the bin dir
of the tomcat installation." Of course, we don't have a msvcr71 (tho
we did find a msvcrt.dll which didn't do the trick.)

Any pointers would be great!


--
will trillich
"Our only real economic security lies in our power to meet human
needs." -- S.Covey, the 8th Habit

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

Search Discussions

  • Caldarale, Charles R at May 16, 2009 at 5:17 pm

    From: trillich@gmail.com On Behalf Of
    will@serensoft.com
    Subject: trouble starting tomcat: "error 0" on Windows 64bit

    Our processor is intel, tho... Is there an intel-not-amd
    version we missed?
    AMD invented the x86-64 instruction set, and Intel copied it from them. However, there is an older Intel 64-bit architecture called IA64 (aka Itanium); you'll need to determine which 64-bit CPU(s) you actually have.
    This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
    a 64-bit machine
    This is probably the AMD64 architecture, but you need to verify that it's not IA64.
    Tried tomcat from both apache-tomcat-5.5.27.exe installer and from
    straight ZIP
    Stay with the .zip; it's easier to start with. Uninstall the .exe version.
    Java has no spaces in its path: C:\Java\jdk1.5.0_18 (from
    jdk-1_5_0_18-windows-amd64.exe installer)
    You should have C:\Java\jdk1.5.0_18\bin in your PATH (not required, but it does make things easier).

    Does "java -version" (without the quotes) produce the expected results? Report back whatever it does show.

    BTW, I'd recommend a 1.6 JDK over 1.5; numerous performance improvements have been made.
    Executing "tomcat5.exe" from the command line shows only a blank line,
    Don't use that until you get it working from the scripts.
    Executing "startup.bat" shows
    Using CATALINA_BASE: C:\Tomcat55
    Using CATALINA_HOME: C:\Tomcat55
    Using CATALINA_TMPDIR: C:\Tomcat55\temp
    Using JRE_HOME: C:\Java\jdk1.5.0_18
    That looks good; what do you see in C:\Tomcat55\logs?
    We've tried running it as a service (setting it up via 'service.bat')
    Get it working from the scripts first. If you have tcnative-1.dll in Tomcat's bin directory, delete or rename it, since that will be a 32-bit version. If you really need the better performance provided by APR, you can install the 64-bit .dll later.

    - 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-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
  • Will trillich at May 16, 2009 at 7:41 pm
    Thanks for your input, guys! Responses interleaved below:

    On Sat, May 16, 2009 at 12:16 PM, Caldarale, Charles R
    wrote:
    AMD invented the x86-64 instruction set, and Intel copied it from them.  However,
    there is an older Intel 64-bit architecture called IA64 (aka Itanium); you'll need
    to determine which 64-bit CPU(s) you actually have.
    Intel Xeon E5530 running @ 2.40GHz
    You should have C:\Java\jdk1.5.0_18\bin in your PATH (not required, but it does make things easier).
    Does "java -version" (without the quotes) produce the expected results?  Report back whatever it does show.
    Yes indeed:
    C:\> java -version
    java version "1.5.0_18"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_18-b02, mixed mode)
    BTW, I'd recommend a 1.6 JDK over 1.5; numerous performance improvements have been made.
    For the system we're installing, it's only been vetted on 1.5 unfortunately.
    Executing "startup.bat" shows
    Using CATALINA_BASE:   C:\Tomcat55
    Using CATALINA_HOME:   C:\Tomcat55
    Using CATALINA_TMPDIR: C:\Tomcat55\temp
    Using JRE_HOME:        C:\Java\jdk1.5.0_18
    That looks good; what do you see in C:\Tomcat55\logs?
    No catalina.out at all, and stderr and stdout are empty. Only the
    jakarta logs from when we tried running it as a service had any info,
    as previously reported.
    Directory of C:\Tomcat55\logs
    05/15/2009 03:05 PM 1,252 jakarta_service_20090515.log
    05/15/2009 03:04 PM 0 stderr_20090515.log
    05/15/2009 03:04 PM 0 stdout_20090515.log
    Get it working from the scripts first.  If you have tcnative-1.dll in
    Tomcat's bin directory, delete or rename it, since that will be a
    32-bit version.  If you really need the better performance provided
    by APR, you can install the 64-bit .dll later.
    No .dll at all in \tomcat55\bin
    - Chuck

    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
  • Caldarale, Charles R at May 17, 2009 at 12:36 am

    From: will trillich
    Subject: Re: trouble starting tomcat: "error 0" on Windows 64bit

    Intel Xeon E5530 running @ 2.40GHz
    That's AMD64 architecture, despite Intel's reluctance to admit it.
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_18-b02, mixed mode)
    That's good; note that it's in server mode; there is no client mode for 64-bit JVMs (unless you have the source code and build one yourself).
    No catalina.out at all, and stderr and stdout are empty. Only the
    jakarta logs from when we tried running it as a service had any info,
    as previously reported.
    Directory of C:\Tomcat55\logs
    05/15/2009 03:05 PM 1,252 jakarta_service_20090515.log
    05/15/2009 03:04 PM 0 stderr_20090515.log
    05/15/2009 03:04 PM 0 stdout_20090515.log
    That's because of your incorrect "server" option - tomcat never got started, so no logs were written. All of the above come from the 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-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
  • Todd Hivnor at May 16, 2009 at 5:24 pm
    One troubleshooting suggestion would be to confirm that
    Java itself is working. Use java -version, and run some
    basic HelloWorld program.


    If Java isn't working, Tomcat won't stand a chance.



    ----- Original Message ----
    From: "will@serensoft.com" <will@serensoft.com>
    To: users@tomcat.apache.org
    Sent: Friday, May 15, 2009 10:17:39 PM
    Subject: trouble starting tomcat: "error 0" on Windows 64bit

    We're having a heck of a time getting tomcat running on windows server
    2003 enterprise x64 -- it barely gets started, and instantly quits. We
    installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be
    the only 64-bit version available? Our processor is intel, tho... Is
    there an intel-not-amd version we missed?


    All we get is "error 0x0"...?

    This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
    a 64-bit machine




    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
  • Will trillich at May 16, 2009 at 7:53 pm

    On Sat, May 16, 2009 at 12:23 PM, Todd Hivnor wrote:
    One troubleshooting suggestion would be to confirm that
    Java itself is working. Use java -version, and run some
    basic HelloWorld program.

    If Java isn't working, Tomcat won't stand a chance.
    Good point. :)

    Java is working -- we slapped together a quick recursive-directory
    module and it works nice and sweet. So there must be some tomcat
    conflict with this JVM.
    ----- Original Message ----
    From: "will@serensoft.com" <will@serensoft.com>
    To: users@tomcat.apache.org
    Sent: Friday, May 15, 2009 10:17:39 PM
    Subject: trouble starting tomcat: "error 0" on Windows 64bit

    We're having a heck of a time getting tomcat running on windows server
    2003 enterprise x64 -- it barely gets started, and instantly quits. We
    installed java from jdk-1_5_0_18-windows-amd64.exe  which seems to be
    the only 64-bit version available? Our processor is intel, tho... Is
    there an intel-not-amd version we missed?


    All we get is "error 0x0"...?

    This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
    a 64-bit machine




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


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
  • Mark Thomas at May 16, 2009 at 7:06 pm

    will@serensoft.com wrote:
    We're having a heck of a time getting tomcat running on windows server
    2003 enterprise x64 -- it barely gets started, and instantly quits. We
    installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be
    the only 64-bit version available? Our processor is intel, tho... Is
    there an intel-not-amd version we missed?
    Most likely you are running the 32-bit version of tomcat5(w).exe which
    will fail on start.

    You can get the 64-bit version from:
    http://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/

    However, I'd follow Chuck's advice and get everything else working
    before you start running Tomcat as a service.

    Mark




    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
  • Will at May 16, 2009 at 8:05 pm

    On Sat, May 16, 2009 at 9:15 AM, Martin Gainty wrote:
    Will-

    uninstall current java
    uninstall current jre
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6747473
    We're not having any problem with "Internal Error 2318.
    C:\Windows\system32\java.exe"...?

    There are some interesting steps here but not sure how they apply to
    our situation. (Probably just me being dense, of course.)

    We can't use 1.6 -- the system we're installing is only confirmed to
    work on Java v1.5

    reinstall 64bit JDK which matches the exact version JRE you just installed
    http://java.sun.com/javase/downloads/index.jsp
    We've got the JDK and JRE from the same installer
    (jdk-1_5_0_18-windows-amd64.exe) so in theory they should be
    compatible, no?

    Date: Sat, 16 May 2009 00:17:39 -0500
    Subject: trouble starting tomcat: "error 0" on Windows 64bit
    From: will@serensoft.com
    To: users@tomcat.apache.org

    We're having a heck of a time getting tomcat running on windows server
    2003 enterprise x64 -- it barely gets started, and instantly quits. We
    installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be
    the only 64-bit version available? Our processor is intel, tho... Is
    there an intel-not-amd version we missed?


    All we get is "error 0x0"...?

    This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
    a 64-bit machine

    Tried tomcat from both apache-tomcat-5.5.27.exe installer and from
    straight ZIP

    Java is 1.5.0_18

    Java has no spaces in its path: C:\Java\jdk1.5.0_18 (from
    jdk-1_5_0_18-windows-amd64.exe installer)

    No port conflicts (we're asking for port 80 instead of 8080) according
    to netstat -an


    yes, we're listening on port 80 instead of 8080 (via server.xml);
    Tomcat has no spaces in its path: C:\Tomcat55

    Executing "tomcat5.exe" from the command line shows only a blank line,
    then the command prompt pops up again (no text-to-console logged).

    Executing "startup.bat" shows
    Using CATALINA_BASE: C:\Tomcat55
    Using CATALINA_HOME: C:\Tomcat55
    Using CATALINA_TMPDIR: C:\Tomcat55\temp
    Using JRE_HOME: C:\Java\jdk1.5.0_18

    We've tried running it as a service (setting it up via 'service.bat'),
    too:

    The start>admin>componentServices>event viewer shows only:
    """
    The Apache Tomcat service terminated with service-specific error 0 (0x0).

    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    """

    C:\Tomcat55\logs>type jakarta_service_20090515.log
    [2009-05-15 15:03:59] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:03:59] [info] Service sakai name Apache Tomcat sakai
    [2009-05-15 15:04:00] [info] Service sakai installed
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:05:19] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:05:19] [info] Running Service...
    [2009-05-15 15:05:19] [info] Starting service...
    [2009-05-15 15:05:19] [174 javajni.c] [error] %1 is not a valid Win32
    application.
    [2009-05-15 15:05:19] [994 prunsrv.c] [error] Failed creating java
    C:\Java\jdk1.5.0_18\jre\bin\server\jvm.dll
    [2009-05-15 15:05:19] [1269 prunsrv.c] [error] ServiceStart returned 1
    [2009-05-15 15:05:19] [info] Run service finished.
    [2009-05-15 15:05:19] [info] Procrun finished.

    Both stderr and stdout logs are empty.

    We did find a thread online that recommended "copy the file
    msvcr71.dll from the bin dir of your java installation, to the bin dir
    of the tomcat installation." Of course, we don't have a msvcr71 (tho
    we did find a msvcrt.dll which didn't do the trick.)

    Any pointers would be great!


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
    ________________________________
    Hotmail® goes with you. Get it on your BlackBerry or iPhone.


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
  • Martin Gainty at May 16, 2009 at 10:17 pm
    read the sun documentation on what error0 means
    remember you're not dealing with binaries so error0 doesnt have to have any meaning except to the person that wrote the binary

    Sun suggest installing JRE64bit first
    then install JDK64bit

    https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u13-oth-JPR@CDS-CDS_Developer

    Viel Gluck
    Martin
    ______________________________________________
    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, 16 May 2009 15:04:38 -0500
    Subject: Re: trouble starting tomcat: "error 0" on Windows 64bit
    From: will@serensoft.com
    To: users@tomcat.apache.org
    On Sat, May 16, 2009 at 9:15 AM, Martin Gainty wrote:
    Will-

    uninstall current java
    uninstall current jre
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6747473
    We're not having any problem with "Internal Error 2318.
    C:\Windows\system32\java.exe"...?

    There are some interesting steps here but not sure how they apply to
    our situation. (Probably just me being dense, of course.)

    We can't use 1.6 -- the system we're installing is only confirmed to
    work on Java v1.5

    reinstall 64bit JDK which matches the exact version JRE you just installed
    http://java.sun.com/javase/downloads/index.jsp
    We've got the JDK and JRE from the same installer
    (jdk-1_5_0_18-windows-amd64.exe) so in theory they should be
    compatible, no?

    Date: Sat, 16 May 2009 00:17:39 -0500
    Subject: trouble starting tomcat: "error 0" on Windows 64bit
    From: will@serensoft.com
    To: users@tomcat.apache.org

    We're having a heck of a time getting tomcat running on windows server
    2003 enterprise x64 -- it barely gets started, and instantly quits. We
    installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be
    the only 64-bit version available? Our processor is intel, tho... Is
    there an intel-not-amd version we missed?


    All we get is "error 0x0"...?

    This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
    a 64-bit machine

    Tried tomcat from both apache-tomcat-5.5.27.exe installer and from
    straight ZIP

    Java is 1.5.0_18

    Java has no spaces in its path: C:\Java\jdk1.5.0_18 (from
    jdk-1_5_0_18-windows-amd64.exe installer)

    No port conflicts (we're asking for port 80 instead of 8080) according
    to netstat -an


    yes, we're listening on port 80 instead of 8080 (via server.xml);
    Tomcat has no spaces in its path: C:\Tomcat55

    Executing "tomcat5.exe" from the command line shows only a blank line,
    then the command prompt pops up again (no text-to-console logged).

    Executing "startup.bat" shows
    Using CATALINA_BASE: C:\Tomcat55
    Using CATALINA_HOME: C:\Tomcat55
    Using CATALINA_TMPDIR: C:\Tomcat55\temp
    Using JRE_HOME: C:\Java\jdk1.5.0_18

    We've tried running it as a service (setting it up via 'service.bat'),
    too:

    The start>admin>componentServices>event viewer shows only:
    """
    The Apache Tomcat service terminated with service-specific error 0 (0x0).

    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    """

    C:\Tomcat55\logs>type jakarta_service_20090515.log
    [2009-05-15 15:03:59] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:03:59] [info] Service sakai name Apache Tomcat sakai
    [2009-05-15 15:04:00] [info] Service sakai installed
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:05:19] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:05:19] [info] Running Service...
    [2009-05-15 15:05:19] [info] Starting service...
    [2009-05-15 15:05:19] [174 javajni.c] [error] %1 is not a valid Win32
    application.
    [2009-05-15 15:05:19] [994 prunsrv.c] [error] Failed creating java
    C:\Java\jdk1.5.0_18\jre\bin\server\jvm.dll
    [2009-05-15 15:05:19] [1269 prunsrv.c] [error] ServiceStart returned 1
    [2009-05-15 15:05:19] [info] Run service finished.
    [2009-05-15 15:05:19] [info] Procrun finished.

    Both stderr and stdout logs are empty.

    We did find a thread online that recommended "copy the file
    msvcr71.dll from the bin dir of your java installation, to the bin dir
    of the tomcat installation." Of course, we don't have a msvcr71 (tho
    we did find a msvcrt.dll which didn't do the trick.)

    Any pointers would be great!


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
    ________________________________
    Hotmail® goes with you. Get it on your BlackBerry or iPhone.


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
    _________________________________________________________________
    Insert movie times and more without leaving Hotmail®.
    http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009
  • Martin Gainty at May 16, 2009 at 10:25 pm
    just to clarify
    statement reads you ARE dealing with binaries..

    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.



    From: mgainty@hotmail.com
    To: users@tomcat.apache.org
    Subject: RE: trouble starting tomcat: "error 0" on Windows 64bit
    Date: Sat, 16 May 2009 18:16:58 -0400


    read the sun documentation on what error0 means
    remember you're not dealing with binaries so error0 doesnt have to have any meaning except to the person that wrote the binary

    Sun suggest installing JRE64bit first
    then install JDK64bit

    https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u13-oth-JPR@CDS-CDS_Developer

    Viel Gluck
    Martin
    ______________________________________________
    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, 16 May 2009 15:04:38 -0500
    Subject: Re: trouble starting tomcat: "error 0" on Windows 64bit
    From: will@serensoft.com
    To: users@tomcat.apache.org
    On Sat, May 16, 2009 at 9:15 AM, Martin Gainty wrote:
    Will-

    uninstall current java
    uninstall current jre
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6747473
    We're not having any problem with "Internal Error 2318.
    C:\Windows\system32\java.exe"...?

    There are some interesting steps here but not sure how they apply to
    our situation. (Probably just me being dense, of course.)

    We can't use 1.6 -- the system we're installing is only confirmed to
    work on Java v1.5

    reinstall 64bit JDK which matches the exact version JRE you just installed
    http://java.sun.com/javase/downloads/index.jsp
    We've got the JDK and JRE from the same installer
    (jdk-1_5_0_18-windows-amd64.exe) so in theory they should be
    compatible, no?

    Date: Sat, 16 May 2009 00:17:39 -0500
    Subject: trouble starting tomcat: "error 0" on Windows 64bit
    From: will@serensoft.com
    To: users@tomcat.apache.org

    We're having a heck of a time getting tomcat running on windows server
    2003 enterprise x64 -- it barely gets started, and instantly quits. We
    installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be
    the only 64-bit version available? Our processor is intel, tho... Is
    there an intel-not-amd version we missed?


    All we get is "error 0x0"...?

    This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
    a 64-bit machine

    Tried tomcat from both apache-tomcat-5.5.27.exe installer and from
    straight ZIP

    Java is 1.5.0_18

    Java has no spaces in its path: C:\Java\jdk1.5.0_18 (from
    jdk-1_5_0_18-windows-amd64.exe installer)

    No port conflicts (we're asking for port 80 instead of 8080) according
    to netstat -an


    yes, we're listening on port 80 instead of 8080 (via server.xml);
    Tomcat has no spaces in its path: C:\Tomcat55

    Executing "tomcat5.exe" from the command line shows only a blank line,
    then the command prompt pops up again (no text-to-console logged).

    Executing "startup.bat" shows
    Using CATALINA_BASE: C:\Tomcat55
    Using CATALINA_HOME: C:\Tomcat55
    Using CATALINA_TMPDIR: C:\Tomcat55\temp
    Using JRE_HOME: C:\Java\jdk1.5.0_18

    We've tried running it as a service (setting it up via 'service.bat'),
    too:

    The start>admin>componentServices>event viewer shows only:
    """
    The Apache Tomcat service terminated with service-specific error 0 (0x0).

    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    """

    C:\Tomcat55\logs>type jakarta_service_20090515.log
    [2009-05-15 15:03:59] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:03:59] [info] Service sakai name Apache Tomcat sakai
    [2009-05-15 15:04:00] [info] Service sakai installed
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:05:19] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:05:19] [info] Running Service...
    [2009-05-15 15:05:19] [info] Starting service...
    [2009-05-15 15:05:19] [174 javajni.c] [error] %1 is not a valid Win32
    application.
    [2009-05-15 15:05:19] [994 prunsrv.c] [error] Failed creating java
    C:\Java\jdk1.5.0_18\jre\bin\server\jvm.dll
    [2009-05-15 15:05:19] [1269 prunsrv.c] [error] ServiceStart returned 1
    [2009-05-15 15:05:19] [info] Run service finished.
    [2009-05-15 15:05:19] [info] Procrun finished.

    Both stderr and stdout logs are empty.

    We did find a thread online that recommended "copy the file
    msvcr71.dll from the bin dir of your java installation, to the bin dir
    of the tomcat installation." Of course, we don't have a msvcr71 (tho
    we did find a msvcrt.dll which didn't do the trick.)

    Any pointers would be great!


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
    ________________________________
    Hotmail® goes with you. Get it on your BlackBerry or iPhone.


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
    _________________________________________________________________
    Insert movie times and more without leaving Hotmail®.
    http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009
    _________________________________________________________________
    Hotmail® has a new way to see what's up with your friends.
    http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
  • Will trillich at May 16, 2009 at 11:36 pm

    On Sat, May 16, 2009 at 5:24 PM, Martin Gainty wrote:
    just to clarify
    statement reads you ARE dealing with binaries..

    Martin Gainty
    Thanks, Martin, but...
    From: mgainty@hotmail.com
    To: users@tomcat.apache.org
    Subject: RE: trouble starting tomcat: "error 0" on Windows 64bit
    Date: Sat, 16 May 2009 18:16:58 -0400

    read the sun documentation on what error0 means
    remember you're not dealing with binaries so error0 doesnt have to have any meaning except to the person that wrote the binary

    Sun suggest installing JRE64bit first
    then install JDK64bit
    okay -- but C:\Java\jdk1.5.0_18\jre\bin looks identical to
    C:\Java\jre1.5.0_18\bin.

    C:\Java\jre1.5.0_18\bin
    Tested this java, runs our hello-world just fine.

    C:\Java\jdk1.5.0_18\jre\bin
    Tested this java too, also runs the hello-world just fine.
    We're stuck with v1.5 ( http://java.sun.com/javase/downloads/5/jre
    and/or http://java.sun.com/javase/downloads/5/jdk )

    Hmm. New question, in a new thread...

    Viel Gluck
    Martin
    Date: Sat, 16 May 2009 15:04:38 -0500
    Subject: Re: trouble starting tomcat: "error 0" on Windows 64bit
    From: will@serensoft.com
    To: users@tomcat.apache.org
    On Sat, May 16, 2009 at 9:15 AM, Martin Gainty wrote:
    Will-

    uninstall current java
    uninstall current jre
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6747473
    We're not having any problem with "Internal Error 2318.
    C:\Windows\system32\java.exe"...?

    There are some interesting steps here but not sure how they apply to
    our situation. (Probably just me being dense, of course.)

    We can't use 1.6 -- the system we're installing is only confirmed to
    work on Java v1.5

    reinstall 64bit JDK which matches the exact version JRE you just installed
    http://java.sun.com/javase/downloads/index.jsp
    We've got the JDK and JRE from the same installer
    (jdk-1_5_0_18-windows-amd64.exe) so in theory they should be
    compatible, no?

    Date: Sat, 16 May 2009 00:17:39 -0500
    Subject: trouble starting tomcat: "error 0" on Windows 64bit
    From: will@serensoft.com
    To: users@tomcat.apache.org

    We're having a heck of a time getting tomcat running on windows server
    2003 enterprise x64 -- it barely gets started, and instantly quits. We
    installed java from jdk-1_5_0_18-windows-amd64.exe which seems to be
    the only 64-bit version available? Our processor is intel, tho... Is
    there an intel-not-amd version we missed?


    All we get is "error 0x0"...?

    This is on Windows Server 2003 R2 Enterprise x64 (SP2) -- Yes, this is
    a 64-bit machine

    Tried tomcat from both apache-tomcat-5.5.27.exe installer and from
    straight ZIP

    Java is 1.5.0_18

    Java has no spaces in its path: C:\Java\jdk1.5.0_18 (from
    jdk-1_5_0_18-windows-amd64.exe installer)

    No port conflicts (we're asking for port 80 instead of 8080) according
    to netstat -an


    yes, we're listening on port 80 instead of 8080 (via server.xml);
    Tomcat has no spaces in its path: C:\Tomcat55

    Executing "tomcat5.exe" from the command line shows only a blank line,
    then the command prompt pops up again (no text-to-console logged).

    Executing "startup.bat" shows
    Using CATALINA_BASE: C:\Tomcat55
    Using CATALINA_HOME: C:\Tomcat55
    Using CATALINA_TMPDIR: C:\Tomcat55\temp
    Using JRE_HOME: C:\Java\jdk1.5.0_18

    We've tried running it as a service (setting it up via 'service.bat'),
    too:

    The start>admin>componentServices>event viewer shows only:
    """
    The Apache Tomcat service terminated with service-specific error 0 (0x0).

    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    """

    C:\Tomcat55\logs>type jakarta_service_20090515.log
    [2009-05-15 15:03:59] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:03:59] [info] Service sakai name Apache Tomcat sakai
    [2009-05-15 15:04:00] [info] Service sakai installed
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:04:00] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:04:00] [info] Updating service...
    [2009-05-15 15:04:00] [info] Service sakai updated
    [2009-05-15 15:04:00] [info] Update service finished.
    [2009-05-15 15:04:00] [info] Procrun finished.
    [2009-05-15 15:05:19] [info] Procrun (2.0.4.0) started
    [2009-05-15 15:05:19] [info] Running Service...
    [2009-05-15 15:05:19] [info] Starting service...
    [2009-05-15 15:05:19] [174 javajni.c] [error] %1 is not a valid Win32
    application.
    [2009-05-15 15:05:19] [994 prunsrv.c] [error] Failed creating java
    C:\Java\jdk1.5.0_18\jre\bin\server\jvm.dll
    [2009-05-15 15:05:19] [1269 prunsrv.c] [error] ServiceStart returned 1
    [2009-05-15 15:05:19] [info] Run service finished.
    [2009-05-15 15:05:19] [info] Procrun finished.

    Both stderr and stdout logs are empty.

    We did find a thread online that recommended "copy the file
    msvcr71.dll from the bin dir of your java installation, to the bin dir
    of the tomcat installation." Of course, we don't have a msvcr71 (tho
    we did find a msvcrt.dll which didn't do the trick.)

    Any pointers would be great!


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
    ________________________________
    Hotmail® goes with you. Get it on your BlackBerry or iPhone.


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
    For additional commands, e-mail: users-help@tomcat.apache.org
    _________________________________________________________________
    Insert movie times and more without leaving Hotmail®.
    http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009
    _________________________________________________________________
    Hotmail® has a new way to see what's up with your friends.
    http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009


    --
    will trillich
    "Our only real economic security lies in our power to meet human
    needs." -- S.Covey, the 8th Habit

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriestomcat
postedMay 16, '09 at 5:18a
activeMay 17, '09 at 12:36a
posts11
users6
websitetomcat.apache.org
irc#tomcat

People

Translate

site design / logo © 2021 Grokbase