Tomcat Does not WORK!?
Hello everyone: I am running Tomcat 3.2.2 on a win2k machine with IIS. I have not tried operating tomcat on my machine for a couple of weeks now...and today when I try and start it on my machine, I get the following messageThe commands I gave was startup and tomcat start...both yielding the same! Can some one suggest what I messed up in my machinecan it be because of a software I installed? Thanks Prashanth C:\jakarta-tomcat\binstartup To install a service: -install service_name jvm_library (jvm_option)* -start start_class [-method start_method] [-params (start_parameter)+] [-stop start_class [-method stop_method] [-params (stop_parameter)+]] [-out out_log_file] [-err err_log_file] [-current current_dir] [-path extra_path] To uninstall a service: -uninstall service_name service_name: The name of the service. jvm_library:The location of the JVM DLL under which to run the service. jvm_option: An option to use when starting the JVM, such as: -Djava.class.path=c:\classes or -Xmx128m. start_class:The class to load when starting the service. start_method: The method to call in the start_class. default: main start_parameter:A parameter to pass in to the start_method. stop_class: The class to load when stopping the service. stop_method:The method to call in the stop_class. default: main stop_parameter: A parameter to pass in to the stop_method. out_log_file: A file to redirect System.out into. err_log_file: A file to redirect System.err into. current_dir:The current working directory for the service. Relative paths will be relative to this directory. extra_path: Path additions, for native DLLs etc. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
JVM/JDK1.3/TOMCAT problems with running as a service
Hello everyone: I am facing problems running tomcat as a service using jdk1.3.1 on windows 2000. I have read that there was a bug in JVM of jdk1.3 which was fixed in jdk1.3.1. Can anybody tell me how I can run tomcat as a service using jdk1.3.1. I am using tomcat 3.2.2 on win 2k machine. Many thanks Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Problems Running tomcat as a service
Hello all: I am trying to get tomcat to run as a service on a win2k box but am having problems. I follow the manual for installing the service and create a service successfully. jk_nt_service -i Jakarta c:\jakarta-tomcat\conf\wrapper.properties I get the response: Asked (and given) winsock 1.1 The service named Jakarta was created. Now adding registry entries Registry values were added If you have already updated wrapper.properties you may start the Jakarta service by exec uting net start Jakarta from the command prompt but when I do a net start Jakarta I get the following: 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. C:\jakarta-tomcat\confnet helpmsg 3534 The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. Why is this happening? I tried starting the service from the services applet too but it gives the same error. I know a lot of you must have answered this kinda question beforecan you please do it again? Thanks a bunch Regds Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
RE: Problems Running tomcat as a service
Just to add.I am running IIS 5.0 and jdk 1.3.1...the problem is frustratingand it has been persisting for quite some time nowplease help with this. Thanks Hello all: I am trying to get tomcat to run as a service on a win2k box but am having problems. I follow the manual for installing the service and create a service successfully. jk_nt_service -i Jakarta c:\jakarta-tomcat\conf\wrapper.properties I get the response: Asked (and given) winsock 1.1 The service named Jakarta was created. Now adding registry entries Registry values were added If you have already updated wrapper.properties you may start the Jakarta service by exec uting net start Jakarta from the command prompt but when I do a net start Jakarta I get the following: 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. C:\jakarta-tomcat\confnet helpmsg 3534 The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. Why is this happening? I tried starting the service from the services applet too but it gives the same error. I know a lot of you must have answered this kinda question beforecan you please do it again? Thanks a bunch Regds Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
RE: Problems Running tomcat as a service
Hey everyone: I solved the problem I was facing. real sorry to be so much trouble. The problem was with the wrapper.properties file as expected. There is an instance of parser.jar and jaxp.jar in the file which i happened to remove from the lib directory and replace them with xalan.jar and xerces.jar. I replaced the same in the file and bingo! it starts working Thanks again Prashanth -Original Message- From: Vara Prashanth [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 1:31 PM To: [EMAIL PROTECTED] Subject: RE: Problems Running tomcat as a service Just to add.I am running IIS 5.0 and jdk 1.3.1...the problem is frustratingand it has been persisting for quite some time nowplease help with this. Thanks Hello all: I am trying to get tomcat to run as a service on a win2k box but am having problems. I follow the manual for installing the service and create a service successfully. jk_nt_service -i Jakarta c:\jakarta-tomcat\conf\wrapper.properties I get the response: Asked (and given) winsock 1.1 The service named Jakarta was created. Now adding registry entries Registry values were added If you have already updated wrapper.properties you may start the Jakarta service by exec uting net start Jakarta from the command prompt but when I do a net start Jakarta I get the following: 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. C:\jakarta-tomcat\confnet helpmsg 3534 The service did not report an error. EXPLANATION The service did not report an error. ACTION Try the task later. If the problem persists, contact your network administrator. Why is this happening? I tried starting the service from the services applet too but it gives the same error. I know a lot of you must have answered this kinda question beforecan you please do it again? Thanks a bunch Regds Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
RE: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200
Hi I am not 100% sure i what I am going to say will be the right approach or notbut here's what happened to me when I was trying to set up tomcat on my machine. The manual for setting up tomcat says that we should make registry entries for the the isapi redirector and the same in Internet service manager console. When I did that I could not invoke the dll(same as you). I was then told by someone that we dont need to have the redirector in the ISAPI filters of the Internet service manager console. So just try and removing this entry and test it out. This is my first posting to someone else's problem...i just hope I was right! All the best Prashanth -Original Message- From: Johan Hellstrom [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 11:49 AM To: [EMAIL PROTECTED] Subject: IIS and Tomcat 3.2.3 w isapi_redirect.dll, RC 200 Dear Sirs, Am trying to configure IIS under Windows 2000 Server to use TomCat 3.2.3 as a servlet engine. Since it doesn't work very well, after reading and following the advice in you your howto file, I would appreciate if you had any input in the matter. Everything is registered properly. The isapi.log file is created, the redictor green up arrow is there and the PWS log file entries show up nicely. Since I get a 200 error in this log file (as can be seen below) I took a second look at the /jakarta virtual directory, which has all proper authorities applied (actually *all* permissions ;-)). Can you see anything weird from the following output? Would be grateful for any input. Regards Johan Hellstrom From the Tomcat CMD Window: Starting tomcat. Check logs/tomcat.log for error messages 2001-10-03 10:00:47 - ContextManager: Adding context Ctx( ) 2001-10-03 10:00:47 - ContextManager: Adding context Ctx( /test ) 2001-10-03 10:00:48 - PoolTcpConnector: Starting HttpConnectionHandler on 8080 2001-10-03 10:00:48 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007 2001-10-03 10:01:09 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null 2001-10-03 10:06:37 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll + null) null From the PWS log: 2001-10-03 08:51:25 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirect.dll - 200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) From the isapi.log: [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, NULL parameters _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Tomcat as a service
Hello all: My third posting...somebody please help! I am using tomcat 3.2.2 but dont have the jk_nt_service file with me. I tried downloading it from the apache site but it redirects me to the tomcat 3.2.3 binaries. Can somebody please tell me if I can use the exe from another version of tomcat? if not can somebody send me the exe file? thanks a bunch Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
RE: Tomcat 3.2.2 crashes with JDBC
Hello all: This is a follow up to the problem I was having with MS access driver and Java. I just migrated my database from Access to MS SQL 2000 and stress tested the system. I am still getting an error which causes tomcat to crash. I dont quite know how to analyse the error file language! so I am attaching a copy of the error file tomcat produces before quitting. Can someone take a look at it and please tell me if it is a problem with the driver...or a problem with my crappy code? Thanks a lot Prashanth -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 27, 2001 7:01 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 3.2.2 crashes with JDBC Its also considered experimental by Sun. (They mention this in one of the closed bug reports about it - basically they know that the bridge isn't thread safe and they don't want to fix it). Randy -Original Message- From: Artigas, Ricardo Y. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001 9:02 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat 3.2.2 crashes with JDBC Are you using the JDBC-ODBC bridge packaged with jdk? If so, it may be the cause of the problem. Try using another driver (type 3 or 4?). I've learned that the JDBC-ODBC bridge is not suggested for production use. HTH. :~) Ricky Y. Artigas Analyst/Programmer / Database Administrator Information Technology Division Easycall Communications Phils., Inc. --- IMPORTANT NOTICE: This message (and any attachment hereto) may contain privileged and/or confidential information specific to EasyCall. If you are not the intended addressee indicated in this message, you may not copy or disseminate this message (or any attachment hereto) to anyone. Instead, please destroy this message (and any attachment hereto), and kindly notify the sender by reply email. Any information in this message (and any attachment thereto) that do not relate to the official business of EasyCall shall be understood as neither given nor endorsed by the company. -Original Message- From: Vara Prashanth [SMTP:[EMAIL PROTECTED]] Sent: Thursday, September 27, 2001 7:22 AM To: [EMAIL PROTECTED] Subject:Tomcat 3.2.2 crashes with JDBC Hello all: I am facing a problem when I use JDBC to query a microsoft access database on a win2K advanced server! I was testing the system for stability using JMeter which essentially passes requests to a servlet. The servlet in turn queries an access database and responds. When the number of threads increases I get an error while closing the DB connection and Tomcat crashes producing a log file. I will be happy to send out the log file if required. Can you please help me solve the problem? Is this a problem with the access driver or with access or with my servlet or tomcat(although very unlikely!) Thanks in advance Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com hs_err_pid2132.log
RE: Tomcat 3.2.2 crashes with JDBC
\system32\OLEAUT32.DLL 0x773B - 0x773DE000 C:\WINNT\System32\ACTIVEDS.DLL 0x7738 - 0x773A2000 C:\WINNT\System32\ADSLDPC.DLL 0x7783 - 0x7783E000 C:\WINNT\System32\RTUTILS.DLL 0x7788 - 0x7790D000 C:\WINNT\System32\SETUPAPI.DLL 0x77C1 - 0x77C6D000 C:\WINNT\System32\USERENV.DLL 0x774E - 0x77512000 C:\WINNT\System32\RASAPI32.DLL 0x774C - 0x774D1000 C:\WINNT\System32\RASMAN.DLL 0x7753 - 0x77552000 C:\WINNT\System32\TAPI32.DLL 0x77B5 - 0x77BD9000 C:\WINNT\system32\COMCTL32.DLL 0x77C7 - 0x77CBA000 C:\WINNT\system32\SHLWAPI.DLL 0x7736 - 0x77379000 C:\WINNT\System32\DHCPCSVC.DLL 0x775A - 0x77625000 C:\WINNT\System32\CLBCATQ.DLL 0x777E - 0x777E8000 C:\WINNT\System32\winrnr.dll 0x6D29 - 0x6D29A000 C:\jdk1.3.1\jre\bin\JdbcOdbc.dll 0x1F7F - 0x1F825000 C:\WINNT\System32\ODBC32.dll 0x76B3 - 0x76B6E000 C:\WINNT\system32\comdlg32.dll 0x782F - 0x78532000 C:\WINNT\system32\SHELL32.DLL 0x1F8E - 0x1F8F6000 C:\WINNT\System32\odbcint.dll 0x7782 - 0x77827000 C:\WINNT\system32\VERSION.dll 0x759B - 0x759B6000 C:\WINNT\system32\LZ32.DLL 0x1F84 - 0x1F85A000 C:\WINNT\System32\odbccp32.dll 0x782D - 0x782EE000 C:\WINNT\system32\msv1_0.dll 0x4116 - 0x411D3000 C:\WINNT\System32\SQLSRV32.dll 0x4109 - 0x410BD000 C:\WINNT\System32\SQLUNIRL.DLL 0x7780 - 0x7781D000 C:\WINNT\System32\WINSPOOL.DRV 0x769A - 0x769A7000 C:\WINNT\System32\NDDEAPI.DLL 0x0AA1 - 0x0AA26000 C:\WINNT\System32\sqlsrv32.rll 0x74CB - 0x74CC7000 C:\WINNT\System32\DBNETLIB.DLL 0x7550 - 0x75504000 C:\WINNT\System32\security.dll 0x7744 - 0x774B5000 C:\WINNT\System32\crypt32.dll 0x7743 - 0x7744 C:\WINNT\System32\MSASN1.DLL 0x77BF - 0x77C01000 C:\WINNT\System32\ntdsapi.dll 0x74CD - 0x74CD7000 C:\WINNT\System32\DBmsLPCn.dll 0x7792 - 0x77943000 C:\WINNT\system32\imagehlp.dll 0x72A0 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll 0x690A - 0x690AB000 C:\WINNT\System32\PSAPI.DLL -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 27, 2001 7:01 AM To: [EMAIL PROTECTED] Subject: RE: Tomcat 3.2.2 crashes with JDBC Its also considered experimental by Sun. (They mention this in one of the closed bug reports about it - basically they know that the bridge isn't thread safe and they don't want to fix it). Randy -Original Message- From: Artigas, Ricardo Y. [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 26, 2001 9:02 PM To: [EMAIL PROTECTED] Subject: RE: Tomcat 3.2.2 crashes with JDBC Are you using the JDBC-ODBC bridge packaged with jdk? If so, it may be the cause of the problem. Try using another driver (type 3 or 4?). I've learned that the JDBC-ODBC bridge is not suggested for production use. HTH. :~) Ricky Y. Artigas Analyst/Programmer / Database Administrator Information Technology Division Easycall Communications Phils., Inc. --- IMPORTANT NOTICE: This message (and any attachment hereto) may contain privileged and/or confidential information specific to EasyCall. If you are not the intended addressee indicated in this message, you may not copy or disseminate this message (or any attachment hereto) to anyone. Instead, please destroy this message (and any attachment hereto), and kindly notify the sender by reply email. Any information in this message (and any attachment thereto) that do not relate to the official business of EasyCall shall be understood as neither given nor endorsed by the company. -Original Message- From: Vara Prashanth [SMTP:[EMAIL PROTECTED]] Sent: Thursday, September 27, 2001 7:22 AM To: [EMAIL PROTECTED] Subject:Tomcat 3.2.2 crashes with JDBC Hello all: I am facing a problem when I use JDBC to query a microsoft access database on a win2K advanced server! I was testing the system for stability using JMeter which essentially passes requests to a servlet. The servlet in turn queries an access database and responds. When the number of threads increases I get an error while closing the DB connection and Tomcat crashes producing a log file. I will be happy to send out the log file if required. Can you please help me solve the problem? Is this a problem with the access driver or with access or with my servlet or tomcat(although very unlikely!) Thanks in advance Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _ Do You Yahoo!? Get your free @yahoo.com
Tomcat 3.2.2 crashes with JDBC
Hello all: I am facing a problem when I use JDBC to query a microsoft access database on a win2K advanced server! I was testing the system for stability using JMeter which essentially passes requests to a servlet. The servlet in turn queries an access database and responds. When the number of threads increases I get an error while closing the DB connection and Tomcat crashes producing a log file. I will be happy to send out the log file if required. Can you please help me solve the problem? Is this a problem with the access driver or with access or with my servlet or tomcat(although very unlikely!) Thanks in advance Prashanth _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com