RE: apache virtual hosting + server.xml + context

2005-10-12 Thread Caldarale, Charles R
From: sudip shrestha [mailto:[EMAIL PROTECTED] Subject: Re: apache virtual hosting + server.xml + context We are having the similar problem, but if we place context in server.xml, ( I also have a META-INF/context.xml ) and as we are using dbcp connection pool, and it seems that tomcat

RE: After adding a context xml file, web-app doesn't always start

2005-10-11 Thread Caldarale, Charles R
From: David Farrell [mailto:[EMAIL PROTECTED] Subject: After adding a context xml file, web-app doesn't always start I think I may have missed something. Such as telling us which version of Tomcat you're using. tomcat throw an exeption that my app conspiracy cannot be found under

RE: manager outofmemory exception

2005-10-11 Thread Caldarale, Charles R
From: Enrique Rodriguez [mailto:[EMAIL PROTECTED] Subject: manager outofmemory exception What i don't understand is that I sometimes get OutOfMemoryException when i upload new aplitications to the tomcat using the manager. Search the archives - this comes up frequently. Assuming you're

RE: Form Based Authentication

2005-10-11 Thread Caldarale, Charles R
From: Peter Bright [mailto:[EMAIL PROTECTED] Subject: Form Based Authentication It's point (c) that's proving problematic; there's no way to reauthenticate that I can see. What happens if you just invalidate the existing session? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Form Based Authentication

2005-10-11 Thread Caldarale, Charles R
From: Peter Bright [mailto:[EMAIL PROTECTED] Subject: RE: Form Based Authentication It's point (c) that's proving problematic; there's no way to reauthenticate that I can see. What happens if you just invalidate the existing session? The user gets logged out. Exactly -

RE: Hijacking the coyote connector

2005-10-11 Thread Caldarale, Charles R
From: Dobbins, Michael G [mailto:[EMAIL PROTECTED] Subject: Hijacking the coyote connector My next attempt, I repackaged our connector to replace the org.apache.catalina.connector package and put that in the -Xbootclasspath I don't think that's the right place. -Xbootclasspath should be

RE: Add parameters into tomcat service ......

2005-10-10 Thread Caldarale, Charles R
From: Tony Lu [mailto:[EMAIL PROTECTED] Subject: Add parameters into tomcat service .. My question is: how to add statement set JAVA_OPTS=-Xms512m -Xmx512m - Daos.configuration=%CATALINA_HOME%/conf/aos.config into tomcat5 service? Use tomcat5w.exe from the bin directory. Add the

RE: using a datasource connection pool resource with username and password supplied by user

2005-10-09 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: using a datasource connection pool resource with username and password supplied by user But what I really want to do is to get a database user and password from the user and (after validating it) write this to a session

RE: Continuing Frustration and Misery with Deployer

2005-10-07 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: Continuing Frustration and Misery with Deployer deploy: [deploy] OK - Deployed application at context path /ROOT So it's deployed OK. I suspect all that means is that it was successfully copied to webapps, but I'm not

RE: Continuing Frustration and Misery with Deployer

2005-10-07 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Continuing Frustration and Misery with Deployer The thing is, I do not wish to execute directly from the WAR as that would be inefficient. If you only have classes (as opposed to resource files) I don't think it will make a

RE: Executing custom action on deploy

2005-10-07 Thread Caldarale, Charles R
From: Matteo Miraz [mailto:[EMAIL PROTECTED] Subject: Executing custom action on deploy I have written such behaviour in a method, so what can I do to execute it? Sounds like you need a ContextListener. Read the spec: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html

RE: Production Settings

2005-10-06 Thread Caldarale, Charles R
From: Pitre, Russell [mailto:[EMAIL PROTECTED] Subject: Production Settings Does anyone know where I can find documentation on recommended production setting for Windows environment? If you follow the Resources link from the Tomcat home page, you'll see a section named Articles. The one

RE: [OT] How much RAM can java use

2005-10-06 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: [OT] How much RAM can java use Does anyone know for sure how much RAM I can use with JAVA 1.4 or 1.5? The answer is very platform specific. For example, on a normal 32-bit Windows system, each process has a maximum of 2 GB to play

RE: [OT] How much RAM can java use

2005-10-06 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: [OT] How much RAM can java use I've seen 64-bit Sparc systems with Java heaps sized at hundreds of megabytes... Oops, I meant hundreds of _gigabytes_ (just a slight miscalculation :-). With the 32-bit Sun JVM, you're not going

RE: Tomcat Alone or tomcat+IIS/Apache

2005-10-05 Thread Caldarale, Charles R
From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache Does Tomcat support CGI bins utalizing non-java technology? As usual, RTFM: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Re: java.lang.ClassCircularityError

2005-10-05 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni Subject: Re: java.lang.ClassCircularityError There seems to be a well-known Java bug (1.3.x and 1.4.x, fixed in 1.5) that affects JBoss 3.x: http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=4699981 According to the bug

RE: custom session manager

2005-10-05 Thread Caldarale, Charles R
From: Mark [mailto:[EMAIL PROTECTED] Subject: Re: custom session manager basically, I want to prevent users from logging in and creating a second session if a valid session for that user already exists. Why? Some strange security issue? Resource consumption? An anti-DoS measure? -

RE: Database connections aren't being released...

2005-10-05 Thread Caldarale, Charles R
From: Richard Road Runner [mailto:[EMAIL PROTECTED] Subject: Database connections aren't being released... Over a period of time, the number of connections to the database continues to increase far beyond the possible number of users. This is usually a problem in the webapp, in that

RE: useBeans problem

2005-10-05 Thread Caldarale, Charles R
From: Michael Pope [mailto:[EMAIL PROTECTED] Subject: useBeans problem I'm new to JSP and still getting used to the environment. I'm using FreeBSD5.4, Jakarta tomcat 5.5.9 with JDK 1.5.0_p2 When I try to use Beans it comes up with the error: javax.servlet.ServletException: UserData

Re: Context path changes in context.xml not working

2005-10-05 Thread Caldarale, Charles R
From: David Kerber [EMAIL PROTECTED] Subject: Re: Context path changes in context.xml not working Nobody has any suggestions about setting up a 2-level context path *without* putting it in the server.xml (it works fine in there)? I thought I remembered something about this, and went

RE: ClassCastException while sharing objects accross applications

2005-10-04 Thread Caldarale, Charles R
From: Andrés Glez. [mailto:[EMAIL PROTECTED] Subject: Re: ClassCastException while sharing objects accross applications What about using JNDI to share objects between webapps? Won't change anything, due to the previously noted classloader-specific casting issue. What should work

RE: setting the context path in tomcat5.5.9?

2005-10-04 Thread Caldarale, Charles R
From: Trung Nguyen [mailto:[EMAIL PROTECTED] Subject: RE: setting the context path in tomcat5.5.9? To add the context path, you need to edit the $TOMCAT_HOME/conf/server.xml file and these lines: This completely ignores the admonition in the Tomcat doc: Please note that for tomcat 5,

RE: setting the context path in tomcat5.5.9?

2005-10-04 Thread Caldarale, Charles R
From: Stephen Faustino [mailto:[EMAIL PROTECTED] Subject: RE: setting the context path in tomcat5.5.9? my attempts to create a Context in the META-INF/context.xml were not successful, that is, I could create the context.xml file but the attributes did not seem to take affect. I could set

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Caldarale, Charles R
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Subject: Where'd catalina.sh go in 5.5.x ? Where would a change like this be made in Tomcat 5.5.x? In the same places. However, the scripts are not included in the .exe download for some reason, but are in the .zip version. (I haven't

RE: Where'd catalina.sh go in 5.5.x ?

2005-10-04 Thread Caldarale, Charles R
From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Subject: RE: Where'd catalina.sh go in 5.5.x ? Does it mean all the .sh, .bat, .properties, .xml, etc., files are not needed? Only the .bat and .sh files are missing from the .exe version. The others are all there, in their appropriate

RE: Script to create tomcat service on windows?

2005-10-03 Thread Caldarale, Charles R
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Script to create tomcat service on windows? Does anybody have a script to create a tomcat service on windows 2000? Have you tried the service.bat script that's part of the standard download? - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Script to create tomcat service on windows?

2005-10-03 Thread Caldarale, Charles R
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Script to create tomcat service on windows? service.bat doesn't seem to be installed with 5.5.9. Get the .zip download, not the emasculated .exe version. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

RE: FAQ? shutdown.bat not killing java process on Windows

2005-10-03 Thread Caldarale, Charles R
From: Charles Fineman [mailto:[EMAIL PROTECTED] Subject: Re: FAQ? shutdown.bat not killing java process on Windows Is there another mechanism I ought to be using to initialize (arbitrary) resources for my webapp? A context listener might be what you're looking for. See the Lifecycle

RE: Script to create tomcat service on windows?

2005-10-03 Thread Caldarale, Charles R
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: Script to create tomcat service on windows? Do they still work? Yes, they still work. (It probably would have taken you less time to try it than to e-mail the question.) I've never seen a justifiable explanation of why the scripts

RE: Re: Stopping users from getting a directory listing

2005-10-02 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Graham Reeds Subject: Re: Stopping users from getting a directory listing I tried copying the default servlet definitions and when that failed, the proceeding filters, to the application specific web.xml but that causes an exception to be

RE: Stopping users from getting a directory listing

2005-10-01 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Graham Reeds Subject: Stopping users from getting a directory listing What is the setting in the web.xml for stopping users from getting a directory listing? I'm pretty sure I've seen it somewhere before but I can't for the life of me

RE: Tomcat Alone or tomcat+IIS/Apache

2005-09-30 Thread Caldarale, Charles R
From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up

RE: Installing Tomcat 5.5 on Fedora 4 via Yum

2005-09-30 Thread Caldarale, Charles R
From: Rob Hills [mailto:[EMAIL PROTECTED] Subject: Installing Tomcat 5.5 on Fedora 4 via Yum However, I've so far been unsuccessful in finding any way to upgrade Tomcat beyond 5.0 using Yum. Has anyone else achieved this? I've never understood this fascination for fooling around with

RE: Asking Again: 5.5.12 Broke my 5.5.9 Config

2005-09-30 Thread Caldarale, Charles R
From: Trond Hersløv [mailto:[EMAIL PROTECTED] Subject: RE: Asking Again: 5.5.12 Broke my 5.5.9 Config I find nothing saying this attribute is now ignored. RTFM: The value of this field must not be set except when statically defining a Context in server.xml, as it will be infered [sic] from

RE: Limiting the number of threads Tomcat 4.1 creates

2005-09-30 Thread Caldarale, Charles R
From: Rob Shields [mailto:[EMAIL PROTECTED] Subject: Limiting the number of threads Tomcat 4.1 creates Is there a way to limit the number of threads that Tomcat 4.1 creates in its thread pool? Reading the doc never hurts: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html

RE: Limiting the number of threads Tomcat 4.1 creates

2005-09-30 Thread Caldarale, Charles R
From: Rob Shields [mailto:[EMAIL PROTECTED] Subject: RE: Limiting the number of threads Tomcat 4.1 creates I've tried setting that to 10 and restarting Tomcat, but when I do a ps auxm I see 20 threads running under the Sun VM: The JVM itself creates at least seven daemon threads for

RE: Re: Flexible way of defining application variables in text format?

2005-09-29 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of matador Subject: Re: Flexible way of defining application variables in text format? First: you can load your property files on each request as well. really, using what? Try the java.util.Properties.load() method. You can check the

RE: Flexible way of defining application variables in text format?

2005-09-27 Thread Caldarale, Charles R
From: NoKideen [mailto:[EMAIL PROTECTED] Subject: Re: Flexible way of defining application variables in text format? Try this API Class file Is there some reason you went to all this trouble rather than using java.util.Properties? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

RE: Flexible way of defining application variables in text format?

2005-09-27 Thread Caldarale, Charles R
From: NoKideen [mailto:[EMAIL PROTECTED] Subject: Re: Flexible way of defining application variables in text format? is there any example, I'd still confuse how to read dot properties file I think may API was to odds :-D, yeah that was trouble but there is one thing I like is

RE: Re: heap size in tomcat 5.0

2005-09-25 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of matador Subject: Re: heap size in tomcat 5.0 i assume that if you run it as a windows service then the JAVA_OPTS are still picked up from there? No, they're in the registry. Use the tomcat5w.exe program in the bin directory to set

RE: Can't change servlet path

2005-09-25 Thread Caldarale, Charles R
From: Paul Singleton [mailto:[EMAIL PROTECTED] Subject: Re: Can't change servlet path From which I infer that the Context element for the default web application of a virtual host should be held in a file named .xml As with every rule, there are exceptions. As I understand it, the

RE: Synchronize wrapper for session obj attrib get/set

2005-09-25 Thread Caldarale, Charles R
From: Maurice Yarrow [mailto:[EMAIL PROTECTED] Subject: Synchronize wrapper for session obj attrib get/set For those not wishing to migrate at this time to 5.5.12 (in our case, from 5.0.28 and jdk 1.4) would the following be sufficient for preventing deadlock access of the session objects

RE: SOAP on TOMCAT 5.0

2005-09-20 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: SOAP on TOMCAT 5.0 java.lang.UnsupportedClassVersion error: org/w3c/dom/Node (unsupported major.minor version 48.0) This is the version of a class file you're trying to load - 48.0 corresponds to JRE/JDK 1.4, so that would indicate

RE: How can iredirect a request from one apache to other apache.

2005-09-20 Thread Caldarale, Charles R
From: Rohit Maheshwari [mailto:[EMAIL PROTECTED] Subject: How can iredirect a request from one apache to other apache. I have the configuration like below User---Apache ( mod_ssl)---Apache (mod_ssl)---Weblogic Server And what does this have to do with Tomcat? - Chuck THIS

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04 3 things to do; Get a profiler to see where you may be losing memory. Ensure no resource/references are held onto, dispose references correctly Hard restart Tomcat when

RE: tomcat does not find my web application

2005-09-20 Thread Caldarale, Charles R
From: Mbah Tenjoh-Okwen [mailto:[EMAIL PROTECTED] Subject: tomcat does not find my web application when i create a folder(mine)under webbaps (tomcat/webapps/mine)i cant even get to its index.html file by typing http://localhost:8080/mine; in my browser.The container says The requested

RE: Tomcat Alone or tomcat+IIS/Apache

2005-09-19 Thread Caldarale, Charles R
From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Tomcat Alone or tomcat+IIS/Apache I know that delivering static content with Apache/IIS is preferred. Urban myth, based primarily on older Tomcat versions that did not perform anywhere near as well as the current one. But does

RE: https:// Netscape and Firefox 1.0

2005-09-16 Thread Caldarale, Charles R
From: Lalit Batra [mailto:[EMAIL PROTECTED] Subject: https:// Netscape and Firefox 1.0 Has anybody experienced problems of using https://blah.blah.com:8443/ esp. with Netscape 8.0 and FireFox 1.0. I'm using SSL on Firefox 1.0.6 with Tomcat 5.5.9 on Sun's JRE 1.4.2 and 5.0 without any

RE: SSL 8443

2005-09-15 Thread Caldarale, Charles R
From: Lalit Batra [mailto:[EMAIL PROTECTED] Subject: SSL 8443 Is there any way I can have to do without enetering 8443 port number. Change the port attribute of the SSL connector in your server.xml file. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

RE: Wher do I get binary of Tomcat

2005-09-15 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Wher do I get binary of Tomcat 2. Where can I get Tomcat that works on MacOS X or Windows (let's say old good win98)? Tomcat is pure Java, so you can use the standard .zip or .tar.gz download on any platform. Once expanded,

RE: Wher do I get binary of Tomcat

2005-09-15 Thread Caldarale, Charles R
From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Subject: Re: Wher do I get binary of Tomcat For your needs the exe package for Win 98 would be a good bet. I don't think that's true. The .exe download installs Tomcat as a service only - the startup and shutdown scripts aren't

RE: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
From: Stephen Caine [mailto:[EMAIL PROTECTED] Subject: How to change the SSL port I tried edits to server xml connector from 8443 to 443 - 443 port unresponsive after tomcat restart. What does netstat say about who's listening on which ports? Tried 8442 also. No joy. Only plays with

RE: How to change the SSL port

2005-09-15 Thread Caldarale, Charles R
From: CommonGround Softworks/Phil McNamara [mailto:[EMAIL PROTECTED] Subject: RE: How to change the SSL port It would seem to me that this demonstrates that I am editing the correct server.xml instance. Agreed. Sounds like something else has grabbed or disabled 443, especially since

RE: Can't change servlet path

2005-09-14 Thread Caldarale, Charles R
From: David Thielen [mailto:[EMAIL PROTECTED] Subject: RE: Can't change servlet path I'm not understanding something here I think. On (1) you say (I think) that I must put Context in server.xml for the path attribute. But in (2) you tell me (I think) to not put Context in server.xml?

RE: Where to put context.xml?

2005-09-13 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: Where to put context.xml? Context path=/ROOT docBase=/home/tomcat/applications/ debug=0 reloadable=true /Context To again quote from the Tomcat doc for the path attribute of the Context element: The value of this

RE: The process tomcat {pid 1488.0000 } is leaking handles

2005-09-13 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: The process tomcat {pid 1488. } is leaking handles I have and they put it down to being the Tomcat application - not much use at all! Since this has not been reported by anyone else, it is highly likely to be the

RE: problem with tomcat manager's deploy command

2005-09-13 Thread Caldarale, Charles R
From: rahul [mailto:[EMAIL PROTECTED] Subject: RE: problem with tomcat manager's deploy command Tomcat Manager's undeploy command, which I run from ant is not cleaning some of the jar files in my application's lib folder However no error shown on ant prompt. What happens if you try

RE: Can't change servlet path

2005-09-13 Thread Caldarale, Charles R
From: David Thielen [mailto:[EMAIL PROTECTED] Subject: Can't change servlet path I have tried the following in context.xml (in webapps/store/WEB-INF and META-INF): Please read the very explicit doc: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html (Since you didn't

RE: Tomcat5.5 and startup.bat

2005-09-13 Thread Caldarale, Charles R
From: John MccLain [mailto:[EMAIL PROTECTED] Subject: Tomcat5.5 and startup.bat I would prefer to run Tomcat5.5 from a script. Can this be done? The scripts are not in the download anymore They're in the .zip and .tar.gz downloads, but not in the .exe one. - Chuck THIS COMMUNICATION

RE: Can't change servlet path

2005-09-13 Thread Caldarale, Charles R
From: David Thielen [mailto:[EMAIL PROTECTED] Subject: RE: Can't change servlet path 3) Tomcat 5.5\webapps\store\META-INF\context.xml is: Context path=/abc docBase=store debug=5 reloadable=true crossContext=true /Context What am I missing To repeat (3rd time today):

RE: Can't change servlet path

2005-09-13 Thread Caldarale, Charles R
From: David Thielen [mailto:[EMAIL PROTECTED] Subject: RE: Can't change servlet path 1) Why is this forced in server.xml when otherwise we are supposed to put everything in our META-INF? You should consider the use of Context in server.xml as merely a migration mechanism from older Tomcat

RE: Tomcat does not honor acceptCount configuration variable

2005-09-13 Thread Caldarale, Charles R
From: Wei Zhao [mailto:[EMAIL PROTECTED] Subject: Tomcat does not honor acceptCount configuration variable I’ve just migrated to Tomcat 5.5 and found that the configuration variable “acceptCount” under “Connector” takes no effect. Can you show us your complete Connector/ tag

RE: problem with tomcat manager's deploy command

2005-09-12 Thread Caldarale, Charles R
From: rahul [mailto:[EMAIL PROTECTED] Subject: problem with tomcat manager's deploy command If I remove this context tag from server.xml then the deploy command works fine. But I want to keep this information in server.xml and at the same time use tomcat manager's deploy command from

RE: How to force the Tomcat manager app to run in SSL only?

2005-09-08 Thread Caldarale, Charles R
From: Augmentin [mailto:[EMAIL PROTECTED] Subject: Fw: How to force the Tomcat manager app to run in SSL only? Since manager does not actually exist under /webapps I can't put a security-constraint in a web.xml file. You need to look around a little bit more, such as in server/webapps.

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Caldarale, Charles R
From: Wade Chandler [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get() so it's not just a getAttribute call or even 50 million of them alone going to cause HashMap to lock, but rather the Object being in an intermediate step when get is called.

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-07 Thread Caldarale, Charles R
From: Len Popp [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat/JVM hangs in session.getAttribute / HashMap.get() Inside Tomcat, references to the hashmap in question are synchronized on the hashmap object itself, StandardSession.attributes (see org.apache.catalina.session.StandardSession).

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Caldarale, Charles R
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get() and replace all req.getSession().setAttribute(beanName, beanValue) in code with the call to this method (same for remove) and I've solved my problem? Unfortunately, you

RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get()

2005-09-06 Thread Caldarale, Charles R
From: Arup Vidyerthy [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat/JVM hangs in session.getAttribute / HashMap.get() Does this mean that all session.setAttribute() and session.getAttribute() should always be synchronised That's the conclusion I'm reluctantly coming to, if there is the

RE: Apache2.x and Tomcat5.0.x Session' data

2005-08-31 Thread Caldarale, Charles R
From: Yassine ELassad [mailto:[EMAIL PROTECTED] Subject: Apache2.x and Tomcat5.0.x Session' data Inside that directory ther is a link to one of my servlets what i want is to pass the user's data already collected after the log in against AAOM (username, etc ...) to that servlet You

RE: Users Can See root files

2005-08-31 Thread Caldarale, Charles R
From: Scott Purcell [mailto:[EMAIL PROTECTED] Subject: Users Can See root files Is created a welcome-file-list in the web.xml, but I guess if someone plays with the url and tries to get a look at the files that does not help. Look here:

RE: errors building tomcat5 from source

2005-08-31 Thread Caldarale, Charles R
From: Michael P. Soulier [mailto:[EMAIL PROTECTED] Subject: errors building tomcat5 from source I didn't see this in the FAQ, so I'm asking. I'm trying to build tomcat 5.5.9 from the source tarball on my Linux box. Just curious, but why do you want to build it from source? Tomcat is pure

RE: Database Pooling

2005-08-30 Thread Caldarale, Charles R
From: Scott Purcell [mailto:[EMAIL PROTECTED] Subject: Database Pooling If so, how simple is this to implement (I have read here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resource s-howto.html but I an not familiar with JNDI. Try reading the next section of the doc as well:

RE: tomcat 5.0.28 - CPU spikes after heap memory reaches 700MB

2005-08-30 Thread Caldarale, Charles R
From: Bhaskar Mulpuri [mailto:[EMAIL PROTECTED] Subject: tomcat 5.0.28 - CPU spikes after heap memory reaches 700MB When the heap memory for the tomcat process reaches 700 Mb (as shown by solaris top command), for a few requests, the CPU spikes to 90-95 %. Is it possible that the

RE: installing admin webapp

2005-08-30 Thread Caldarale, Charles R
From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: installing admin webapp Is there a link - howto etc on how to install and configure the admin webapp. Installation borders on the trivial: download, unzip. The only configuration necessary is creating the admin role and associated

RE: No Host matches server name localhost error

2005-08-30 Thread Caldarale, Charles R
From: Brian Moseley [mailto:[EMAIL PROTECTED] Subject: Re: No Host matches server name localhost error thanks for the pointer. after moving my context definition into server.xml Bad move. This is specifically discouraged in 5.5. i wonder what the motivation was for making it such that

RE: No Host matches server name localhost error

2005-08-30 Thread Caldarale, Charles R
From: Paul Austin [mailto:[EMAIL PROTECTED] Subject: RE: No Host matches server name localhost error But the context path is only supported when you put it in the server.xml so you can't deploy the wars to any other path other than the name of the context file so deploying to

RE: Does Tomcat run better on Linux or Windows?

2005-08-30 Thread Caldarale, Charles R
From: Brian Cook [mailto:[EMAIL PROTECTED] Subject: Re: Does Tomcat run better on Linux or Windows? The only thing that comes to mind is that you have to reboot windows every time you need to make a change to the CLASSPATH, JAVA_HOME, or TOMCAT_HOME variables That's simply not true.

RE: Does Tomcat run better on Linux or Windows?

2005-08-30 Thread Caldarale, Charles R
From: Rob Hills [mailto:[EMAIL PROTECTED] Subject: RE: Does Tomcat run better on Linux or Windows? I've not yet been able to find a way of changing environment variables in Windows and have the OS pick up the changes and pass them to a service (no matter how often you stop and start

RE: installing admin webapp

2005-08-30 Thread Caldarale, Charles R
From: Peter Kennard [mailto:[EMAIL PROTECTED] Subject: Re: installing admin webapp Will do - where is the procedure for opening an enhancement ticket outlined? Tomcat development uses Bugzilla for both bug reports and enhancement requests (although the latter isn't obvious - you have to

RE: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-29 Thread Caldarale, Charles R
From: Alan Chandler [mailto:[EMAIL PROTECTED] Subject: Re: Where can I find specs for ALL the xml tags that can be used in server.xml. I must admin not really searching 5.5 docs, because I am using 4.1, but I can't find the Resource tag described aywhere. Then you certainly should be

RE: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-29 Thread Caldarale, Charles R
From: Alan Chandler [mailto:[EMAIL PROTECTED] Subject: Re: Where can I find specs for ALL the xml tags that can be used in server.xml. Unfortunately, it still doesn't specify what the auth=Container attribute means. This is pretty clear to me: Specify whether the web Application code

RE: very strange 'documentroot' problems

2005-08-28 Thread Caldarale, Charles R
From: Arjan [mailto:[EMAIL PROTECTED] Subject: very strange 'documentroot' problems BUT when i edit the file, or even completely remove it, i still get to see 'If you're seeing this page via a web browser, it means you've setup Tomcat successfully. The .jsp files of the ROOT app (as

RE: jndi question

2005-08-25 Thread Caldarale, Charles R
From: Sean Rowe [mailto:[EMAIL PROTECTED] Subject: Re: jndi question tomcat 5, and jdk 1.5 Which Tomcat 5? The configuration for the 5.0 series is not necessarily the same as in 5.5. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus

RE: newbie with a short question

2005-08-24 Thread Caldarale, Charles R
From: Allistair Crossley [mailto:[EMAIL PROTECTED] Subject: RE: newbie with a short question First I cause an open/save prompt with response.addHeader(Content-Disposition, attachment; filename=somebat.bat); Then I use the response.getOutputStream() and stream the bat file down it.

RE: Making a Database Image Show Up on a Jsp Page

2005-08-24 Thread Caldarale, Charles R
From: Philip Cote [mailto:[EMAIL PROTECTED] Subject: Re: Making a Database Image Show Up on a Jsp Page My only sticking point is how I'm supposed to write that binary data to the jpeg file. I think the point people are trying to make is that you don't need to write any file at all. The

RE: Compatibilty Package

2005-08-16 Thread Caldarale, Charles R
From: Qin Ding [mailto:[EMAIL PROTECTED] Subject: Compatibilty Package Where can I download the compatibility package for the tomcat 5.5.9 and jdk1.4.2? This is called hide in plain sight. It's the download named Compat on the main Tomcat download page

RE: Calculating required memory

2005-08-16 Thread Caldarale, Charles R
From: Oleg [mailto:[EMAIL PROTECTED] Subject: Calculating required memory Would I be correct to estimate that Tomcat will atleast need n(number of users/applications) * mb(total size of shared/lib) In a word, no - disk space occupied by class files has no correlation with memory consumed

RE: 64 Bit Machines and Tomcat

2005-08-15 Thread Caldarale, Charles R
From: J R [mailto:[EMAIL PROTECTED] Subject: Re: 64 Bit Machines and Tomcat Are there 64 bit counterparts? If not, would the 32 bit ones definitely work? I think you're missing the point. You don't need to build Tomcat, since it's pure Java. Just download the binary distribution, unzip,

RE: NumberFormatException After Logging In To Admin Webapp

2005-08-12 Thread Caldarale, Charles R
From: David Litterine-Kaufman [mailto:[EMAIL PROTECTED] Subject: NumberFormatException After Logging In To Admin Webapp I'm running Tomcat 4.1, sablevm 1.11.3, and struts 1.1 on Debian Sarge. Have you tried this with a Sun 1.4 JDK or 5.0 JRE? - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI?

2005-08-11 Thread Caldarale, Charles R
From: Wylie, Ian [mailto:[EMAIL PROTECTED] Subject: RE: Has anyone used Tomcat 5.5.9 connecting to MS SQL Server using JNDI? In my opinion the people who develop Tomcat should provide an example of JNDI for ALL major databases. Question: How much have YOU contributed to Tomcat? The

RE: realm in context in war file

2005-08-11 Thread Caldarale, Charles R
From: Michal Kwiatek [mailto:[EMAIL PROTECTED] Subject: realm in context in war file I have the following context definition: context path=/test1 override=true docBase=webapps/test1 realm className=org.apache.catalina.realm.MemoryRealm debug=

Test as requested by list owner

2005-08-10 Thread Caldarale, Charles R
Checking if the spurious bounce messages have been corrected. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its

RE: R: JSTL Question

2005-08-09 Thread Caldarale, Charles R
From: Tom Spence [mailto:[EMAIL PROTECTED] Subject: Re: R: JSTL Question I plan to use TOMCAT 5.5.9 for http server but my supervisor wants me to use HTTP Server. (I assume you're referring to Apache httpd.) Does he have a reason, or is he just remembering the old days when Tomcat was

RE: No admin page; ServletException: can't find org.apache.struts.action.MESSAGE

2005-08-09 Thread Caldarale, Charles R
From: AD Marshall [mailto:[EMAIL PROTECTED] Subject: No admin page; ServletException: can't find org.apache.struts.action.MESSAGE After starting tomcat5, this url gives a blank browser page: http://localhost:8080/admin/ Tomcat 5.0 or 5.5? In 5.5 the addmin app is a separate download

RE: * 2 Tomcat instances on same box

2005-08-09 Thread Caldarale, Charles R
From: Paul Wallace [mailto:[EMAIL PROTECTED] Subject: RE: * 2 Tomcat instances on same box Apart from being an attribute of the parent node, what is this port? It's the one Tomcat listens on for the shutdown command in order to gracefully terminate. Bound to 127.0.0.1 only, so you have to

RE: Generic Types support in Tomcat?

2005-08-08 Thread Caldarale, Charles R
From: Patrick Thomas [mailto:[EMAIL PROTECTED] Subject: Generic Types support in Tomcat? Easiest part of this question is simply does tomcat (5.5.7) support using generic types in JSP files? Some pertinent paragraphs from: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html

RE: Tomcat application won't start with MySQL Connection Pooling

2005-08-06 Thread Caldarale, Charles R
From: James Adams [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat application won't start with MySQL Connection Pooling I have now created a context.xml according to the example in the Tomcat 5.5 documentation and this time I've placed it my application's META-INF directory in the WAR

RE: Tomcat application won't start with MySQL Connection Pooling

2005-08-05 Thread Caldarale, Charles R
From: James Adams [mailto:[EMAIL PROTECTED] Subject: Tomcat application won't start with MySQL Connection Pooling I have tried adding connection pooling for a MySQL database in Tomcat 5.5 by following the steps described [URL=http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-data

RE: Tomcat and JDK version

2005-08-03 Thread Caldarale, Charles R
From: MC Moisei [mailto:[EMAIL PROTECTED] Subject: Tomcat and JDK version On top of that I know that tomcat is suppose to run with the JDK but JRE is suppose to be faster then the JDK because I assume the native code is optimized and all the debugging info in native and in classes are

RE: TC Apache integration

2005-07-28 Thread Caldarale, Charles R
From: Randy Paries [mailto:[EMAIL PROTECTED] Subject: RE: TC Apache integration But are you saying that they have optimized Tomcat 5.5.9 and it does not make sense to use apache has the front end? Unless your web site consists almost entirely of static content, then adding a front end

  1   2   3   4   >