RE: Form Double Submit Detection
Tom, You can also put JavaScript code in the form's onSubmit event code to disable all the elements in the form. To make sure this happens after submission (otherwise nothing gets submitted) use window.setTimeout() to run the disable script after a short delay. Another alternative is to put a unique token in a hidden field. The server keeps track of these tokens: once one is spent by submitting the form it can't be reused. This is more bulletproof but needs more coding (though I expect you could use a filter to localize it). Chris -Original Message- From: Bill Lunnon [mailto:[EMAIL PROTECTED] Sent: 27 October 2003 23:26 To: Tomcat Users List Subject: RE: Form Double Submit Detection Tom, Don't know if this is complimentary to your workflow, try a javascript confirm (ie a client side pop-up, asking the user to click Ok to continue). This will catch any double clicks on the client side. Hope this helps Bill -Original Message- From: Tom Parker [mailto:[EMAIL PROTECTED] Sent: Tuesday, 28 October 2003 10:18 AM To: [EMAIL PROTECTED] Subject: Form Double Submit Detection I've designed my workflows so that they do not need to store anything in the user's session. This allows the user to conduct more than one instance of a particular task at the same time without data getting mixed up. However this presents me with a problem if the user double clicks the submit button and causes the server to do something twice. The normal(?) way of detecting this would be to store a unique token in the session and in the form, and compare them to ensure that the user has not submitted this form twice. For this to work, you need to store something in the session for each possible form submission. If the user never submits the form, then the token will hang around for the life of the session as we don't know that the user won't submit the form someday. Currently I'm thinking of allowing the user to store a finite number of duplicate check tokens, or to make the tokens expire after an amount of time. The former doesn't seem very attractive (load a record, view a bunch of other records such that the first record's token is dropped, save the first record - no token found), while the latter could lead to rather a lot of tokens being stored. Is there a solution to this problem that I'm missing? - 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] The information in this e:mail and any attachments or any reproduction of this e:mail in whatever manner is confidential and for the use of the addressee(s) only. If you are not the addressee then the distribution, use or reproduction of this e:mail or the information within it is strictly prohibited and may be unlawful. If received in error please advise the sender and delete all record of it from your system. Although believed to be virus free, accurate and complete, responsibility for any loss or cost arising from its receipt or use or its incomplete or inaccurate transmission is hereby excluded to the fullest extent possible. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why not to create threads?
Why should I be avoiding creating my own threads in a web application? I have a couple of scheduled components, and I'm not sure how else I would implement them. Chris -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 28 October 2003 15:53 To: Tomcat Users List Subject: Re: Number of processes and relationship to mod_jk, Apache, tomcat snip If you avoid creating your own threads in your web application (which you should be avoiding anyway), you're generally okay. /snip The information in this e:mail and any attachments or any reproduction of this e:mail in whatever manner is confidential and for the use of the addressee(s) only. If you are not the addressee then the distribution, use or reproduction of this e:mail or the information within it is strictly prohibited and may be unlawful. If received in error please advise the sender and delete all record of it from your system. Although believed to be virus free, accurate and complete, responsibility for any loss or cost arising from its receipt or use or its incomplete or inaccurate transmission is hereby excluded to the fullest extent possible. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: POI
Justin, I've used POI to read and write Excel files. I'd say it was generally very good, although I had problems reading a file in, IIRC, pre-Excel 97 format. Chris -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: 22 October 2003 15:01 To: Tomcat Users List (E-mail) Subject: POI I'm considering using POI (the jakarta package for managing OLE objects in java) in a commercial project. 2 Questions 1) Is it any good? 2) Will the license allow for this? IANAL. Justin W. Hart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information in this e:mail and any attachments or any reproduction of this e:mail in whatever manner is confidential and for the use of the addressee(s) only. If you are not the addressee then the distribution, use or reproduction of this e:mail or the information within it is strictly prohibited and may be unlawful. If received in error please advise the sender and delete all record of it from your system. Although believed to be virus free, accurate and complete, responsibility for any loss or cost arising from its receipt or use or its incomplete or inaccurate transmission is hereby excluded to the fullest extent possible. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JSP question
Most likely document.form1 is not visible in the browser object model. There are various ways to address the form, but the most portable in this case is probably document.forms[0]. Chris -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: 21 October 2003 16:35 To: Tomcat Users List Subject: JSP question Hello All, I am pulling my hair on this problem, and since there are many Java experts on this mailing list, I hope someone can help me on this. I have a simple servlet that calls a JSP page where the user can enter a search value. When the user clicks on the submit button, the search value will be passed back to the servlet for processing and display. All these are running on Tomcat 4.1.24. Everything works fine until I added the form validation routine in the JSP page. Initially, my input button type was submit. I changed it to button and leave the submission to the form validation routine which is in JavaScript. Now, when I click on the button, I get the error message of: Object doesn't support this property or method at the line of code: document.form1.submit(); Does anyone know why? The following is code of the JSP page: //code begin-- html head titleblah blah blah/title link rel=stylesheet href=css/standard.css type=text/css /head body form name=form1 method=POST action= center bPlease enter ANI for query:/bbrbr table tr tdANI/td tdinput type=text name=ani/TD /tr tr td/td td COLSPAN=2 input type=button name=submit value=Submit onclick=javascript:validateForm(); input type=Reset name=cmdReset value=Reset/td /tr /table /center script LANGUAGE=JavaScript function validateForm(){ if(document.form1.ani.value == ){ alert(Please enter an ANI); return; } document.form1.submit();//This line generated error. The .submit() method is not supported. } /script /form nbsp; %@ include file=footer.jsp% /body /html //code end Any help will be very much appreciated. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information in this e:mail and any attachments or any reproduction of this e:mail in whatever manner is confidential and for the use of the addressee(s) only. If you are not the addressee then the distribution, use or reproduction of this e:mail or the information within it is strictly prohibited and may be unlawful. If received in error please advise the sender and delete all record of it from your system. Although believed to be virus free, accurate and complete, responsibility for any loss or cost arising from its receipt or use or its incomplete or inaccurate transmission is hereby excluded to the fullest extent possible. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Why should I use Tomcat vs .NET?
Chuck, I agree with most of what you say except for your point about software purchase costs. While $450 is a lot for an individual to find, for a company the purchase cost of software is trivial compared to the cost of learning to use it. I don't know what contract rates are like in San Diego, but I bet it wouldn't take an employer long to burn $450. A new technology that's easy to learn is always attractive from the employers' point of view - they don't need to spend a lot on training and they can use relatively low-grade staff. That's why the appalling VB was such a success, but I don't think .NET is that easy to learn - unless you're already a Java developer! Chris -Original Message- From: Goehring, Chuck Mr., RCI - San Diego [mailto:[EMAIL PROTECTED] Sent: 13 October 2003 20:31 To: Tomcat Users List Subject: RE: Why should I use Tomcat vs .NET? Eduardo, A couple interesting points involves myself and my coworker. He has about ten years of VB programming experience. None of his code can be migrated to vb.net without major rewriting because there is no semblance of backward compatibility. It wouldn't be practical for the customer to pay him to convert the app to dot.net, so he's stuck in 1998. All the VB programmers have been screwed by Microsoft this way. With me, I've been doing Java and perl for about 6 years. Because of the contracting environment I'm in, it looked like my work was going to dry up. An opportunity came along for me within the company. They wanted to do ASP 2.0 web development because they had to meet a variety of government requirements and ASP had been approved for use. Thinking I was going to have to do that project, I checked into it. Firstly, the ASP code they were going to write is totally incompatible with ASP.net, so it was going down a dead path. To cover all the bases, I did some research into upgrading my copy of Visual C++ 6.0 to Visual Studio.net. MS wanted $450 for the upgrade. That's a lot for me to fork over to start over with a completely different system that has limited uses. Fortunately, I didn't have to go that route, but it came close. Comparing that to continuing with Tomcat and Eclipse or NetBeans or JCreator (free version), I can't see why anyone would choose to go the dot.net route. MS has also done a powerplay on the folks that use Frontpage Extensions. The Frontpage 200x now requires that you subscribe to a service from Microsoft to enable important features of the product. It is a lot like extortion. I like using the free products because I can dump any of them at any time without feeling guilty about wasting the company's money. Once you spend thousands to use a proprietary product, you may never be able to escape. I still have to support an ancient Developer 2000 product that can't be cost-effectively be migrated to a newer version and has all kinds of compatibility issues when used with newer products. Chuck -Original Message- From: Eduardo Vazquez [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:48 AM To: 'Tomcat Users List' Subject: RE: Why should i use Tomcat vs .NET? Up front I do need to say that the support of this user group has been more than outstanding. I was a sole person looking for help and I received more than I could have expected, and for that thanks to all. Eventually I have lost the war; my CTO has decided on a new technology on his lonesome and has hinted that any effort expended moving forward won't result in any reconsideration of his decision (so much for standards and not putting all your eggs in one basket) Again, I've learned much from all those who have replied to my request and hope that others have learnt a little sumthin' along the way. Much Thanks, Eduardo -Original Message- From: epyonne [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 9:26 AM To: Tomcat Users List Subject: Re: Why should i use Tomcat vs .NET? Simple decision. If your company is a pure Microsoft shop, i.e. you use Windows desktops, Windows servers, and SQL Server databases, then it is a no-brainer, go with .NET. On the other hand, if your company has a mixed environment like ours, i.e. Windows and Linux OSs, UNIX Servers, Windows Servers, Oracle databases so on and so on. You may not want to use .NET. Microsoft claims that .NET can port to UNIX, but there is still a long way to go IMHO. J2EE will be a better choice for such diverse environment. By the way, Tomcat is merely a web/servlet container and .NET is an enterpirse architecture. You are comparing apple to orange. Hope this helps. - Original Message - From: Eduardo Vazquez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 10, 2003 10:48 AM Subject: Why should i use Tomcat vs .NET? I work for a small company which is seriously considering the .NET route moving into the future. My mission if I chose to accept is to sway popular opinion towards Tomcat (Jakarta) for reasons I've
RE: connectors documents
Mark, Um, I think it's what you're trying to do. The server runs two virtual hosts: www.xxx.com and admin.xxx.com. Either can be accessed through the default page with just the domain name or by specifying the page (e.g. https://www.xxx.com/login.jsp). There's a certain amount of weirdness that I think may be a Sun Cobalt feature: httpd.conf contains perl script that rewrites an included file with SSL-related tags prior to including it. But basically there are virtual hosts specified in httpd.conf (via included files) which reference contexts that are defined in server.xml inside the container that specifies the warp connector. All a bit vague, as I don't have access to the server from here. Let me know if you need more detail and I'll mail you some files direct. Chris -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 18:13 To: Tomcat Users List Subject: Re: connectors documents Chris But when you say its working, is it http://domain/webappname/action.do or what i'm trying to with http://domain/action.do unless its the root webapp i think its always going to need the nasty context path after the domain. Which could me being fussy but I think is a pretty poor show. The only way i can think of is to have a different server.xml for each webapp. But the administration will be again worse with a zillion files to edit.. But I'm sure somebody would have thought this through between mod_jserv and now jk2.. Or perhaps i'm just a hopeless optimist. Thanks for your reply Mark On Wednesday, October 1, 2003, at 04:32 PM, Walker Chris wrote: Yes, I'm using virtual hosts and so far it's running OK. I'll check on the sources I'm using. I suspect that my configuration has a major problem with unclaimed resources if you shut down and restart httpd and Tomcat (MySql is implicated, but I didn't restart that). After two disastrous days struggling to keep the site up I discovered that rebooting the server and leaving it alone works fine. Chris -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 13:43 To: Tomcat Users List Subject: Re: connectors documents If you have mod_webapp running with virtual hosts then i'd be interested to know.. Webapp is an option, i'm using tc4.1.27 with apache2.0.47 I compiled from the accompanying connectors src. mod_jk/1.2.3-dev or mod_jk2/2.0.3-dev or mod_webapp/1.2.0-dev at this stage i really dont mind which i use. but I cant believe that this vhost issue is uncommon. Cheers Mark snip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6
Michael, What account does the service run under? The default for most services is the System account, which may be having problems accessing some resource that your application needs. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 15:34 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Yoav, you're a genius. It came right up when I stopped the service and ran it from the command window. I'm NOT crazy. ;) Thank you! Now, the question is that when I deploy this it's going to be Tomcat 4.0.6 running as a service and connected to IIS on a Windows XP server. What did I do wrong when I deployed Tomcat as a service that should be corrected now? My sincerest thanks. I've been at my wits end, and haven't been thinking as clearly as I should. I'm glad that you were. - MOD --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Yes, I run Tomcat as a Windows service. I asked for both stdout.log and stderr.log when I set up the service. Here's the script. - MOD Hmm, let's try to take another variable out of the equation. I'm sure your script is fine, but can you run tomcat normally from the command line, not as a service, and not using your script. Use catalina.bat run so that the console window stays open. 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] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6
Hi Michael, This is a Winows thing, rather than a Tomcat thing. Control Panel-Services-Apache Tomcat 4.1-Startup will show you the NT account the service uses to start. By default services use the System account, which IIRC, can't access any network resources such as mapped drives. It may also be unable to access local files if they have restrictive permissions. When you run Tomcat as a command it will run under your login account. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 16:02 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Hi Chris, Hmmm, good question. There's no argument in the tomcat.exe that calls for a username OR password. I'm admin on my own machine. The question is: what about the deployment machine? If it's installed under the admin account, wouldn't it use the System admin username and password? How would that affect looking inside the JARs for the TLD file? I'm not saying you're wrong. I have NO idea why the service would fail and the command line succeed. I'm just trying to understand what's really happening here so I can correct it. Thanks - MOD --- Walker Chris [EMAIL PROTECTED] wrote: Michael, What account does the service run under? The default for most services is the System account, which may be having problems accessing some resource that your application needs. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 15:34 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Yoav, you're a genius. It came right up when I stopped the service and ran it from the command window. I'm NOT crazy. ;) Thank you! Now, the question is that when I deploy this it's going to be Tomcat 4.0.6 running as a service and connected to IIS on a Windows XP server. What did I do wrong when I deployed Tomcat as a service that should be corrected now? My sincerest thanks. I've been at my wits end, and haven't been thinking as clearly as I should. I'm glad that you were. - MOD --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Yes, I run Tomcat as a Windows service. I asked for both stdout.log and stderr.log when I set up the service. Here's the script. - MOD Hmm, let's try to take another variable out of the equation. I'm sure your script is fine, but can you run tomcat normally from the command line, not as a service, and not using your script. Use catalina.bat run so that the console window stays open. 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] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6
I'd rather leave that one for somebody who has experience with Tomcat on a Win32 production server... Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 16:21 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Hi Chris, Thank you for pointing that out. (I'd forgotten about it.) I see that I'm set up to log in as the System account, but the checkbox that says Allow service to interact with local desktop was unchecked. H - could that have kept Tomcat from looking inside those JARs? I have two other JSTL apps that deployed and ran fine under that arrangement, but I'll try it with this one and see if that explains it. When I deploy on a test/prod server, should I ask the admin to set up the Tomcat service to log in as System with desktop access? Or is it better to set up a separate account? Please advise. Thanks - MOD Thanks for contributing to --- Walker Chris [EMAIL PROTECTED] wrote: Hi Michael, This is a Winows thing, rather than a Tomcat thing. Control Panel-Services-Apache Tomcat 4.1-Startup will show you the NT account the service uses to start. By default services use the System account, which IIRC, can't access any network resources such as mapped drives. It may also be unable to access local files if they have restrictive permissions. When you run Tomcat as a command it will run under your login account. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 16:02 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Hi Chris, Hmmm, good question. There's no argument in the tomcat.exe that calls for a username OR password. I'm admin on my own machine. The question is: what about the deployment machine? If it's installed under the admin account, wouldn't it use the System admin username and password? How would that affect looking inside the JARs for the TLD file? I'm not saying you're wrong. I have NO idea why the service would fail and the command line succeed. I'm just trying to understand what's really happening here so I can correct it. Thanks - MOD --- Walker Chris [EMAIL PROTECTED] wrote: Michael, What account does the service run under? The default for most services is the System account, which may be having problems accessing some resource that your application needs. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 15:34 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Yoav, you're a genius. It came right up when I stopped the service and ran it from the command window. I'm NOT crazy. ;) Thank you! Now, the question is that when I deploy this it's going to be Tomcat 4.0.6 running as a service and connected to IIS on a Windows XP server. What did I do wrong when I deployed Tomcat as a service that should be corrected now? My sincerest thanks. I've been at my wits end, and haven't been thinking as clearly as I should. I'm glad that you were. - MOD --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Yes, I run Tomcat as a Windows service. I asked for both stdout.log and stderr.log when I set up the service. Here's the script. - MOD Hmm, let's try to take another variable out of the equation. I'm sure your script is fine, but can you run tomcat normally from the command line, not as a service, and not using your script. Use catalina.bat run so that the console window stays open. 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] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6
What account was it running under before? Can you set it to start under your account? It would be worth making sure that everything the app needs, especially the taglibs, is accessible to all users. Failing that, I suppose you could search the source for the message No tags. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 16:42 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Hi Chris, I just tried my app after setting up the Windows service to login under the system account and checking the box to allow interaction with the local desktop. The echo and data source apps still succeeded, and the big app failed for the same reason: No tags in stderr.log. That's not it. Anybody else seen such behavior running Tomcat 4.0.6 as a Windows service? - MOD --- Walker Chris [EMAIL PROTECTED] wrote: Hi Michael, This is a Winows thing, rather than a Tomcat thing. Control Panel-Services-Apache Tomcat 4.1-Startup will show you the NT account the service uses to start. By default services use the System account, which IIRC, can't access any network resources such as mapped drives. It may also be unable to access local files if they have restrictive permissions. When you run Tomcat as a command it will run under your login account. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 16:02 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Hi Chris, Hmmm, good question. There's no argument in the tomcat.exe that calls for a username OR password. I'm admin on my own machine. The question is: what about the deployment machine? If it's installed under the admin account, wouldn't it use the System admin username and password? How would that affect looking inside the JARs for the TLD file? I'm not saying you're wrong. I have NO idea why the service would fail and the command line succeed. I'm just trying to understand what's really happening here so I can correct it. Thanks - MOD --- Walker Chris [EMAIL PROTECTED] wrote: Michael, What account does the service run under? The default for most services is the System account, which may be having problems accessing some resource that your application needs. Chris -Original Message- From: Michael Duffy [mailto:[EMAIL PROTECTED] Sent: 02 October 2003 15:34 To: Tomcat Users List Subject: RE: One More Piece Of Info RE:JSTL Failure Under Tomcat 4.0.6 Yoav, you're a genius. It came right up when I stopped the service and ran it from the command window. I'm NOT crazy. ;) Thank you! Now, the question is that when I deploy this it's going to be Tomcat 4.0.6 running as a service and connected to IIS on a Windows XP server. What did I do wrong when I deployed Tomcat as a service that should be corrected now? My sincerest thanks. I've been at my wits end, and haven't been thinking as clearly as I should. I'm glad that you were. - MOD --- Shapira, Yoav [EMAIL PROTECTED] wrote: Howdy, Yes, I run Tomcat as a Windows service. I asked for both stdout.log and stderr.log when I set up the service. Here's the script. - MOD Hmm, let's try to take another variable out of the equation. I'm sure your script is fine, but can you run tomcat normally from the command line, not as a service, and not using your script. Use catalina.bat run so that the console window stays open. 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] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product
RE: Tomcat sucks at receiving large messages
Hi, I should have thought that as a general principle it's not a good idea to try to store the response in a byte array. I recently worked on a piece of code that did just that (worse, actually, it then copied the array into a String). Sooner or later a really big upload will blow up the application. Reading and writing a byte at a time (with appropriate buffering) requires a bit more ingenuity, especially when you're searching for things like boundary strings in the response, but it's the only way to remove any constraint on upload size. Chris Walker -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 30 September 2003 19:30 To: Tomcat Users List Subject: RE: Tomcat sucks at receiving large messages Howdy, public void service(HttpServletRequest req, HttpServletResponse res) { BufferedReader reader = req.getReader(); try { char [] charArr = new char[req.getContentLength()]; reader.read(charArr); String str = new String(charArr); try { File f = new File(servlet.out); PrintWriter out = new PrintWriter(new FileWriter(f)); out.print(str); out.flush(); out.close(); } catch(IOException err { System.err.println(err.toString()); } } catch(IOException err) { System.err.println(err.toString()); } } What happens if you ditch the req.getContentLength() approach (there are times when it will be -1 anyways), and do something like: BufferedReader reader = req.getReader(); StringBuffer contents = new StringBuffer(); String line = null; while((line = reader.readLine()) != null) { contents.append(line); } System.out.println(contents); (Later we'll worry about the writing -- first make sure you're reading the entire contents). 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: connectors documents
Sadly, I have to agree with Mark. Last week Tim Funk suggested I RTFAQ to find out why not to use mod_webapp. Though well-meant, this suggestion was regrettable from my point of view as I was 24 hours from a go-live with webapp (having read in a highly-recommended Tomcat book that webapp is the only way to go). So I spent a day trying to get mod_jk(2) to work on my server (Sun Cobalt Raq550, Apache 1.3, Tomcat 4.1), followed by a night putting webapp back. Unless I've missed an important part, the JK section on the Tomcat site is frustratingly vague. There are lots of snippets from config files, but there's no hard specification of what the elements in these files do and how they inter-relate. Examples are useful, but examples alone are like giving a hungry man a fish rather than a rod. I know this stuff is all produced by magnificent voluntary effort, and I also know that documentation is the armpit (to be polite) of software development. But if the software isn't well-documented then the effort that went into producing it is largely wasted... Regards Chris -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 10:13 To: Tomcat Developers List Cc: [EMAIL PROTECTED] Subject: Re: connectors documents Yeah i know, I did.. and now i'm trying a cheeky question to the dev list.. They seem to be more interested in other stuff on the user list.. Given that both tomcat and apache are so great i'm surprised that they continue to be plagued by this connector business. How many years now? , I'm not sure, but if there was reason not to use these technologies then connectors would be it.. I thought a mail to the folks who are involved with this stuff could be the way forward. Its great to see an example on jk2 and vhosts , it would be even better if it worked. So to repeat my question on both lists.. Is there any documentation, on jk, jk2 or mod_webapp that explains configuring vhosts in a sensible manner that doesn't just go as far as http://domain/webappname .. because frankly that bit is easy, and suffers from chocolate fire-guard syndrome in terms of it utility. If not i would be eternally grateful if anyone could take me through this, especially if you have a real server in the real world , really doing this.. I dont care which connector, protocol whatever. If this does work and if i'm being a dofuss then feedback would be useful.. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html does this work? Looks like there are 3 files that need amending just to administer it, but i'll live with it.. So far apache cant find the workers2.properties.. I have no idea why or how to find out why.. Many thanks in advance Mark On Wednesday, October 1, 2003, at 09:47 AM, David Rees wrote: On Wed, October 1, 2003 at 1:18 am, Mark Lowe sent the following Despite using tomcat for 3-4 years jakarta connectors has remained the moving goal post. I dont usually have the pleasure of having to get tomcat and apache talking to one another, but i do now. snip Subject is really for tomcat-users list. Post the question there and I'll try to answer. -Dave - 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]
RE: [OFF-TOPIC] RE: can resultset object be re-used
No. You can re-use the reference to the object (rs), but it refers to a new resultset object created by ExecuteQuery. Chris -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 14:58 To: 'Tomcat Users List' Subject: RE: [OFF-TOPIC] RE: can resultset object be re-used Well I just gotta say that's not true. You *can* re-use a resultset object. ResultSet rs = st.executeQuery(SELECT * FROM FOO); //code that loops over rs and outputs results... rs = st.executeQuery(SELECT * FROM BAR); //a re-used ResultSet object. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 7:44 AM To: Tomcat Users List Subject: [OFF-TOPIC] RE: can resultset object be re-used Howdy, First, this is off-topic and should be marked as such. Second, the answer is no: you can't reuse them, it's one per query. In fact, since ResultSet is an interface, you don't even have a constructor you can use (although you could always try to reflect the implementation). Yoav Shapira Millennium ChemInformatics -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 4:21 PM To: Tomcat Users List Subject: can resultset object be re-used jdbc question (tomcat 4.x, java 1.4.2, jdbc 3.0): can the ResultSet object be re-used to retrieve results from altogether different sql query in same .jsp page? Or does a new ResultSet object need to be created for each distinct sql query? -paul lomack. 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: connectors documents
Yes, I'm using virtual hosts and so far it's running OK. I'll check on the sources I'm using. I suspect that my configuration has a major problem with unclaimed resources if you shut down and restart httpd and Tomcat (MySql is implicated, but I didn't restart that). After two disastrous days struggling to keep the site up I discovered that rebooting the server and leaving it alone works fine. Chris -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 13:43 To: Tomcat Users List Subject: Re: connectors documents If you have mod_webapp running with virtual hosts then i'd be interested to know.. Webapp is an option, i'm using tc4.1.27 with apache2.0.47 I compiled from the accompanying connectors src. mod_jk/1.2.3-dev or mod_jk2/2.0.3-dev or mod_webapp/1.2.0-dev at this stage i really dont mind which i use. but I cant believe that this vhost issue is uncommon. Cheers Mark On Wednesday, October 1, 2003, at 11:20 AM, Walker Chris wrote: Sadly, I have to agree with Mark. Last week Tim Funk suggested I RTFAQ to find out why not to use mod_webapp. Though well-meant, this suggestion was regrettable from my point of view as I was 24 hours from a go-live with webapp (having read in a highly-recommended Tomcat book that webapp is the only way to go). So I spent a day trying to get mod_jk(2) to work on my server (Sun Cobalt Raq550, Apache 1.3, Tomcat 4.1), followed by a night putting webapp back. Unless I've missed an important part, the JK section on the Tomcat site is frustratingly vague. There are lots of snippets from config files, but there's no hard specification of what the elements in these files do and how they inter-relate. Examples are useful, but examples alone are like giving a hungry man a fish rather than a rod. I know this stuff is all produced by magnificent voluntary effort, and I also know that documentation is the armpit (to be polite) of software development. But if the software isn't well-documented then the effort that went into producing it is largely wasted... Regards Chris -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: 01 October 2003 10:13 To: Tomcat Developers List Cc: [EMAIL PROTECTED] Subject: Re: connectors documents Yeah i know, I did.. and now i'm trying a cheeky question to the dev list.. They seem to be more interested in other stuff on the user list.. Given that both tomcat and apache are so great i'm surprised that they continue to be plagued by this connector business. How many years now? , I'm not sure, but if there was reason not to use these technologies then connectors would be it.. I thought a mail to the folks who are involved with this stuff could be the way forward. Its great to see an example on jk2 and vhosts , it would be even better if it worked. So to repeat my question on both lists.. Is there any documentation, on jk, jk2 or mod_webapp that explains configuring vhosts in a sensible manner that doesn't just go as far as http://domain/webappname .. because frankly that bit is easy, and suffers from chocolate fire-guard syndrome in terms of it utility. If not i would be eternally grateful if anyone could take me through this, especially if you have a real server in the real world , really doing this.. I dont care which connector, protocol whatever. If this does work and if i'm being a dofuss then feedback would be useful.. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html does this work? Looks like there are 3 files that need amending just to administer it, but i'll live with it.. So far apache cant find the workers2.properties.. I have no idea why or how to find out why.. Many thanks in advance Mark On Wednesday, October 1, 2003, at 09:47 AM, David Rees wrote: On Wed, October 1, 2003 at 1:18 am, Mark Lowe sent the following Despite using tomcat for 3-4 years jakarta connectors has remained the moving goal post. I dont usually have the pleasure of having to get tomcat and apache talking to one another, but i do now. snip Subject is really for tomcat-users list. Post the question there and I'll try to answer. -Dave - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL
RE: Using drop down boxes in JSP
Anson, You will have to write client JavaScript to do this. OTTOMH, attach a function to the onChange event of your SELECT tag. The object representing the tag will probably be accessible as document.all.yourTagId, or possibly something else, depending on the browser object model. This object will expose a collection corresponding to all the OPTION tags and a property to indicate which is selected. I'd recommend you to find a definition of the browser object model and to check out sites specializing in JavaScript. Chris Walker -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 11:31 To: Tomcat Users List Subject: Using drop down boxes in JSP Hi people, I want to know, what is the best way to scan the option chosen each time the user selects an option from the drop down menu. Like..most of the pages I surfed to, they only showed how to make a drop down box..and then see what the option was chosen ONLY when the button is pressed. Is there any way I can scan the input, as soon as the user chooses an option from the drop down box? Regards, Anson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using drop down boxes in JSP
You have to remember where things are happening: the change to the dropdown is only known to server-side components when the form is submitted. It is possible to submit the form in the onchange event of a select box, but I wouldn't advise it unless you can guarantee a fast response (e.g. on an intranet). If you do this it's a good idea to add code to disable all controls on the screen just after the form submits. Sorry, this OT for Tomcat. Chris -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 11:54 To: 'Tomcat Users List' Subject: RE: Using drop down boxes in JSP Hi, Thanks for the reply. But, hmm.i was thinking of using onChange...and thenprocess the parameter via servlet? Anson -Original Message- From: Walker Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 8:45 PM To: 'Tomcat Users List' Subject: RE: Using drop down boxes in JSP Anson, You will have to write client JavaScript to do this. OTTOMH, attach a function to the onChange event of your SELECT tag. The object representing the tag will probably be accessible as document.all.yourTagId, or possibly something else, depending on the browser object model. This object will expose a collection corresponding to all the OPTION tags and a property to indicate which is selected. I'd recommend you to find a definition of the browser object model and to check out sites specializing in JavaScript. Chris Walker -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: 17 September 2003 11:31 To: Tomcat Users List Subject: Using drop down boxes in JSP Hi people, I want to know, what is the best way to scan the option chosen each time the user selects an option from the drop down menu. Like..most of the pages I surfed to, they only showed how to make a drop down box..and then see what the option was chosen ONLY when the button is pressed. Is there any way I can scan the input, as soon as the user chooses an option from the drop down box? Regards, Anson - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Apache/Tomcat/MySQL Startup Sequence on Linux
Hi, I'm having problems coordinating the startup scripts for Apache, Tomcat (connected via mod_webapp) and MySQL. The situation seems to be this: - mod_webapp requires Tomcat to be already running when httpd starts - the Tomcat application contains a connection pool that requires MySQL to be running when Tomcat starts (this is a crap architecture, but I havn't time to change it) I can execute the startup scripts manually in the sequence MySQL/Tomcat/Apache, and everything is fine. But when they are executed at system boot it doesn't work. The httpd log contains a web application not found message, and pages from the application are not available. I've renamed the startup scripts so that the sequence is correct, but it still doesn't work. My guess is that most of the Tomcat startup forks, so that the httpd startup is invoked before it has completed. I can think of two very klugey workarounds: - call httpd restart at the end of the Tomcat startup - what will this do if the real httpd script is still executing? - make the httpd script sleep for a while before it does anything - but there's no way to guarantee it will sleep long enough Alternatively I could add code to the httpd script to see if Tomcat has completed its startup. But I don't know for sure how I would tell, and I'd rather avoid this sort of hack if there's a proper way to do it. Chris Walker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache/Tomcat/MySQL Startup Sequence on Linux
Aaargh! I worked to 3am for several days to get webapp set up. I shouldn't believe what I read in books. What's the difference between jk and jk2? And why is webapp unsupported? Chris -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 11:46 To: Tomcat Users List Subject: Re: Apache/Tomcat/MySQL Startup Sequence on Linux Don't use mod_webapp. Use jk or jk2. Webapp is unsupported. jk, jk2 allow for either side to go down and all is still ok when it comes back up -Tim Walker Chris wrote: Hi, I'm having problems coordinating the startup scripts for Apache, Tomcat (connected via mod_webapp) and MySQL. The situation seems to be this: - mod_webapp requires Tomcat to be already running when httpd starts - the Tomcat application contains a connection pool that requires MySQL to be running when Tomcat starts (this is a crap architecture, but I havn't time to change it) I can execute the startup scripts manually in the sequence MySQL/Tomcat/Apache, and everything is fine. But when they are executed at system boot it doesn't work. The httpd log contains a web application not found message, and pages from the application are not available. I've renamed the startup scripts so that the sequence is correct, but it still doesn't work. My guess is that most of the Tomcat startup forks, so that the httpd startup is invoked before it has completed. I can think of two very klugey workarounds: - call httpd restart at the end of the Tomcat startup - what will this do if the real httpd script is still executing? - make the httpd script sleep for a while before it does anything - but there's no way to guarantee it will sleep long enough Alternatively I could add code to the httpd script to see if Tomcat has completed its startup. But I don't know for sure how I would tell, and I'd rather avoid this sort of hack if there's a proper way to do it. Chris Walker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache/Tomcat/MySQL Startup Sequence on Linux
Andy, I wish. The expression I worked to 3am may give you some idea of how much spare time I have, especially now that I've got to reconfigure the production server without anyone noticing... Chris -Original Message- From: Andy Eastham [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 13:37 To: Tomcat Users List Subject: RE: Apache/Tomcat/MySQL Startup Sequence on Linux Chris, Webapp is unsupported because JK is better and noone in the open source community wants to support it. Are you volunteering ;-) Andy -Original Message- From: Walker Chris [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 11:58 To: 'Tomcat Users List' Subject: RE: Apache/Tomcat/MySQL Startup Sequence on Linux Aaargh! I worked to 3am for several days to get webapp set up. I shouldn't believe what I read in books. What's the difference between jk and jk2? And why is webapp unsupported? Chris -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 15 September 2003 11:46 To: Tomcat Users List Subject: Re: Apache/Tomcat/MySQL Startup Sequence on Linux Don't use mod_webapp. Use jk or jk2. Webapp is unsupported. jk, jk2 allow for either side to go down and all is still ok when it comes back up -Tim Walker Chris wrote: Hi, I'm having problems coordinating the startup scripts for Apache, Tomcat (connected via mod_webapp) and MySQL. The situation seems to be this: - mod_webapp requires Tomcat to be already running when httpd starts - the Tomcat application contains a connection pool that requires MySQL to be running when Tomcat starts (this is a crap architecture, but I havn't time to change it) I can execute the startup scripts manually in the sequence MySQL/Tomcat/Apache, and everything is fine. But when they are executed at system boot it doesn't work. The httpd log contains a web application not found message, and pages from the application are not available. I've renamed the startup scripts so that the sequence is correct, but it still doesn't work. My guess is that most of the Tomcat startup forks, so that the httpd startup is invoked before it has completed. I can think of two very klugey workarounds: - call httpd restart at the end of the Tomcat startup - what will this do if the real httpd script is still executing? - make the httpd script sleep for a while before it does anything - but there's no way to guarantee it will sleep long enough Alternatively I could add code to the httpd script to see if Tomcat has completed its startup. But I don't know for sure how I would tell, and I'd rather avoid this sort of hack if there's a proper way to do it. Chris Walker - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PROBLEMS: memory / cpu usage - Tomcat 3.2.1 - SOLVED!
Now that's interesting. I've been following this thread because I've just installed a new application on a Sun Cobalt (Apache/mod_webapp/Tomcat) server. It's the only application on the server, and nobody's using it yet, but the server monitor keeps mailing me about high memory usage. But part of the Cobalt environment seems to be a repeating job that checks the web server status by trying to get a page every half-hour or so. The page isn't there, so it gets a 404, which is fine as far as the monitor is concerned, but I wonder what that's doing to my server resources? The answer, I imagine, is to make sure the dummy JSP is always present. Chris Walker -Original Message- From: Sai Sivanesan [mailto:[EMAIL PROTECTED] Sent: 07 September 2003 02:06 To: Tomcat Users List Subject: Re: PROBLEMS: memory / cpu usage - Tomcat 3.2.1 - SOLVED! ok. i have found my elusive problem. our client has a site with fairly moderate usage. and over the years we have changes the site a fair bit. it seems that the problem stems from requesting a jsp file that is no longer on the server - once the 404 is logged, the apache - tomcat connection does not terminate. it stays running, and starts to consume cpu time. a sufficient number of these will over time, bring the machine to a crawl - to a point where it is almost impossible to even login via ssh or even locally. Time to read the conf file to see what we can do about 404 error documents. Sai. On Sat, 30 Aug 2003 16:52:21 -0400, Sai Sivanesan wrote We have a box[P3/700/512MBram] serving JSPs, with about 20 virtual hosts - and the server comes to a grinding halt after about 12-18 hours. The server gets about 30K hits per week, so it not exactly overloaded... versions: RedHat 7.2 Apache 1.3.20 Tomcat 3.2.1 mod_jk.so mod_jk.so-ap1.3.27-eapi-rh72 processes seem to persist longer than they should. here is a line out of top: 12568 root 18 0 25300 24M 7924 S 3.8 4.9 56:19 java anyone have similar experiences? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Open WebMail Project (http://openwebmail.org) - 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]
Where is the wrapper.properties template file?
Hi, The howto doc for jk_nt_service says "Locate the wrapper.properties template file in your Tomcat conf directory". There is no such file in the conf directory, and I can't find a template for it anywhere on the Jakarta site. Can anyone suggest where I might find it? Chris Walker Brainbench MVP for ASP http://www.brainbench.com