RE: java connection throught proxies
Olá Edson, Check this and see if it solves your problem: http://www.ideas2work.com/CoreJava6.html Cumprimentos, Arménio Pinto -Original Message- From: Edson Alves Pereira [mailto:[EMAIL PROTECTED] Sent: terça-feira, 2 de Março de 2004 18:29 To: 'Tomcat-User List' Subject: java connection throught proxies Does anyone here knows if Java-1.4.2 can make Network connections throught web-proxies? I´m using xercer to validade a xml file and i got java.net.ConnectException: Connection timed out: connect This isn´t a tomcat matter, but maybe somebody could tell how to make my java environment understand M$ proxies. Regards, Edson
RE: comercial license
You can check the "Tomcat" section at http://www.microsoft.com/products, or you can send me the necessary amount (in EURuros, please) and I'll buy it for you. I'll even send you the CDs. Waiting for your answer. Linus Tronavaldius -Original Message- From: FRANCOIS Dufour [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 30 de Janeiro de 2004 12:43 To: [EMAIL PROTECTED] Subject: comercial license where do i buy the comercial license for tomcat ??? sombody could help? [EMAIL PROTECTED] crazy-wilys webmaster _ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.ca/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Defining alias in Tomcat
Hi there, how can I define alias to directories in Tomcat 3.2.1 (like in Apache)? Thanks in advance, Arménio Pinto
Tomcat response blocks - help please!
Hi there, I have the following scenario in my project: Tomcat 3.2.4 --> mod_jk/ httpd 1.3.27 --> Transparent proxy --> Internet Explorer Without the proxy, everything works fine. With the proxy, Tomcat stops responding in some situations, whenever a redirect is implied. The JSPs are correctly processed in Tomcat, but the user browser shows nothing; if F5 or "reload" is pressed, the page shows up! If the same operation is done, without closing the browser, the following text is inlined in the response HTML: HTTP/1.0 200 OK Date: Mon, 29 Sep 2003 17:00:08 GMT Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.2.4 mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2 Cache-Control: no-cache Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.4.2; Linux 2.4.18-27.7.x i386; java.vendor=Sun Microsystems Inc.) Content-Type: text/html;charset=ISO-8859-1 X-Cache: MISS from xx.xxx.xxx.xxx.pt Connection: close Now, the stranger part: EVERYTHING WORK FINE IN MOZILLA! Even with the proxy! I guess this has something to do with caching configurations. Can anyone help me please? Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk: upgrading Apache HTTP Server 1.3.27 --> 2.0.47
Hi there, Is there any known issues regarding the upgrade of Apache HTTP Server 1.3.27 that ships with Redhat 7.3 to version 2.0.47, while working as Tomcat 3.2.4 frontend? Do I have to make specific changes, or do I only have to add mod_jk.conf to httpd.conf? Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk error in browser window
Hi there, I'm using Tomcat 3.2.4 and Apache as frontend, with mod_jk. Sometimes, when I open the main page, the following error apears in the browser window: HTTP/1.0 200 OK Date: Tue, 23 Sep 2003 18:42:28 GMT Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.2.4 mod_python/2.7.8 Python/1.5.2 mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2 Cache-Control: no-cache Pragma: no-cache Expires: Thu, 01 Jan 1970 00:00:00 GMT Servlet-Engine: Tomcat Web Server/3.2.4 (JSP 1.1; Servlet 2.2; Java 1.4.2; Linux 2.4.18-27.7.x i386; java.vendor=Sun Microsystems Inc.) Content-Type: text/html;charset=ISO-8859-1 X-Cache: MISS from xx.xxx.xxx..pt Connection: close Can anyone, please, explain me what's going on? Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk.conf-auto
Hi there, Is there any way to control the automatic generated mod_jk configuration script? The problem is that I need some specific commands (like "JkMount /*.do apj12"), and when Tomcat restarts these commands are removed... Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Bad Cookies
Hi there, I'm experiencing a strange problem with Tomcat 3.2.4. I use cookies to store the session id, and everything works fine. But when I access Tomcat from behind a proxy, the session is lost between pages. Does anyone know why this happens? The error situation in Tomcat is exactly the same as if the client browser had cookies disabled. But with the proxy, it still asks to store the cookie (with the origin host set to the proxy). So, the cookie is lost somehow... Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sendRedirect() in Tomcat 3.2.4
Hi there, I'm getting the following exception when I do a sendRedirect() in Tomcat 3.2.4. Has anyone experienced this before? Thanks in advance, Arménio Pinto java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResp onseFacade.java:202) at org.apache.tomcat.facade.HttpServletResponseFacade.sendRedirect(HttpServletR esponseFacade.java:228) at jsp._0002fjsp_0002fentrada_0002ejspentrada_jsp_3._jspService(_0002fjsp_0002f entrada_0002ejspentrada_jsp_3.java:209) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja va:130) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:282) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405) at org.apache.tomcat.core.Handler.service(Handler.java:287) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:80 6) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java:166) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501) at java.lang.Thread.run(Thread.java:534) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk and Tomcat 3.2.4
Hi there, can anyone tell me, please, where can I find the most suitable version of mod_jk to use with Tomcat 3.2.4? Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat 3.2.4 behind a proxy
Hi there, I'm replying because I haven't received any answers yet. Is the list working correctly (I received the e-mail, so...)? Is the question confusion in any way? I really need to solve this problem, because currently I can't make Tomcat available to the users. Thanks in advance, Arménio Pinto -Original Message- From: Armenio Pinto [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 25 de Agosto de 2003 16:41 To: 'Tomcat Users List' Subject: Tomcat 3.2.4 behind a proxy Hi there, I'm current using Tomcat 3.2.4 in a private network, and want to give access to external clients through an Apache server configured as proxy. The problem is that Tomcat is changing request addresses... I know how to solve this problem in Apache (simply turn UseCanonicalName off), but how can I do it in Tomcat? For example: if the proxy address to Tomcat is www.test.pt/tomcat, it seems that Tomcat changes it to www.othersidetest.pt:8080. Thanks in advance, Arménio Pinto - 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]
Tomcat 3.2.4 behind a proxy
Hi there, I'm current using Tomcat 3.2.4 in a private network, and want to give access to external clients through an Apache server configured as proxy. The problem is that Tomcat is changing request addresses... I know how to solve this problem in Apache (simply turn UseCanonicalName off), but how can I do it in Tomcat? For example: if the proxy address to Tomcat is www.test.pt/tomcat, it seems that Tomcat changes it to www.othersidetest.pt:8080. Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat 3.2.4 and Apache Proxy
Hi there, We're trying to access our Tomcat 3.2.4 server throught Apache configured as proxy. Suppose that Tomcat responds at http://www.mytomcat:8080 and that, throught the proxy, clients see it like http://myproxy/mytomcat. Apache has the "ProxyPass" and "ProxyPassReverse" correctly configured. We are getting the following exception: Servlet API error: sendError with commited buffer java.lang.IllegalStateException: Response has already been committed at org.apache.tomcat.facade.HttpServletResponseFacade.sendError(HttpServletResp onseFacade.java:202) at org.apache.tomcat.facade.HttpServletResponseFacade.sendRedirect(HttpServletR esponseFacade.java:228) (...) Is there any known issues about Tomcat 3.2.4 behind proxies? I can't find anything in the documentation... Thanks in advance, Arménio Pinto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Internal Servlet Error
Hi there, I'm currently running Tomcat 3.2.4 in Redhat 7.3 . The problem only occurs in Linux, if I zip the Tomcat directory and run it in Windows, everything works fine. My frontend system craches with the following exception. Has anyone experienced this before? Thanks in advance, Error: 500 Location: /adsl/layouts/mainLayout.jsp Internal Servlet Error: javax.servlet.ServletException: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/Str ing;Z)V at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl .java:194) at org.apache.struts.tiles.ActionComponentServlet.doForward(ActionComponentServ let.java:453) at org.apache.struts.tiles.ActionComponentServlet.processActionForward(ActionCo mponentServlet.java:180) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79 7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:534) Root cause: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.(Ljava/lang/String;ZLjava/lang/Str ing;Z)V at org.apache.jasper.compiler.TagLibraryInfoImpl.createAttribute(TagLibraryInfo Impl.java:524) at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoIm pl.java:432) at org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.ja va:385) at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:233) at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve ntListener.java:706) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList ener.java:116) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215) at org.apache.jasper.compiler.Parser.parse(Parser.java:1077) at org.apache.jasper.compiler.Parser.parse(Parser.java:1042) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182) at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462) at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146) at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:152) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:164) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl .java:194) at org.apache.struts.tiles.ActionComponentServlet.doForward(ActionComponentServ let.java:453) at org.apache.struts.tiles.ActionComponentServlet.processActionForward(ActionCo mponentServlet.java:180) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) at org.apache.tomcat.core.Handler.service(Handler.java:286) at