tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "joon yoo" <jyoo1...@gmail.com>
Subject Re: Problem with Tomcat 5.5.15, [173 javajni.c] [error] %1 is not a valid Win32 application
Date Sun, 24 Sep 2006 21:20:36 GMT
Mr. Lau,

Thank you very much for this batch file, it was a great help in
getting tomcat 5.5.17 running on my 64bit win2k3 install.

May I ask if you would possibly add some java memory management
options to the batch file so that it may take advantage of the 64bit
jvm?

With great appreciation and gratitude,

joon yoo


On 4/6/06, Juan Jose Garcia Lau <> wrote:
> No Matt I didn't get answer, but I think the problem it's the program that run as a service:
tomcat5w.exe.  It runs as 32bit, so when this tries to start the tomcat at 64 bit gives the
error.
>
>
>
> But I resolve temporally this way:
>
>
>
> I make this bat file, just fix the path for your machine.
>
>
>
> ---------------
>
>
>
> if "%OS%" == "Windows_NT" setlocal
>
>
>
> SET JAVA_HOME=d:\jdk1.5.0_06
>
> SET CATALINA_HOME=d:\Tomcat_5.5.15
>
>
>
> start "Tomcat 5.5.15" "%JAVA_HOME%\bin\java" -classpath "%JAVA_HOME%\lib\tools.jar;%CATALINA_HOME%\bin\bootstrap.jar"
-Dcatalina.home="%CATALINA_HOME%" -Dcatalina.base="%CATALINA_HOME%" -Djava.endorsed.dirs="%CATALINA_HOME%\common\endorsed"
-Djava.io.tmpdir="%CATALINA_HOME%\temp" -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=%CATALINA_HOME%\conf\logging.properties -Djava.security.manager
-Djava.security.policy=="%CATALINA_HOME%\conf\catalina.policy" org.apache.catalina.startup.Bootstrap
start
>
>
>
> ---------------
>
>
>
> The problem, it's that tomcat is not running as a service and you need to be logged with
an account.
>
>
>
> You may also find useful to download this tcnative-1.dll for AMD win64 at
>
> http://tomcat.heanet.ie/native/1.1.2/binaries/win64/amd64/
>
>
>
> Hope this help you.
>
>
>
> If you find how to run Tomcat as a service in win64 don't forget to tell me.
>
>
>
> Good luck and Regards,
>
>
>
> Juan José García Lau
> Información y Tecnología
>
> ________________________________
>
> From: Matt Hill [mailto:mhill@serus.com]
> Sent: Miércoles, 05 de Abril de 2006 09:11 p.m.
> To: Juan Jose Garcia Lau
> Subject: Problem with Tomcat 5.5.15, [173 javajni.c] [error] %1 is not a valid Win32
application
>
>
>
> Hi Juan,
>
>
>
> Did you ever get an answer to the problem below? We are having the same issue:
>
>
>
> Hi, I have installed successfully tomcat 5.5.15 for development, but now
> I need it to install in a production server, but the Apache Tomcat
> service doesn't start.  I think the problem it's the machine because it
> an AMD Opteron 64Bit with Windows 2003.
>
> Anybody knows how can I resolve the issue?
>
> Thanks in advance.
>
> Juan Garcia
>
>
> This is the log:
>
> [2006-02-27 11:37:36] [info] Service Tomcat5 name Apache Tomcat
> [2006-02-27 11:37:37] [info] Service Tomcat5 installed
> [2006-02-27 11:37:37] [info] Procrun finished.
> [2006-02-27 11:37:37] [info] Updating service...
> [2006-02-27 11:37:38] [info] Service Tomcat5 updated
> [2006-02-27 11:37:38] [info] Update service finished.
> [2006-02-27 11:37:38] [info] Procrun finished.
> [2006-02-27 11:37:39] [info] Updating service...
> [2006-02-27 11:37:40] [info] Service Tomcat5 updated
> [2006-02-27 11:37:40] [info] Update service finished.
> [2006-02-27 11:37:40] [info] Procrun finished.
> [2006-02-27 11:37:41] [info] Updating service...
> [2006-02-27 11:37:41] [info] Service Tomcat5 updated
> [2006-02-27 11:37:41] [info] Update service finished.
> [2006-02-27 11:37:41] [info] Procrun finished.
> [2006-02-27 11:37:46] [info] Running Service...
> [2006-02-27 11:37:46] [info] Starting service...
> [2006-02-27 11:37:46] [173  javajni.c] [error] %1 is not a valid Win32
> application.
> [2006-02-27 11:37:46] [924  prunsrv.c] [error] Failed creating java
> D:\jdk1.5.0_06\jre\bin\server\jvm.dll
> [2006-02-27 11:37:47] [1179 prunsrv.c] [error] ServiceStart returned 1
> [2006-02-27 11:37:47] [info] Run service finished.
> [2006-02-27 11:37:47] [info] Procrun finished.
>
>
>
>
>
> Thanks,
>
> Matt Hill
>
>
>
>
> This message contains information from Banco Cuscatlan Guatemala, which may be confidential
> and privileged.  If you are not an intended recipient, please refrain from any
> disclosure, copying, distribution or use of this information and note that
> such actions are prohibited.  If you have received this transmission in error,
> please disregard it.
>
>
>

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


Mime
View raw message