Re: Reading environment variable from Tomcat

2008-08-13 Thread David kerber
Sureka, Sushil wrote: Hi, I have run into an issue related to starting tomcat as a service. When we were starting tomcat from the command line, we were able to just say System.getProperty(user.name ) to retrieve the logged in user id. But now that we start tomcat using a service, the get

Re: Reading environment variable from Tomcat

2008-08-13 Thread David kerber
This was going to be my suggestion as well: have it start after a user logs in, via either the Run registry entry, or the startup group on the start menu. D David Smith wrote: Then I think you'll have to have tomcat startup in the Startup program group or equivalent in the registry and

Re: XP/Vista/Office 2007/IE Compatibility Question

2008-09-29 Thread David kerber
[EMAIL PROTECTED] wrote: Good afternoon. My company, Centocor, is in the process of upgrading its operating System from Windows 2000 to XP/Vista and its Office 2000 to Office 2007. They have installed on, I'm not sure how many, some computers Apache Tomcat, version 5.5. Please answer the

Re: Multiple Time Zones on one Tomcat instance?

2008-10-01 Thread David kerber
John Gardner wrote: Caldarale, Charles R wrote: From: John Gardner [mailto:[EMAIL PROTECTED] Subject: Multiple Time Zones on one Tomcat instance? Is there any way we can serve mutliple webapps from a single Tomcat instance, with mutliple timezones? Tomcat itself doesn't care about

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Leon Rosenberg wrote: On Thu, Oct 16, 2008 at 2:48 PM, David kerber [EMAIL PROTECTED] wrote: For my part, I generally agree with the OP. Specifically, the show stopper for me is that the documentation isn't detailed enough at the level of the application and administrator level

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Martin Gainty wrote: logging is as easy with SimpleLog http://commons.apache.org/logging/commons-logging-1.1.1/guide.html#A%20Quick%20Guide%20To%20Simple%20Log How long as SimpleLog been around? I don't recall ever seeing it before... D or as complex

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Mark H. Wood wrote: There is simple, and then there is SIMPLE. The typical daemon has ONE LINE for logging configuration: log file goes there. Some might have one line for the error log and another for an activity log. Some might let you say whether to use syslog or files. If you supply NO

Re: tomcat 5.5 memory

2008-11-11 Thread David kerber
Alberto Jesus La Rosa Agramonte wrote: Hi, I have installed apache tomcat 5.5 and giving me problems with memory, this is the configuration that I have now, someone can help me to optimize this, or tell me if this right.The server have 3 gb of RAM. Thanks What kind of problems are you

Re: tomcat 5.5 memory

2008-11-11 Thread David kerber
the platform is 64 bit; is that the OS, or just the hardware? If the OS, do you have the 64-bit JVM installed? D 2008/11/12 David kerber [EMAIL PROTECTED]: Alberto Jesus La Rosa Agramonte wrote: Hi, I have installed apache tomcat 5.5 and giving me problems with memory

Re: Tomcat Performance

2008-11-12 Thread David kerber
Peng Tuck Kwok wrote: Probably the reason why he's seeing one instance of tomcat moving quicker than 2 instances is the fact that there is some form of contention for resources on that single machine assuming that the 2 instances are configured identically in every aspect (other than ports).

Re: Tomcat threads, II

2008-11-12 Thread David kerber
Pid wrote: ... Having said that, parsing XML can be a memory intensive operation as well, so your old box could be experiencing problems there - check the garbage collection log. p I try to avoid XML for this exact reason. We found that our application could handle between 6 and 10 times

Re: question about web-inf/lib

2005-11-02 Thread David Kerber
John MccLain wrote: we currently have 1 project in tomcat webapps dir. We want to add another project there. The problemn is that we would like to have both projects' web-inf/lib populated with the same set of libraries (jar files). When we kick off Tomcat with this configuration,The second

Re: Multiple thread pools in Tomcat 5.5

2005-12-09 Thread David Kerber
Mikolaj Rydzewski wrote: Kirk Gray wrote: This e-mail is intended only for the personal and confidential use of the recipient(s) named above. It may include Blackboard confidential and proprietary information, and is not for redistribution. I wonder if you'll bue sued because this email is

Re: Comparing Tomcat Performance on Windows vs. Linux

2006-01-05 Thread David Kerber
Ours is more of a small-to-medium environment than it is enterprise, but we put antivirus on our servers... Tim Funk wrote: Interesting. In enterprise environments, I also hear it common to see antivirus software also run on windows servers too. (Yes, you read that correctly) I'd be curious

Re: Single Thread is deprecated?

2006-01-06 Thread David Kerber
Christian Stalp wrote: Remy Maucherat wrote: It's deprecated because it is confusing, but it is actually very useful performance wise in some cases, since it does pooling. I will make sure this feature remains available in the future. That means, I still can use it?! Deprecated is not

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Tim Funk wrote: Sweet sweet flame fodder. Tomcat is as alive as the community of developers that are willing to work on it (like any open source project). I guess you could consider it flame fuel, but it's also a legitimate question, IMO. Your answer below looks good to me. Tomcat did

Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Tim Funk wrote: Apache is a legal entity which is composed of many developers who work on a variety of software projects in a variety of programming languages. Some projects are related to one another, others are not. Apache != httpd. httpd was the first Apache project. True, but the HTTP

Re: Betr.: Re: The Future of Tomcat

2006-02-02 Thread David Kerber
Roel De Nijs wrote: or they think coffee and/or island :-) [EMAIL PROTECTED] 2/02/2006 16:50:03 True, but the HTTP server is still what most people think of when they hear the name Apache. Probably same people, that think of Applets or Javascript when they hear the word

Re: caseSensitive on Windows XP

2006-02-08 Thread David Kerber
Merico Raffaele wrote: Dear Community I am developing a web application based on Tomcat 5.5. and on Cocoon 2.1.8. I am doing all the work on a Windows XP platform. Now, somehow, I have seen filenames are not treated case-sensitive. In order to change this behaviour on Tomcat level I added the

Logging session timeouts

2006-02-09 Thread David Kerber
Is there any way of trapping session timeouts, so I can log them? I am logging when a user logs in and when they explicitly log out, but would like to log when their session times out, if that is possible. TIA! Dave - To

Re: Logging session timeouts

2006-02-09 Thread David Kerber
() { return getClass().getName() + # + hashCode(); } } -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 9:38 AM To: Tomcat Users List Subject: Logging session timeouts Is there any way of trapping session timeouts, so I

Re: Logging session timeouts

2006-02-09 Thread David Kerber
; } /** * Return string representation of this object * @return a String representation of this object */ public String toString() { return getClass().getName() + # + hashCode(); } } -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent

Re: Logging session timeouts

2006-02-09 Thread David Kerber
+hoursStr+:+minutesStr+:+secondsStr+.+millisecondsStr); } } -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 9:56 AM To: Tomcat Users List Subject: Re: Logging session timeouts I got your code in, and it compiles, but I don't

Re: Logging session timeouts

2006-02-09 Thread David Kerber
- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 10:56 AM To: Tomcat Users List Subject: Re: Logging session timeouts I got your code in, and it compiles, but I don't understand how I configure the url-mapping you refer to. Could you point me to some docs

Re: Logging session timeouts

2006-02-09 Thread David Kerber
goes inactive, the session will expire, and the listener will catch it and log it) -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 11:09 AM To: Tomcat Users List Subject: Re: Logging session timeouts That got me going; thanks! One more

Re: Logging session timeouts

2006-02-09 Thread David Kerber
. (If a user goes inactive, the session will expire, and the listener will catch it and log it) -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 11:09 AM To: Tomcat Users List Subject: Re: Logging session timeouts That got me going; thanks! One

Re: Logging session timeouts

2006-02-09 Thread David Kerber
and destroyed exactly once. -Original Message- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 12:16 PM To: Tomcat Users List Subject: Re: Logging session timeouts I still have a question about performance: any idea which of these methods (filter

Re: Someone successfully Installed Tomcat as Windows Service with StartMode=java or StartMode=exe?

2006-02-13 Thread David Kerber
I run tomcat 5.5.12 as a service on Win2K (not 2k3), but don't know what mode it is in. How do I find that? Sebastian Himberger wrote: Hi, a week ago i posted a question regarding my problem installing Tomcat as a windows service. Before i'll try again to get it work it would be nice if

Re: Hidden form fields not found in request

2007-10-26 Thread David kerber
Propes, Barry L wrote: I wonder if the name or value params require double quotes? I seem to have had a similar issue one time. That would be the first thing to try; I *always* use them for the name and value attributes... -Original Message- From: Ashok Venkat [mailto:[EMAIL

Re: Tomcat 1.1 - release date

2007-10-31 Thread David kerber
Vigorito, Nicholas E. wrote: This may sound corny but I am just wondering. It looks like I am going to be supporting a web app that is installed under Tomcat 1.1 Does anyone know what the release date of the Tomcat 1.1 was or the most recent release date of Tomcat 1.1.x. Thanks! Nick

Re: [OT] Tomcat causing high CPU load

2007-11-07 Thread David kerber
Bob Riaz wrote: Many thanks for all the suggestions. I found a simple tool called StackTrace from http://www.adaptj.com/root/main/tracehowtos#ht0 to help me take thread dumps from Tomcat. I found when the CPU load was high that there was a thread from the suspect web app running. In contrast,

Re: Tomcat - threads / throughput limits?

2007-11-08 Thread David kerber
It doesn't answer your question in general, but I increased mine from 300 to 900 threads on a dual-processor, dual-core machine, and saw significantly increased throughput with short, simple requests. I didn't try any in-between settings, though, so I don't know if there might be a sweet spot

Re: specify class name in environment or system property...?

2007-11-08 Thread David kerber
Any of those methods will likely work; I prefer the java.util.Properties object and its various methods, and read the settings from a disk file. For settings that I don't need to change much (or ever), I usually use system.properties, and set them in the jvm startup properties. Asare Samuel

Re: speed up the server

2007-11-09 Thread David kerber
The first place I'd look is the database... tbt wrote: Hi, The OS is windows XP tomcat version 6 java version 1.5 database mysql memory: 3GB processor: 2.3GHz it was working very fast before being deployed. About 30 people login simultaneously to this application. Once this happens the

JConsole port

2007-11-12 Thread David kerber
Is there a standard (either de facto or formal) port to use for jmx when monitoring a tomcat app with jconsole? If so, what is it? D - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

Re: JConsole port

2007-11-14 Thread David kerber
I guess the deafening silence in response to this question must mean that there's no standard port, and I can use any port I feel like... D David kerber wrote: Is there a standard (either de facto or formal) port to use for jmx when monitoring a tomcat app with jconsole? If so, what

Re: JConsole port

2007-11-14 Thread David kerber
: Jess Holle [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 8:42 AM To: Tomcat Users List Subject: Re: JConsole port Yup. David kerber wrote: I guess the deafening silence in response to this question must mean that there's no standard port, and I can use any port I feel like... D

Help with java Lists

2007-12-10 Thread David kerber
I'm running this app in a tomcat 5.5.x container,I am trying to figure out which form of a list is the best for what I need to do here: I need to have some kind of list or collection that I can search quickly for a specific entry, and then start stepping through the list item by item from

Re: Help with java Lists

2007-12-10 Thread David kerber
Mark Thomas wrote: David kerber wrote: Any suggestions are welcome, including suggestions for reworking the basic design... Generally for reporting, I'd try and push as much as possible to the database, run a query there that returns exactly what I want and then optimise that query

Re: Help with java Lists

2007-12-10 Thread David kerber
Caldarale, Charles R wrote: From: David kerber [mailto:[EMAIL PROTECTED] Subject: Help with java Lists I need to have some kind of list or collection that I can search quickly for a specific entry, and then start stepping through the list item by item from that point. Try

Re: Help with java Lists

2007-12-10 Thread David kerber
Steve Ochani wrote: On 10 Dec 2007 at 16:02, David kerber wrote: I'm running this app in a tomcat 5.5.x container,I am trying to figure out which form of a list is the best for what I need to do here: I need to have some kind of list or collection that I can search quickly

Re: [OT] Help with java Lists

2007-12-11 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, You need a collection that is: David kerber wrote: I need to have some kind of list or collection that I can search quickly for a specific entry Hashed and then start stepping through the list item

Re: [OT] Help with java Lists

2007-12-12 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, I'm already on my 3rd attempt at optimization for this section. The first round was having the db do _all_ the work, submitting a complex query (a view, actually) and returning a resultset with all the data I

Re: [OT] Help with java Lists

2007-12-13 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: My primary job is database design and management; the java side is where I'm weak, and I've spent a LOT of time on these queries, including pushing through some design changes that have

Re: Beginner question

2007-12-17 Thread David kerber
Filipe David Manana wrote: Hi, 2 questions: 1) Is Tomcat reliable for a production environment, where client requests can be in the order of a few thousands per hour? I've got one running on Win2003 with around 2M requests per day on a 2-year old dual-dual Dell server. Last time I

Re: Help with java Lists - followup

2007-12-20 Thread David kerber
Thanks for all the suggestions! Thanks to you guys and gals, a report that had been taking 4 to 5 minutes to process is now taking less than 10 seconds to generate! D David kerber wrote: I'm running this app in a tomcat 5.5.x container,I am trying to figure out which form of a list

Re: Help with java Lists - followup

2007-12-20 Thread David kerber
Steve Ochani wrote: On 20 Dec 2007 at 13:01, David kerber wrote: Thanks for all the suggestions! Thanks to you guys and gals, a report that had been taking 4 to 5 minutes to process is now taking less than 10 seconds to generate! Hi, What was the basic overall solution you

Get tomcat version from webapp code?

2007-12-27 Thread David kerber
I know I can get the java version from system.properties, but is there a way of getting the tomcat version from inside my app? If so, how? I'd like to be able to display that on an administrator's information page. TIA! D

Re: Get tomcat version from webapp code?

2007-12-28 Thread David kerber
at MBeanServer? http://tomcat.apache.org/tomcat-5.5-doc/catalina/funcspecs/mbean-names.html M- - Original Message - From: David kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, December 27, 2007 11:53 AM Subject: Get tomcat version from webapp code? I

Re: how to get rid of the path after the URL

2007-12-28 Thread David kerber
Pavel Pragin wrote: Hello, I am running a Jive application using Tomcat. The application resides in /tomcat/webapps/jiveforums on the server. When I access the site I have to use http://www.example.com/jiveforums; . What changes do I have to make in Tomcat so I can omit /jiveforums from

Re: how to get rid of the path after the URL

2007-12-28 Thread David kerber
Lytton Ave., Palo Alto, CA 94301 SF 85 Second St., San Francisco, CA 94105 -Original Message- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Friday, December 28, 2007 10:40 AM To: Tomcat Users List Subject: Re: how to get rid of the path after the URL Pavel Pragin wrote

Re: Get tomcat version from webapp code?

2007-12-28 Thread David Kerber
Louis wrote: David kerber wrote: Thanks for the response, but I've never dealt with that at all. Is there any sample code that would give me the equivalent of something like getServerProperty( version ), and return 5.5.15, or Apache Tomcat 5.5.15, or something similar? D In a JSP

Re: Server 2008 x64 + Java + Tomcat - does not work

2008-01-24 Thread David kerber
mor_feusz wrote: In addition: I have installed JAVA 1.6 and Tomcat 1.6 on my machine (XP) and all works Perfect. I have installed 32bit version on 2008 x64 and it does work but not perfect. I can not start using (zipped version) startup.bat script. If i use Windows installer it works. The

Re: Tomcat Performance Question

2008-01-26 Thread David Kerber
Ali Ok wrote: Thanks David, I mean, if I make 3 requests in a very short time (about 10 seconds); Tomcat does not respond. I read books, tutorials, faqs and threads at maling list about Tomcat tuning. But I couldnt find an example server.xml file used in production or real test results. So

Re: Support and development of versions

2008-02-28 Thread David kerber
Stephen Nelson-Smith wrote: Hi, So, I'm running an app which the development house say *has* to run on 4.1.31. I'm not especially happy about this, and will try running it under 4.1.37, but the developers say they *might* be able to get it to run under 5.5. I seem to recall a conversation in

Re: Support and development of versions

2008-02-28 Thread David kerber
Stephen Nelson-Smith wrote: On Thu, Feb 28, 2008 at 2:37 PM, David kerber [EMAIL PROTECTED] wrote: 4.1.37 is probably your best short-term solution, and work toward 6.x in the mid-to-long term. That was my gut feeling. Could you explain why that is? Is 5.5 a wasteland? I'll need

Leap-year problem with commons-net

2008-02-29 Thread David kerber
I have found that the commons-net ftp.listfiles() fails to get files whose date on the server is on feb 29. Googling indicates that this a known problem (at least since this morning), but I haven't found a quick fix. Does anybody know of one? D

Re: Leap-year problem with commons-net

2008-02-29 Thread David kerber
no recursive flag though, bummer. At least it'll only be a problem for 12 more hours (MST). HTH, --adam David kerber wrote: I have found that the commons-net ftp.listfiles() fails to get files whose date on the server is on feb 29. Googling indicates that this a known problem (at least since

Re: Leap-year problem with commons-net

2008-02-29 Thread David kerber
a cron job to do it every minute or (some other interval) and then you don't have to worry about it - just don't forget to remove the job tonight. --adam David kerber wrote: Yeah, that's what I've done so far today, but the files come in continuously throughout the day for a total of 1000 or so

Re: Leap-year problem with commons-net

2008-02-29 Thread David Kerber
changer on them. D Adam Gordon wrote: I mean a cron job to touch the files and change the date David kerber wrote: The problem is that ftp.getfiles won't even retrieve the files from the server! It sees them as invalid because of the date issue. So I have to retrieve them manually. Yeah

Re: CVS check-out

2008-03-06 Thread David kerber
I have no clue; I've never used CVS, ever! D Quodras, Naveen wrote: Hi David, Would you have any suggestions on the below query ?? -Original Message- From: Quodras, Naveen Sent: Thursday, March 06, 2008 1:57 AM To: 'Tomcat Users List' Subject: CVS check-out Hi, Don't

Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-07 Thread David kerber
Mark Thomas wrote: Caldarale, Charles R wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon The 64bit binaries are here: https://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/ I think you want the ia64 ones. No,

Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon

2008-03-07 Thread David kerber
David Kramer wrote: Caldarale, Charles R wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon The 64bit binaries are here: https://svn.apache.org/repos/asf/tomcat/connectors/trunk/procrun/bin/ I think you want the ia64 ones. No,

Re: Two separate instances of Tomcat running on a single Windows 2003 server.

2008-03-11 Thread David kerber
Panian, Ardo wrote: Is it possible (and I am sure that it is) to have two separate instances of Tomcat running on a single Windows 2003 server, and connected through the ISAPI redirector to IIS running on the local system. If so could you please guide me in the right direction? Thanks Your

Trouble with java.util.Timer in Tomcat 5.5

2007-06-29 Thread David kerber
I have an app running in Tomcat 5.5.12, with jre 1.5.0_12 (explicitly specified in the service configuration), on windows 2000 server. I have one class that is initialized by a servletContextListener, in the contextInitialized event. This class uses java.util.Timer and java.util.TimerTask

Re: Trouble with java.util.Timer in Tomcat 5.5

2007-06-29 Thread David kerber
to be sure... Thanks! D Propes, Barry L wrote: wouldn't be a memory leak issue would it? -Original Message- From: David kerber [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 9:41 AM To: Tomcat Users List Subject: Trouble with java.util.Timer in Tomcat 5.5 I have an app running

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread David kerber
Do you have the LoginApp servlet defined in web.xml or another equivalent place? pinky88 wrote: HTTP Status 404 - /LoginApp type Status report message /LoginApp description The requested resource (/LoginApp) is not available. Apache Tomcat/5.5.23 Asensio, Rodrigo wrote: Pinki, please

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-16 Thread David kerber
from the web application that my cousin deployed for me, and changed the servlet name and pattern..? Thanks, Pinky David Kerber wrote: Do you have the LoginApp servlet defined in web.xml or another equivalent place? pinky88 wrote: HTTP Status 404 - /LoginApp type Status report

Re: Trouble with java.util.Timer in Tomcat 5.5 - solved

2007-07-19 Thread David Kerber
Just a late note to tell you all that this is fixed, and the trouble was as you suggested: my ftp.connect method was hanging. Once I figured out what timeouts to set for it, I let it go, and it went several days just like it has before, until I was perusing my logs tonight and found a

Re: Accessing an application with different paths

2007-07-20 Thread David kerber
I've done this by specifying both applications' context paths in the server.xml, along with the appropriate docbase entries. [EMAIL PROTECTED] wrote: Hi, We have a scenario for High Availability setup (using tomcat 5.5.9); The application 'app' is deployed on two machines (recognized

Re: Accessing an application with different paths

2007-07-20 Thread David kerber
never got it to work with the two-level version without putting it in server.xml. Dave Caldarale, Charles R wrote: From: David kerber [mailto:[EMAIL PROTECTED] Subject: Re: Accessing an application with different paths I've done this by specifying both applications' context paths

Re: Accessing an application with different paths

2007-07-20 Thread David kerber
I sure wish you had been answering questions when I was setting this up 4 or 5 years ago!! D Caldarale, Charles R wrote: From: David kerber [mailto:[EMAIL PROTECTED] Subject: Re: Accessing an application with different paths But then they both need their own copy of the war Not true

Re: Catalina.bat and Tomcat 5.5.23

2007-07-30 Thread David kerber
Varuna Seneviratna wrote: Can you please explain the following rem Guess CATALINA_HOME if not defined set CURRENT_DIR=%cd% if not %CATALINA_HOME% == goto gotHome //What is meant by this, Does it mean if Catalina Home is not equal to then Yes: if environment variable CATALINA_HOME is not

Re: Tomcat with 8 GB memory

2007-07-30 Thread David kerber
Nelson, Tracy M. wrote: | From: Christopher Schultz [mailto:[EMAIL PROTECTED] | Sent: Friday, 27 July, 2007 18:25 | | First of all, no home user ever bought an 8-bit machine. Oh, I'll bet there are a ton of former Apple ][, TRS-80 and Commodore Pet/64/VIC owners who would beg to differ...

Re: smtp server

2007-08-14 Thread David kerber
We use Gordano's NTMail. It's not free, but has worked well for us and isn't very expensive for a small number of mailboxes. Mike Peremsky wrote: I am trying to create a simple registration application right now that should send an email to the user after registration. Are there free smtp

Re: Multi-Gigabyte Uploads, Tomcat 2GB and higher uploads

2007-08-20 Thread David kerber
David Hesson wrote: I have installed 6.0.14 now and the same problem persists. I am starting to worry about our choice to use Java for this web application project now... the client insisted that we used .NET framework or 'Microsoft' products if you will, but limitations arise. I just won't

Re: Legal Risk of Using Tomcat

2007-09-07 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Irvine, Chuck R [EQ] wrote: I hope no one thinks this thread is off topic Actually, this is totally on-topic, and I'd love to see what some others have to say. See my response below. There are

Re: Legal Risk of Using Tomcat

2007-09-07 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David kerber wrote: If my guess is correct, then I seriously doubt there's anything to worry about there, because Tomcat has been written as open source from the beginning, and nobody has ever claimed patent

Re: [OT/RANT] Quartz

2007-09-10 Thread David kerber
I've had good luck creating timed events with java.util.Timer and java.util.TimerTask. No external libs needed... D Ben Souther wrote: Hehe. It's amazing what you can do with one line of code using cron and wget. On Thu, 2007-09-06 at 17:43, Christopher Schultz wrote: -BEGIN

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread David kerber
Is your tomcat set to roll the log files at midnight? Maybe there's something going on related to that? Pid wrote: Martin Cavanagh wrote: just to to check - there is no hidden setting in Tomcat which says - shut me down at midnight sometimes for an inexplainable reason? Oh yeah,

Re: Java 1.6

2007-09-26 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Java 1.6 I don't believe that javac has undergone significant upgrades through the years... Actually, it

Setting default webapp

2007-10-01 Thread David kerber
I want my webapp to be the default application on my Tomcat 5.5 server, so that it will go to the app's login page even if they don't enter the app name as part of the url. For example, normally my app is accessed at: http://myserver:8081/SiteData/Login.jsp I want them to get Login.jsp even

Re: Setting default webapp

2007-10-01 Thread David kerber
Thanks, guys; I like the redirect idea a lot better than a second install that I'm likely to forget to update at some point. Pid wrote: David kerber wrote: I want my webapp to be the default application on my Tomcat 5.5 server, so that it will go to the app's login page even if they don't

Re: Setting default webapp

2007-10-01 Thread David kerber
Hassan Schroeder wrote: On 10/1/07, David kerber [EMAIL PROTECTED] wrote: Thanks, guys; I like the redirect idea a lot better than a second install that I'm likely to forget to update at some point. What second install? Rename the WAR file or directory; what could be simpler? Can

Re: Setting default webapp

2007-10-01 Thread David kerber
Hassan Schroeder wrote: On 10/1/07, David kerber [EMAIL PROTECTED] wrote: Hassan Schroeder wrote: Can I set the root webapp to ALSO answer under the webapp's original name, so people who use a bookmark to the full app path won't get not found errors? I though I had to have

Re: Sending Mail from a Java WebApplication does not work

2007-10-04 Thread David kerber
You're going to have to figure out what is triggering the spam blocker on this message. Is the test message body the same as the real data? If not, have you tried sending real (or at least real-looking) body content. D Arun wrote: Gabe, That is great. yes, It is sending mails to junk

Re: How to increase Tomcat webserver speed?

2007-10-05 Thread David kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 keglius, keglius wrote: So, I would like to know if increasing the Tomcat heap would help me to increase a server speed - application page loading speed? No. More memory will simply allow you to handle more

java.util.timer firing twice

2007-10-10 Thread David kerber
Running tomcat 5.5.15 on Sun JRE 1.5.0_12 I have a situation where a java.util.timer object scheduled to run once per day (by using .scheduleAtFixedRate) is firing two times at once, and it's driving me crazy trying to figure out why. The code excerpts below are my current attempt, but I

Re: java.util.timer firing twice

2007-10-10 Thread David kerber
context the timer is running under in the, and bail out if it's not the one I want, shouldn't I? Thanks!!! D Caldarale, Charles R wrote: From: David kerber [mailto:[EMAIL PROTECTED] Subject: java.util.timer firing twice I have a situation where a java.util.timer object scheduled to run

Copying large files around

2007-10-12 Thread David Kerber
What is the most efficient (=fastest) way of copying large ( 1GB [yes, that's a Giga]) files around the network in java when running under tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a large byte[] array? Or what? D

Re: Copying large files around

2007-10-13 Thread David Kerber
Pid wrote: David Kerber wrote: What is the most efficient (=fastest) way of copying large ( 1GB [yes, that's a Giga]) files around the network in java when running under tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a large byte[] array? Or what? I think

Re: Copying large files around

2007-10-13 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Kerber wrote: Let me give a bit more detail: I am working on a utility function in my webapp that will periodically copy the database file from the db server to a backup server on the LAN. Uh

Re: Copying large files around

2007-10-13 Thread David Kerber
Pid wrote: David Kerber wrote: Pid wrote: David Kerber wrote: What is the most efficient (=fastest) way of copying large ( 1GB [yes, that's a Giga]) files around the network in java when running under tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a large

Re: Copying large files around

2007-10-13 Thread David Kerber
Martin Gainty wrote: Sadly no cron (and sadly no .htaccess file available either) wrap the java %java_opts% -cp %classpath% classname in either a cmd or .bat On a 7 year old wintel box the application is called Task Scheduler where you want to select that cmd/bat Be sure to set sufficient

Re: Copying large files around

2007-10-13 Thread David Kerber
Peter Crowther wrote: From: David Kerber [mailto:[EMAIL PROTECTED] What is the most efficient (=fastest) way of copying large ( 1GB [yes, that's a Giga]) files around the network in java when running under tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a large byte

Re: Copying large files around

2007-10-14 Thread David Kerber
Message - From: David Kerber [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Sunday, October 14, 2007 2:56 AM Subject: Re: Copying large files around If it Postgresql you using, a while a go I wrote a replication system for Postgres, and its a TC servlet. So what you could

StreamCorruptedException - where to look to fix

2007-10-15 Thread David kerber
Running TC 5.5.15 on Windows server 2003, JRE 1.5.0_12. Where do I start looking to try to fix the exception below? I get this on most startups of Tomcat. I know it's related to reloading sessions that were saved on the previous shutdown, and I've fixed a few serialization errors in my

Re: StreamCorruptedException - where to look to fix

2007-10-16 Thread David Kerber
Pid wrote: David kerber wrote: Running TC 5.5.15 on Windows server 2003, JRE 1.5.0_12. Where do I start looking to try to fix the exception below? I get this on most startups of Tomcat. I know it's related to reloading sessions that were saved on the previous shutdown, and I've fixed

Isolation between multiple TC instances

2007-10-17 Thread David kerber
Running TC 5.5.15 on Windows Server 2003, JRE 1.5.0_12. My understanding is that if I'm running the same (or different, for that matter) webapp on separate tomcat instances (different ports, context roots, etc), they will each have their own copies of all their internal objects and data, and

Re: Isolation between multiple TC instances

2007-10-17 Thread David kerber
Peter Crowther wrote: From: David kerber [mailto:[EMAIL PROTECTED] Running TC 5.5.15 on Windows Server 2003, JRE 1.5.0_12. My understanding is that if I'm running the same (or different, for that matter) webapp on separate tomcat instances (different ports, context roots, etc

  1   2   3   4   5   6   7   8   9   10   >