Session reset on recompiling class?
Hi, I have noticed that tomcat drops all active sessions when I recompile a class in my webapplication. Is there anyway to work around this so that it just loads the compiled class without loosing session information? Would persistent manager help? Thanks Prashanth __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Caching problems with IE after download
Hi everyone: This is more related to Java than tomcat i guess! But any input would be greatly appreciated. This is a question that has been around for a while now...I tried looking up the forums on Sun's website...but could not really find a solution to solve my problem...so here goes... I have implemented a file download bean which sends out binary data to the browser. The bean is instantiated by a JSP page. To make sure browsers don't cache response I do: response.setHeader(Cache-Control, no-cache); response.setHeader(Pragma, no-cache); response.setDateHeader(max-age, 0); response.setDateHeader(Expires, 0); while sending out the file and on every other JSP page on the site. However, for some reason the JSP page accessed immediately after downloading a file contains portions of a binary stream on the top of the page followed by HTML. I am confident the server is not resending the data again...(confirmed it with ethereal and nescape works too)...so I dont know what I am doing wrong...or what I should do to get it right...Any suggestions ot opinions on this? Note that the headers work perfectly fine while navigating through JSP pages. Thanks Prashanth __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] Caching problems with IE after download
Hi everyone: This is more related to Java than tomcat i guess! But any input would be greatly appreciated. This is a question that has been around for a while now...I tried looking up the forums on Sun's website...but could not really find a solution to solve my problem...so here goes... I have implemented a file download bean which sends out binary data to the browser. The bean is instantiated by a JSP page. To make sure browsers don't cache response I do: response.setHeader(Cache-Control, no-cache); response.setHeader(Pragma, no-cache); response.setDateHeader(max-age, 0); response.setDateHeader(Expires, 0); while sending out the file and on every other JSP page on the site. However, for some reason the JSP page accessed immediately after downloading a file contains portions of a binary stream on the top of the page followed by HTML. I am confident the server is not resending the data again...(confirmed it with ethereal and nescape works too)...so I dont know what I am doing wrong...or what I should do to get it right...Any suggestions ot opinions on this? Note that the headers work perfectly fine while navigating through JSP pages. Thanks Prashanth __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] cache problems with IE after file download...could it be tomcat?
Hi everyone: This is more related to Java than tomcat i guess! But any input would be greatly appreciated. This is a question that has been around for a while now...I tried looking up the forums on Sun's website...but could not really find a solution to solve my problem...so here goes... I have implemented a file download bean which sends out binary data to the browser. The bean is instantiated by a JSP page. To make sure browsers don't cache response I do: response.setHeader(Cache-Control, no-cache); response.setHeader(Pragma, no-cache); response.setDateHeader(max-age, 0); response.setDateHeader(Expires, 0); while sending out the file and on every other JSP page on the site. However, for some reason the JSP page accessed immediately after downloading a file contains portions of a binary stream on the top of the page followed by HTML. I am confident the server is not resending the data again...(confirmed it with ethereal and nescape works too)...so I dont know what I am doing wrong...or what I should do to get it right...Any suggestions ot opinions on this? Note that the headers work perfectly fine while navigating through JSP pages. Thanks Prashanth __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Accessing Tomcat contexts from a desktop application?
Hi, I am looking for a way of accessing a web application context from a standalone desktop application. Is this even possible? Basically, I have a connection pool in my web application's context and would like to access that from the application. I would also like to extract some string and integer environment variables in my context. Please suggest any alternative ways I can achieve this. Perhaps some resources on how to go about doing this? Thanks in advance Prashanth __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
accessing/modifying 404 page in tomcat?
Hi, I'm sure a lot of you have gone through this before..., is there anyway I can display a different 404 error when tomcat does not find a page that was requested? I would like to customize it a little...some setting may be Thanks --Prashanth __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: accessing/modifying 404 page in tomcat?
Thanks a lot... --Prashanth --- Jim Krygowski [EMAIL PROTECTED] wrote: Hi Prashanth- try: error-page error-code404/error-code location/your_custom_404_error_page_here.html/location /error-page in your web.xml file just after the welcome-file-list. -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 11:27 AM To: Tomcat Users List Subject: accessing/modifying 404 page in tomcat? Hi, I'm sure a lot of you have gone through this before..., is there anyway I can display a different 404 error when tomcat does not find a page that was requested? I would like to customize it a little...some setting may be Thanks --Prashanth __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- 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] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Sharing Session data between two instances?
Hi I am trying to setup tomcat 4.1.12 on two servers so that an incoming request can be handled by either one of the servers. What I would like to do is share session details between the two instances. Is this possible? Thanks Prashanth __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Redirecting requests back to the webserver from tomcat
Hi Is there a way to redirect a request that comes to tomcat back to the main webserver (IIS or Apache etc.). I want to use tomcat to verify the existence of a session and then send it back to IIS to serve the page out. Is this possible? Thanks Prashanth __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Can tomcat redirect to IIS?
Hi I am using IIS 5.0 on Windows 2000 Adv Server and tomcat 4.1.12 for my servlet engine. When we configure tomcat with other webservers, we have request filters identifying which requests need to be handled by tomcat right? I want to know if it is possible to do the reverse. Say I have a request that comes to IIS (say). I want to have IIS serving out the file requested after tomcat checks for some credentials (session stuff). That way I am using tomcat for its designated purpose of serving dynamic content and that of IIS of serving static content, the only difference is tomcat still checks who should serve it. Is this possible? Thanks VP __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.1.12 Logs??
Yes, I uncommented the valve part out and tomcat logs access details now. There is however another problem. My logs are wierd. Instead of the remote IP address, the logs have parts of the data being sent out. Sam is the case for request URI. I get html data instead of request details. Could it be another misconfiguration? Prashanth --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, In 4.1.x the AccessLogValve in server.xml is commented out by default. Comment it in if you'd like those access logs. You can also move it under a specific Context element to only log accesses to that Context. Yoav Shapira Millennium ChemInformatics -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 5:03 PM To: Tomcat Users List Subject: Re: Tomcat 4.1.12 Logs?? Hi: I am running Tomcat 4.1.12 alongside IIS 5.0. I have no installation problems, but what I'd like to know is how to set up my logs. In all previous versions of Tomcat I observed Tomcat logging access details (complete HTTP requests made) in files like localhost_accesslog_***.txt, but in 4.1.x I havent seen these files being created in $CATALINA_HOME/logs. Do we need to set it up? If so how? If not where are these logs? Thanks Prashanth __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat 4.1.12 Logs??
Hi: Here is a portion of my log file...I currently have the pattern set to common. It seems to be printing out section of a jsp page!! Any suggestions? - [26/Nov/2002:15:45:48 -0600] POST /Upload.jsp 200 - font co - [26/Nov/2002:15:47:49 -0600] POST /SubmissionConfirmation.jsp 200 - /tab - [26/Nov/2002:15:47:53 -0600] GET /MyDLNETStatistics.jsp 200 - lvetica, sans- - [26/Nov/2002:15:47:55 -0600] GET /MyContributionStatistics.jsp 200 - r='#FF';th - [26/Nov/2002:15:47:59 -0600] GET /MyContributionStatistics.jsp 200 - lvetica, sans- - [26/Nov/2002:15:48:03 -0600] GET /MyContributionStatistics.jsp 200 - r='#FF';th - [26/Nov/2002:16:07:45 -0600] GET /MyContributionStatistics.jsp 200 - lvetica, sans- - [26/Nov/2002:16:07:50 -0600] GET /MyContributionStatistics.jsp 200 - /tab - [26/Nov/2002:16:13:18 -0600] GET /MyDLNETStatistics.jsp 200 - /tab - [26/Nov/2002:16:13:26 -0600] GET /MyDLNETStatistics.jsp 200 - lvetica, sans- - [26/Nov/2002:16:13:28 -0600] GET /MyContributionStatistics.jsp 200 - r='#FF';th - [26/Nov/2002:16:13:31 -0600] GET /MyContributionStatistics.jsp 200 - Thanks Prashanth --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, If you could perhaps provide examples... I usually set the log pattern to combined, rather than common, but that's for log analyzing and probably doesn't have to do with your problem. Yoav Shapira Millennium ChemInformatics -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 1:29 PM To: Tomcat Users List Subject: RE: Tomcat 4.1.12 Logs?? Yes, I uncommented the valve part out and tomcat logs access details now. There is however another problem. My logs are wierd. Instead of the remote IP address, the logs have parts of the data being sent out. Sam is the case for request URI. I get html data instead of request details. Could it be another misconfiguration? Prashanth --- Shapira, Yoav [EMAIL PROTECTED] wrote: Hi, In 4.1.x the AccessLogValve in server.xml is commented out by default. Comment it in if you'd like those access logs. You can also move it under a specific Context element to only log accesses to that Context. Yoav Shapira Millennium ChemInformatics -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 5:03 PM To: Tomcat Users List Subject: Re: Tomcat 4.1.12 Logs?? Hi: I am running Tomcat 4.1.12 alongside IIS 5.0. I have no installation problems, but what I'd like to know is how to set up my logs. In all previous versions of Tomcat I observed Tomcat logging access details (complete HTTP requests made) in files like localhost_accesslog_***.txt, but in 4.1.x I havent seen these files being created in $CATALINA_HOME/logs. Do we need to set it up? If so how? If not where are these logs? Thanks Prashanth __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat 4.1.12 Logs??
Hi: I am running Tomcat 4.1.12 alongside IIS 5.0. I have no installation problems, but what I'd like to know is how to set up my logs. In all previous versions of Tomcat I observed Tomcat logging access details (complete HTTP requests made) in files like localhost_accesslog_***.txt, but in 4.1.x I havent seen these files being created in $CATALINA_HOME/logs. Do we need to set it up? If so how? If not where are these logs? Thanks Prashanth __ Do you Yahoo!? Yahoo! Mail Plus Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Session loss with IE 6/5.5
Hello everyone: I thought I had seen a question posted earlier on the list, a similar one...but could not find it...so I'm reposting... I use tomcat 4.1.12 with IIS 5.0 on windows 2000 adv. server. I use tomcat for serving jsp pages and IIS for all other files. Now, I've set up IIS to point to my homepage i.e. /Homepage.jsp as the default document. Once the user enters the site he/she can login to establish a session. The problem arises after someone logs in. If I change my URL to http://host/ instead of any page in the session (say /Homepage.jsp), I loose the session. Has anyone faced this kind of trouble with tomcat? Interestingly this happens only on IE 5.5 and 6. IE 5.0 guards the session. Do I have to change any options in tomcat so I dont keep loosing sessions when the use comes back to the site or goes to the site root? I dont want to pass the session id in the URL. Any suggestions??? Thanks Prashanth __ Do you Yahoo!? U2 on LAUNCH - Exclusive greatest hits videos http://launch.yahoo.com/u2 -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: Only one user at a time can use Tomcat ?
make sure u are not implementing a singlethread mode in your application. VP --- [EMAIL PROTECTED] wrote: Has this thread been discussed already, sorry I was draining the swamp and might have missed that. Only one user at a time can log onto my Tomcat. What have I missed and where should I be looking. TIA -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: tomcat and IIS 5.0 exe files create problems
I meant 3.2.2...sorry never put my hands into 3.3 series. Consider two situations of serving .exe files. First I have no tomcat working alongside IIS 5.0. When I place the exe file in the web-folder, a request for the exe file would be responded to by the exe file right?(I dont think that was eloquent explanation...every one know that!) Now when I have tomcat installed I configured it so that only calls to jsp pages are handled by tomcat and all static pages by IIS. Now when I make for an exe file the file I dont get prompted for a download. After a few minutes, my event log shows an error saying that the script from URL /*.exe has not responded within the configured the timeout period. So it was terminated! Does that mean that instead of serving the page to the user the webserver is executing it on the server itself? Also, why would this same request work with IIS w/o tomcat? Thanks Prashanth --- Bill Barker [EMAIL PROTECTED] wrote: Way back in the yet-to-be-released 3.3.2. ;-) Having just checked, 3.3.1 (unchanged in 3.3.2-dev), Tomcat will assign the content-type of application/octet-stream to an .exe file by default. I don't use the isapi_redirector.dll myself, but I'll need more details to be able to determine if this is a Tomcat bug or not. Prashanth Pushpagiri [EMAIL PROTECTED] wrote in message news:20021103011916.90693.qmail;web20807.mail.yahoo.com... Hello everyone: I am running tomcat 4.1.12 on windows 2000 advanced server (IIS 5.0) and have been facing problems with exe files. note that this problem has been persistent ever since I started using tomcat(way back in version 3.3.2). When I have a website without tomcat working along-side IIS, I can serve exe files without any problem. But once I plug the ISAPI filter for tomcat into IIS, any request for exe files just hangs(no exe file is served). Has anyone else faced such a problem and resolved it previously? Does anyone have any specific instructions/suggestions to resolve this? I am in a bind as I am expected to serve .exe files. Any suggestions will be very helpful thanks Prashanth __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
tomcat and IIS 5.0 exe files create problems
Hello everyone: I am running tomcat 4.1.12 on windows 2000 advanced server (IIS 5.0) and have been facing problems with exe files. note that this problem has been persistent ever since I started using tomcat(way back in version 3.3.2). When I have a website without tomcat working along-side IIS, I can serve exe files without any problem. But once I plug the ISAPI filter for tomcat into IIS, any request for exe files just hangs(no exe file is served). Has anyone else faced such a problem and resolved it previously? Does anyone have any specific instructions/suggestions to resolve this? I am in a bind as I am expected to serve .exe files. Any suggestions will be very helpful thanks Prashanth __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: How to create a connection pool
you should make your bean persistent (change the scope to application) and then have it create 'n' connections when first called. you can then reuse connections. There are a number of implementations available for connection pooling. You may want to reuse them instead of re-creating the process. Prashanth --- phani [EMAIL PROTECTED] wrote: Hi, I am using a bean to get connection for a db from my jsp page. But the problem is for each and every request the page fetches a connection from the bean. This becomes a over head to the system. What i want to do is i want to open n no (say 50 ) of connection when the server is started and any request must be routed through these connection only. How to do this? Thanks in advance. phani __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
IIS problems with tomcat 4.0.2
Hello everyone: I am running tomcat 4.0.2 on windows 200 adv server. I've been running the website with tomcat 4.0 for a few months now and I have noticed something that I dont know how to fix. I am trying to restart IIS on my machine and when I do so I get an error: Could not start service. IP address already in use. All I can do at this point is restart the machine for the service to operate. On doing a netstat at the command prompt, I see that even when I stop IIS, the service (inetinfo.exe) is still listening on port 80. Did I misconfigure the server when installing it with tomcat? can anyone suggest a work around for this? any one facing such problems? Thanks Prashanth __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
tomcat 4.0.2/ SQL server 2000/ IIS 5.0 crashes
Tomcat 4.0.2 crahed and generated the following error messagecan anyone possibly think of a reason why it crashed? any workarounds or debugging help? Thanks Prashanth An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x77F821E1 Function=RtlEnterCriticalSection+0xB Library=C:\WINNT\System32\ntdll.dll Current Java thread: at sun.jdbc.odbc.JdbcOdbc.colAttributes(Native Method) at sun.jdbc.odbc.JdbcOdbc.SQLColAttributes(JdbcOdbc.java:2036) at sun.jdbc.odbc.JdbcOdbcResultSet.getColAttribute(JdbcOdbcResultSet.java:5241) at sun.jdbc.odbc.JdbcOdbcResultSet.getColumnType(JdbcOdbcResultSet.java:5870) at sun.jdbc.odbc.JdbcOdbcResultSet.getMaxCharLen(JdbcOdbcResultSet.java:5269) at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:267) at dlnet.TaxonBean.retrieve_List(TaxonBean.java:78) - locked 02BD0230 (a dlnet.TaxonBean) at dlnet.TaxonBean.getLevel2_id_list(TaxonBean.java:45) - locked 02BD0230 (a dlnet.TaxonBean) at dlnet.Search.BrowseBean.checkBrowseRequest(BrowseBean.java:125) at org.apache.jsp.Browse_0005fDLNET$jsp._jspService(Browse_0005fDLNET$jsp.java:212) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495) at java.lang.Thread.run(Thread.java:536) __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS problems with tomcat 4.0.2
so i should try this after shutting down tomcat? would that help? Thanks Prashanth --- Turner, John [EMAIL PROTECTED] wrote: Do you restart or shutdown Tomcat before trying to restart or shutdown IIS? If there is a socket open between IIS and Tomcat, my guess is IIS will not shutdown, leaving it bound to port 80. Restarting your machine closes all of the sockets, including the connections between Tomcat and IIS. John -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:13 PM To: Tomcat Users List Subject: IIS problems with tomcat 4.0.2 Hello everyone: I am running tomcat 4.0.2 on windows 200 adv server. I've been running the website with tomcat 4.0 for a few months now and I have noticed something that I dont know how to fix. I am trying to restart IIS on my machine and when I do so I get an error: Could not start service. IP address already in use. All I can do at this point is restart the machine for the service to operate. On doing a netstat at the command prompt, I see that even when I stop IIS, the service (inetinfo.exe) is still listening on port 80. Did I misconfigure the server when installing it with tomcat? can anyone suggest a work around for this? any one facing such problems? Thanks Prashanth __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- 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] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: IIS problems with tomcat 4.0.2
was just making sure that is what was required. I just tried it...doesnt work:(. I had to restart the server and now everything is working normally. Any suggestions? netstat has the entries 0.0.0.0:21 and 0.0.0.0:80 as listening. but fport does not list them to be listening. Thanks for the time you are taking on this... Prashanth --- Turner, John [EMAIL PROTECTED] wrote: Isn't worth a try? John -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 12:36 PM To: Tomcat Users List Subject: RE: IIS problems with tomcat 4.0.2 so i should try this after shutting down tomcat? would that help? Thanks Prashanth --- Turner, John [EMAIL PROTECTED] wrote: Do you restart or shutdown Tomcat before trying to restart or shutdown IIS? If there is a socket open between IIS and Tomcat, my guess is IIS will not shutdown, leaving it bound to port 80. Restarting your machine closes all of the sockets, including the connections between Tomcat and IIS. John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
How often would Tomcat crash?
Hello everyone: I realize that this might not be a problem to find a solution for on this forum, but any input on this might help me debug my problem. This morning I was told that my website running IIS 5.0/Tomcat 4.0.2 was not accessible. Since I was physically unavailable in the office, I could pass only do some remote debuggin with the help of my colleague. Apparently, IIS was working and so was Tomcat. But no one was able to access the website. It gave a 404. Now, one of the things I should have done was to check if tomcat was running on 8080 (although the tomcat service was running in the services console). A restart of Tomcat did not help either. FInally I had to have the server restarted and everything was back online again. I finally made it to the office an hour later and started checking the logs to find a reason for the failure...I have not been able to do so! The logs suggest nothing went wrong. IIS did not record any logs for the period when the service was not available. Can I attribute this to an IIS crash? I did not find and indications in the event log if so. or could it be a problem with the isapi redirector? I know it is as difficult giving comments on such a topic without substantial input from me as it was for me this morning, but any suggestions on what may have gone wrong would be very helpful. Thanks Prashanth __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How often would Tomcat crash?
Hello peter, The log files are not close to 200 mb. These are relatively new machines. Also, my current log_level for tomcat is debug. What other options are available? isapi.log seems to be growing by the day! Thanks Prashanth --- peter lin [EMAIL PROTECTED] wrote: this is just a guess, but if there were no logs, was the log directory full? I know with NT4 and IIS that once the log directory reaches 200+ mb of logs, it can cause IIS to stop responding. It probably isn't it, but just in case I thought I'd mention it. peter Prashanth Pushpagiri wrote: Hello everyone: I realize that this might not be a problem to find a solution for on this forum, but any input on this might help me debug my problem. This morning I was told that my website running IIS 5.0/Tomcat 4.0.2 was not accessible. Since I was physically unavailable in the office, I could pass only do some remote debuggin with the help of my colleague. Apparently, IIS was working and so was Tomcat. But no one was able to access the website. It gave a 404. Now, one of the things I should have done was to check if tomcat was running on 8080 (although the tomcat service was running in the services console). A restart of Tomcat did not help either. FInally I had to have the server restarted and everything was back online again. I finally made it to the office an hour later and started checking the logs to find a reason for the failure...I have not been able to do so! The logs suggest nothing went wrong. IIS did not record any logs for the period when the service was not available. Can I attribute this to an IIS crash? I did not find and indications in the event log if so. or could it be a problem with the isapi redirector? I know it is as difficult giving comments on such a topic without substantial input from me as it was for me this morning, but any suggestions on what may have gone wrong would be very helpful. Thanks Prashanth __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- 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] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat looses session with IE5
No, I dont use SSL(not yet!) and the application is JSP based... I'm stumped...any further suggestions would be helpful. Thanks Prashanth --- Sexton, George [EMAIL PROTECTED] wrote: Here is one possible explanation. If you are using SSL, and you do a re-direct, IE can generate an extra request to /. If this is a servlet that dumps the sessions, then you are out of business. -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: 27 June, 2002 10:43 AM To: Tomcat Users List Subject: Tomcat looses session with IE5 Hello all: I successfully deployed my application using tomcat 4.0.2 a few weeks ago and tested it on virtually every browser i could get hold of. It works! Todaye I was informed that one of my colleagues has problems with session maintenance. The browser is IE 5.0 and sessions are just not maintained. I check it myself and this is what i found. The user can login using a userid and pwd. He is shown a welcome page as soon as he logged in. Session variables are good. Now, as soon as he clicks on some other link, he is asked to login again. I am not sure what the problem is. I checked the browser settings and cookies are enabled. Can someone throw some light on what the problems could be and how to resolve them? Thanks Prashanth __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- 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] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat looses session with IE5
I tested the same for IE5, 5.5, 6 and netscape. the problem is with a particular client and i was wondering if anyone had prior experiences like this. Prashanth --- Seth Brahler [EMAIL PROTECTED] wrote: I have a session variable set w/ IE5 and I am not having a problem. It holds the session nicely. At 10:25 AM 6/27/2002 -0700, you wrote: No, I dont use SSL(not yet!) and the application is JSP based... I'm stumped...any further suggestions would be helpful. Thanks Prashanth --- Sexton, George [EMAIL PROTECTED] wrote: Here is one possible explanation. If you are using SSL, and you do a re-direct, IE can generate an extra request to /. If this is a servlet that dumps the sessions, then you are out of business. -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: 27 June, 2002 10:43 AM To: Tomcat Users List Subject: Tomcat looses session with IE5 Hello all: I successfully deployed my application using tomcat 4.0.2 a few weeks ago and tested it on virtually every browser i could get hold of. It works! Todaye I was informed that one of my colleagues has problems with session maintenance. The browser is IE 5.0 and sessions are just not maintained. I check it myself and this is what i found. The user can login using a userid and pwd. He is shown a welcome page as soon as he logged in. Session variables are good. Now, as soon as he clicks on some other link, he is asked to login again. I am not sure what the problem is. I checked the browser settings and cookies are enabled. Can someone throw some light on what the problems could be and how to resolve them? Thanks Prashanth __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- 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] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Seth Brahler HR Information Systems Cornell University Office of Human Resources 337 Pine Tree Road East Hill Plaza Ithaca, New York 14853 607-255-9696 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat looses session with IE5
Thanks all. I'll try the update and see what happens... Prashanth --- Wilson, James R [EMAIL PROTECTED] wrote: Could be a firewall issue; firewalls can cache content and/or bundle IPs. The content caching can cause a user to retrieve the page not from Tomcat, but from the firewall cache ... so s/he would get the 'wrong' dynamic page. The IP bundling can obviate some types of sessions. Jim -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 1:39 PM To: Tomcat Users List Subject: RE: Tomcat looses session with IE5 I tested the same for IE5, 5.5, 6 and netscape. the problem is with a particular client and i was wondering if anyone had prior experiences like this. Prashanth --- Seth Brahler [EMAIL PROTECTED] wrote: I have a session variable set w/ IE5 and I am not having a problem. It holds the session nicely. At 10:25 AM 6/27/2002 -0700, you wrote: No, I dont use SSL(not yet!) and the application is JSP based... I'm stumped...any further suggestions would be helpful. Thanks Prashanth --- Sexton, George [EMAIL PROTECTED] wrote: Here is one possible explanation. If you are using SSL, and you do a re-direct, IE can generate an extra request to /. If this is a servlet that dumps the sessions, then you are out of business. -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: 27 June, 2002 10:43 AM To: Tomcat Users List Subject: Tomcat looses session with IE5 Hello all: I successfully deployed my application using tomcat 4.0.2 a few weeks ago and tested it on virtually every browser i could get hold of. It works! Todaye I was informed that one of my colleagues has problems with session maintenance. The browser is IE 5.0 and sessions are just not maintained. I check it myself and this is what i found. The user can login using a userid and pwd. He is shown a welcome page as soon as he logged in. Session variables are good. Now, as soon as he clicks on some other link, he is asked to login again. I am not sure what the problem is. I checked the browser settings and cookies are enabled. Can someone throw some light on what the problems could be and how to resolve them? Thanks Prashanth __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- 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] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] Seth Brahler HR Information Systems Cornell University Office of Human Resources 337 Pine Tree Road East Hill Plaza Ithaca, New York 14853 607-255-9696 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- 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] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: IIS - jsp file download on port 80
Try adding a application mapping in your IIS console. (IIS console -- Home Directory -- Configuration App Mapping), I'm using IIS 5.0 in win2k professional. In this console add the .jsp entension and map it to isapi_redirect(or).dll where ever it is stored. That should work. Also, check to see if your web application has script and executable access. Prashanth --- Jeffrey Polaski [EMAIL PROTECTED] wrote: First, thanks in advance for any help with this... I've gotten Tomcat 4.0.4 set up and everything works well if I connect to port 8080. I'd like to be able to serve servlets and jsp's transparently to users over port 80. However, if I connect through port 80 and try to grab a .jsp file all I get is a download prompt asking me if I want to save the file to my hard drive. (You can see for yourself: http://128.200.156.162/home/jsp-files/fruit.jsp http://128.200.156.162/home/jsp-files/fruit.jsp ). (you can also see that Tomcat works on port 8080: http://128.200.156.162:8080/jsp-files/fruit.jsp http://128.200.156.162:8080/jsp-files/fruit.jsp ) I'm not sure what needs to be changed. Do I need to add an application mapping for .jsp's to the default web site in IIS? If that's so, I'm not sure what to map it _to_. Would it be isapi_redirector.dll? I tried setting Tomcat to run on port 80, but Tomcat just breaks. Is the problem that I'm using the warp connector? Should I be using something else? I've put a copy of all the Tomcat configuration files in: http://128.200.156.162/home/jeff/tomcat/conf/ http://128.200.156.162/home/jeff/tomcat/conf/ . As far as I can tell, everything is set up correctly... I took out ajp12 because it isn't used in anything. Removing it didn't seem to affect anything... I'll be happy to summarize and post the solution to the group, once it's worked out. And again, thanks for any help! Jeff Polaski Manager, Web Services Research Graduate Studies University California, Irvine -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]