Re: reload not working

2006-11-28 Thread pir8ped
Thanks - a possible solution - but I have read the docs more carefully, and found that just with the web-inf/classes folder that you can re-write files. I had changed my ant script to try to delete folders then re-write them. That didn't work. The velocity pages are reloadable now - not sure why

Running Tomcat 5.5.9 in AIX 5.2 with Java 5 64-bit - Tomcat freezes at a high level of workload

2006-11-28 Thread Matthew Lee
Hello All, Setup - We are researching into a site running a Webapplication using the following setup: IBM AIX 5.2 Tomcat 5.5.9 Java 5 64-bits (IBM Patch level is set to pap64dev-20061003a and downloaded from the IBM URL of : http://www-128.ibm.com/developerworks/java/jdk/aix/service.h

Getting a webapp to run on tomcat 4.1

2006-11-28 Thread ying lcs
Hi, I have a web app runs fine on tomcat 5.0. And i am trying to see if it can run on tomcat 4.1. However, I am getting the following error (in the catalina.out): I check that i don't have any 'taglib' in my web.xml. So i am not sure which file is causing the problem. thanks for any suggestion

Re: tomcat memory usage.

2006-11-28 Thread xu cai
Rainer Jung, thanks for ur reply. I understand that JVM will use lots of memory besides heap. but I didn't see that the gap between the "heap" size and total memory size can be stable. it keeps on growing. I list the pmap result below. there are lots of unknow memory allocated. Is there any to

Re: Tomcat 4.1 Issue - Strange

2006-11-28 Thread Martin Gainty
run those tests so we can verify its not HW also : what version JVM? java -version what is the default JVM..generally this is the 1st non commented (#) entry in $JAVA_HOME/jre/lib/i386/jvm.cfg which should say something like -client KNOWN -server ? -hotspot ? -classic? -native ? -green ? -ojvm

Re: Tomcat 4.1 Issue - Strange

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno, Bruno Vilardo wrote: > Hello Chris, > Yes I can give you details about the hardware configuration. > > It is a Linux Server running Suse 9, 4 CPU 3GHZ, 8GB Memory. Not sure about > the Disk layout(if this is what you mean). I know that they ar

RE: Tomcat 4.1 Issue - Strange

2006-11-28 Thread Bruno Vilardo
Hello Chris, Thanks for the reply. Yes I can give you details about the hardware configuration. It is a Linux Server running Suse 9, 4 CPU 3GHZ, 8GB Memory. Not sure about the Disk layout(if this is what you mean). I know that they are using Raid 10 with reiser File System. I have access to the

Re: :8080 problem

2006-11-28 Thread Janet Ciavarelli
Well our network guy figured out the problem. One of the problems was that the virtual folder in IIS named Jakarta had a capital J instead of a lower case j. Believe it or not, changing the case made a difference. Also, the website had 2 ip addresses for it in the properties. So now we have it w

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Rémy Maucherat
On 11/28/06, Mike Quilleash <[EMAIL PROTECTED]> wrote: As a brief aside I found the following code in the WebAppClassLoader.releaseResources() of Tomcat 6, so it looks like some of the well-known caches are being cleared out by Tomcat itself. Are you using 5.5 or 6.0 ? If you're using 5.5, then

Re: reload not working

2006-11-28 Thread Galam
Well. why can't your move your application outside the tomcat folder? For example, On 11/28/06, pir8ped <[EMAIL PROTECTED]> wrote: Hi, I have an app working OK in Tomcat 5.5.9, but I can't get it to reload. I get errors such as: D:\workspace\starfriend\build.xml:319: Failed to copy D

Re: can Tomcat forward the request to another Http Server?

2006-11-28 Thread Galam
You can use the jakarta commons-HttpClient to re-submit the requests to JMXHttpAdaptor http://jakarta.apache.org/commons/httpclient/ On 11/15/06, Liu Frank <[EMAIL PROTECTED]> wrote: Hi All, Now I am suffering a problem: I use Apache as the Web Server and Tomcat as the JSP/Servlet Server

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller
- Original Message - From: "Christopher Schultz" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, November 28, 2006 11:46 AM Subject: Re: Memory leaks on webapp redeploy -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon, Jon Miller wrote: I'm getting ready to try NetBea

Re: Tomcat 4.1 Issue - Strange

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno, Bruno Vilardo wrote: > Tomcat 4.1 > Java 1.4.2_08-b03 > > We have done a migration process from one server to another. > After the migration, everyday now our TOMCAT crashes/stop on its own. > I checked the tomcat log and I could find the erro

Re: how to get rid of error message? config file?

2006-11-28 Thread Edoardo Panfili
John john ha scritto: Hi, When there is a problem in my jsp file, Tomcat displays an Etat HTTP 500 - with the exception that caused the problem. Is there a way to avoid this message and display my own message like " We're sorry but we're facing a problem, please contact me at ..." You can

how to get rid of error message? config file?

2006-11-28 Thread John john
Hi, When there is a problem in my jsp file, Tomcat displays an Etat HTTP 500 - with the exception that caused the problem. Is there a way to avoid this message and display my own message like " We're sorry but we're facing a problem, please contact me at ..." Thanks ---

Apache and Tomcat with Multiple Virtual Hosts

2006-11-28 Thread Chris Duesing
Hello, I am trying to add a second web application to my server, and in doing so I have taken the approach of using multiple virtual hosts in both Apache and Tomcat. The configuration I am using is not currently working and I was hoping someone might spot the reason. Background: Apache 2.2

Apache 2.0.54/Tomcat 5.5 connector: SSL configuration and performance

2006-11-28 Thread Ian H
Hello all, Thank you for taking a moment to read this...I'm up to my eyeballs in content from google search results. I'm learning as quickly as I can, but could use a hand straightening a few things out. I have Apache and Tomcat running on the same W2K server, and am trying to troubleshoot and

Re: Resource configuration problems on servlets (images, css, javascript)

2006-11-28 Thread Pascal Guy
Hi, i have tried the absolute path which renders to http://localhost:8080/images/topImage.gif (which i know is not the good path) but in the jsp we access the resource like this " width="300" height="15"> which renders to http://localhost:8080/TEST/images/topImage.gif

RE: How do I print out line of code that caused the error?

2006-11-28 Thread gb1071nx
Well, since my first email, I read the bugzilla ( http://issues.apache.org/bugzilla/show_bug.cgi?id=37062 ) attached to that website, and apparently this patch was committed to 5.5.13. But... I can't get it to work. I may or may not have the same problem as the last commentor. Perhaps I'm not

Re: Resource configuration problems on servlets (images, css, javascript)

2006-11-28 Thread Kristian Rink
Hi; Pascal Guy schrieb: > The problem comes when we integrate to post the request to my controller > The controller works fine but the resources are not working (css, images > and javascript) I am not sure to understand your problem right, but: > >controller >/controller >

Re: How do I print out line of code that caused the error?

2006-11-28 Thread D. Alvarado
Wow, how rare that a newer version should lose this feature. So the answer then, if I want the code and the correct line printed out is to revert to Tomcat 5.0? - Dave On 11/28/06, gb1071nx <[EMAIL PROTECTED]> wrote: Respectfully, I submit that the problem is that something works "less well" w

Resource configuration problems on servlets (images, css, javascript)

2006-11-28 Thread Pascal Guy
Hi all, I'm a bit new to servlet programming so i'll be as clear as i can. I'm developing a small web application to test servlets in a project at school The project is fairly simple we a jsp pages that POST requests to a central servlet that controls the flow of the application My partner codde

RE: JSP alternative to ASP.NET

2006-11-28 Thread Chris Adams
You may also want to look at the "Click" framework. It's an event based framework very similar to ASP.NETs model. http://click.sourceforge.net/ - Chris -Original Message- From: Jon Miller [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 8:21 PM To: Tomcat Users List; [EMAIL P

RE: How do I print out line of code that caused the error?

2006-11-28 Thread gb1071nx
Respectfully, I submit that the problem is that something works "less well" when comparing 5.5 and 5.0 On 5.0.29, the original poster's page provides this error output: org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /fooba

Re: JSP alternative to ASP.NET

2006-11-28 Thread Jon Miller
JavaServer Faces is basically the Java equivalent of ASP.NET. JSF lags sufficiently behind ASP.NET IMHO though. I noticed that NetBeans has a new add on called Visual Web Pack that might be worth checking out. It's only a preview though. http://www.netbeans.org/products/visualweb/ Jon -

web.xml reload interval

2006-11-28 Thread Martin Grogan
Hi, I am developing web apps for tomcat 5.5.7 and changes are being made to servlets which are updated in real-time by Tomcat. The problem is there seems to be no way of predicting how long before changes to web.xml are picked up, i.e. if I add a new servlet. Sometimes it's immediate and somet

Re: UrlRewrite Rule works on tomcat 4.1.34 but fails on tomcat 5.0.28

2006-11-28 Thread Rashmi Rubdi
Hi Ying, I'm using UrlRewrite with Tomcat5.5 and it works fine. I think there's a problem in the rule it mentions deviceCode but I don't really see the words deviceCode in the from URL. There's a group for UrlRewrite filter http://groups-beta.google.com/group/urlrewrite I think if you post y

Failover not working

2006-11-28 Thread Sharma, Siddharth
RedHat Linux Tomcat 5.5 Mod-jk 1.2.15 Apache web server We have a number of Linux boxes each running 4 instances of Tomcat. Each Linux box has an Apache that load balances (mod-jk) over all the Tomcats on all boxes. Sticky sessions are enabled. Tomcat clustering is not being used. While doing fai

RE: How do I print out line of code that caused the error?

2006-11-28 Thread Robert Harper
The problem is that the JSP is not compiled on the browser. Even if it was, you would be bound on functionality provided by the particular browser. The servlet container might send an error in the response but that would be up to the container provider as well. Because these behaviors are not bound

Re: How do I print out line of code that caused the error?

2006-11-28 Thread D. Alvarado
Thanks. So there's absolutely no way within the web browser to print out the line of code that caused the error? In the example, the line i would've liked to see in the web browser would have been: String v1 = session.getAttribute(attr); Thanks, - Dave On 11/28/06, Edoardo Panfili <[EMAIL PRO

Re: :8080 problem

2006-11-28 Thread RuiXian BAO
Hello, This is your head info from the link http://webserver.kamloops.ca/imf/sites/DataDownload/disclaimer.html -- Response Headers - http://webserver.kamloops.ca/imf/sites/DataDownload/disclaimer.html Content-Length: 103 Content-Type: text/html Ser

Re: How do I print out line of code that caused the error?

2006-11-28 Thread Edoardo Panfili
D. Alvarado ha scritto: Hi, I'm using Tomcat 5.5 with Apache 2. Upon getting jsp compilation errors, I'm not told any inofrmation about the code the causaed the error and the line printed is incorrect. What do I need to configure to correct this? For example, this page below: <%@ page import=

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Mike Quilleash
I'm not sure this will work because when I redeploy the webapp the first call to LogFactory.cacheFactory() shows that the factoryCache is empty. Is it possible that the LogFactory was created by a different ClassLoader and therefore it's statics are invisible to the redeployment of the webapp. But

RE: JSP alternative to ASP.NET

2006-11-28 Thread Steve Ochani
On 28 Nov 2006 at 11:24, Jason Lanpher wrote: Date sent: Tue, 28 Nov 2006 11:24:47 -0500 (EST) From: Jason Lanpher <[EMAIL PROTECTED]> Subject:RE: JSP alternative to ASP.NET To: Tomcat Users List Send reply to: Tomcat Use

How do I print out line of code that caused the error?

2006-11-28 Thread D. Alvarado
Hi, I'm using Tomcat 5.5 with Apache 2. Upon getting jsp compilation errors, I'm not told any inofrmation about the code the causaed the error and the line printed is incorrect. What do I need to configure to correct this? For example, this page below: <%@ page import="java.util.*" %> <%

Re: Is jsp designed for use by large websites

2006-11-28 Thread Rashmi Rubdi
Yup, I don't think there's anything Tomcat could do to make *small cost* hosting companies to embrace Tomcat. Many big businesses are using Tomcat. But, when it comes to smaller hosting companies I've come accross only one host in the US who supports Tomcat with MySQL everyone else only suppor

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Caldarale, Charles R
> From: Mike Quilleash [mailto:[EMAIL PROTECTED] > Subject: RE: Memory leaks on webapp redeploy > > Looks like during the WebappClassLoader cleanup the logging is being > reinitialised. You may well have found the problem. Must be some context-specific logging going on after contextDestroyed()

Re: :8080 problem

2006-11-28 Thread EDMOND KEMOKAI
probably need to change the server.xml to listen on port 80. On 11/28/06, Janet Ciavarelli <[EMAIL PROTECTED]> wrote: Hello, I am afraid I don't know much about Tomcat but am trying to get up to speed as quickly as possible. I upgraded the server with ColdFusion MX 7.0.1, and now one of our

:8080 problem

2006-11-28 Thread Janet Ciavarelli
Hello, I am afraid I don't know much about Tomcat but am trying to get up to speed as quickly as possible. I upgraded the server with ColdFusion MX 7.0.1, and now one of our webapps has stopped working. The following URL used to work before the upgrade: http://webserver.kamloops.ca/imf/site

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon, Jon Miller wrote: > I'm getting ready to try NetBeans profiler right now. I tried it awhile > back before it was released, but, there was something wrong with the > Solaris library, so, I couldn't get it to work. I'm hoping I'll have > better luc

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Mike Quilleash
I am also experiencing this problem in a webapp. My understanding of Tomcat classloading if as follows, please correct if wrong. Tomcat has a shared ClassLoader that can load up classes that all webapps can use. This ClassLoader will never be GCed as it lives for the lifetime of the Tomcat proc

Re: Tomcat and long startup time (hibernate)

2006-11-28 Thread snowtoad
Hi Mike, Check out the following bug report, I had a similar issue and my solution was to modify the hibernate session factory so that it only instruments persistent objects as they are encountered for the first time. I attached a patch to the bug report which is a modified session factory that

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller
Thanks for the info Remy. I've been using Sun's JVM, but, I think I'm going to try IBM's to see if that makes a difference. Jon - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, November 28, 2006 3:30 AM Subject: RE: Memory leaks on webapp redeploy Is anyone runnin

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller
I'm getting ready to try NetBeans profiler right now. I tried it awhile back before it was released, but, there was something wrong with the Solaris library, so, I couldn't get it to work. I'm hoping I'll have better luck now that it's been released officially. Jon - Original Message

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Jon Miller
Currently I'm using 5.5.17, but, it's happened with every other version that I've used for the past several years as well. Jon - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, November 27, 2006 7:37 PM Subject: Re: Memory leaks on web

Maximum heap in Windows Tomcat 5.0.28 & Windows 2003 /3GB switch

2006-11-28 Thread Markov.Yanko
Hi all The system is Windows Server 2003 SP1 Standard, Java SDK 1.4.2_08, Tomcat 5.0.28, JVMms=512M, JVMmx=1360M I have this situation: Before I see in GC maximum memory, in stdout.log appears : [2006-11-28 14:05:46,409|ERROR|http-8080-Processor192|com.documentum.fc.common.DfLogger|error|60 ]

UrlRewrite Rule works on tomcat 4.1.34 but fails on tomcat 5.0.28

2006-11-28 Thread ying lcs
I am using UrlRewrite filter on tomcat. I would like to do the following: rewrite from http://localhost:8080/testApp?arg1=abc&arg2=def to http://localhost:8080/testApp/index.jsp?arg1=abc&arg=def So i have the following rule in my urlrewrite.xml (under WEB-INF directory) ^\?(deviceCode=.*)$ %{co

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Remy.Coqueugniot
http://wiki.apache.org/tomcat/OutOfMemory : Another link which deals about OOM and singleton. Have you ever tried to do some inspections with decent profiler (OptimiseIt, Jprofiler, Yourkit, ...) ? RC --- "C

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Memory leaks on webapp redeploy > > Maybe this issue has been fixed in recent VMs (IIRC, older > VMs -- maybe 1.3-era -- would never discard java.lang.Class > objects. Not true either. I've been porting Sun's JVMs to various

Re: server not reachable in regular period of time

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Just a note about checking the "up-ness" of a web server... I use httping, which is just about the same as using wget, except that you don't have to use grep to check the status code... httping allows you to define which status codes are conside

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> Subject: Re: Memory leaks on webapp redeploy >> >> The only thing I can think of is perhaps Java is keeping introspection >> information around and never releasing it. > > Quite possible. There's a good discussi

RE: JSP alternative to ASP.NET

2006-11-28 Thread Jason Lanpher
Hi Dima, Read the article at this website: http://www.informit.com/guides/content.asp?g=java&seqNum=293&rl=1. It describes the Bea Workshop which used to be NitroX from M7. It is a great development environment for web application development only. It is not going to give you a whole l

Re: JSP alternative to ASP.NET

2006-11-28 Thread EDMOND KEMOKAI
You could try Sun's Java Studio Creator, it does have features such drag drop HTML control, I am not sure it has as much control functionality as ASP.NET. I'll personally stay away from that stuff. Java Server Faces I think is also related to that. On 11/28/06, Dima Retov <[EMAIL PROTECTED]> wrot

Re: server not reachable in regular period of time

2006-11-28 Thread Martin Gainty
+1 on David's suggestion As a precaution for retrieving non-cached information from the server I would also use the no-cache parameter e.g. --no-cache Here is a quick test on my tomcat running on localhost:8080 with the --nocache parameter bash-3.1$ wget --no-cache http://localhost:8080/index.j

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Remy.Coqueugniot
> It's been a while since I profiled any of my apps, but that > used to be the case... after a few days in development of > auto-re-loading the webapps, we'd get an OOM. We could watch > the heap fill up with useless Class objects (for instance, > my.package.Class showed up 10 times after 9 re

JSP alternative to ASP.NET

2006-11-28 Thread Dima Retov
Is there alternative to ASP.NET/Visual Studio What I mean is there is something good as ASP.NET not just set of controls. RAD tools like Visual Studio. May be commercial. -- Best regards, Dima mailto:[EMAIL PROTECTED] -

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Memory leaks on webapp redeploy > > This wasn't the case some time ago. A cleanly written webapp would > double the number of Class objects kept around after a re-deploy > (actually, after an automatic re-deploy, but that should

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:[EMAIL PROTECTED] >> Subject: Re: Memory leaks on webapp redeploy >> >> Last time I checked, Class objects basically never get GC'd, >> so any static data stays around forever. Y

Re: server not reachable in regular period of time

2006-11-28 Thread David Smith
Looks to me suspiciously like an issue with wget instead of tomcat. Wget is making an attempt using a stale cached connection, failing, and retrying. For some reason the result of the retry isn't present in the stdout file. You could try adding the -S option to wget and then check for the string

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:[EMAIL PROTECTED] > Subject: Re: Memory leaks on webapp redeploy > > Last time I checked, Class objects basically never get GC'd, > so any static data stays around forever. You have to shut > down the VM in order to free that memory. Not true - classes do get

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Remy, [EMAIL PROTECTED] wrote: >> That means, that hibernate apps will always generate OOM... > > Not always. But some hibernate/cglib/tomcat uses seems to generate > classloader memory leak: > http://opensource.atlassian.com/confluence/spring/pages/

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon, Jon Miller wrote: > Is anyone running into issues with memory leaks occuring whenever a > webapp is redeployed? This is probably not Tomcat's fault it's Java's fault. When Tomcat reloads a webapp, it discards the ClassLoader (or ClassLoader

MAPPING configuration error for request URI ... but no URI?!?

2006-11-28 Thread Jesús Couto
Hi. We are having this problem with an instalation of an application under Tomcat 4.0.6 ; cant switch version and it works on another machine, but in this one... We get to the first pages of the application, but then any further navigation goes back to the same first page, and the log for Tomcat

Re: server not reachable in regular period of time

2006-11-28 Thread compuin5y313
unfortunately it is in German: --15:17:51-- http://localhost:8080/myapp/index.jsp (Versuch: 5) => `index.jsp' Verbindungsaufbau zu xxx|yyy|:8080... fehlgeschlagen: Die Wartezeit für die Verbindung ist abgelaufen. Erneuter Versuch. in English the whole stdout should mean: --15:17:51-- http:/

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Remy.Coqueugniot
> > The problems seems to be located with Cglib classloaders > referencing > > policy. There is a lot of topic on the Net, which may be > interessing > > to read, but noone seems to have found a valuable solution. > > (Increasing the PermGenspace is NOT a reasonable solution) > > > That me

RE: javax.naming.NameNotFoundException: Name pool is not bound inthis Context

2006-11-28 Thread Macari McCorry, Gerardo
Yep I have defined as: DB Connection pool javax.sql.DataSource Container -Mensaje original- De: Mark Thomas [mailto:[EMAIL PROTECTED] Enviado el: martes, 28 de noviembre de 2006 13:48 Para: Tomcat Users List Asunto: Re: javax.naming.NameNotFoundExc

Re: javax.naming.NameNotFoundException: Name pool is not bound in this Context

2006-11-28 Thread Martin Gainty
Gerardo- http://tomcat.apache.org/tomcat-6.0-doc/printer/jndi-datasource-examples-howto.html server.xml need to identify all of the attributes of the DataSource as in ... web.xml needs to identify resource-ref name of jdbc/TestDB as DataSource http://java.sun.com/xml/ns/j2ee"; xmln

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Mikolaj Rydzewski
[EMAIL PROTECTED] wrote: The problems seems to be located with Cglib classloaders referencing policy. There is a lot of topic on the Net, which may be interessing to read, but noone seems to have found a valuable solution. (Increasing the PermGenspace is NOT a reasonable solution) That mea

Re: Is jsp designed for use by large websites

2006-11-28 Thread Martin Gainty
Good Morning Jack- As Tomcat is OpenSource (and not proprietary) and can be installed on any OS (vs just 1) I dont undertand What is causing the number of Tomcat users to attenuate over time? M This e-mail communication and any attachments may contain confidential and privileged information for

Re: Memory leaks on webapp redeploy

2006-11-28 Thread Martin Gainty
Jon- A couple of things that may be of immediate use to you (even for older releases) Confine your variables to have as restricted scope as possible in other words If you have a number of JSP tags that are application scope and get by with request then convert those tags to use request scope If y

Re: javax.naming.NameNotFoundException: Name pool is not bound in this Context

2006-11-28 Thread Mark Thomas
Macari McCorry, Gerardo wrote: > Hi all, > > Problem: Trying to asociate a database pool to a local context > Error: "javax.naming.NameNotFoundException: Name pool is not bound in this > Context'" Have you defined a element in web.xml? Mark ---

Re: server not reachable in regular period of time

2006-11-28 Thread David Smith
What does stdout have in it when your script registers a server down condition? --David [EMAIL PROTECTED] wrote: >Hi all, > >I run a Linux script to check every 5 minutes whether my server is still on: > >#! /bin/bash >while true; do > sleep 300 > `wget http://localhost:8080/myapp/index.jsp -o

[ANN] LambdaProbe 1.7 beta is released

2006-11-28 Thread Ilyschenko, Vlad
I am pleased to announce the immediate availability of LambdaProbe 1.7 beta - monitoring tool for Apache Tomcat. Bugs fixed in this release: * fixed problem with possible JVM crash when estimating session size. * fixed possible startup failure due to corrupt stats file. New features includ

server not reachable in regular period of time

2006-11-28 Thread compuin5y313
Hi all, I run a Linux script to check every 5 minutes whether my server is still on: #! /bin/bash while true; do sleep 300 `wget http://localhost:8080/myapp/index.jsp -o stdout` result=`grep -c 'OK' stdout` if [ $result -eq 0 ]; then echo "server down" | mail -s "warning:se

javax.naming.NameNotFoundException: Name pool is not bound in this Context

2006-11-28 Thread Macari McCorry, Gerardo
Hi all, Problem: Trying to asociate a database pool to a local context Error: "javax.naming.NameNotFoundException: Name pool is not bound in this Context'" Version Tomcat: 5.5.20 JDK: 5.0 OS: Windows 2000 Comment: I been using tomcat since version 3 and never has such problems (admin app work

reload not working

2006-11-28 Thread pir8ped
Hi, I have an app working OK in Tomcat 5.5.9, but I can't get it to reload. I get errors such as: D:\workspace\starfriend\build.xml:319: Failed to copy D:\workspace\starfriend\vm\home\start.vm to C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\starfriend\WEB-INF\vm\home\start.vm

SHA password encryption problem using org.apache.catalina.realm.RealmBase

2006-11-28 Thread Alexandre Bosserelle
Dear all, I'm using Tomcat 5.5.9, Java 1.5.0 on a Red Hat Entreprise 4.4. According to this document http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html I tried to encrypt passwords, but I can't figure out why it is not working. I copied the class catalina.jar into /usr/share/java/ /usr/sh

RE: Memory leaks on webapp redeploy

2006-11-28 Thread Remy.Coqueugniot
> Is anyone running into issues with memory leaks occuring > whenever a webapp is redeployed? I've been having a lot of > problems with this. I think what's exacerbating the problem > is that I'm using Hibernate and JAX-WS which I have bundled > with my application which use a lot of memory. Y

Re: Is jsp designed for use by large websites

2006-11-28 Thread Jack
Hello all, Anyone know if tomcat's roadmap includes any plans to make tomcat more web hosting friendly? If not, i think the tomcat development team should consider about it, because this problem is seriously constraining the popularity of jsp and it forces web developers who like jsp to consider o

Re: Context File is Created As A Directory

2006-11-28 Thread Richard Fallon
I am , I thought I'd share my findings with you Mark Thomas wrote: Richard Fallon wrote: For all those who are interested, and I cannot believe that no-one else has experienced this, there appears to be a bug in Tomcat 5.0.27 that ALWAYS creates the context.xml snippet from the META-INF di

Re[2]: APR / SSL in 5.5.20

2006-11-28 Thread Dima Retov
You are using certificate for java's SSL. You need certificate for openssl. May be you can convert certificate using following commands http://mark.foster.cc/kb/openssl-keytool.html Let me know if it worked for you. Tuesday, November 28, 2006, 5:39:17 AM, you wrote: DB> I saw this, but unfort