Re: Illegal IMail List Server Command!
unsubscribe tomcat-user@jakarta.apache.org -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 - Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
blank page
Hi all, I have a problem in my production environment and I cann't reproduce this in develop one. I'm using Tomcat 5.0.27, IIS 6 and Isapi_redirect 1.0. When I ask on jsp or servlet I get blank page. I review the looger but I don't see any error. Only in the IIS connector I can see entries like: --- [Wed Jan 19 10:53:23 2005] [jk_isapi_plugin.c (586)]: jk_ws_service_t::write, WriteClient failed [Wed Jan 19 10:53:23 2005] [jk_ajp_common.c (1052)]: ERROR sending data to client. Connection aborted or network problems [Wed Jan 19 10:53:23 2005] [jk_ajp_common.c (1303)]: ERROR: Client connection aborted or network problems --- Any help will be appreciate. Best regards -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Documentation
Yoav and Filip, thanks a lot. I'm very new in the Open Source software, I good like the idea, and under my point of view, is the best solution event the big companies. But for beginner, is very difficult. Thank you very much I try continue with your indication. Best regards. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: martes, 07 de diciembre de 2004 20:37 To: Tomcat Users List Subject: RE: Documentation Hi, >Maybe, I don't explain very well my case. For example, If I active the >debug >in the database pool connection, can I see the active connection, free >connection, the queries, etc... There are two ways to determine what logging output you will see if you enable debug-level logging for a given Tomcat component. One way to is try it. The other way is to look at the source code, which of course is freely available for you to download and examine. If you look at the source, you will see that some components do more logging than others. So even setting debug-level logging for them might not yield much information. As to the specific question above about database pooling: because that's not implemented by Tomcat, but by a pluggable implementation (DBCP by default), it's up to the implementation's logging. Again, you can try it, or you can consult the DBCP source code. Alternatively you can plug in your own connection pooling implementation. >I mean, I looking for this documentation, but I find nothing about that. Do >you know if are there any documentation about this issues?? What are you asking is generic. Documentation for Tomcat's own logging is covered under the Logger configuration reference and, for Tomcat 5.5, in the logging-howto section of the docs. There is also a FAQ entry showing how to configure Tomcat 5.0.x with log4j. For parts of the code that are not Tomcat's own, e.g. DBCP, you need to consult that component's documentation. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Documentation
Thanks Yoav, Maybe, I don't explain very well my case. For example, If I active the debug in the database pool connection, can I see the active connection, free connection, the queries, etc... Other example, I'm configuring a cluster in memory, I would like activate the debug option, in order to know if the machines of the cluster is working good or not. I mean, I looking for this documentation, but I find nothing about that. Do you know if are there any documentation about this issues?? Thank a lot. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: martes, 07 de diciembre de 2004 19:40 To: Tomcat Users List Subject: RE: Documentation Hi, >Where can I find documentation about Tomcat looger, and debug & verbosity >params? > > >I change the debug and verbosity values, and the log is always the same. Different Tomcat versions have different ways to configure logging. Make sure you're looking at the documentation for your Tomcat version. The verbosity attribute is mostly for Tomcat 3.x. The debug attribute, if allowed (the docs will list it if it's allowed), goes from 0 (the default, no logging) to 99 (the highest, max logging). But it's mostly used in Tomcat 4.x, and less in 5.x. The more recent versions of Tomcat use Commons-Logging increasingly. To configure their logging, you need to pick an implementation (e.g. log4j or JDK 1.4 logging) and configure Tomcat to use that logging implementation with your chosen logging levels. This is explained in the FAQ and documentation (the latter only for Tomcat 5.5). For Tomcat 5.5, there's no Logger, and no debug attributes, at all. It's all Commons-Logging. Yoav Shapira http://www.yoavshapira.com This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Documentation
Hi, Where can I find documentation about Tomcat looger, and debug & verbosity params? I change the debug and verbosity values, and the log is always the same. Thank you very much. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 5.0.27 Cluster Issues
state transfer. No members active in cluster group. 07-dic-2004 18:29:24 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 07-dic-2004 18:29:24 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/375 config=c:\Tomcat 5.0\conf\jk2.properties 07-dic-2004 18:29:25 org.apache.catalina.startup.Catalina start INFO: Server startup in 18688 ms 07-dic-2004 18:30:36 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2:4010, 172.26.102.2,4010, alive=107453] 07-dic-2004 18:30:39 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=107453] 07-dic-2004 18:32:41 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2:4010, 172.26.102.2,4010, alive=232390] 07-dic-2004 18:32:44 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=232390] 07-dic-2004 18:34:46 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberAdded INFO: Replication member added:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2:4010, 172.26.102.2,4010, alive=357296] 07-dic-2004 18:34:49 org.apache.catalina.cluster.tcp.SimpleTcpCluster memberDisappeared INFO: Received member disappeared:org.apache.catalina.cluster.mcast.McastMember[tcp://172.26.102.2 :4010,172.26.102.2,4010, alive=357296] __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velázquez nº 3 Esc Izq 7º B 28932 Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] <http://www.cygnux.com/egroupware/email/compose.php?folder=INBOX&sessionid=1 2a0f5acc6fd5805a190a5b55a147155&kp3=7c4ad1ea016bfe58bf86addf2e6064d3&domain= cygnux.com&[EMAIL PROTECTED]>
Setup Xms & Xmx
Hi, my platform is: Windows 2K Tomcat 5.0.27 I start Tomcat as Win2K service, can I setup JAVA_OPTS like Xms and Xms. Thank a lot and best regards. ciao -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Filter tricks in tomcat
Hi, Im working with Tomcat 5 from 3 months ago. I understand the filter architecture, but I cannot capture the response filter for my JSP and servelt. Tomcat 5 is Servlet 2.4, so I thing it can filter either request or response. What I can do, is capture the entire request and its response, to have a good mechanism of statistics in my web application. So, can you help in order to know how can I catch the response in a filter?? Thanks in advanced, And best regards. .pcs __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velázquez nº 3 Esc Izq 7º B 28932 Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] <http://www.cygnux.com/egroupware/email/compose.php?folder=INBOX&sessionid=1 2a0f5acc6fd5805a190a5b55a147155&kp3=7c4ad1ea016bfe58bf86addf2e6064d3&domain= cygnux.com&[EMAIL PROTECTED]>
Re: response.sendRedirect()
Sorry, I did more test about the problem. I have one JSP("jspa") and ("jspb") from jsp I do an include of "jspb" and from "jspb" I have a sendRedirect("www.google.com"). If I invoke to http:///../jspa.jsp it doesn't work, but If I invoke directly to "http://..//jspb.jsp It works ok. best regard Ben Souther ([EMAIL PROTECTED]) escribi? > > Without seeing the rest of your code, I'll guess that the problem is > that you've started the relative link with a "/". > > Try without it. If you have to back up a directory use > "../jknopkn/prueba.jsp". > > > On Wed, 2004-10-06 at 11:11, Pablo Carretero Sánchez wrote: > > Hi, > > > > I don't test in other Tomcat version. I'm trying a sendRedirect() in one JSP. > > And it doesn't work. The code is: > > > > response.sendRediredt("/jknopkn/prueba.jsp"); > > > > QM ([EMAIL PROTECTED]) escribió: > > > > > > On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote: > > > : I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. > > > : > > > : It doesn't work in my appl. > > > > > > What, specifically, doesn't work? > > > Did this same code work in a previous version of Tomcat 5.0.x? > > > > > > etc, etc. We're all pretty sharp here, but I don't think any of us are > > > clairvoyant. ;) > > > > > > -QM > > > > > > -- > > > > > > software -- http://www.brandxdev.net > > > tech news -- http://www.RoarNetworX.com > > > > > > > > > ----- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: response.sendRedirect()
Hi, I don't test in other Tomcat version. I'm trying a sendRedirect() in one JSP. And it doesn't work. The code is: response.sendRediredt("/jknopkn/prueba.jsp"); QM ([EMAIL PROTECTED]) escribió: > > On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote: > : I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. > : > : It doesn't work in my appl. > > What, specifically, doesn't work? > Did this same code work in a previous version of Tomcat 5.0.x? > > etc, etc. We're all pretty sharp here, but I don't think any of us are > clairvoyant. ;) > > -QM > > -- > > software -- http://www.brandxdev.net > tech news -- http://www.RoarNetworX.com > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
response.sendRedirect()
Hi, I have a urgent problem response.sendRedirect() in Tomcat 5.0.27. It doesn't work in my appl. Can anyone help me. Thanks a lot -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JSP Implicit import
Hi, do know if can I import java packages in a implicit way in a JSP?? I means, I'm working with a Bea Weblogic application, and I want run this app in Tomcat. There are several jsp in Bea using Vector without the import java.utils.Vector. This jsp works fine in Bea but not in Tomcat. Do you know why?? Best regards. -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pageContext.getSession()
Hi, Yes I'm calling this from a JSP. But i don't understand you. How can I setup the session in the jsp. QM ([EMAIL PROTECTED]) escribió: > > On Tue, Sep 14, 2004 at 02:24:03PM +0200, Pablo Carretero S?nchez wrote: > : I'm migrating an application from Weblogic 5.1 to Tomcat 5. can I use > : pageContext.getSession() in tomcat 5??cat 5?? > > Isn't this call in the servlet spec? ;) > Yes, it should work. What's the relevant code? I'd suspect you're > calling this from a JSP? > > Are you certain a session has even been setup when this JSP is called? > > -QM > > -- > > software -- http://www.brandxdev.net > tech news -- http://www.RoarNetworX.com > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
pageContext.getSession()
Hi all, I'm migrating an application from Weblogic 5.1 to Tomcat 5. can I use pageContext.getSession() in tomHi all, I'm migrating an application from Weblogic 5.1 to Tomcat 5. can I use pageContext.getSession() in tomcat 5??cat 5?? I'm using it and the Session returned is null- Best regards -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TAG Lib problem
Hi Brice, yes it's work, I tried it. The real problem, is that I'm working in app. migration from BEA to Tomcat, my appy is in real environment and If I change the attribute in the tld, I need change the attribute in all my jsp, that is very power change. I appreciate your info, but do you know any other work around. Thank a lot. ciao .pcs Ruth, Brice ([EMAIL PROTECTED]) escribió: > > You may be having a problem with the case of your tag attribute. Try > changing the case of the attribute to all lower-case: "titulo" and see > if that helps. > > Pablo Carretero Sánchez wrote: > > >Hi all, > > > >I have a problem with the Jasper compiler when I try to compile a JSP using > >TagLibs. > > > >The configuration is: > > > >Tomcat 5.0.19, JSDK 1.4.2. > > > >I have a simple application with: > > > >.- 1 TLD: > > > > > > Operacion > > com.kutxa.kn.comun.tags.TituloOperacionTag > > > > MasInfo > > false > > > > > > Titulo > > false > > true > > > > > > Ancho > > false > > true > > > > > > Salto > > false > > > > > > VolverInicio > > false > > true > > > > > > > > > > > > > >JSP: With on reference to the TLD: > > > > > > > >JAVA TAG CLASS: With one attribute and method: > > - String Titulo > > - public void setTitulo(...){ > > } > > - public String getTitulo(...){ > > } > > > > > >When the jasper compile the JSP I have one error: > > > >"...Unable to find setter method for attribute" > > > > > >org.apache.jasper.JasperException: /jkn_opkn/tmpl/es/posglobal.jsp(433,0) > >Unable to find setter method for attribute: Titulo > > at > >org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39) > > at > >org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407) > > at > >org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:150) > > at > >org.apache.jasper.compiler.Generator$GenerateVisitor.evaluateAttribute(Generator.java:2674) > > at > >org.apache.jasper.compiler.Generator$GenerateVisitor.generateSetters(Generator.java:2822) > > at > >org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomStart(Generator.java:2156) > > at > >org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1667) > > at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) > > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) > > at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) > > at > >org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1687) > > at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) > > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) > > at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) > > at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219) > > at org.apache.jasper.compiler.Node$Root.accept(Node.java:456) > > at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) > > at org.apache.jasper.compiler.Generator.generate(Generator.java:3269) > > at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244) > > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:470) > > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > at > >org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) > > at > >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) > > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > at > >org.apache.catalina
TAG Lib problem
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) Do you know something about this error. I'll apprecite any help. Best regards and thank a lot. ciao .pcs -- __ Pablo Carretero Sánchez Cygnux Arquitecto de Software Pintor Velazquez nº 3 Esc Izq 7º B 28932 – Móstoles (Madrid) Movil: +34 699929150 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]