Re: Attn developers of Tomcat and JK
What's your problem? have you found something better at the same cost (0$)? If it doesn't fit your needs, don't use it. --- Eric Sandusky [EMAIL PROTECTED] wrote: To the developers of Tomcat and JK: As I can sense that not one single person is willing to respond to this issue, I can only assume that this tomcat-user community is worthless. Not only have I submitted this issue back 6 months ago, but a similar post was made by the user A jie twice within the last week. If you are too ashamed that your software is not reliable enough to be installed in a production environment, at least have the decency of telling us that. When I have to deal with user session data being sent back to the wrong client, sessions getting lost, and numerous log errors stating that the request/response cannot be fulfilled, I can only come to one conclusion.. Tomcat and the JK/JK2 connector are not reliable. See below and tell me that those messages would not cause problems for the client. [Mon Feb 07 13:30:20 2005] [info] jk_open_socket::jk_connect.c (183): connect() failed errno = 61 [Mon Feb 07 13:30:20 2005] [info] ajp_connect_to_endpoint::jk_ajp_common.c (862): Failed connecting to tomcat. Tomcat is probably not started or is listening on the wrong host/port (127.0.0.1:8009). Failed errno = 61 [Mon Feb 07 13:30:20 2005] [info] ajp_send_request::jk_ajp_common.c (1186): Error connecting to the Tomcat process. [Mon Feb 07 13:30:20 2005] [info] ajp_service::jk_ajp_common.c (1665): Sending request to tomcat failed, recoverable operation attempt=2 [Mon Feb 07 13:30:20 2005] [error] ajp_service::jk_ajp_common.c (1673): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13w failed errno = 61 [Mon Feb 07 13:30:20 2005] [error] HttpExtensionProc::jk_isapi_plugin.c (937): service() failed If Tomcat + JK cannot process every request/response on a Windows server that is dual-xeon 3.0 Ghz processors with 4 GB of memory, then what machine would? And doesn't it seem strange how the JK2 project has been mysteriously abandoned? Thanks for going off in a seemingly better direction only to jump ship and leave everyone SOL. It makes me think that this whole Tomcat development effort is more of just a hobby and not something to be taken seriously. If anyone is willing to contact me on this issue, I would be more than happy to talk one-on-one. If you want to tell me that this is not the forum for ranting about Tomcat or JK, it should be. If you want to blackball me from this community, go ahead, I'm not getting any help from it as it is. I can only hope that this message reaches the people who supposedly support this software and lights a fire underneath them to improve it or tell us that it just doesn't work. Eric -Original Message- From: Eric Sandusky [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 11:40 AM To: Tomcat Users List Subject: ISAPI redirector warnings While running Tomcat 5 with IIS and JK2.. The Windows Application Logs often log several Warnings at the same point in time, see below for example. The problem is, these Warnings pile up in the Windows Event logs and force the Administrator to manually clear out the logs daily or weekly. I am not looking to simply suppress these messages, but find a solution to the actual problem. This issue seems to occur at random and things such as session confusion (user A sees user B's data) and other noticeable issues happen at or around the same time as these warnings. What is the reason for these log entries? How can I eliminate these log entries? Error: [jk_worker_ajp13.c (648)]: ajp13.service() Error forwarding ajp13:localhost:8009 1 0 Error: [jk_worker_ajp13.c (546)]: ajp13.service() ajpGetReply recoverable error 3 Error: [jk_handler_response.c (140)]: handler.response() Error sending response Error: [jk_service_iis.c (126)]: jk_ws_service_t::head, ServerSupportFunction failed Error: [jk_worker_ajp13.c (546)]: ajp13.service() ajpGetReply recoverable error 3 Error: [jk_handler_response.c (140)]: handler.response() Error sending response Error: [jk_service_iis.c (126)]: jk_ws_service_t::head, ServerSupportFunction failed Configuration: Windows 2000 or Windows 2003 Server Apache Tomcat 5.0.25 or 5.0.28 Microsoft IIS 5 or 6 JK2 2.0.4 connector Workers2.properties [shm:] info=Shared memory file. Required for multiprocess servers file=d:\tomcat5.0.28\work\jk20.shm size=100 # Define the communication channel [channel.socket:localhost:8009] tomcatId=localhost:8009 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/Concept60/*] worker=ajp13:localhost:8009 Server.xml Connector port=8088 maxThreads=150 minSpareThreads=25
Re: Is information on the number of downloads available?
Nice. I was wondering if you know what has been used to generate the charts... Thank you in advance. --- Tim Funk [EMAIL PROTECTED] wrote: http://www.apache.org/~vgritsenko/stats/projects/tomcat.html But see the disclaimer at the bottom of the link above. -Tim Paul Luo Li wrote: Hi I'm a Ph.D. student at CMU looking for information on the number of times Tomcat is downloaded. I'm investigating defect occurrence (i.e. bugs) predictions for open source projects. I have done some preliminary work describing the defect occurrence patterns of Tomcat (and a couple of other systems, commercial and open source): http://www-2.cs.cmu.edu/~paulluo/Li-Techreport.pdf Next, I hope to predict the defect occurrence patterns using information including the number of times the code is downloaded. So, I was wondering if Tomcat tracks download information? And where I might to go get it? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = [--°--] __ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JNDI without edit server.xml
you should edit context.xml under META-INF in your web-application. HTH, Fausto. --- Davide Gurgone [EMAIL PROTECTED] wrote: Hi all, I've got a problem. I'm using tomcat 5.0 with Oracle 9.2i. Now I want to upgrade tomcat to the newest version, but the same configuration doesn't work again. I used this solution for tomcat 5.0, because I don't whant to write anithing on tomcat server.xml file. To configure and use it I created ONLY this xml and put it on $TOMCAT_HOME/conf/catalina/localhost/strutsProva.xml file. Context displayName=Everithing managing system docBase=D:\dev\strutsProva path=/strutsProva reloadable=true Resource name=jdbc/strutsProva auth=Container type=javax.sql.DataSource / ResourceParams name=jdbc/strutsProva parameter namedriverClassName/name valueoracle.jdbc.OracleDriver/value /parameter parameter nameurl/name valuejdbc:oracle:thin:@localhost:1521:sweet/value /parameter parameter nameusername/name valuedasit/value /parameter parameter namepassword/name valuedasilab/value /parameter parameter namemaxActive/name value1/value /parameter parameter namemaxWait/name value5000/value /parameter parameter namemaxIdle/name value2/value /parameter /ResourceParams /Context Anybody knows how to configure a jndi service on tomcat, without write anithing on server.xml file? I have to leave it clean 'cause I don't know who will install my application. Thanks all, Davide - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = [--°--] __ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JNDI without edit server.xml
It looks like it can't find the db driver. Try putting it under WeB-INF\lib if you haven't done it yet. Moreover be sure to have the references in the web.xml of your application. These are mine, for example: !-- references to JNDI resources -- !-- database -- resource-ref res-ref-namejdbc/ddb/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref !-- javamail -- resource-ref res-ref-namemail/dmail/res-ref-name res-typejavax.mail.Session/res-type res-authContainer/res-auth /resource-ref F. --- Davide Gurgone [EMAIL PROTECTED] wrote: fstmncn wrote: you should edit context.xml under META-INF in your web-application. HTH, Fausto. Hi Fausto, Thank you for the response, I try your solution, but I think I wrong something, 'cause the problem is the same: INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780) . In order I delete the strutsProva.xml from $TOMCAT_HOME/conf/Catalina/localhost and I put the same content in a new $WEB_APP/META-INF/context.xml file. Finally I deployed the application from the tomcat manager, adding the Directory URL and the Context Path. I think Tomcat doesn't read the file! How can I say to Tomcat the file location? Have you got any other suggests? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = [--°--] __ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jsp version of session variable access. Pointer to syntax wanted.
you can use expression language: e.g.: ${sessionData.FILECOUNT} --- Pawson, David [EMAIL PROTECTED] wrote: Looking for the syntax to gain access to a session variable in a jsp page, rather than converting it to java. HttpSession session=request.getSession(); String s = (String)session.getAttribute(sessionData.FILECOUNT); I'm not using the xml syntax (as yet). tomcat 5028. any pointers appreciated please. Regards DaveP. snip here * -- DISCLAIMER: NOTICE: The information contained in this email and any attachments is confidential and may be privileged. If you are not the intended recipient you should not use, disclose, distribute or copy any of the content of it or of any attachment; you are requested to notify the sender immediately of your receipt of the email and then to delete it and any attachments from your system. RNIB endeavours to ensure that emails and any attachments generated by its staff are free from viruses or other contaminants. However, it cannot accept any responsibility for any such which are transmitted. We therefore recommend you scan all attachments. Please note that the statements and views expressed in this email and any attachments are those of the author and do not necessarily represent those of RNIB. RNIB Registered Charity Number: 226227 Website: http://www.rnib.org.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] = [--°--] __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]