Re: How to use shared directory

2006-04-01 Thread David Kerber
I run into the same thing, with my mail sent from a java class: if the mail.jar and activation.jar are in the shared/lib directory, it won't pick them up, but in web-inf/lib it will. Dave Amar wrote: Hi, I am trying to use shared directory for mail api. But when i keep these jar files (

Re: Caching Problem

2006-04-05 Thread David Kerber
IME, "Connection refused" usually means the service isn't running on that machine, or isn't running on the port that you expect. Pusukuri, Kishore_Kumar wrote: Please see this problem. Thanks, Kishore. -Original Message- From: Pusukuri, Kishore_Kumar Sent: Wednesday, April 05, 2006

Re: Tomcat 5.0.27 and java sdk

2006-04-06 Thread David Kerber
Reis, Tom wrote: I was wondering what version of the java sdk I should use with tomcat 5.0.27. I am currently using sdk 1.4.1_04b05 and it seems that Tomcat goes down once a day. I was wondering if sdk 1.4.1.11 might run better. Thanks. I'd go all the way to the latest 1.4.2.x -

"Full GC" vs regular GC?

2006-04-13 Thread David Kerber
Can somebody tell me what the difference is between a "full GC" and a regular "GC"? Here's an excerpt from my jakarta-service log, when I have the verbose gc option set. You can see that the total memory used drops hugely. I was intentionally letting my app continue to run to see what would

Re: 404

2006-04-17 Thread David Kerber
If you took all the defaults, as it says in that document, Tomcat is on 8080, not 80. So try: http://localhost:8080 [EMAIL PROTECTED] wrote: Sorry guys about my reply to another thread, I didn't realize. I'm new at this so... I only installed tomcat following this guide: http://www.ubunt

Re: Access server from outside

2006-04-21 Thread David Kerber
Does your ISP allow you to run a server? Mine blocks pretty much all incoming requests. Jonathan Pare wrote: Any of you have an idea why I can't access my websites from outside my home ? Thanks. From: [EMAIL PROTECTED]> To: users@tomcat.apache.org> Subject: Access server from outside

Re: Access server from outside

2006-04-21 Thread David Kerber
Some ISP's (not all!) will make exceptions for non-commercial, low-volume personal web sites if you ask nicely. You have nothing to lose by explaining what you want to do, and asking them to allow a single port in to your system. Dave . Jonathan Pare wrote: I contacted my ISP and they are b

Re: Access server from outside

2006-04-21 Thread David Kerber
Or you could pay for a business line, which would allow servers. Of course it will cost more... Jonathan Pare wrote: I contacted my ISP and they are blocking the port 80. They also forbid to run any type of server "FTP, HTTP, IRC, MP3, PROXY, SMTP, POP or other". So basicaly, that mean that I

Re: Access server from outside

2006-04-21 Thread David Kerber
If you keep the data transfer volume low, they probably won't notice... Jonathan Pare wrote: Yeah but in my area, I don't have that much choices ! Plus, I have I package deal with that ISP (IP phone + log distance call + television + internet). Maybe I'll try the "other port" suggestion and se

Re: Problems with tomcat hanging

2006-04-25 Thread David Kerber
It kind of sounds like your connection to the database is timing out. Does this happen after the tomcat instance in question has been idle for an extended time? james edwards wrote: We are running separate tomcat and apache servers, the http requests are being proxied from the apache server

Re: can't access database after timcat idle for several hours

2006-04-28 Thread David Kerber
Sounds to me like your database is timing out the connection. See if you can extend the timeout so it won't drop it during an overnight lull. james edwards wrote: No, different machines. But, it works all day and works right after a restart of tomcat. j On 4/28/06, ALEX HYDE <[EMAIL PROTEC

Re: javamail for numerous mail servers on tomcat

2006-05-19 Thread David Kerber
Dynamically-defined mail servers work fine in Tomcat; I'd be in deep kimshe if they didn't. Here are some excerpts from the code I use: Properties props = new Properties(); props.put( "mail.smtp.host", server name> ); Session mailSession = Ses

Re: Tomcat Memory Leak

2006-05-24 Thread David Kerber
I had a leak of that kind when I wasn't closing inputstream and outputstream objects. It's one thing to check anyway. Petkov, Rossen wrote: ... Using a profiler, doesn't seem to help me much. I can see the memory being used by certain classes go up (mainly char[] and byte[] and some tomc

Re: Missing bin\*.bat files in 5.5.17 windoze installer

2006-06-06 Thread David Kerber
I can't answer the "why", but it's been that way for a long time. I just d/l both installations, install the windows .exe version, and then unzip the .zip version on top of the windows installation. A bit more time consuming, but gets my windows services installed and still gives me the vario

Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread David Kerber
[EMAIL PROTECTED] wrote: When I compile my jsp and java files, I get 9 warnings from the jsp file. It appears not to recognize the html tags ie unknown tag (html:cancel). What have I done wrong? Here is the login.jsp file. <%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %> <%@ taglib uri="

Re: I'm a Newbie - problem with recognition of html tags

2006-06-13 Thread David Kerber
ith that kind of thing before. Carrie, Try placing the file extension on your URI of your taglib tag. On 6/13/06, David Kerber <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: >When I compile my jsp and java files, I get 9 warnings from the jsp file. >It appears not to recognize

Re: Very basic web server hosting question

2006-10-30 Thread David Kerber
Use your router's instructions to set "port forwarding". You will need to specify the port the outside world will connect to, and what port on your machine those connections will be forwarded to. The details vary by router manufacturer and model, so we can't give you specific instructions. H

Re: How stable is tomcat

2006-11-01 Thread David Kerber
Dima Retov wrote: How stable is tomcat with Sun's HotSpot JVM 1.5? Right now we have apache servers that are up for 3 and 4 months. So I guess apache 1.3 may works for months. How stable is tomcat against apache or other webservers? Would tomcat be able to work 1 year without restart? I've

Re: How stable is tomcat

2006-11-01 Thread David Kerber
Dima Retov wrote: Thanks Dave. What version of JVM have you used? I believe (not sure) it's 1.5.0_06 on the server; I'm running _07 on my dev machine. As Rainer mentioned, don't try to use hot deployment for busy apps; I always stop tomcat for updates, so my updates tend to be saved up a

How to get fields list in order

2006-11-02 Thread David Kerber
This is more of a java question than it is Tomcat-specific, but it's the only java group I hang out in, so here goes: How can I get a list of the public fields declared in a class, *in the order they are declared*? Using Reflection's getFields and getDeclaredFields methods returns them in no

Re: How to get fields list in order

2006-11-02 Thread David Kerber
Christopher Schultz wrote: David, How can I get a list of the public fields declared in a class, *in the order they are declared*? Using Reflection's getFields and getDeclaredFields methods returns them in no particular order, and I need them in the order they are declared so I can get the

Re: How to get fields list in order

2006-11-02 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: How to get fields list in order To modify return parameters, I need the byte offsets of the various pieces of the structure, which I'm mirroring in my java classes. That's a very scary wa

Re: How to get fields list in order

2006-11-02 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: How to get fields list in order Then I could just check the field type, and increment the byte counter by the appropriate amount (i.e. if the java field type is int, then I know the width in the passed

Re: How to get fields list in order

2006-11-02 Thread David Kerber
Christopher Schultz wrote: David, Then I could just check the field type, and increment the byte counter by the appropriate amount (i.e. if the java field type is int, then I know the width in the passed structure is 4 bytes, etc). As Chuck points out, this is unlikely to work. If th

Re: How to get fields list in order

2006-11-02 Thread David Kerber
Christopher Schultz wrote: David, Since you mentioned byte offsets, I have to ask: are you trying to subvert the serialization system? Or, even worse, inspect the object memory from with JNI? The latter, sort of. I'm using a package which puts a wrapper around JNI to make it easier

Re: How to get fields list in order

2006-11-03 Thread David Kerber
Christopher Schultz wrote: ... I don't know C, and don't have access to a C compiler. Wait... I thought you said you were using JNI...?! Or, are you using someone else's JNI package to do some dirty tricks? I thought there was only a C binding for JNI thus far. I'm using a 3rd party p

Re: How to get fields list in order

2006-11-03 Thread David Kerber
Christopher Schultz wrote: Dave, David Kerber wrote: Christopher Schultz wrote: Wait... I thought you said you were using JNI...?! Or, are you using someone else's JNI package to do some dirty tricks? I thought there was only a C binding for JNI thus far. I'm u

Re: How to get fields list in order

2006-11-03 Thread David Kerber
Christopher Schultz wrote: ... I read the data from the structures, load it into my classes, do all my processing in java with those regular classes, then write the data back out of the classes into the structures, and pass it back to the calling prog. I'm sorry to say it (again), but I

Re: Is jsp designed for use by large websites

2006-11-30 Thread David Kerber
Nelson, Tracy wrote: ... taglibs and other supporting classes in Java rather than use JavaScript. Testing JSPs also seems to take longer, although a good IDE should make it fast (I've never used an IDE that had good JSP support). With PHP, Have you tried Eclipse? Not perfect, but pretty goo

Re: tomcat w/o commercial crap

2006-12-05 Thread David Kerber
Enrico Weigelt wrote: * Christopher Schultz <[EMAIL PROTECTED]> wrote: IIRC, when Gentoo upgraded to JDK 1.5.0, they removed the requirement that you download Sun's JDK from their website and drop it in your portage package directory. Now, portage can download and install it automatically

Deploying shared .jar's

2006-12-11 Thread David Kerber
From what I've read in the Tomcat 5.5 docs, I should be able to deploy a .jar that is shared across multiple webapps on Windows by putting it in the (tomcat)/shared/lib folder, but I've never gotten that to work. I've always had to put that jar in the web-inf/lib folder of each of the webapps

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
otFound errors when I try. On 12/11/06, David Kerber <[EMAIL PROTECTED]> wrote: From what I've read in the Tomcat 5.5 docs, I should be able to deploy a .jar that is shared across multiple webapps on Windows by putting it in the (tomcat)/shared/lib folder, but I've never gotten that

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Deploying shared .jar's My webapps can't see classes in the .jar that is in the shared/lib folder; I get the ClassNotFound errors when I try. Check your conf/catalina.properties file and

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Deploying shared .jar's With the way I read it now, anything I try to put under catalina_home/shared/lib won't be visible to the webapps in the various catalina_base folders. Is this correct?

Re: Deploying shared .jar's

2006-12-11 Thread David Kerber
oader=${catalina.home}/shared/classes,${catalina.home}/shared/lib/*.jar or something else that achieves your goal. D'oh Why didn't I think of that??? Cheers, Larry -Original Message----- From: David Kerber [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 6:55

Re: Deploying shared .jar's

2006-12-12 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: Deploying shared .jar's Was that feature changed in the 5.0 and later versions? My 4.1.x version allows me to put f

Re-executing a servlet request

2006-12-19 Thread David Kerber
I have a web app that starts with a .jsp, and then goes through a series of servlets to process some data. If possible, I'd like to set it up so that after the last processing page is done, it goes back and re-executes the first servlet (the one that they go to from the .jsp), which is a data

Re: Re-executing a servlet request

2006-12-21 Thread David Kerber
Nobody has a suggestion about this? David Kerber wrote: I have a web app that starts with a .jsp, and then goes through a series of servlets to process some data. If possible, I'd like to set it up so that after the last processing page is done, it goes back and re-executes the

Re: Re-executing a servlet request

2006-12-21 Thread David Kerber
e jsp, but without them needing to re-enter the location ID and clicking on the submit button again. How can I do that? Thanks for any suggestions! Dave Hassan Schroeder wrote: On 12/21/06, David Kerber <[EMAIL PROTECTED]> wrote: Nobody has a suggestion about this? Sure. I suggest y

Re: Re-executing a servlet request

2006-12-22 Thread David Kerber
Caldarale, Charles R wrote: From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: Re-executing a servlet request 2. With sessions -- the original params are stored in the session and page 1 uses them in the absence of form params -- ie when completing the process. Have to be careful

Re: Re-executing a servlet request

2006-12-22 Thread David Kerber
ad been requested from the jsp, but without them needing to re-enter the location ID and clicking on the submit button again. How can I do that? Thanks for any suggestions! Dave Hassan Schroeder wrote: On 12/21/06, David Kerber <[EMAIL PROTECTED]> wrote: Nobody has a suggestion

Re: Re-executing a servlet request

2006-12-22 Thread David Kerber
t directly, and therefore will need to check for the stored parameters on the page that I'm re-opening? Example: Your request for ${SessProp} follows: . --David David Kerber wrote: David Smith wrote: So you want to effectively save the parameters from the orig

Re: Re-executing a servlet request

2006-12-22 Thread David Kerber
he saved params to the request for page 1. Last page example form tag: --David David Kerber wrote: David Smith wrote: You won't be able to re-compose the request object as if it was just submitted. The quickest, dirtiest way is to just stow the form params in the session upfro

Re: Re-executing a servlet request

2006-12-22 Thread David Kerber
Got this going; thanks for the help! David Smith wrote: Yes. I'm saying the original request won't be available. One other alternative I can think of is for the last page submit to add all the saved params to the request for page 1. Last page example form tag: --David David Ke

Re: Peak load of Tomcat-powered server(s)?

2006-12-25 Thread David Kerber
My app has about 270 simultaneous site connections, each sending data pretty much continuously (it's instrumentation readings). The total data readings I receiven averages about 2.1 million per day, and ranges from about 50 to 500 per second. I run a single instance of tomcat on a single mach

Re: How to set tomcat service as automatic?

2006-12-31 Thread David Kerber
kkus wrote: I installed 5.5.20 as service and can start it from its configuration page. From there I set it up as automatic startup type. Then after I reboot PC and it still shows me startup type as manual. That isn't what I intend. 1. How can I make tomcat service loaded automatically every

Re: Standards Complaint Browser Campaign

2007-01-06 Thread David Kerber
No, it's converted to Java code by Tomcat, along with whatever literal HTML you have in the .jsp. The HTML that is sent to the client is whatever you have your code generating. Dave Pierre Goupil wrote: Errr... I thought that the JSP was converted into HTML by Tomcat ? Regards, Pierre

Re: running tomcat invisibly

2007-01-10 Thread David Kerber
Roger Simmons wrote: Is it possible to run tomcat invisibly (that is without any console being displayed) if you check "Allow Service to Interact with the Desktop" in Windows services? (I'm using tomcat 5.5) Probably not, but if you *uncheck* that option, the only place you'll see it is in t

Re: different version of java

2007-01-15 Thread David Kerber
It's not the code port that is time-consuming; it's the testing and verification of correct operation of every function in that code. fausto mancini wrote: The problem is for 'which' servlet specification your applications are designed for... I do not see too much effort in porting a J2EE app

Watching a directory for new files

2007-01-16 Thread David Kerber
Hi, Tomcatters - I have a working application to which I need to add a new function, where I need to watch a networked directory (not on the local tomcat server machine) for newly-appearing files, which I will then process. I need to have this done at intervals not exceeding about two minutes

Re: Watching a directory for new files

2007-01-16 Thread David Kerber
f the ServletContextListener is called too. David Kerber wrote: Hi, Tomcatters - I have a working application to which I need to add a new function, where I need to watch a networked directory (not on the local tomcat server machine) for newly-appearing files, which I will then process. I need to have

Re: Watching a directory for new files

2007-01-16 Thread David Kerber
Caldarale, Charles R wrote: From: Tim Funk [mailto:[EMAIL PROTECTED] Subject: Re: Watching a directory for new files Various operating system allow hooks to do be notified when items in the filesystem change. But since we're using java - thats not the case here Tomcat does have the ca

Re: Watching a directory for new files

2007-01-16 Thread David Kerber
Mikolaj Rydzewski wrote: David Kerber wrote: Thanks for the suggestion. One question about this technique: can I run the directory check loop directly in the contextInitialized event of the Listener, or is it mandatory to create a new thread? You can't make an infinite (almost)

Re: Watching a directory for new files

2007-01-16 Thread David Kerber
The javax.management.Timer class was rather more complex than I liked for the simple stuff I needed, but while digging into it, I discovered the java.util.Timer class, which works great and is easy to implement, so thanks for putting me on the Timer track! Dave David Kerber wrote: Mikolaj

Re: Watching a directory for new files

2007-01-16 Thread David Kerber
or higher, consider using ScheduledThreadPoolExecutor which is generally considered a replacement for Timer. Robert On 1/16/07, David Kerber <[EMAIL PROTECTED]> wrote: The javax.management.Timer class was rather more complex than I liked for the simple stuff I needed, but while digging into

Re: Daylight Savings 2007

2007-01-18 Thread David Kerber
John Flores wrote: I am concerned about the change in Daylight Savings Times in 2007. Is there a patch that is needed to accomodate this change for all versions of Tomcat. If so, can you tell me where I can find the patch and intallation documentation for each version? Thanks John Flores

Storing webapp startup parameters

2007-01-25 Thread David Kerber
I know of two built-in methods of storing preferences for a webapp, but need one with characteristics which combine both of them. Using the java Preferences class allows changes to be made while the app is running, but AFAICS they will apply to all instances of tomcat running on a given machin

Re: Storing webapp startup parameters

2007-01-25 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Kerber wrote: Is there a built-in method of having different settings for each instance of tomcat, but which won't require bouncing tomcat to put the changes into effect? I know I could roll my own

Re: Storing webapp startup parameters

2007-01-25 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, David Kerber wrote: Christopher Schultz wrote: You could store your preferences in a JNDI context. If you use in your web.xml instead of using or something else, then they will be automatically loaded

Re: Storing webapp startup parameters

2007-01-25 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, David Kerber wrote: No, I'm using , with this in server.xml: This in web.xml: fileImportInterval java.lang.string Aah, okay. That's the same thing as in web.xml, I t

Re: Storing webapp startup parameters

2007-01-25 Thread David Kerber
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Storing webapp startup parameters A JNDI browser might simplify this for you if you can either deploy it into your existing application, or if you can somehow connect to it from the outside. Doe

Re: Storing webapp startup parameters

2007-01-25 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Kerber wrote: Christopher Schultz wrote: Aah, okay. That's the same thing as in web.xml, I think. I think I need to look at that; I'd like to eliminate the entry in ser

How to locate a configuration file on disk at runtime

2007-01-25 Thread David Kerber
This is a followup to my question about startup parameters. After digging around a bit, it looks like my best bet is to use the Properties class to read my settings from a disk file at startup. The properties api appears to be easy to use, and works very similarly to the Preferences class. M

Re: How to locate a configuration file on disk at runtime

2007-01-25 Thread David Kerber
David Kerber wrote: This is a followup to my question about startup parameters. After digging around a bit, it looks like my best bet is to use the Properties class to read my settings from a disk file at startup. The properties api appears to be easy to use, and works very similarly to the

Re: How to locate a configuration file on disk at runtime

2007-01-25 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: How to locate a configuration file on disk at runtime 2. Put the config file somewhere in the tree of my webapp, such at docbase or in conf. But again, I can't figure out how to pick that locati

Re: How to locate a configuration file on disk at runtime

2007-01-26 Thread David Kerber
David Kerber wrote: Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: How to locate a configuration file on disk at runtime 2. Put the config file somewhere in the tree of my webapp, such at docbase or in conf. But again, I can't figure out h

Re: How to locate a configuration file on disk at runtime

2007-01-26 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, David Kerber wrote: This is a followup to my question about startup parameters. After digging around a bit, it looks like my best bet is to use the Properties class to read my settings from a disk file at

Re: How to locate a configuration file on disk at runtime

2007-01-26 Thread David Kerber
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, David Kerber wrote: Previously, I had been using the java Preferences class, which stores things in a way that is transparent to the java program (in the registry on windows, elsewhere on other OS&#

Re: IllegalStateException in Tomcat 5.5.X

2007-02-08 Thread David Kerber
Tom Davis wrote: Hi All. I'm getting some intermittent exceptions from Tomcat with which I would appreciate some assistance. I get an IllegalStateException from Tomcat. This is not a unique error, though it looks like the circumstances causing it are. We have a complex application, with

Re: Unable to work with Tomcat 4.0

2007-02-11 Thread David Kerber
Rahul Choubey wrote: Dear Friends, I have installed Apache Tomcat version 4.0 in my system. I am getting the homepage correctly on writing http://localhost:8080 on the browser's address bar but when I go to servlets example page I am unable to execute the servlets,the same is the problem with JS

Re: Apache Software DST (2007) Compliance

2007-02-13 Thread David Kerber
Cory L Tryon wrote: To Whom It May Concern, With the recent changes in Daylight Savings Time, business are now attempting to determine which software is DST compliant and what is not. Would someone please let me know what versions of Apache Tomcat are DST (2007) compliant, or if not, what patch

Re: multiple versions of TC

2007-02-14 Thread David Kerber
Propes, Barry L [GCG-NAOT] wrote: Hi, I'm running 4.0.1 currently on my local box, but our prod box has 4.1.3. I was wondering, if I copy down the newer version, can I run it also (not simultaneously) but without having to delete the older version? You could even run them simultaneously if

Re: tomcat /shared/lib jars

2007-02-15 Thread David Kerber
delbd wrote: Caldarale, Charles R a écrit : From: sudip shrestha [mailto:[EMAIL PROTECTED] Subject: Re: tomcat /shared/lib jars once again the version is: 5.5.20. Interesting use of the clause "once again", since you haven't provided that bit of information before in this threa

Re: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread David Kerber
Why isn't that difference mentioned on the download pages? I just looked at the descriptions on the web site, and here are what it says (leaving out the *x versions): # apache-tomcat-[version].zip or .tar.gz: base distro, all non-embedded users download this. # apache-tomcat-[version].exe: Wi

Re: Windows Installer for 5.5.12 leaves out Scripts in /bin

2005-10-13 Thread David Kerber
ather like an option to install these extra files while using the installer, which is far more easier to use than the zip file. Not everyone would need those batch files, for example. [EMAIL PROTECTED] wrote: I agree. Who do we tell? -Original Message- From: David Kerber [mailto:[EMAIL

Re: [OT] Problems with web.xml generated from RAD and from Ecplise.

2005-10-21 Thread David Kerber
Frank W. Zammetti wrote: ... No, my IDE of choice is UltraEdit, and you'll have to pry it out of my cold, dead hands before I give it up :) Ditto! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: Run several applications on different ports, isolated from each other

2008-06-13 Thread David kerber
Ben Stringer wrote: On Fri, 2008-06-13 at 14:35 +0200, Yves Glodt wrote: Hello Christopher and List, thank you very much for your detailed description! I am currently evaluating all the possibilities to run my 2 applications side- by-side. Another idea I came up with is: Use only one insta

Re: What are the consequences of putting shared web resources in the "common" folder?

2008-07-09 Thread David kerber
Steve Ochani wrote: On 9 Jul 2008 at 11:57, Edward Song wrote: What are the consequences of putting shared web resources in the "common" folder vs. the "shared" folder? I´m not sure how to articulate the consequences of putting shared resources in the "common" folder. The following below

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 p

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 shutd

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 follow

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 ti

Re: Appeal to Tomcat developers

2008-10-16 Thread David kerber
Peter Crowther wrote: From: André Warnier [mailto:[EMAIL PROTECTED] From earlier Tomcat expert's messages here, I understand that the previous logging methods were technically flawed, and that the new methods, technically, are far superior. But from tens of user's messages on this list, it is c

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

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 http://tomcat.apache.org/tomcat-6.0-d

Re: Tomcat mysteriously shuts down

2007-02-19 Thread David Kerber
raine king wrote: OK I figured it out: Me and a couple testers were all running versions of Tomcat and once in a while we would use the same machine, and we hadn't changed the shutdown port/message(server.xml) so we were occasionally shutting down one another's Tomcats with shutdown.sh! D'oh

Multiple physical processors

2007-03-02 Thread David Kerber
It's a simple question, so I hope it's a simple answer: Running TC 5.5.15, with a single webapp, will Tomcat take advantage of multiple physical processors if they exist? Tks! Dave - To start a new topic, e-mail: users@tomc

Server suddenly using GMT instead of local time

2007-03-06 Thread David Kerber
I had a weird thing happen yesterday: I'm running TC 5.5.12 on Windows 2000 server. The jre is version 1.5.0_07. I did windows updates through IE, and used tzedit to update the DST settings, then rebooted the server. Everything came back up normally, but when I looked at the data being writ

Re: Server suddenly using GMT instead of local time

2007-03-06 Thread David Kerber
What file would that be in? Tim Funk wrote: Look at your system properties [user.timezone] -Tim David Kerber wrote: I had a weird thing happen yesterday: I'm running TC 5.5.12 on Windows 2000 server. The jre is version 1.5.0_07. I did windows updates through IE, and used tzed

Re: Server suddenly using GMT instead of local time

2007-03-06 Thread David Kerber
and everything is fine now. Thanks for the hint!! Dave Tim Funk wrote: Its a system property - you can see it by with of the following in a sample jsp: out.println(System.getProperties().getProperty("user.timezone")) or System.getProperties().list(new java.io.PrintWriter(out)

Re: Appropriate version of Tomcat

2007-03-09 Thread David Kerber
Caldarale, Charles R wrote: From: Richard Gemmell [mailto:[EMAIL PROTECTED] Subject: Re: Appropriate version of Tomcat I'd recommend the Windows Service Installer version. I'd recommend NOT using the .exe download, but instead use the .zip: 1) The .exe leaves out the .bat files, which

Re: server/lib annoys me

2007-03-19 Thread David Kerber
Tremal Naik wrote: 2007/3/19, David Delbecq <[EMAIL PROTECTED]>: I don't understand why you try to do a webapp specific stuff (licence checking) in a server context (a valve). Well, my license is limiting the number of contemporary sessions, i.e. there is a limit on the number of users can

Re: server/lib annoys me

2007-03-19 Thread David Kerber
Tremal Naik wrote: 2007/3/19, Tremal Naik <[EMAIL PROTECTED]>: Please, bear in mind my original question was "is it possible avoid using server/lib?" I never asked for java/j2ee programming lessons Of course, I accept all suggestions I receive gratefully, I'm not a some kind of troll, the l

Deploying libs for use both with Tomcat, and standalone apps

2007-03-19 Thread David Kerber
This is on Windows server 2003. I have a library (.jar file) that is used with 3 different apps: with my tomcat webapp, with a standalone command-line app, and with a jni package that provides a .dll for use with a windows gui app. What is the best way (place) to deploy this jar? It appears

Re: Deploying libs for use both with Tomcat, and standalone apps

2007-03-20 Thread David Kerber
No one has a suggestion about this? David Kerber wrote: This is on Windows server 2003. I have a library (.jar file) that is used with 3 different apps: with my tomcat webapp, with a standalone command-line app, and with a jni package that provides a .dll for use with a windows gui app

Re: Deploying libs for use both with Tomcat, and standalone apps

2007-03-20 Thread David Kerber
Mikolaj Rydzewski wrote: David Kerber wrote: I have a library (.jar file) that is used with 3 different apps: with my tomcat webapp, with a standalone command-line app, and with a jni package that provides a .dll for use with a windows gui app. What is the best way (place) to deploy this

Re: Which Tomcat 5.5.23 file do I download for Windows?

2007-03-28 Thread David Kerber
The way I've always done a windows installation is to install from the .exe file to get my services set up, and then unzip the .zip version right on top of the installation, so I have the extra support files from the zip, without having to manually do the service installation. Jayson Enriquez

Re: recognise tomcat finished starting up

2007-04-16 Thread David Kerber
[EMAIL PROTECTED] wrote: Thanks for the responses...I'll try the listener creating some kind of file I can check for the existence of - this is complicated by trying to do it remotely... A loop-on-fail in the first test would work...as long as my first test never breaks ;-) It wouldn't have

Cascading style sheets and tomcat

2007-04-17 Thread David Kerber
Can I use .css files with .jsp's, particularly when they are being served up by Tomcat 5.5? Or do they only work with static html files? TIA! Dave - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mai

Re: Cascading style sheets and tomcat

2007-04-17 Thread David Kerber
href="${pageContext.request.contextPath}/path/to/your.css" /> The example above is using the el expression language so be sure your webapp's web.xml file is declared with the servlet spec version 2.4 schema. --David David Kerber wrote: Can I use .css files with .jsp's, part

<    1   2   3   4   5   6   7   8   9   10   >