Behaviour of JSP with tomcat 4.1.24

2003-08-08 Thread Sarika Inamdar
Hi All, When we start tomcat and connect to the server, the index.jsp page is displayed . When I key in a password, it validates the password and goes to the next jsp page(login.jsp) I stop tomcat and restart it again. Now when I connect to the server, the index.jsp directly takes me to the

Re: Unit Testing

2003-08-08 Thread Jon Wingfield
You could have a look at the MockObjects project on sourceforge. http://mockobjects.sourceforge.net http://mockobjects.sourceforge.net/javadoc/1.4/ All our servlets, filters, DAO code etc are tested using Mocks :) It's great not needing a db or remote connection or even a servlet container when

Re: jasper2

2003-08-08 Thread Dmitry Beransky
Ok. But here's the confusing part. When I try to compile Tomcat 4.1.27 with Jasper2, I get error messages complaining that there is so such function as TagInfo.hasDynamicAttributes(). Surely, this function was introduced in JSP 2.0 and is only available in jakarta-servletapi-5. However,

Re: Stable tomcat + apache + mod_j2 + ssl

2003-08-08 Thread John Turner
Apache 2.0.47 Tomcat 4.1.24 There isn't an SSL version of either the mod_jk or jk2 connector. Since JK and JK2 don't ever communicate with a client, there's really no need. You might be able to setup a tunnel using stunnel or similar, but on Windows that will be problematic. Apache binary:

Re: Tomcat 5.0.2 and IIS

2003-08-08 Thread vikas jain
I tried after changing the port # in propertied file, but it didn'twork out. :(( From: John Turner [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Tomcat 5.0.2 and IIS Date: Thu, 07 Aug 2003 11:54:13 -0400 I'm pretty sure your

RE: How to configure to use tomcat and struts to use log4j?

2003-08-08 Thread Shapira, Yoav
Howdy, Looks like Struts has a dependency on Commons Logging which is using Log4j under the hood. The commons logging jar is being loaded from a higher level classloader (common/lib or server/lib) and can't access classes only provided by a lower classloader (your webapp). Maybe try having the

Re: Hardware and Memory Requirements

2003-08-08 Thread John Turner
There should be no surprise. For Tomcat alone, perhaps about 20MB disk (plus whatever you want for logs) and for RAM, you could do fine with 128MB. What you are missing, and what other people have pointed out, is that every single web application that you would use with Tomcat is different.

Re: Problem with mod_jk2

2003-08-08 Thread Eric J. Pinnell
Hi, http://jakarta.apache.org/tomcat/faq/connectors.html -e On Wed, 6 Aug 2003 [EMAIL PROTECTED] wrote: Hello, I've compiled mod_jk2, and installed it intirely according to the instructions on the website. I'm using apache 2.0.47 and tomcat 4.1.24 I have the impression that the mod_jk2

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-08 Thread Rick Roberts
Because a web server serves static content (html, images, etc.) much faster than tomcat will. Nathan Ward wrote: Hello John, I hate to be pushy, but are you going to post a reply to this question at some point? Nathan - Original Message - From: Nathan Ward To: [EMAIL

RE: active session counting, redux

2003-08-08 Thread Barclay A. Dunn
i am reviewing a list of the session ids in my SessionCount's HashSet, and have acquired some more information: when someone logs in, two session ids are getting added to my SessionCount's HashSet, and one of them is a blank session id. i'm not sure if it's null or . the only session that

Re: apache/tomcat w/ mod_2k on linux

2003-08-08 Thread John Turner
Have you followed the HOWTOs? Read the FAQ for the connectors? What does your httpd.conf file look like? Workers.properties? JkMount? Are you using the right mod_jk.so file for your Apache? John [EMAIL PROTECTED] wrote: I am having lots of problems integrating apache 1.3 with tomcat 4.1.24

Re: Element web-app does not allow servlet here

2003-08-08 Thread John Turner
You'll have to do it on a regular basis if you continue to use a DTD of http://java.sun.com/j2ee/dtds/web-app_2.2.dtd;. Try something like http://java.sun.com/dtd/web-app_2_3.dtd;. Note 2.3 instead of 2.2. John Jiann-Ming Su wrote: I'm getting a bunch of the errors included below. I've

RE: RE: Java and tomcat issues

2003-08-08 Thread Atreya Basu
Also don't do: 'export $PATH=...' Instead do: 'export PATH=...' The '$' symbol is not supposed to be there. _ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -Original Message- From: [EMAIL PROTECTED]

Tracking active sessions

2003-08-08 Thread Philipp Leusmann
Hi, I am looking for a way to track which/how many sessions are open. Generally it seems to work with a HttpSessionListener, but the Listener is not notified again if the server restarts and still has any opened sessions. Anyone knows how to deal with that problem? Or is the only chance to look

RE: how to suppor 30000 concurrent users

2003-08-08 Thread pete . storey
Sorry for being thick but Im a bit confused as to when you are doing anything with the sessions? If I make a request to one server, then go on to another for the next request, how does server 2 get my session from server 1 without server 1 having had to persist the session to disk every time

Re: Custom Tag Lib

2003-08-08 Thread Tim Funk
SimpleTag is part of JSP2.0 which is in tomcat5. AFAIK, there is no simpletag for jsp1.2 (tomcat4) More info on tag pooling: http://jakarta.apache.org/tomcat/faq/misc.html#tagpool http://jakarta.apache.org/tomcat/faq/misc.html#tagbroken -Tim Shawn Zernik wrote: Mike: I can't resolve that

Re: Tomcat 5.0.2 and IIS

2003-08-08 Thread vikas jain
I changed the IIS port back to 80 and tomcat to 8080, also in the worker.properties file i have changed to port to 8080. still not working. I can go to servlet using tomcat by following paths: http://localhost:8080/servlet/HelloWorld http://localhost:8080/examples/servlet/HelloWorld I didn't

Re: Https not working

2003-08-08 Thread John Turner
Nothing. SSL or not, the only thing you need between Tomcat and Apache is the connector like mod_jk or mod_jk2. SSL VirtualHosts are different than regular Virtual Hosts in Apache's httpd.conf file...you need to make sure that requests are forwarded to Tomcat for both types of VirtualHosts,

RE: Tomcat 4.1 https problem

2003-08-08 Thread Tim Davidson
I've managed to get it working (a problem with the path to the keystore), I'm reading a tomcat book, and its really useful to know to type catalina run if tomcat exits and you cant see the error messages. -Original Message- From: Scott Stewart [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: Tomcat 4.1 https problem

2003-08-08 Thread Tim Davidson
I had the same problem, it seems to occur when you uncomment the connector in server.xml and causes tomcat to exit, making it impossible to see what the error message was. I gave up in the end. Have you been able to get it working? -Original Message- From: [EMAIL PROTECTED]

RE: large objects in sessions

2003-08-08 Thread Shapira, Yoav
Howdy, And how does this approach save memory? You've simply replaced a session object with a HashMap. Or am I missing something? It's not intended to save memory and doesn't. It's intended to prevent putting non-serializable attributes in a session. Yoav Shapira This e-mail, including any

java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

2003-08-08 Thread Brian Wedel
Hi, I can't start up a particular 3rd party webapp, I get the expection java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet. I made sure that only one servlet.jar exists in my tomcat directory structure. I'm using a clean install of Tomcat 4.1.27 and to install the webapp I just

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-08 Thread Rick Roberts
Of course not. I'm only regergitating stuff I have read. But I have seen it from several different sources, so I took it as truth. Do you have benchmarks to prove otherwise? -- *** * Rick Roberts* * Advanced Information

WINXP + TOMCAT + apache

2003-08-08 Thread David O'Sullivan
__ Join Freeserve http://www.freeserve.com/time/ Winner of the 2003 Internet Service Providers' Association awards for Best Unmetered ISP and Best Consumer Application.

RE: how to suppor 30000 concurrent users

2003-08-08 Thread pete . storey
Angus, doesnt using a shared jdbc based session manager slow the whole thing down a lot? Why dont you just use session persistence? Pete

java.lang.NoClassDefFoundError: org/xml/sax/XMLReader

2003-08-08 Thread kenche
Hello, I'm trying to run the latest version of FOP (0.20) on Tomcat 3.2, by following the instructions in http://xml.apache.org/fop/servlets.html When I run the servlet, I get the error java.lang.NoClassDefFoundError: org/xml/sax/XMLReader at FopServlet.renderFO(Unknown Source) at

Re: Freeing processors

2003-08-08 Thread Mauricio Nuñez
Hi the HttpConnector haa a connectionTimeout parameter. Set this to a low razonable value, as 2 ( 20 seconds ) I was having a similar problem, using the JkConnector, but because my app wasn't releasing db connections to the dbcp pool. Then, the run out of processors ... is more a signal

RE: Help! heavy traffic is crapping out our site every 5 min! DBCPexceptions

2003-08-08 Thread Eric J. Pinnell
Is it also unlimited (or insanely huge) on the database? -e On Fri, 8 Aug 2003, Barclay A. Dunn wrote: i adjusted the pool to unlimited and am still getting these errors. something else seems to be fekachte. barclay -Original Message- From: Eric J. Pinnell [mailto:[EMAIL

Re: Front Controller Servlet

2003-08-08 Thread Bill Barker
I agree that the design isn't the greatest (but I've seen much worse ;-). To do what you want, in FCServlet try something like: if(request.getServletPath().endsWith(.jsp)) { RequestDispatcher rd = getServletContext().getNamedDispatcher(jsp); rd.forward(request, response);

RE: active session counting, redux

2003-08-08 Thread Barclay A. Dunn
after changing the timeout to 5 min, i confirmed that indeed it was destroying a session after 5 min. ... and your listener was properly removing the session from its list? every time the list increases, it increases by 2 - one with a long alphanumeric session id, and one with a blank one

aliases under tomcat

2003-08-08 Thread Julien Martin
Hello, I would like fr.localhost and en.localhost to resolve to localhost. I have created the aliases under tomcat but I was told by someone on the mailing list that further configuration was needed on the dns side. I am running w2k. Can anyone tell me how to configure my w2k machine please?

RE: Apache 2.0.47, Tomcat 5.0.5, JK2 connector 2.0.2

2003-08-08 Thread Pat Pomatto
I have libjvm.so under JAVA_HOME/jre/lib/i386/server and JAVA_HOME/jre/lib/i386/client. I can't get to work without jni either. Pat -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 11:00 AM To: Tomcat Users List Subject: Re: Apache 2.0.47,

RE: Freeing processors

2003-08-08 Thread Donaldson Sgt Michael J
I have a question along these lines... I am running jakarta-tomcat-4.1.18 on 4 different severs. 3 are Red Hat 8.0 and 1 Red Hat 6.2. Same tomcat configuration on all of them. ps -el shows one java process on the Red Hat 8.0 but on the 6.2 box I have upward of 30 processes for java. Is there a

active session counting, redux

2003-08-08 Thread Barclay A. Dunn
hi, i have grown my own active session counting set up and it is definitely *adding* sessions to the count, but i do not think it is ever removing them. here is my configuration: 1. i have an object called SessionCount that contains a HashSet of session ids, and methods to add, remove,

RE: Tomcat 4.1 https problem

2003-08-08 Thread Hou, Rowena
catalina run will let me see the error. Thanks -Original Message- From: Jeff Tulley [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:33 PM To: [EMAIL PROTECTED] Subject: Re: Tomcat 4.1 https problem Try simply catalina run to have it run in the current window. Then see

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-08 Thread Eric J. Pinnell
Hi, I agree. That is what I have always read and I think it's a wide conception that is out there. If this isn't true could someone enlighten us? -e On Fri, 8 Aug 2003, Rick Roberts wrote: Of course not. I'm only regergitating stuff I have read. But I have seen it from several different

Re: Hardware and Memory Requirements

2003-08-08 Thread kmk kumar
Thanks Mourad I am surpised that I could not find any document which talks about hardware and memory requirements for installing and running tomcat. I have other other applications running on the system and without the memory and h/w requirements it will be difficult for me. Thanks From:

Tomcat vs. Apache Performance Comparison for static HTML

2003-08-08 Thread Shapira, Yoav
Howdy, Of course not. I'm only regergitating stuff I have read. But I have seen it from several different sources, so I took it as truth. Do you have benchmarks to prove otherwise? It could be the sources you read are outdated. I don't question their accuracy at the time they came out,

RE: Custom Tag Lib

2003-08-08 Thread Angus Mezick
It would be best if you went a rewrote your tags not to require release to be called. That change will also bring you in-line with the jsp spec. These links might help: http://www.onjava.com/lpt/a/1248 http://www.onjava.com/lpt/a/1250 http://jakarta.apache.org/taglibs/guidelines.html

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-08 Thread John Turner
Agreed. John Noel J. Bergman wrote: Nathan, There are many facets to the subject, but if all you don't mind running all of your domains in one process, have no need for load balancing, no need for non-Tomcat features, etc., then running Tomcat directly is probably fine. Historically (and

Re: Tomcat 5.0.2 and IIS

2003-08-08 Thread vikas jain
The isapi.log file doesn't have any log. it's empty. In the tomcat log files, it doesn't have any error message. When I type http://localhost/examples/servlet/HelloWorld or http://localhost/examples/HelloWorld, it gives The page cannot be displayed and the default error page. let me tell you

RE: Tuning KeepAlive Connections?

2003-08-08 Thread Mike Cherichetti \(Renegade Internet\)
Hi Bill, Thanks for the info! Looks like that helped, but I can't tell for sure because the server isn't loaded too much right now. Will have to wait until morning to find out. Did I miss something or is that not in the docs? Might be good to add this to the docs :) Thanks again, Mike

RE: NetBeans Debug in JSP Tag Files

2003-08-08 Thread Edson Alves Pereira
Once you are connected with the JVM using ( jdb -attach, for example ) command you can debug everything that tomcat read. -- De: Shawn Zernik[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List Enviada: sexta-feira, 8 de agosto de 2003 15:40 Para: [EMAIL

RE: Problem: Tomcat server went down ...

2003-08-08 Thread Cox, Charlie
is there an hs_err_pidsome_id.log file? This can provide the stack trace of the thread that was running when the crash occurred. Charlie -Original Message- From: Bing Zhang [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 3:48 PM To: 'Tomcat Users List' Subject: RE: Problem:

Re: Can I get an answer please -- Re: Why integrate Tomcat with aweb server?

2003-08-08 Thread John Turner
Answered on 08/05/2003, 11:00 AM Eastern. If you want to address me, I suggest putting something in the subject line or sending me a message off-list. A subject line of why integrate with a web server is a FAQ that I would normally ignore. John Nathan Ward wrote: Hello John, I hate to be

RE: Help! heavy traffic is crapping out our site every 5 min! DBCPexceptions

2003-08-08 Thread Eric J. Pinnell
Hi, You could get a thread dump and see where your connections are hanging. When you get your errors kill -QUIT the pid. -e On Fri, 8 Aug 2003, Barclay A. Dunn wrote: ok, well, at least we have concrete proof of it. now, given that i can confirm that i am closing connections (calling

Re: Exception report

2003-08-08 Thread
I am trying to configure an application of the TOMCAT 4.0 for the TOMCAT 4.1. E the following error happens: javax.servlet.ServletException: Cannot allocate servlet instance for path /ebs/servlet/servlets.servletEbs what it can be? I only copied the folder for Tomcat 4.1. Tks

Strange NullPointerException using IIS, tomcat 5.0.6 servlets

2003-08-08 Thread vikas jain
Hey, I configured IIS to run with tomcat (with the help of this forum only) :) I have forms and they are processed by servlets. using tomcat they work very fine. but when i try to run using IIS, it gives nullpointerexception. I am using GET method to send the form information. Is it a bug

Re: Re: Exception report

2003-08-08 Thread
hi ,all: how can I send my questions to all of you ? Could you tell me ? Thanks~~ mqg - SOUVENIR --- . | Souvenir of China | | A Good Place for You | `-- http://www.souvenirchina.com -' mailto:[EMAIL PROTECTED]

Re: Tomcat 4.1.24 behind a proxy

2003-08-08 Thread Ken Rachynski
On Wed, Aug 06, 2003 at 07:59:09AM -0400, Tim Funk wrote: So the webserver is making HTTP Requests (as well as receiving them)? In that case, it sounds like an application error. How is your webapp making HTTP requests? (Venturing into off-topic mode) That's fairly common with portals.

Re: RE: off-topic, need help in scrolling

2003-08-08 Thread
ÔÚ 2003-08-09 04:45:00 ÄúдµÀ£º Have a look at this...of you ? Could you tell me ? Thanks~~ http://jsptags.com/tags/navigation/pager/index.jsp appa N.B.Bopanna [EMAIL PROTECTED] wrote: Hey Gautham, It is not under my control. The mail server adds it to all mails. -Original Message-

mod_jk v1.2.5

2003-08-08 Thread NormW
Good afternoon all. What has become of the mod_jk binaries for v1.2.5? Still coming or some place other than: http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/ ? TIA Norm - To unsubscribe, e-mail: [EMAIL

Re: Freeing processors

2003-08-08 Thread Jon Wingfield
Thanks for the info. I should have RTFM ;) Mauricio Nuñez wrote: Hi With RH 8, you can see the threads using the option -m Att Mauricio El Jue 07 Ago 2003 09:17, Jon Wingfield escribió: Yep. Since RH 8 the ps command only shows the main java process. In previous versions ps showed the

Re: NetBeans Debug in JSP Tag Files

2003-08-08 Thread Carlos Cajina - Hotmail
Hi Shawn... Do you happen to have a How-To somewhere about integrating Netbeans Tomcat? :-) I don't want to use Netbeans' internal Tomcat server and I've been struggling a little to use both together... Regards, Carlos *** Oh, about your question, there's information at

RE: how to suppor 30000 concurrent users

2003-08-08 Thread Angus Mezick
Doesn't seem to have that much of an effect. I guess I should profile it though. I don't want to use session persistence because then I would need to use network session clustering. Session clustering is a requirement for my app. I figure using a DB instead of memory to store my sessions is

Problem with javac Task

2003-08-08 Thread bas
Hi All, I am calling javac task inside the user defined IF task. for example, if test='build.has.conversion' javac destdir=${build.conversion.class} debug='on' debuglevel='lines,source' taskname=compile.conversion src path=${build.root}/conversion/framework/ classpath