Re: JDBC and Pool
I would probably use something like PoolMan, http://poolman.sourceforge.net. Once configured, getting a pooled connection is easy - see EXAMPLE 2 in section 3.0 Usage at http://www.codestudio.com/PoolMan/UserGuide.html. Cheers, Matt - Original Message - From: Enrique Lopez To: Lista de distribución del tomcat Sent: Thursday, July 12, 2001 11:07 AM Subject: JDBC and Pool Hello I'm using tomcat 3.2.2, Apache and MySQL and I want to know what is the better solution to initialice a MySQL connection pool ? Best regards Enrique López
Re: Tomcat + VxWorks (RTOS)
VxWorks - are you insane? ;-) VxWorks supports Java these days doesn't it? If so could you not simply run Tomcat as a task and use it as the web server as well as the servlet container?. I know it's not the most efficient setup but it's probably a *lot* easier. You could change Tomcat's port to 80 to make it respond on the standard HTTP port. Cheers, Matt - Original Message - From: Sunil Chandurkar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 3:56 PM Subject: Tomcat + VxWorks (RTOS) hi all Do anybody knows about how to run Tomcat on Vxworks (Real Time Opearting System)? First of tell me, do anybody know any webserver runs on VxWorks? I know two web servers Wind Web Server and Go Ahead Web Server, but these webserver not supporting servlets and I want a Web Server which supports Servlets? can you please send me links to those webservers those can be running on VxWorks OS and also supports Servlet. Most of the RTOS Web server supports CGI but I want to use Servlet. Thanx in Advance /Sunil Sunil Chandurkar Software Engineer Kuokoa Networks Inc. [EMAIL PROTECTED] _ Get LifeTime Free email Visit --- http://www.nagpurcity.net
Re: Mr. Matt - Re: Tomcat + VxWorks (RTOS)
Sorry, no idea. I used VxWorks a few years ago but never to run Java. In fact, I don't think the version I used even supported Java. Perhaps you should try to find a Java on VxWorks web page or something. That will probably tell you how to start a Java application. After that it may be as simple as looking at what Tomcat's startup scripts do and putting those inside a script suitable for VxWorks. Hope this helps, Matt - Original Message - From: Sunil Chandurkar [EMAIL PROTECTED] To: Matt Goodall [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 4:43 PM Subject: Mr. Matt - Re: Tomcat + VxWorks (RTOS) Hope you know you can any task like tomcat on vxworks provided it should be .out file .. can you please tell me how to run tomcat as a task on vxworks.. /sunil --- Matt Goodall [EMAIL PROTECTED] wrote: VxWorks - are you insane? ;-) VxWorks supports Java these days doesn't it? If so could you not simply run Tomcat as a task and use it as the web server as well as the servlet container?. I know it's not the most efficient setup but it's probably a *lot* easier. You could change Tomcat's port to 80 to make it respond on the standard HTTP port. Cheers, Matt - Original Message - From: Sunil Chandurkar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 12, 2001 3:56 PM Subject: Tomcat + VxWorks (RTOS) hi all Do anybody knows about how to run Tomcat on Vxworks (Real Time Opearting System)? First of tell me, do anybody know any webserver runs on VxWorks? I know two web servers Wind Web Server and Go Ahead Web Server, but these webserver not supporting servlets and I want a Web Server which supports Servlets? can you please send me links to those webservers those can be running on VxWorks OS and also supports Servlet. Most of the RTOS Web server supports CGI but I want to use Servlet. Thanx in Advance /Sunil Sunil Chandurkar Software Engineer Kuokoa Networks Inc. [EMAIL PROTECTED] _ Get LifeTime Free email Visit --- http://www.nagpurcity.net _ Get LifeTime Free email Visit --- http://www.nagpurcity.net
Re: Precompile JSP with Tomcat
Use the jspc utiltity. It's in tomcat's bin directory. Cheers, Matt - Original Message - From: James Bailey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 12:16 PM Subject: Precompile JSP with Tomcat Hi All, I'm sure this has been ask before but can some one help me. I am working on a webapp which will have many JSP page, when the server is rebooted I don't want the first visitor to each page to have to wait for them to be compiled. Is there any way round this? Many thanks James Bailey School of DEC Bournemouth University
Re: . Reloading JSP's
I think this is a known bug on win32 only. I can't remember where I read about it though, probably this mailing list. Try a nightly build instead. Cheers, Matt - Original Message - From: Michael Wentzel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 11, 2001 2:25 PM Subject: RE: . Reloading JSP's I am using tomcat 4.0 beta 5 on win NT and the problem is that when i make a change to a jsp page tomcat doesnt pick it up, i have tried to refresh the browser, shut down the start up again and nothing happens. The only thing i can do is resave the JSP as another name, which is really annoying. Any ideas on the situation?? Is your context set to be reloadable? --- Michael Wentzel Software Developer Software As We Think - http://www.aswethink.com
Re: error 404 not found
You probably haven't told the isapi plugin what URLs to match. You need to put them in (I think) $TOMCAT_HOME/conf/uriworkermap.properties. Sorry, can't remember more than that but it is documented in the Tomcat-IIS HOWTO. Cheers, Matt - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 09, 2001 5:08 PM Subject: error 404 not found hi all, i'm running Win2K using IIS (i can't use apache). tomcat is setup correctly. i can use tomcat's server to go to a jsp page, but if i go through IIS i get a 404 no found error. for example, i can go to localhost:8080/examples/myexample.jsp but i CAN'T go to localhost/examples/myexample.jsp does anyone have any ideas why i can't go through IIS? my green arrow is 'up', my logs are running, i have a jakarta virtual directory (with execute access), my registry appears ok, my tomcat_home java_home env vars are ok. The Tomcat 3.2.1 shell window shows the following message: 2001-07-09 09:00:58 - Ctx( ): 404 R( + /jakarta/isapi_redirect.dll = + null) null The server.log of the IIS 5 has the following entries: #Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs-version cs-host cs(User-Agent) 2001-07-09 09:00:58 127.0.0.1 - W3SVC1 GALILEE 127.0.0.1 80 GET /jakarta/isapi_redirect.dll - 200 HTTP/1.1 localhost Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0) and the isapi.log is: [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /jakarta/isapi_redirect.dll [jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker [jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory [jk_isapi_plugin.c (517)]: HttpExtensionProc started [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12 [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [jk_connect.c (108)]: Into jk_open_socket [jk_connect.c (115)]: jk_open_socket, try to connect socket = 2020 [jk_connect.c (124)]: jk_open_socket, after connect ret = 0 [jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on [jk_connect.c (140)]: jk_open_socket, return, sd = 2020 [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2020 [jk_ajp12_worker.c (357)]: Into ajpv12_handle_request [jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start sequence [jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers [jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating mark [jk_ajp12_worker.c (472)]: ajpv12_handle_request done [jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request [jk_ajp12_worker.c (488)]: Into ajpv12_handle_response [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Status: 404 Not Found [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Status=404 Not Found [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Type: text/html [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Content-Type=text/html [jk_ajp12_worker.c (542)]: ajpv12_handle_response, allocating header arrays [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Content-Length: 201 [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Content-Length=201 [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) [jk_ajp12_worker.c (530)]: ajpv12_handle_response, read Servlet-Engine=Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.) [jk_ajp12_worker.c (502)]: ajpv12_handle_response, read [jk_ajp12_worker.c (504)]: ajpv12_handle_response, headers are done [jk_ajp12_worker.c (563)]: ajpv12_handle_response, starting response [jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response [jk_ajp12_worker.c (574)]: ajpv12_handle_response, reading response body [jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write [jk_ajp12_worker.c (590)]: ajpv12_handle_response, response body is done [jk_ajp12_worker.c (602)]: ajpv12_handle_response done [jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done Have you got an idea what the problem could be and do you need more Thanks any help you can offer, I'm stuck! Herv..
Re: Jakarta NT service
See http://jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html. Having said that JavaService, from http://www.alexandriasc.com/software/JavaService/index.html, is really easy to use. Cheers, Matt. - Original Message - From: Wu, Michael [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 8:48 AM Subject: Jakarta NT service Hi, I recently installed tomcat3.2 on a windows NT machine. But the NT service always got stopped everytime I logged in and then logged out. Could anyone help? Regards Michael