Re: problem in session closing for explorer

2003-09-12 Thread Bill Barker
My first guess is that you are using MSIE, and have enabled Active Desktop. In this case, there is always a MSIE running, so MS (helpfully ;-) always preserves your cookies as long as you are logged on to your workstation. Fabio Bazzani [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

RE: Tomcat cluster tuning

2003-09-12 Thread Ralph Einfeldt
Sorry can't give a recommendation. We had different results even for (nearly) the same software for different sites. For one site the IBM JDK worked best, for the other Sun's. Any given result may be wothless with the next version of either jdk. (Even with just changes in the minor revision)

Re: problem in session closing for explorer

2003-09-12 Thread Petter Karlström
Bill Barker wrote: My first guess is that you are using MSIE, and have enabled Active Desktop. In this case, there is always a MSIE running, so MS (helpfully ;-) always preserves your cookies as long as you are logged on to your workstation. I have seen this problem too, only with Mozilla. Seems

IE XSLT caching problem

2003-09-12 Thread Enoch Root
Hi all; I'm doing client side XSLT and forms in my webapp usually generate XML responses as below: ?xml version=1.0 encoding=ISO-8859-9? ?xml-stylesheet type=text/xsl href=/xsl/foo.xsl? root ... /root I've dumped HTTP traffic and it seems that whenever IE tries to fetch /xsl/foo.xsl it sends

Session Problems in Tomcat Clustering

2003-09-12 Thread Mandeep Jossan
Iam using the Tomcat 4.1.24 clustering with apache 2.0.43. everything seems to work fine, many many thanks to Filip for the fine work. But I have a problem when I try to save a session notifier called 'SessionTimeoutNotifier' which extends 'HttpSessionBindingListener' in the session. First it

Re: DBCP Problems after restart : Server connection failure during transaction

2003-09-12 Thread d . trombetta
After asking help to Nikolas (1,5 h after!) I solved the problem too. The system manager told me that nothing had happened, but changing the URL for the DB connection from: jdbc:mysql://localhost/mbm162?autoReconnect=true into jdbc:mysql://127.0.0.1/mbm162?autoReconnect=true everything worked

How to Install Web Application thru Tomcat Manager (TOMCAT 4.1.27)

2003-09-12 Thread Thana Letchumi
Hi, I have recently installed TOMCAT 4.1.27. I developed a few applications in a differect directory path from the tomcat installation path. Initially, I updated the server.xml with my web application path. But I realize that any update I make to the jar file (located in my application

cannot start tomcat

2003-09-12 Thread Yang Soon Chiao
using Tomcat 4.1.27 with Red Hats 8.0 and J2SDK 1.4.1 and I got this error messages when starting tomcat. I attached my server.xml. Below is the errormessage i get from catalina.out: ERROR reading

Re: Setting contentType and also using container-based authentication

2003-09-12 Thread Adam Hardy
Hi Matt, how does it work if you use a meta tag direct in html? meta http-equiv=content-type content=application/vnd.ms-excel / On 09/11/2003 07:54 PM Sgarlata Matt wrote: I'm having trouble using the %@ page contentType= % directive and container-based authentication. Here is a toy example that

deployment problems

2003-09-12 Thread barkingmadt
hello, i have just completed a course on web programming where all the practical work was done on a windows box. now i try to redo everything on my linux (suse 8.2) machine and i keep hitting problems. i have checkeed the archive for deployment and if the right clue is there i didnt identify it

Dynamic drop down menus

2003-09-12 Thread Anson Zeall
Hi, I want to know if there are free guides in teaching you how to do dynamic drop-down menus? Regards, Anson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE : Dynamic drop down menus

2003-09-12 Thread Hertenstein Alain
You'll need to know DHTML to achieve this (unless you want to use applets and AWT...). Go here for examples and help : http://www.dynamicdrive.com/ Alain -Message d'origine- De : Anson Zeall [mailto:[EMAIL PROTECTED] Envoyé : vendredi, 12. septembre 2003 11:42 À : Tomcat Users List

Dynamic drop down menus - addition

2003-09-12 Thread Anson Zeall
With java script that is... -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 7:42 PM To: Tomcat Users List Subject: Dynamic drop down menus Hi, I want to know if there are free guides in teaching you how to do dynamic drop-down menus?

Windows Menu Startup and JAVA_OPTS

2003-09-12 Thread Chris Scudds
Folks, Tomcat 4.0.6 on Windows 2000 - we were running out of memory, so I added a -Xms256m to the JAVA_OPTS environment variable. However, it didn't seem to make any difference. Now, would I be right in saying that if Tomcat is started from the Windows desktop menu ie.

RE: Windows Menu Startup and JAVA_OPTS

2003-09-12 Thread John Corrigan
If the menu runs that, then it is unlikely that the environment variables are seen. The current version of Java doesn't have any non-deprecated methods for accessing OS environment variables. You could edit the .pif file used to start Tomcat and add the -Xms switch to the command. BTW, does

RE : Tomcat and IIS + Index Server - possible ?

2003-09-12 Thread Hertenstein Alain
Hi Marco, Thanks for your answer. I'm using pure JSPs (no Struts or the like), but indeed most of the content come from other sources (Database, java classes output). So parsing the JSP files themselves is not a solution for my case (as indicated in the Lucene documentation anyway). So I tried to

Re: xsl and 4.1.27

2003-09-12 Thread Petter Karlström
Hi, The problem quoted below is still driving me up the walls! Now, I've also tried installing the taglibs in /common/lib/ (instead of the app's lib) and fixed some presumably unrelated differences between the server.xml files. Am I the only one to have this problem? I want to try

Re: Deployment on a specific port

2003-09-12 Thread Tim Funk
IIRC, getRemoteAddr() is as reliable as your router in prventing spoofed addresses. So you should be safe if you can trust your network to say the 198.168.0.25 is that computer and not a spoof. -Tim Martin Jericho wrote: Since it looks like there is no easy way to do it, does anyone know of a

Re: How is the server.xml file being pulled.

2003-09-12 Thread Tim Funk
Look at setting the environment variables CATALINA_HOME and CATALINA_BASE. I've personally never set these different but I think that is what you want. -Tim Joe Harmon wrote: I have an situation were we are deploying 3 instances of Tomcat off of the same directory stucture using three

Exception in Tomcat?

2003-09-12 Thread Bjørn T Johansen
I have a Struts app that's running under Tomcat 4.1.27 and now and then I get this in my log: 11.sep.2003 10:44:13 org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method)

AW: Exception in Tomcat?

2003-09-12 Thread Nitschke Michael
If the connection is not proper established this error occurs. The easiest was to fix it is to catch the exception in your application, so your application would not die at every occurrence. Surround the socket write statement with the catch construct. -Ursprüngliche Nachricht- Von:

Re: AW: Exception in Tomcat?

2003-09-12 Thread Bjørn T Johansen
Well, the problem is that I don't use any sockets in my webapp BTJ On Fri, 2003-09-12 at 13:22, Nitschke Michael wrote: If the connection is not proper established this error occurs. The easiest was to fix it is to catch the exception in your application, so your application would not

TLD's case sensitive

2003-09-12 Thread Ben Anderson
Hello, I'm moving a Struts webapp from Weblogic to Tomcat. The problem I'm now having is that it seems like Tomcat enforces case sensitivity for the TLD tags. For instance html:text maxLenth=5/ in the api for these tags, it should actually be maxlength and not maxLength. weblogic doesn't care,

Re: TLD's case sensitive

2003-09-12 Thread Tim Funk
The jsp spec says this: All attributes of a custom action must be JavaBeans component properties, although some properties may not be exposed as attributes. The attributes that are visible to the JSP translator are exactly those listed in the Tag Library Descriptor (TLD). I would think the use

AW: AW: Exception in Tomcat?

2003-09-12 Thread Nitschke Michael
Is there another exception thrown below the one you provided? Mostly it's headed by a line with root cause in it. It's not necessary that you are using sockets directly, if you use the response output stream it is handled over a socket for example. If there is a second exception stack trace it

Re: AW: Exception in Tomcat?

2003-09-12 Thread Holger Klawitter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a Struts app that's running under Tomcat 4.1.27 and now and then I get this in my log: 11.sep.2003 10:44:13 org.apache.jk.server.JkCoyoteHandler action SEVERE: Error in action code java.net.SocketException: Broken pipe at

RE: Admin tool

2003-09-12 Thread Shapira, Yoav
Howdy, Use a different realm than the default UserDatabase realm. See server.xml and its comments as well as the Realm documentation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jeff Cummings [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 5:33 PM To:

Evaluation of the Manifest of a jar file

2003-09-12 Thread Krause Karin
Hello, I read this article about the evaluation of the CLASSPATH attribute set in the manifest in a jar file. This CLASSPATH attribute refers to other jar files. see: http://marc.theaimsgroup.com/?l=tomcat-userm=105360018918350w=2 I don't understand if the Tomcat class loaders (e.g. the common

RE: cannot start tomcat

2003-09-12 Thread Shapira, Yoav
Howdy, Looks like a badly installed tomcat - how did you install it? Yoav Shapira Millennium ChemInformatics -Original Message- From: Yang Soon Chiao [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 3:49 AM To: [EMAIL PROTECTED] Subject: cannot start tomcat using Tomcat 4.1.27

RE: deployment problems

2003-09-12 Thread Shapira, Yoav
Howdy, Post your directory structure so we can make sure it's OK. Don't put a Context entry in server.xml for your webapp: for now, let tomcat auto-deploy it with the default configuration. Make sure all your links in your webapp are correct, i.e. they don't go to /myServlet but rather

RE: Dynamic drop down menus

2003-09-12 Thread Shapira, Yoav
Howdy, Just google. http://www.google.com/search?sourceid=navclientq=dynamic+drop+down+menu s+javascript Yoav Shapira Millennium ChemInformatics -Original Message- From: Anson Zeall [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 5:42 AM To: Tomcat Users List Subject:

Re: Setting contentType and also using container-based authentication

2003-09-12 Thread Sgarlata Matt
I must have been losing it yesterday because I tried again just now with %@ page contentType % and it worked fine. If I have more problems I'll try that meta trick; I didn't know about that. Thanks Adam! Matt - Original Message - From: Adam Hardy [EMAIL PROTECTED] To: Tomcat Users List

Tomcat 5.0 install - Please Help

2003-09-12 Thread Giri Gopal
I downloaded Tomcat 5.0. Installed on W2K machine. Tomcat Starts O.K. I am able to test all the samples and works fine. I create a simple JSP page and I get the following error. org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the

TC5: Question about TagPlugins and generated JSP-code

2003-09-12 Thread Yann Cébron
Hi, I'm pretty new to this TagPlugins-thing in TC5, but after finding the tagPlugins.xml in CVS I successfully got up. So here's my question: I have this simple Testcase JSP-page: %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % c:choose

new Aspen Group Email

2003-09-12 Thread gatkin
Due to problems with SPAM, [EMAIL PROTECTED] has been discontinued. Please note my new email address. To prevent automated systems from obtaining my new email address, I will spell out the @ symbol. Please send all future email to: gordon[at]aspengroup.net

Re: Dynamic drop down menus

2003-09-12 Thread engp0510
http://www.htmlcodetutorial.com/ - Original Message - From: Anson Zeall [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 12, 2003 5:41 PM Subject: Dynamic drop down menus Hi, I want to know if there are free guides in teaching you how to do

Re: how to use single dbcp resource across multiple webapps

2003-09-12 Thread Paul
i think i may have found an answer. from the archives, message subject ResourceLink and DefaultContext, Cam Smith reported following: If I place the ResourceLink inside explicity declared Context elements, all works fine and I can access the data source from multiple webapps. Cam also provides

RE: Dynamic drop down menus

2003-09-12 Thread Anson Zeall
Nevermind, I found the stuff I want from dynamicdrive.com ...thanks anyway -Original Message- From: engp0510 [mailto:[EMAIL PROTECTED] Sent: Saturday, September 13, 2003 12:13 AM To: Tomcat Users List Subject: Re: Dynamic drop down menus http://www.htmlcodetutorial.com/ - Original

Embedding JSP code in a JS file

2003-09-12 Thread Anson Zeall
HI, I want to know if anyone knows how to embed JSP code in JS files? 'cause I want to use encodeURL inside the JS filesomehow. Regards, Anson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Embedding JSP code in a JS file

2003-09-12 Thread Tim Funk
Rename the js file to jsp then update your link to pull in the jsp file accordingly. (You may have to do a mime-type set too) -Tim Anson Zeall wrote: HI, I want to know if anyone knows how to embed JSP code in JS files? 'cause I want to use encodeURL inside the JS filesomehow.

RE: Embedding JSP code in a JS file

2003-09-12 Thread Anson Zeall
'cause problem right now is..I tried dumping the js file code...into my jsp file..and put in the encodeURL.and when I click on the click via the browserit says my redirect for the URL has exceeded. Dunno what that means.. Anson -Original Message- From: Tim Funk

RE: Embedding JSP code in a JS file

2003-09-12 Thread Anson Zeall
Thanks, butwhatand how to set the mime-type? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Saturday, September 13, 2003 12:37 AM To: Tomcat Users List Subject: Re: Embedding JSP code in a JS file Rename the js file to jsp then update your link to pull in

Re: Tomcat 5.0 install - Please Help

2003-09-12 Thread Jacob Kjome
First, install your JDK to the root of the C: drive, not under Program Files. Spaces in the path mess things up usually. Second, it is JAVA_HOME, not Java_Home. And do you have %JAVA_HOME%\bin in your system Path variable? Jake At 08:38 AM 9/12/2003 -0500, you wrote: I downloaded Tomcat

FOP code runs standalone, but not in a Servlet

2003-09-12 Thread Mike Kellstrand
I have Java FOP (XSLT-FO PDF converter) code that runs great from the command line if I put the fop, batik, avalon, and xalan jars in the JAVA_HOME\jre\lib\ext dir. If I put this code in a servlet under Tomcat 4.1.24, I get transform errors. I have tried putting the FOP jars in various Tomcat

RE: Session Problems in Tomcat Clustering

2003-09-12 Thread Filip Hanik
is this class in all your webapps? can you send me a test case webapp and I will try it out -Original Message- From: Mandeep Jossan [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: Session Problems in Tomcat Clustering Iam using

Obtaining client connection

2003-09-12 Thread Peter Guyatt
Hi There, I am not too sure if you are actually able to do this but I have a need to get the IP address/hostname of the client that has accessed a page in our web application. This is mainly for security/auditing purposes, however I really need to get the client Socket connection and not

RE: FOP code runs standalone, but not in a Servlet

2003-09-12 Thread Shapira, Yoav
Howdy, You want to put all your jars in WEB-INF/lib. What are the errors you're getting? Yoav Shapira Millennium ChemInformatics -Original Message- From: Mike Kellstrand [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 11:27 AM To: [EMAIL PROTECTED] Subject: FOP code runs

Re: FOP code runs standalone, but not in a Servlet

2003-09-12 Thread Mike Kellstrand
Thanks for the response. I put my Tomcat back into a stock state and copied the fop, batik, avalon, and xalan jars from the FOP package into my WEB-INF/lib dir. I restarted Tomcat and got the following when my code ran: The output format must have a '{http://xml.apache.org/xslt}content-handler'

Generating huge reports via servlets

2003-09-12 Thread Vijay Kandy
Hello All, I have a servlet that generates reports in CSV format. When the content size of the report is small, it works fine. But if the content size is 4MB, I get a 404 error but no exceptions. I tried setBufferSize(4MB) and contentSize to the actual size of the report but that didnt help much.

RE: FOP code runs standalone, but not in a Servlet

2003-09-12 Thread Jacob Kjome
At 11:33 AM 9/12/2003 -0400, you wrote: Howdy, You want to put all your jars in WEB-INF/lib. What are the errors you're getting? hmm Xalan is an endorsed library. It needs to be in CATALINA_HOME/common/endorsed or JAVA_HOME/jre/lib/endorsed, otherwise the old buggy version of Xalan that

Problem with chunked encoding and getParameter()

2003-09-12 Thread Timo Kinnunen
I have a problem with servlet's getParameter() method returning null when I connect using chunked encoding. The client is an MIDP 2.0 emulator from Sun's Wireless Toolkit 2.0. Connections from Mozilla and IE work fine, and they are not using chunked encoding. I'm using Tomcat 4.1.27. Here are

Re: Embedding JSP code in a JS file

2003-09-12 Thread Tim Funk
For example: In the html: = head link href=javascript/cowbell.jsp rel=stylesheet type=text/css / /head = In javascript/cowbell.jsp (possibly) = %@ page contentType=application/x-javascript% = -Tim Anson Zeall wrote: Thanks, butwhatand how

4.1.27-hotfix-22096.tar.gz source code ?

2003-09-12 Thread webmaster
Hi all, Where can I find the source code for the 4.1.27-hotfix-22096.tar.gz ? It can be just the patch file either. Thanks ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FOP code runs standalone, but not in a Servlet

2003-09-12 Thread Mike Kellstrand
I tried putting the xalan jar in the endorsed dir and got the following error: null:4:80 fo:flow must contain block-level children I ran into this one before. There is a section in my xslt file as follows: fo:flow flow-name=xsl-region-body xsl:apply-templates select=coverpage/ /fo:flow If

Threads don't go back to pool!

2003-09-12 Thread Victor Popiol
Hi. When I obtain a jkstatus, during time, the epCount value keeps increasing. So it seams like the threads are never returned to the pool. I set the connectionTimeout to 2 (Isuppose 20 secs.) but no help. In the jk2.log I see a lot of messages like this: [Thu Sep 11 10:47:21 2003]

dbcp, initCtx.close()??

2003-09-12 Thread Paul
Tomcat docs advise following code for openning a dbcp connection: % // Obtain our environment naming context Context initCtx = new InitialContext(); Context envCtx = (Context)initCtx.lookup(java:comp/env); // Look up our data source DataSource ds = (DataSource)envCtx.lookup(jdbc/eplResrc); %

RE: dbcp, initCtx.close()??

2003-09-12 Thread Phillip Qin
I close Context right after I get DataSource. Then I can still do dataSource.getConnection(). So this close will not connection. -Original Message- From: Paul [mailto:[EMAIL PROTECTED] Sent: September 12, 2003 2:19 PM To: Tomcat Users List Subject: dbcp, initCtx.close()?? Tomcat docs

RE: dbcp, initCtx.close()??

2003-09-12 Thread Shapira, Yoav
Howdy, As long as you keep the initial context reference inside a method, and not a class member variable, you'll be fine, especially if all you're doing is just getting one resource (the DataSource) out of it. The initial context will then go out of scope and be garbage collected, freeing up

Odd Network error using DBCP - help please

2003-09-12 Thread Neil M. Johnson
Hi, I have set up a connection pool to mySQL and get an error when trying to connect to it. The error is org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.BindException: Address already in use: connect The full

web applications.

2003-09-12 Thread Jason Lanpher
Hi everyone. I was just wondering how you might handle working with clients/developers in enabling them to restart thier web applications when they make changes to: 1) web.xml file. 2) Servlets 3) Java Beans 4) etc. Now I know about the manager application and developing with ANT.

RE: web applications.

2003-09-12 Thread Phillip Qin
Do you mean Tomcat? I like tomcat manager application. However it doesn't work with java security manager. I have to shutdown web server in order to incorporate my changes. -Original Message- From: Jason Lanpher [mailto:[EMAIL PROTECTED] Sent: September 11, 2003 3:04 PM To: [EMAIL

Isapi_redirect closing HTTP connection

2003-09-12 Thread Eric Jacobson
Has anyone else noticed that IIS closes the HTTP connection on every request? When using HTTP/1.1, Keep-Alive is supposed to be the default behavior, but the headers returned from IIS look like: HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 12 Sep 2003 15:16:03 GMT X-Powered-By: ASP.NET

Isapi_redirect closing HTTP connection

2003-09-12 Thread Eric Jacobson
Has anyone else noticed that IIS closes the HTTP connection on every request? When using HTTP/1.1, Keep-Alive is supposed to be the default behavior, but the headers returned from IIS look like: HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Fri, 12 Sep 2003 15:16:03 GMT X-Powered-By: ASP.NET

BindException :: Shutdown Port 8005 :: Solaris 5.9

2003-09-12 Thread Juanpablo Lajud
Hi all, I am experiencing difficulties with port 8005. It crashes with a BindException after trying to start it. OS: SunOS 5.9 www2# java -showversion java version 1.4.0_03 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-b04) Java

RE: BindException :: Shutdown Port 8005 :: Solaris 5.9

2003-09-12 Thread Mike Curwen
What do you get with: netstat -an | grep 8005 If you get: tcp0 0 127.0.0.1:8005 0.0.0.0:* LISTEN It might be that Tomcat didn't manage to completely kill itself on a previous shutdown. Do you get anything with this? ps -ax | grep

RE: BindException :: Shutdown Port 8005 :: Solaris 5.9

2003-09-12 Thread Mike Curwen
Thinking about that a bit more.. if it's 3.3.1a that works, then THAT maybe be the version that is still running... so grep'ing for [o]rg.apache.catalina.startup.Bootstrap start won't work, if this is indeed the problem. more questinos for others: 1) Did 3.3.x use 8005 for the shutdown

Re: AW: Exception in Tomcat?

2003-09-12 Thread Bjørn T Johansen
Oki, thanks... Does anyone know which settings to change? BTJ On Fri, 2003-09-12 at 16:09, Rob Augustinus wrote: there are some timeout settings you can set..(I think) either in apache or else.. not sure where.. Holger Klawitter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

RE: BindException :: Shutdown Port 8005 :: Solaris 5.9

2003-09-12 Thread Juanpablo Lajud
There is no process LISTENING at port 8005 www2#netstat -an 8005 www2# And I tried checking on ps -af and there is nothing left there. -Mensaje original- De: Mike Curwen [mailto:[EMAIL PROTECTED] Enviado el: Viernes, 12 de Septiembre de 2003 02:27 p.m. Para: 'Tomcat Users List'

RE: Tomcat 5.0 install - Please Help

2003-09-12 Thread Giri Gopal
Hello: O.K I uninstalled the JDK stuff and Tomcat 5.0. Reinstalled Java 2SDK 1.4.2. and trying to install Tomcat 5.0. I get an error message stating Java Virtual Machine not found?. Now what do I do? I installed the JVM from Microsoft site, reboot my PC and still getting the same error. Please

RE: Tomcat 5.0 install - Please Help

2003-09-12 Thread prashant . budhale
1. Make sure the following environment variables are set correctly: JAVA_HOME points to C:\j2sdk1.4.2 (correct folder if changed) CLASSPATH points to %JAVA_HOME%\lib PATH points to %JAVA_HOME%\bin 2. copy $JAVA_HOME/lib/tools.jar to the common/lib directory of the Tomcat server 3. Update

Re: how to use single dbcp resource across multiple webapps

2003-09-12 Thread Paul
in case anyone has any suggestions ... in server.xml i specified jndi dbcp datasource, ie, Resource name=jdbc/eplResrc auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/eplResrc within GlobalNamingResources then in each CONTEXT definitions, i added: ResourceLink

Memory Leak with static content

2003-09-12 Thread Seth Newton
All, OS: Sparc-Solaris 9 JDK: 1.4.0_02 Tomcat: 4.1.27 Problem: I start tomcat and it takes up about 45MB of RAM. I wrote a script to email me every ten minutes the amount of memory it's taking up. The results are showing me that it gains about 1MB every 10 minutes or so (on average). If I

Re: Tomcat 5.0 install - Please Help

2003-09-12 Thread Dave Butler
Also make sure no spaces in path like Program Files. - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, September 12, 2003 1:25 PM Subject: RE: Tomcat 5.0 install - Please Help 1. Make sure the following environment variables are

Re: Memory Leak with static content

2003-09-12 Thread Paul
you sure it is not the operating system itself. - Original Message - From: Seth Newton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 12, 2003 4:57 PM Subject: Memory Leak with static content All, OS: Sparc-Solaris 9 JDK: 1.4.0_02 Tomcat: 4.1.27 Problem: I start

Java Mail Question

2003-09-12 Thread Peter Vertes
Hello All, Quick question about Tomcat and Java Mail. When I create a JNDI mail resource will it act like a Connection Pool ? Meaning, will there always be a session logged into the specified SMTP server or will Tomcat only log into the SMTP server once I explicitly ask for a session ?

RE: Memory Leak with static content

2003-09-12 Thread Nikolaos Giannopoulos
Seth, Have you tried JDK 1.4.2? 1.4.0 has been known to have a memory leak in the StringBuffer implementation w.r.t. re-using StringBuffers but you mention that your only serving static content so this may not be it. However, I believe that I read that something like 2000 bugs have been fixed

RE: Using jdk1.4 logger problem

2003-09-12 Thread Chan, Kam Yuen
Moving the the jar over to endorsed helped. But I am still having some problems. In short, our application is packaged up in 4 jars, plus some third party library jars. One of the jar is the framework jar, which contains the logger classes. Another jar contains classes for the Servlet's and

Tomcat Web Server Admin Tool Login

2003-09-12 Thread Kirk Hollows
I am trying to log into the Tomcat Web Admin Tool and cannot find any reference to the default login amd password. Please advise what they are or better yet where it is in the documentation. Thanks in Advance, Kirk Hollows

Re: how to use single dbcp resource across multiple webapps

2003-09-12 Thread Paul
in case anyone has any suggestions ... in server.xml i specified jndi dbcp datasource, ie, Resource name=jdbc/eplResrc auth=Container type=javax.sql.DataSource/ ResourceParams name=jdbc/eplResrc within GlobalNamingResources then in each CONTEXT definitions, i added: ResourceLink

new Aspen Group Email

2003-09-12 Thread gatkin
Due to problems with SPAM, [EMAIL PROTECTED] has been discontinued. Please note my new email address. To prevent automated systems from obtaining my new email address, I will spell out the @ symbol. Please send all future email to: gordon[at]aspengroup.net

Re: Tomcat Web Server Admin Tool Login

2003-09-12 Thread Peter Vertes
On Fri, 2003-09-12 at 16:55, Kirk Hollows wrote: I am trying to log into the Tomcat Web Admin Tool and cannot find any reference to the default login amd password. Please advise what they are or better yet where it is in the documentation. Thanks in Advance, Kirk Hollows Kirk,

reload and ROOT problem

2003-09-12 Thread Rishikesh Tembe
Hi all, I am facing two problems with v4.1.27. 1. After I reload the servlet by copying it into its directory in WEB-INF/classes, I get the foll. error when I try to access the reladed servlet. HTTP Status 503 - This application is not currently available 2. Any apps placed in the ROOT context

Re: Memory Leak with static content

2003-09-12 Thread James Harman
Seth, As you mentioned taht the jsp page is not the problem I hope that you have looked to make sure that you are closing off any input/ouput streams and other resources involved in sending the email right? James Seth Newton wrote: -I'm using Tomcat to feed about 6 sites with static content.

Re: Obtaining client connection

2003-09-12 Thread Bill Barker
It sounds like all you want is request.getRemoteAddr()/request.getRemoteHost(). These give you the IP/DNS-name of the client's box. All of this is taken from the Socket (since there really isn't any other way to get at it). If you need to get the IP on your machine that they connected to, then

Re: 4.1.27-hotfix-22096.tar.gz source code ?

2003-09-12 Thread Bill Barker
The patch appears to be: http://cvs.apache.org/viewcvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/core/StandardContext.java.diff?r1=1.119r2=1.120 webmaster [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, Where can I find the source code for the

Using encodeURL - do we have to pass the jsessionID around?

2003-09-12 Thread Anson Zeall
Hi guys. I still don't quite get how to really use encodeURL and encodeRedirectURL. Yes I know the syntax and how to put in the link but like.hmm.do we have to pass the ID around to get page? Regards Anson -

Tomcat 4.1 - 5.0 Web-app Porting

2003-09-12 Thread prashant . budhale
Hi, I am trying to port a web-application originally written with Tomcat 4.1 to Tomcat 5.0. The application uses struts and throws the following exception when launched: The server encountered an internal error () that prevented it from fulfilling this request. exception

Re: Tomcat 4.1 - 5.0 Web-app Porting

2003-09-12 Thread Craig R. McClanahan
On Fri, 12 Sep 2003 [EMAIL PROTECTED] wrote: Date: Fri, 12 Sep 2003 16:01:57 -0500 From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Tomcat 4.1 - 5.0 Web-app Porting Hi, I am trying to port a web-application