Re: jk_nt_service and NT error 2140
Hi Juergen, I have no idea how to solve it. If you type net helpmsg 2140 in a command window it will appear an explanation about the error (I have type it and it indicates that's an internal NT error). [EMAIL PROTECTED] wrote: Hi, I'm trying to start tomcat as a Windows NT service and get an error when I try to start the service. The steps, I did: - install tomcat 3.3m4 to x:\jakarta-tomcat-3.3m4 (drive x: is my harddisk) - install jk_nt_service.exe in the x:\jakarta-tomcat-3.3m4\bin directory - edit the the file x:\jakarta-tomcat-3.3m4\conf\jk\wrapper.properties and change TOMCAT_HOME and JAVA_HOME: wrapper.tomcat_home=x:\jakarta-tomcat-3.3-m4 (i also triedtomcat-3.3-m3) wrapper.java_home=x:\jdk1.2.2 (i also tried jdk 1.3.0) - install the service with: jk_nt_service.exe -I tomcat-3.3m4 x:\jakarta-tomcat-3.3-m4\conf\jk\wrapper.properties (NT says ok) - TRY TO start the service in the control panel/services dialog: --- NT says: Error 2140 Did I forgot something or did I misunderstood something or is there a real problem with jk_nt_service.exe? Thanks in advance, juergen
Re: Tomcat as NT service.. problem.
I had the same problem and Randy Layman send me the text bellow, try it, it worked for me Generally this is due to some form of Path error causing the service not to be able to start. There are three things to check: 1. The path to wrapper.properties is correct (its in the registry under HKEY_LOCAL_MACHINE\Services\CurrentControlSet\Service Name. 2. The values of TOMCAT_HOME or JAVA_HOME are incorrect 3. You have installed Tomcat or Java into a directory that has a space in its name. Tomeu Bennàssar Simon Mitchell bpc wrote: I had the same problem. In my case it was fixed by setting wrapper.tomcat_home, java_home adding the jar files for tomcat and oracle in wrapper.properties wrapper.tomcat_home=c:\jakarta\jakarta-tomcat-3.2.2 wrapper.java_home=c:\jdk1.3 wrapper.class_path=$(wrapper.tomcat_home)\classes wrapper.class_path=$(wrapper.tomcat_home)\lib\japx.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\classes12.jar wrapper.class_path=$(wrapper.tomcat_home)\lib\nls_charset12.jar Good Luck. Regards, Simon Gregory Guthrie wrote: I tried to setup Tomcat to start as an NT service (Win2k-Pro), as per: Working with the Jakarta NT Service http://jakarta.apache.org/tomcat/tomcat-3.2-doc/NT-Service-howto.html And it seems OK: E:\Net\Apache\Toolsjk_nt_service -i Tomcat e:\Net\Apache\Tomcat\conf\wrapper.properties Asked (and given) winsock 1.1 The service named Tomcat was created. Now adding registry entries Registry values were added If you have already updated wrapper.properties you may start the Tomcat service by executing net start Tomcat from the command prompt But I get: E:\Net\Apache\Toolsnet start Tomcat The Tomcat service is starting. The Tomcat service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. Apache runs fine as a service. :-) Tomcat runs fine by a DOS startup. And they run fine together via mod_jk.dll. I did edit the wrappers.properties file to point to JDK and Tomcat; seems simple enough. Any help appreciated; I don't know where to look for hints, there are no log files or errors generated. Gregory Guthrie [EMAIL PROTECTED] (641)472-1125Fax: -1103
Re: OT: Mucha gente habla español,era: Re: una pregunta
i és de Mallorca (exactament de La Vila) Antoni Reus wrote: Pues yo tambien. Saludos -- Antoni Reus - Original Message - From: Julio Cesar Perez Jerez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 3:42 PM Subject: RE: una pregunta Mucha gente habla español, INCREIBLE ... Saludos a Todos !!! -Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 8:30 AM To: '[EMAIL PROTECTED]' Subject: RE: una pregunta Si muchos mas de los que parece.. :) Si quereis hablar de Java en Español.. http://es.egroups.com/group/JugAnd http://es.egroups.com/group/JavaSpain Saludos , Ignacio J. Ortega -Mensaje original- De: alex chang [mailto:[EMAIL PROTECTED]] Enviado el: miércoles 27 de junio de 2001 15:23 Para: [EMAIL PROTECTED] Asunto: Re: una pregunta si yo tambien hablo espanol. Naci en Ecuador. -alex --- Martin Mauri [EMAIL PROTECTED] wrote: Bueno, increible la cantidad de personas que hablan español en la lista, de haber sabido nunca hubiera escrito en ingles. BTW, I also need to know something about that RFC cause I've been facing some problems with IE5. regards. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Tomcat as a Service in Win 2k
Hi: I have installed Tomcat 3.2.2 on a Win 2k server and I have tried to configure it as a service but an error comes out when I start the service. The error is: The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. But when I execute NET HELPMSG 3534 no information is given about the error. Has anyone resolved this error? If you have, please tell me how did you do it? Best regards Tomeu Bennàssar
Re: Tomcat as a Service in Win 2k
Thanks Randy, you were right. My problem was that the name of the directory where I installed Tomcat had spaces in its name. Tomeu Bennàssar Randy Layman wrote: Generally this is due to some form of Path error causing the service not to be able to start. There are three things to check: 1. The path to wrapper.properties is correct (its in the registry under HKEY_LOCAL_MACHINE\Services\CurrentControlSet\Service Name. 2. The values of TOMCAT_HOME or JAVA_HOME are incorrect 3. You have installed Tomcat or Java into a directory that has a space in its name. Randy -Original Message- From: Tomeu Bennàssar [mailto:[EMAIL PROTECTED]] Sent: Monday, June 25, 2001 6:37 AM To: [EMAIL PROTECTED] Subject: Tomcat as a Service in Win 2k Hi: I have installed Tomcat 3.2.2 on a Win 2k server and I have tried to configure it as a service but an error comes out when I start the service. The error is: The Jakarta service is starting. The Jakarta service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534. But when I execute NET HELPMSG 3534 no information is given about the error. Has anyone resolved this error? If you have, please tell me how did you do it? Best regards Tomeu Bennàssar
Problem with mod_jk
Hi: I'm trying to connect Apache 1.3.4 with Tomcat 3.2.2 using mod_jk but I can't do it. I have configured the mod_jk as it is explanied in mod_jk-howto but when I try to restart the Apache server the next error comes out: Syntax error on line 8 of /usr/local/jakarta-tomcat-3.2.2/conf/mod_jk.conf-auto: Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration on line 8 of mod_jk.conf-auto file I have the next: LoadModule jk_module libexec/mod_jk.so I don't know how to solve it. Could anyone help me, please? Thanks Tomeu
How to connect Apache and Tomcat?
Hi everybody: I'm new in Apache and I'm trying to integrate Tomcat as an in-process servlet container of Apache but I can't. I have a SUN ULTRA 1 running solaris 5.7, Apache 1.3.4 and Tomcat 3.2.2. I'm following the Minimalistic User's Guide of Apache, and I'm trying to compile the Jserv module (mod_jserv) but it doesn't work. When I execute the build command apxs: apxs -c -o mod_jserv.so *.c I get the next error: apxs: Error: Sorry no shared object support for Apache apxs: Error: available under your platform. Make sure apxs: Error: the apache module mod_so is compiled into apxs: Error: your server binary /usr/local/apache/bin/httpd I know that this error is not a compilation one, but I don't know to correct it. Could anyone help me, please? PD: The Apache that I´m running on my system is one that I have found compiled on the web, because after weeks of works i was unable to compile it. Could the fact that I´m using an Apache compiled by someone else be part of the problem?