Re: servlet context scope variables
Thanks Tim.. I realized that after I sent the question... Vladimer At 12:23 PM 7/19/2004, you wrote: A better thing to do is to implement a ServletContextListener to deallocate any resources. -Tim Vladimer Shioshvili wrote: I know this question is more of a servlet spec question, but I hope someone has an answer.. if i have an object in the servlet context scope, if tomcat is shutdown gracefully would the object get finalized? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
servlet context scope variables
I know this question is more of a servlet spec question, but I hope someone has an answer.. if i have an object in the servlet context scope, if tomcat is shutdown gracefully would the object get finalized? thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fwd: org.apache.jasper.JasperException: Unable to compile class for JSP
I am trying to set up Tomcat 5.0.27 for my coworker. I mean we already installed jdk 1.4.2 and tomcat 5.0.27. Examples jsp pages work fine, but when trying to view the jsp pages in the application i put in (Mondrian) i get the org.apache.jasper.JasperException: Unable to compile class for JSP error. I installed tomcat 5.0.27 on my machine and the whole shebang works fine. I am looking for leads... Thanks in advance, Vlad Stack trace looks like this: org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) 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.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at com.tonbeller.wcf.controller.RequestFilter$MyHandler.normalRequest(RequestFilter.java:108) at com.tonbeller.wcf.controller.RequestSynchronizer.handleRequest(RequestSynchronizer.java:99) at com.tonbeller.wcf.controller.RequestFilter.doFilter(RequestFilter.java:134) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) 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.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) 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.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Unknown Source) Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155
serving binary files
Does anyone have a suggestion on how to server binary files through tomcat? I am creating a binary file as a result of a request and would like to let the user download it. Just setting mime type and passing through as an attachment doesn't work as write methods of the writer seem to truncate upper bits of the data. Any useful suggestion would be greatly appreciated. Thanks, Vlad ___ Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Simple instructions
scroll down and find the email address for unsubscribing... At 12:02 PM 3/1/2004, you wrote: hi excuse me, can you tell me can i unsubscribe from this mailig list thanks a lot - Original Message - From: Michael Forster [EMAIL PROTECTED] To: Tomcat-User [EMAIL PROTECTED] Sent: Monday, March 01, 2004 5:39 PM Subject: Simple instructions I am trying to learn how everything slots together with Jakarta and other things (like openejb etc) has anyone seen or could help put together the Dummys guide to Installing Configuring and Understanding Tomcat Some headers that could be used are What is in the server.xml file How do I set up the server to also serve html pages What files are needed for JNDI? JDBC? What is the bare minimum set of files needed to get tomcat running? Secrets of the WEB-INF dir. Mike. -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d- s:+ a C UL P+ L+++ E--- W+++ N+++ o+ K w O-- M- V- PS+ PE+ Y+ PGP t+++ 5+++ X- R+++ tv++ h++ DI D++ G e+ h++ r+++ y+++ --END GEEK CODE BLOCK-- --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.600 / Virus Database: 381 - Release Date: 28/02/2004 - 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: serving binary files
That worked.. Thanks a lot Yoav.. PS now accepting useless suggestions :) At 11:43 AM 3/1/2004, you wrote: Howdy, Does anyone have a suggestion on how to server binary files through tomcat? I am creating a binary file as a result of a request and would like to let the user download it. Just setting mime type and passing through as an attachment doesn't work as write methods of the writer seem to truncate upper bits of the data. This is not specific to tomcat, it's basic servlet writing. If you're outputting binary data, don't use the writer obtained from HttpServletResponse#getWriter. Instead, use the output stream obtained from HttpServletResponse#getOutputStream. Then setting the mime type will be sufficient. Any useful suggestion would be greatly appreciated. And useless suggestions? ;) Yoav Shapira 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with spanish accents and the 'ñ' char
Leandro, that sounds like an encoding issue either when retrieving the data from the DB, or when displaying in the jsp. In the jsp page try to use % page Content-Type=text/html; charset=iso-8859-1 %. It is also possible that String object uses wrong encoding that doesn't include ñ. See API for java.lang.String for that.. Hope this helps, Vlad At 04:56 PM 12/22/2003, you wrote: I have the same website in a Tomcat 4.0.1 server (that i didn't configure), and it works ok.. the browser that i used is MSIE. BTW, The JSP gets the info from a MySQL database, it's dynamic content. Does anybody know what to do ? Regards, Leandro Costa On Mon, 22 Dec 2003 16:51:15 -0500 Hart, Justin [EMAIL PROTECTED] wrote: This sounds like a font issue, not a JSP issue. You're probably looking at the generated page with a browser that does not have that font loaded. Justin -Original Message- From: Leandro Costa [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 4:46 PM To: [EMAIL PROTECTED] Subject: Problem with spanish accents and the 'ñ' char I'm running Tomcat 5.0.16 and a JSP that connects to a MySQL DB. The data in the DB is ok, because i fetched that information with a quick php application and it displays correctly the accents and such. But when i access the information with this JSP, it puts question marks instead of those characters. I've seen this problem in some forums out there, but no solution... The same JSP is running on a Tomcat 4.0.1 in another machine (that i haven't configured), and it displays the accents correctly. Does anybody know what to do ? Regards, Leandro Costa - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: rare problem with javac
Javier, Check this out.. http://forum.java.sun.com/thread.jsp?forum=32thread=292032tstart=0trange=15 Vlad At 01:02 PM 11/5/2003, you wrote: Hi I'm trying to compile my first servlet but Iýve problems with javac. If I try to run javac without parameters I receive the message: Exception in thread main java.lang.NoClassDefFoundError: com/sun/tools/javac/Main and I receive the same with javac -h javac -? javac -classpath . Algo.java ...etc I never seen something like this...andy idea ? xl PD: I'm running java on W2K server __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: (OT) oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStat ement.java:1082)
Alexander, can you post the code that actually uses the parameter? At 04:35 PM 10/28/2003, you wrote: More to that The form will not be submitted if value is null (checked by JavaScript) So i think it is related to server request Thanks On Saturday 30 August 2003 04:57 pm, Alex Pomansky wrote: It will be true for first run but it works on first and does not on second with same input Thanks - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 4:45 PM Subject: Re: (OT) oracle.jdbc.driver.OraclePreparedStatement.setString(OraclePreparedStatemen t .java:1082) Alexander, Next time, please post this to a Java or JDBC or Oracle mailing list. This is unrelated to Tomcat. I have a servlet that getting post request from form with enctype=multipart/form-data as part of the form is file upload. On the first run it works OK, on the second i am getting: java.lang.NullPointerException What is the value of the string that you are passing to setString? Is it null? If it is, then I'd call this expected behavior. If you want to set the value of a column to NULL then you must use PreparedStatement.setNull(). Sheesh, at a 615 level course you should be checking for nulls. -chris - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
parameter null if an equal sign in the value of the jsp:param?
Hello all, I haven't had much luck locating any information regarding this. And I am not even sure if this is a right place for this question. I am using Tomcat 4.0.6 and when passing a parameter with jsp:include if the value of the parameter contains an equal sign (=) parameter is absent (or null?) from the request of the included page. Has anyone seen such a behavior? Thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: parameter null if an equal sign in the value of the jsp:param?
Wade, thanks for your response. I am not sure if i phrased my question correctly. But i think I am getting to something based on your response. What I am trying to do is: in one jsp i have jsp:include page=another.jsp jsp:param name=something value=something=somethingElse/ /jsp:include as a result of this include, request.getParameter(something) in another.jsp returns null; As I was writing this email I figured it out.. I have to use %3D instead of the = and it's all fine Thanks for your help; Vlad At 03:29 PM 10/21/2003, you wrote: That's normal. The value was empty if you have a line http://server/servlet?param1=wadeparam2=dog=dog param2 had no value, so does it matter if you find it or not? public String workingValue(String s) { if( s != null ) { //just return s later. } else { s = ; } return s; }//end workingValue That should fix any worries. Wade -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:36 PM To: Tomcat Users List Subject: parameter null if an equal sign in the value of the jsp:param? Hello all, I haven't had much luck locating any information regarding this. And I am not even sure if this is a right place for this question. I am using Tomcat 4.0.6 and when passing a parameter with jsp:include if the value of the parameter contains an equal sign (=) parameter is absent (or null?) from the request of the included page. Has anyone seen such a behavior? Thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
case insensitive path
is it possible to make context path case insensitive? Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT] javamail uses wrong timezone in tomcat
Hi all, I am trying to send email message using javamail from Tomcat and messages have GMT + timestamp. Do i have to manually set the date through the javamail message, or i am missing something else? Thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to make a scheduled event on tomcat
i would like to have a method that would run every-so-often (let's say two weeks). i am guessing listener could be an option.. is there a better solution to achieve this? thanks Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
application scope variable lost
I have three contexts running basically the same application. (one is semi-production, and two sandboxes). All of them having bunch of hasmaps in the application scope to use as a reference. there is only one servlet per application that actually does writing to these hashmaps, the rest of the pages/servlets only read the values. the servlet that creates the hashmaps is loaded on startup and has no doGet, or doPost methods. everything seemed fine until this morning out of blue i noticed that all three contexts have empty hashmaps. they were fine earlier this morning though. this is something i was not ready for.. any clues or suggestions what could be the cause? any help is appreciated.. thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: application scope variable lost
Thanks Jon, the code doesn't empty hashmaps, unless it is rerun and somehow data is not retreived from the source (the source is SAS data set, which seems to be quite a pain when dealing with locks). I guess I will have to consider using listeners, but i am still curious how could all three get empty at the same time? could it be that garbage collector claimed all three at the same time? thanks, Vlad At 01:43 PM 7/28/2003, you wrote: Even though your Servlet is loaded on startup the container (ie tomcat) is free to unload and reload servlets at any time. This is why it is so much better (IMO) to use ServletContextListeners for application configuration. Does your servlet create empty maps even if they already exist on the context? If so, the behaviour you are seeing is probably a reload of your Servlet. (Weird that all 3 apps showed the same behaviour at the same time, though) Jon Vladimer Shioshvili wrote: I have three contexts running basically the same application. (one is semi-production, and two sandboxes). All of them having bunch of hasmaps in the application scope to use as a reference. there is only one servlet per application that actually does writing to these hashmaps, the rest of the pages/servlets only read the values. the servlet that creates the hashmaps is loaded on startup and has no doGet, or doPost methods. everything seemed fine until this morning out of blue i noticed that all three contexts have empty hashmaps. they were fine earlier this morning though. this is something i was not ready for.. any clues or suggestions what could be the cause? any help is appreciated.. thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat jsp file is locked on win32
Hello all, I am not sure what could be the reason for this behavior. I did not have much luck finding any information on the web about this either. One particular jsp file is being locked and cannot be deleted. I am trying to update the file and replace with an updated copy from CVS, but because of it is locked it can't be done unless Tomcat is stopped. Out of 30 or so jsp pages I am using for the project this is the only one that gets locked. The only difference is that the file is the biggest (41K). Is that the reason? Also, if you could point me to where I should be looking for an answer to this question, would be greatly appreciated. Thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to compile JSP on Win 2k sp3, tc 4.1.24 as service, sdk 1. 4.1_03 - Is there a solution?
(StandardWrapperValve.ja va:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:171) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.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(Http11Processor.java:594) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:392) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:619) at java.lang.Thread.run(Thread.java:536) This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Log4j problem mixing 2 apps
easiest solution is to use log4j in the context scope, instead of application scope. meaning that you put your log4j.jar file in web-inf/lib of every context, instead of some central location. each application will have to configure the logger separately after that, and you will have no interference. cheers, Vlad At 09:40 AM 6/26/2003, you wrote: I've two different applications running, using log4j to log. For some reason output destined for one app gets in the others log. It looks like only one application can have a log at a time. What might I have done to cause this problem? It looks like the application that has been deployed last gets all the log messages. Thanks, Jim. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
page buffer size
is it possible to specify a page buffer size in web.xml file? or is it only possible in the file? i tried the book, and google and had no success... thanks Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
reposting: error page for basic authentication
Is it possible to define an error page for the basic authentication? and if yes, how/where? i have tried to define error-page for code 401, but realized that i am using constraint on everything , thus i am guessing that error page may be falling under the constraint as well. (not sure about that though..) Thus, how can i modify HTTP Status 401 - Unauthorized to be what i want it to be? all i basically want is to have a little more attractive message saying sorry, your not allowed in there, or something like that.. I've tried to look for the solution on the web, but didn't have any luck. Any help is greatly appreciated. Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
basic authentication error page
Can i define the error page for the basic authentication? amd if yes, where? i have tried to define error-page for code 401, but realized that i am using constraint on everything , thus i am guessing that error page may be falling under the constraint as well. (not sure about that though..) Thus, how can i modify HTTP Status 401 - Unauthorized to be what i want it to be? PS. i am trying to define security constraint in conf/web.xml for every context I've tried to look for the solution on the web, but didn't have any luck. Any help is greatly appreciated. Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: directory list
check out web.xml.. first default for the example, then the specific one.. At 02:28 PM 6/6/2003, you wrote: It is Friday. Let's ask some simple questions. If I don't use apache at all, how do I disable directory listing in Tomcat? Regards, PQ The difference between 'involvement' and 'commitment' is like an eggs-and-ham breakfast: the chicken was 'involved' - the pig was 'committed'. Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: directory list
you learn something new every day, and sometimes even on fridays... ;-) At 02:40 PM 6/6/2003, you wrote: My God, having been coding Servlet/jsp for 3 years, never noticed that very beginning listings=false. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: June 6, 2003 2:29 PM To: Tomcat Users List Subject: Re: directory list On Sat, 7 Jun 2003 02:28, Phillip Qin wrote: If I don't use apache at all, how do I disable directory listing in Tomcat? Please see the FAQ for a howto: http://tomcatfaq.sourceforge.net/configure.html Regards, -- Jason Bainbridge http://jblinux.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
valves, and filtering by ip address
i have asked a question couple weeks ago regarding combining filtering by ip and authenticating by username/password.. thanks all of you who gave suggestions. i finally got to get to it and have a valve working, but now i have another problem.. i return a response with SC_UNAUTHORIZED if user doesn't have a specific ip address.. but then i think i am missing something and i get authentication window three times and then get 401 error.. i am assuming that i am missing realm setup. any lead would be greatly appreciated.. Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reloading class file without disturbing users?
that all depends if he has it set to be serialized (by default they are serialized). but there is a chance of disturbing users if something that is stored in the session is not serializable. reloadable will indeed replace old version with new one, servlet once it detects the changes. but using reloadable=true is not suggested in the production mode (it takes some CPU time). but even this has a chance of disturbing your users. (can't think of a good example, but there is a chance of getting a null pointer exception). At 01:48 PM 5/29/2003, you wrote: your sessions will be serialized, saved and when restarted brought back into memory. filip -Original Message- From: Michael Muratet [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 11:46 AM To: [EMAIL PROTECTED] Subject: Reloading class file without disturbing users? Greetings I haven't found the answer to this in the documentation. I have a jsp that invokes an instance of a java object. I would like to modify the java file and have the change take effect without interrupting any users that are on the system. If use the manager/reload?/path method to reload the application, will it interrupt any active sessions? (The documentation does say it will shut down the application. That sounds like the sessions die, but maybe they're handled at a higher level.) If I put reload=true in the context definition in server.xml, will the application then reload class files in the path /WEB-INF/classes when it detects there is a more current version? Or does this just apply to servlets and jsps? Thanks Mike - 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
error-page question...
someone probably has asked this question before and it's not exactly (or maybe it is) Tomcat question.. i have a header that i am including in every page of the application, and then i have an error page for errors. i want to include header in the error page so it looks like a standard page.. but header itself may cause a problem as it's not plain html, and i would get a recursive action. any quick suggestions? thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: error-page question...
well, that is a qood suggestion, but I would prefer something different - meaning, not having to make header static... At 11:39 AM 4/4/2003, you wrote: Howdy, Quick suggestion: make the header static. ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 11:33 AM To: Tomcat Users List Subject: error-page question... someone probably has asked this question before and it's not exactly (or maybe it is) Tomcat question.. i have a header that i am including in every page of the application, and then i have an error page for errors. i want to include header in the error page so it looks like a standard page.. but header itself may cause a problem as it's not plain html, and i would get a recursive action. any quick suggestions? thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Not seeing new classes
Frank, you have to import the java class that you wrote in jsp code even if the class is in the classes folder of the same context... At 03:24 PM 4/4/2003, you wrote: Brian, Thanks for the reply. No, I didn't have an import because I'm using the default package (that is no package statement). I did add your import statement below, minus the innovtech.util.*, and it had no affect. If you have any other thoughts, please, please let me know. I've been struggling with this for awhile... Thanks, Frank --- Brian Menke [EMAIL PROTECTED] wrote: Does your JSP page include the right import declaration, something like this: %@ page contentType=text/html; charset=iso-8859-1 language=java import=java.sql.*,innovtech.util.*% Note the import attributte. -Brian -Original Message- From: Jan Behrens [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 12:09 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Not seeing new classes -Original Message- From: Frank Garber [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 10:06 PM To: [EMAIL PROTECTED] Subject: Not seeing new classes I'm playing with the Tomcat example jsp files, specifically the date.jsp file. I can add a statement like: %= new java.util.Date() % br / to kick out the current date as a string, but when I try to access a java class I've written, I get a 'cannot resolve symbol'. The error happens as the jsp is being compiled. Here's the offending statement: %= Yada.getString() % br / Here's the class definition: public class Yada { public static String getString() { return Hello from Yada.getString(); } } The Yada.java and Yada.class file lives in the WEB-INF\classes directory. The WEB-INF\classes directory is in the classpath as per the screen dump I'm getting. Frank = Hi Frank, just asking a maybe stupid question... but have you reloaded the examples webapp through the webapp-manager? regards, Jan - 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] = __ My full time permanent email address is always: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: user clicks submit but nothing happens
are you using get or post method for the form? explorer can't handle large headers with get method and submit doesn't do anything... At 05:31 PM 4/3/2003, you wrote: Newbe question: I am trouble shooting a problem we had with our server. The problem seemed simple; when the use clicks, a submit button, JavaScript will check the data in the form, then call the document.form1.submit(). The form action then sends the data to the servlet. Normally the servlet would handle the request and process the data but the servrlet never starts. Instead, the page and form reload. This problem occurs infrequently when we test in house, but when the client is working with the system, it happens quite often. I need help to figure out a way to isolating this problem. The problem must be between the Clients Browser, tomcat, and servlet. Suggestion would be much appreciated. I've been looking for a solution and pattern for several days. Thank you so much Garrett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: jdk switching
are you using tomcat as a service? if so, you should be able to change jvm settings in the registry for the service HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\name of your tomcat service%\Parameters... i have not done that, but my guess is that it should work.. At 02:50 PM 3/31/2003, you wrote: hi all, whats is the easiest way to get tomcat to switch jdks? i'm running windows 2000 professional. i need to port a webapp built on 1.4 to 1.3. i know, it does suck. anyway, the only way i've been able to get tomcat to use a different jdk, is to change JAVA_HOME, and then uninstall and reinstall tomcat. there has to be an easier way, i just haven't had the time to spend on finding it. has anyone else figured this out? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: jdk switching
if you are using tomcat as a service what java_home is does not matter, as jvm path is hardcoded in the registry.. open regedit and find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\%name of your tomcat service%\Parameters %name of your tomcat service% will be something like apache tomcat 4.0 or whatever the name of the service (i tend to change mine, thus don't know what default is...) and one of the parameters is JVM library.. that's what determines the JDK (I am pretty sure..) try to change that to the one you want to use.. At 03:13 PM 3/31/2003, you wrote: no. i changed JAVA_HOME from jdk1.4 to jdk1.3: the tomcat manager application still shows tomcat as using jvm version 1.4, whereas in a command window, java -version returns 1.3. what is going on here? -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 3:07 PM To: Tomcat Users List Subject: RE: jdk switching Howdy, Boy, windows can be evil huh? ;) Changing JAVA_HOME and restarting the server should be sufficient. Is it not? Yoav Shapira Millennium ChemInformatics -Original Message- From: KIESEL,JEFF (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 2:50 PM To: '[EMAIL PROTECTED]' Subject: jdk switching hi all, whats is the easiest way to get tomcat to switch jdks? i'm running windows 2000 professional. i need to port a webapp built on 1.4 to 1.3. i know, it does suck. anyway, the only way i've been able to get tomcat to use a different jdk, is to change JAVA_HOME, and then uninstall and reinstall tomcat. there has to be an easier way, i just haven't had the time to spend on finding it. has anyone else figured this out? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: jdk switching
funny thing about windows being evil.. my pc doesn't need restarting for changes in environmental variables to take effect, my coworker's does.. machines have identical setup though.. haven't found any reason why and got tired looking.. At 03:06 PM 3/31/2003, you wrote: Howdy, Boy, windows can be evil huh? ;) Changing JAVA_HOME and restarting the server should be sufficient. Is it not? Yoav Shapira Millennium ChemInformatics -Original Message- From: KIESEL,JEFF (HP-NewJersey,ex2) [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 2:50 PM To: '[EMAIL PROTECTED]' Subject: jdk switching hi all, whats is the easiest way to get tomcat to switch jdks? i'm running windows 2000 professional. i need to port a webapp built on 1.4 to 1.3. i know, it does suck. anyway, the only way i've been able to get tomcat to use a different jdk, is to change JAVA_HOME, and then uninstall and reinstall tomcat. there has to be an easier way, i just haven't had the time to spend on finding it. has anyone else figured this out? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
NT services
I have a suspicion that NT does not shut down Tomcat properly, has anyone had similar ideas? well, i don't get an event log for tomcat shutdown is NT is rebooted. i do get one if i shutdown tomcat though. i tried to set dependencies between event logger and tomcat thinking that event logger may be shutdown earlier than tomcat, but didn't see any changes. still the same... any ideas? Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
redirecting stdout
I have tried to look for this on the web, but had not have much of a success.. this probably has been asked many times before.. I am loosing contents of the log file for System.out every time tomcat is restarted. tomcat, instead of appending to the file, overwrites it. (same with System.err) I am using tomcat 4.0.6 running as an NT service on a win 2K box. thus, the question is, is there a way to either make tomcat date the file, or append to it? Thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Servlet help
Sandra, if you are planning to do the changes often you are probably better off if you set reloadable parameter to true in server.xml file, (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/context.html) however, setting it to reloadable means that you should accept that it will eat up some of your CPU time as well (not a significant one, but it's there).. otherwise, compiling your file, and restarting tomcat should suffice... vlad At 06:00 PM 3/26/2003, you wrote: This seems like a silly question: when I make changes in my servlet what do I have to do to load the new file? I have tried just saving it. I have tried restarting Tomcat. I have tried recompiling the file. I have tried recompiling while Tomcat was shutdown and while Tomcat was running. I have tried restarting the machine. Only restarting the machine seems to work. Comments? Suggestions? Ridicule? Sandra Patricia Hunter Systems Development and Web Design - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat restart
We have a weekly scheduled restarts of all the servers. One of servers has tomcat that i am overlooking. i am running tomcat on a windows 2000 server as a service and noticed that when the computer is restarted tomcat does not throw a shutdown event log item. is this normal, or should i be worried about it? as much as i know windows is properly restarted (by systems people)... Thanks in advance Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat and SAS
Hello all, does anyone have experience with making SAS spawner and tomcat. Installation was successful, the whole thing seems to be working, but out of blue tomcat starts hogging CPU (99%) and once restarted bunch of SAS spawner errors appear in the application log in windows event logger. Thanks for your help, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: tomcat-user-unsubscribe@xx For additional commands, e-mail: tomcat-user-help@xx
tomcat NT service memory
Hi, I am experiencing problems with Tomcat because of default JVM memory size and want to let it use more memory. The only way i know is to change/add environmental variable for the service in the registry (CATALINA_OPTS=-Xmx256m)... However, i am not sure if this is the best/correct way. Could anyone either confirm that this is the correct approach, or give me suggestions. Thanks, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
session serialization
I am sure this question has been asked before, i am trying to find an answer, but not much luck yet. how can i disable session serialization? thanks vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How do I unsubscribe?
send an email to [EMAIL PROTECTED] At 08:38 AM 1/13/2003, you wrote: How do I unsubscribe from the forum? I did try to 2 times by sending an email to un-subscribe address. But no luck. Thanks Krishna Nagaraj Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
jakarta-taglibs DBTags
i know this is not a tomcat problem, but i think someone will be able to help me out on this from this list.. i am trying to use dbTags and access Oracle DB, but i think i am not getting the url right.. i tried jdbc:oracle:thin:@server:port:service but doesn't seem to like it.. any help appreciated... Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: jakarta-taglibs DBTags
thanks... At 01:52 PM 1/6/2003, you wrote: jdbc:oracle:thin:@machine:port:database -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 1:44 PM To: Tomcat Users List Subject: jakarta-taglibs DBTags i know this is not a tomcat problem, but i think someone will be able to help me out on this from this list.. i am trying to use dbTags and access Oracle DB, but i think i am not getting the url right.. i tried jdbc:oracle:thin:@server:port:service but doesn't seem to like it.. any help appreciated... Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
servlet path
for some reason i remember seeing somewhere that i can painlessly change how servlets are accessed. by this i mean removing /servlet for URI path and using xx.com/ instead of xx.com/servlet/. any help appreciated, Vlad Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Console output in Tomcat
Raj, This is what happens with Windows (i am not sure how is it in Linux environment). If using tomcat as a service, output goes to a log file stdout.log (it's defined by default in the service configuration) located in %tomcat_home%\logs folder. Along with that you will find sterr.log that has System.err.out(..) output. Vlad At 01:15 PM 12/31/2002 +0530, you wrote: Hi all, When I used Java Web Server, it ran in the console, and if I had a statement like System.out.println(someValue) in my servlet, I was able to see the output on the console. Where does all this output go in Tomcat? I am not able to see anything printed by System.out.println(). Thanks, Raj -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Console output in Tomcat
Sumit, i am not trying to get into an argument and plus i haven't dealt with 4.1.12 (i checked both 4.0.6 and 4.1.18). The only difference is that i am talking about running tomcat as an NT service and if your System.out File and System.err File values are set in the service properties in the registry (they are there by default) then all of the System.err and System.out output is logged in the appropriate file. Again, i am not sure about non-NT service. cheers Vlad At 09:31 AM 12/31/2002, you wrote: Vlad, Unfortunately no. The output from System.err doesnt get logged not with Tomcat4.1.12. I had run in the same problem a couple of days before and the only alternative was to install cygwin and redirect the output to a file. Sumit -Original Message- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 31, 2002 8:37 AM To: Tomcat Users List Subject: Re: Console output in Tomcat Raj, This is what happens with Windows (i am not sure how is it in Linux environment). If using tomcat as a service, output goes to a log file stdout.log (it's defined by default in the service configuration) located in %tomcat_home%\logs folder. Along with that you will find sterr.log that has System.err.out(..) output. Vlad At 01:15 PM 12/31/2002 +0530, you wrote: Hi all, When I used Java Web Server, it ran in the console, and if I had a statement like System.out.println(someValue) in my servlet, I was able to see the output on the console. Where does all this output go in Tomcat? I am not able to see anything printed by System.out.println(). Thanks, Raj -- 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Virtual Hosting with Tomcat
Mike, in server.xml file in conf folder find connector tag (in new version it's coyteconnector, in old version it's httpconnector) (or just search for 8080) and replace 8080 with 80. that will eliminate need for :8080. also in server.xml, for the webtop context, make path= and webtop's index.htm(l) will become default page. it will be something like this.. Context path= docBase=webtop debug=0 reloadable=false/ Cheers Vlad At 12:27 PM 12/31/2002, you wrote: Hi there, Many thanks for the info. I am still having the following problems I hope you can help with. A) Our domain name is seewithin.stc.com. The application is in a folder called webtop. I would like the default location to be the webtop folder. However no matter what I do, when I type in seewithin.stc.com:8080, it goes to the default Tomcat page. B) I would like to leave out the port number in the address. Is there a way to configure this? Many many thanks for all your help! Mike -Original Message- From: Robert Abbate [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 9:42 AM To: Tomcat Users List Cc: Mike Rixford Subject: RE: Virtual Hosting with Tomcat I'd say to just send requests directly to Tomcat on it's port..usually 8180 or 8080 http://yoursite.com:8180 then edit the server.xml file to point to where you want it to serve your webpages. Here's an example config: Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host you'll put that in your server.xml file in between: Service name=Tomcat-Standalone !-- Define the top level container in our container hierarchy -- Engine name=Standalone defaultHost=localhost debug=0 Host name=yoursite.com Context path= docBase=/home/mydirectory/public_html debug=0/ Aliaswww.yoursite.com/Alias /Host /Engine /Service -Original Message- From: Mike Rixford [mailto:[EMAIL PROTECTED]] Sent: Monday, December 30, 2002 11:31 AM To: Tomcat Users List Subject: Virtual Hosting with Tomcat Hi there, I need to setup virtual hosting with Tomcat. We are not running the full Apache server, just Tomcat and its web piece. Can this be done? Everything I have found so far refers to Apache not Tomcat on its own. Any help would be greatly appreciated. Thanks, Mike -- 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] Vladimer Shioshvili QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814 Phone: (301) 657 3077 ext. 155 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]