JK warning in Application Log
Hi, We see many of this warning (below) in W2K Application Log. Does anyone know the cause of generating this warning? Type: Warning Event ID: 2 Description: Error: [jk_worker_ajp13.c (407)]: ajp13.service() ajpGetReply recoverable error 12 We are using IIS 5 with Tomcat 4.1.17 and isapi_redirector2.dll (160KB dated 10/14/2002). IIS Web server and Tomcat are on two seperate hosts. workers2.properties # Example socket channel, override port and host. [channel.socket:adcapppro1:8009] port=8009 host=adcapppro1 # define the worker [ajp13:adcapppro1:8009] channel=channel.socket:adcapppro1:8009 # Uri mapping. This says that any incoming connection to any file # under /jetty/ should be handled the worker defined above [uri:/examples/*] worker=ajp13:adcapppro1:8009 [uri:/focaltool/*] worker=ajp13:adcapppro1:8009 end worker2.properties -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
java.lang.IllegalArgumentException: Cookie name Path is a reserved token
Hi, We see many of this exception in catalina_log file while we ran a stress test on Tomcat 4.1.17 with IIS connector (isapi_redirector2.dll) on W2k. Do you know what causes this error? 2002-12-19 17:33:16 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.IllegalArgumentException: Cookie name Path is a reserved token at javax.servlet.http.Cookie.init(Cookie.java:185) at org.apache.coyote.tomcat4.CoyoteAdapter.parseCookies(CoyoteAdapter.java:402) at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:306) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:221) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:632) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:590) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:707) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530) at java.lang.Thread.run(Thread.java:536) Thanks, Tuan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: mod_jk leaves connections open?
We are experiencing this open connection issue in our environment. Though, we are using IIS redirector (isapi_redirector2.dll) with Tomcat 4.1.12. Tomcat hang when the current connection at around 250. We have to restart IIS or Tomcat every time this problem occurs to release the connections. Has anyone found a solution to this issue? Thanks, Tuan -Original Message- From: Simon Chatfield [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 9:47 AM To: Tomcat Users List Subject: mod_jk leaves connections open? Hi everyone, I hope mod_jk questions should be directed to this list, I couldn't find any more suitable. I've been using tomcat and versions of mod_jk for a while now with success. I've got a problem with useing mod_jk-2.0.43.so with apache 2.0.43 and everything seems to work OK for a while. Eventually all request get denied and the mod_jk can't appear to get a connection complaining that tomcat is down or on another port. After a restart of apache (not tomcat) everything will start working again. In digging into the problem, I see that there are hundreds of open connections to the mod_jk port 8009 left open and extablished. Can anyone point me in the right direction on how to solve this problem? Thanks! specifics Solaris 8 Java 1.4 Tomcat 4.1.12 (binary form) Apache 2.0.43 (built from source) mod_jk-2.0.43.so (binary form) -Simon -- Simon Chatfield -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
latest connector for IIS with Tomcat 4.1.12
Hi, Do you know where I can download the latest connector for IIS (5.0) with Tomcat 4.1.12? Also, we're experiencing a problem that hang Tomcat when the current connection reached around 256 connections. Should we upgrade to Tomcat 4.1.17? Thanks, Tuan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Can't load isapi_redirector2.dll
Hi, For IIS ISAPI filter we can configure to load isapi_redirector.dll but it can NOT load isapi_redirector2.dll, which I just downloaded from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/bin/win32/ Do you know what I'm missing? Thanks, Tuan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How to increase max threads in Tomcat 4.1.12?
Hi, When we ran a stress test on our application, it hang Tomcat service. We found an INFO message in stderr a message below INFO: All threads are busy, waiting. Please increase maxThreads or check the servlet status200 200 I have tried to increase the maxProcessors in \conf\server.xml from 200 to 500 and 500 to 1000, but that didn't help. We ran a stress test with 200 concurrent users. Here's our sample setting for 500 max processor Connector className=org.apache.coyote.tomcat4.CoyoteConnector acceptCount=10 bufferSize=2048 connectionTimeout=2 debug=0 enableLookups=true maxProcessors=500 minProcessors=5 port=8080 protocolHandlerClassName=org.apache.coyote.http11.Http11Protocol proxyPort=0 redirectPort=8443 scheme=https secure=true tcpNoDelay=true useURIValidationHack=false Factory className=org.apache.catalina.net.DefaultServerSocketFactory/ /Connector Connector className=org.apache.coyote.tomcat4.CoyoteConnector acceptCount=10 bufferSize=2048 connectionTimeout=2 debug=0 enableLookups=true maxProcessors=500 minProcessors=5 port=8009 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler proxyPort=0 redirectPort=8443 scheme=https secure=true tcpNoDelay=true useURIValidationHack=false Factory className=org.apache.catalina.net.DefaultServerSocketFactory/ /Connector How do we solve/increase the maxThreads issue? Thanks, Tuan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
SSL protocol and frames
Hi, We are using Big IP 2000 application switches controller running config 4.2 PTF7. SSL redirection and rewrite are configured on the F5 and seem to be working on pages without frames. However, for this particular site using frame pages, it could not find the images for the middle frame. Though, for the same image it is shown on the top and bottom frame. Do you know what I am missing? Thanks, Tuan Here is our frame code html HEAD TITLEbean:message key=app.label.title //TITLE /HEAD frameset rows='%=rh1%,%=rh2%,%=rh3%' frameborder='0' noresize framespacing='0' frame src='%=request.getContextPath()%tiles:getAsString name=header/' name='header' id='header' frameborder='0' scrolling='no' noresize marginwidth='0' marginheight='0' framespacing='0' frameset cols='%=cw1%,%=cw2%' framespacing='0' frame src='%=request.getContextPath()%tiles:getAsString name=body/' name='body' marginwidth='0' marginheight='0' scrolling='yes' frameborder='0' noresize framespacing='0' frame src='%=request.getContextPath()%tiles:getAsString name=rightSide/' name='rightSide' marginwidth='10' marginheight='10' scrolling='no' frameborder='0' noresize framespacing='0' /frameset frame src='%=request.getContextPath()%tiles:getAsString name=footer/' name='footer' id='bottom' frameborder='0' scrolling='no' marginwidth='0' marginheight='0' noresize framespacing='0' /frameset -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
IllegalArgumentException: Cookie name Path is a reserved token
Hi, On running OpendLoad (www.openload.net) stress tool with Tomcat 4.1 I get these errors in catalina_log 2002-12-10 21:33:42 CoyoteAdapter An exception or error occurred in the container during the request processing java.lang.IllegalArgumentException: Cookie name Path is a reserved token at javax.servlet.http.Cookie.init(Cookie.java:185) at org.apache.coyote.tomcat4.CoyoteAdapter.parseCookies(CoyoteAdapter.java:400) at org.apache.coyote.tomcat4.CoyoteAdapter.postParseRequest(CoyoteAdapter.java:311) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:221) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:256) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:361) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:563) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:535) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:638) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536) Do you know what I'm missing? Also, I got this info in stderr log INFO: All threads are busy, waiting. Please increase maxThreads or check the servlet status200 200 How do I increase the maxThreads? Thanks, Tuan -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
FW: Tomcat -- JDBC --- SQL Server Connection refused
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 9:15 AM To: Tuan H. Le Subject: RE: Tomcat -- JDBC --- SQL Server Connection refused This is a user question, use [EMAIL PROTECTED] instead.. Saludos , Ignacio J. Ortega -Mensaje original- De: Tuan H. Le [mailto:[EMAIL PROTECTED]] Enviado el: 1 de octubre de 2002 2:15 Para: [EMAIL PROTECTED] Asunto: Tomcat -- JDBC --- SQL Server Connection refused Hi, I'm having a problem of connecting to SQL Server db. I'm using Opta2000 v4.14 driver with SQL Server 2000 on XP with Tomcat 4.1.10. Context initCtx = new InitialContext(); Context envCtx = (Context)initCtx.lookup( java:comp/env ); DataSource ds = (DataSource)envCtx.lookup( jdbc/ezhr ); Connection conn = ds.getConnection(); --- connection refused happens here !! Here're my settings 1) SQL Server uses SQL Server authentication 2) SQL Server network protocol settings: both Named Pipes and TCP/IP 3) Tomcat settings server.xml - !-- Tomcat Context -- Context path=/ezhr docBase=ezhr debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=ezhrdb. suffix=.txt timestamp=true/ !-- Datasource -- Resource name=jdbc/ezhr auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/ezhr parameter namemaxActive/name value10/value /parameter parameter namemaxIdle/name value10/value /parameter parameter namemaxWait/name value1/value /parameter parameter nameusername/name value/value /parameter parameter namepassword/name valuey/value /parameter parameter namedriverClassName/name valuecom.inet.tds.TdsDriver/value /parameter parameter nameurl/name valuejdbc:inetdae7://localhost:1433/value /parameter /ResourceParams /Context --- web.xml - resource-ref res-ref-namejdbc/ezhr/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref Exception - javax.servlet.ServletException: com.inet.tds.SQLException: Connection refused: connect at org.apache.struts.action.RequestProcessor.processException(Req uestProcessor.java:507) at org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:448) at org.apache.struts.action.RequestProcessor.process(RequestProce ssor.java:266) at org.apache.struts.action.ActionServlet.process(ActionServlet.j ava:1292) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilt er(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli cationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardW rapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardC ontextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContex t.java:2397) at org.apache.catalina.core.StandardHostValve.invoke(StandardHost Valve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi spatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport Valve.java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEn gineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValv eContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipel ine.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter. java:223) at org.apache.coyote.http11.Http11Processor.process