Doubt in Single Sign On !!!

2003-01-27 Thread shanmugampl
Hi All, I am using tomcat 4.1.18 and have enabled Single Sign On. I have two contexts A and B and the files present inside the /jsp directories of both the contexts are secured. In the global web.xml file i have my session time out changed to 10 minutes. With this setup, i login into

How to know the Performence of Tomcat Server?

2003-01-27 Thread Ravv VenuGopal
Hello, I am using LoadRunner6.5 for Load Test my web application. My Application Environment: - Tech : Java(servlets,jsp) Server: Jakarta-Tomcat-4.0.4 on lInux machine d/b : MySql 3.23.41 on Linux machine I am doing LoadTest(for 10,50,75,100,,,

Strange feature!! Can anyone help?

2003-01-27 Thread Peng Annie
Hi there, I met a very strange feature of Tomcat and Apache. I have Apache2, Tomcat4, jk2 on Win2k. I need Apache and tomcat run as NT service. When I installed Apache and Tomcat, for both of them I chose Install as NT service. When I restart the computer without any user logon the NT, the Apache

Re: find out why the loading of the driver fails

2003-01-27 Thread joe udder
Thanks for your suggestions. Amazingly enough it seem to work if I put the driver where you suggested. I got another error, but that seem to be Postgresql-related. I suppose the reason why it is not loaded from the WEB-INF/lib-directory is because the driver is defined in server.xml as a

how to upgrade to web-app_2_3.dtd

2003-01-27 Thread Vikrant Venkanna Dessai
i am using tomcat 4.0.1 , i need to add httpsessionlistener class for which i need to add a tag in the web.xml . i changed the doctype in the web.xml file , still i get SAXParserException please help , -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

j_security_check and login

2003-01-27 Thread Chris Faulkner
Hello all I've been using JBoss and Tomcat for a while and have started to move what we have in JBoss/Tomcat to a Tomcat only environment. It is all OK so far. We have a login mehanism wich uses the JDBCRealm stuff. Usernames/pwds/roles are stored in the database. I have protected a set of

Re: how to upgrade to web-app_2_3.dtd

2003-01-27 Thread Lajos
Vikrant - I do it all the time - you need to check the syntax of your DTD declaration. It should be: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; Regards, Lajos Vikrant Venkanna Dessai wrote: i am using

Re: JNDI jdbc resources

2003-01-27 Thread Paul Carpenter
Hi Peng For Shawn's benefit - the context you see is in my server.xml (well, actually, a separate xml file just like the manager.xml and admin.xml in the /webapps directory). Based on the other posting to the list, I've tried both with the web.xml file having nothing for the resource

Query

2003-01-27 Thread priya narayanan
Q: Is there any difference between Apache and Tomcat server?please explain in detail. - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

RE: Query

2003-01-27 Thread Reynir Hübner
Have you ever heard about the manual ? :) I don't think I have the time to explain in detail, but Apache is an HTTP server, and tomcat is a Servlet Container. Apache and tomcat are not made to do the same things, even though some of the things they do are very similar. You should be able to

Re: JNDI jdbc resources

2003-01-27 Thread shawn
Hey catv... used to use them just to confirm, this is not your server.xml Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource/ that I beleive was an earlier post and different from jdbc/DBmultileague anyway, I had a similar prob and it was in my

problem in starting tomcat apache webserver

2003-01-27 Thread vaishali
i have downloaded and configured apache jakarta tomacat 1.4 but it is not starting. while i click on startup it opens one window with start and as soon as other ms-dos opens it shows it is finished. means web server is not starting only. please give me proper guidence as soon as

Clustering Tomcat

2003-01-27 Thread Collins, Jim
Hi, Has anyone had any experience of clustering Tomcat that they would like to share? I have read that it is possible to cluster Tomcat with Apache but I am not sure if it is possible to cluster Tomcat on its own. Any help/pointers would be appreciated. Regards Jim. PLEASE READ: The

FW: JMX : Questions

2003-01-27 Thread Thierry Legrain
-Original Message- From: Thierry Legrain Sent: Monday, January 27, 2003 11:36 AM To: '[EMAIL PROTECTED]' Cc: Thierry Legrain Subject: JMX : Questions I have realized a generic MBeanBrowser and I want to test it with TomCat. How to connect MBeanServer with an external

Serving files from the Apache docroot

2003-01-27 Thread Peter Flynn
I just brought up Tomcat in order to serve a handful of .jsp files which are in the Apache document root. Right now of course, when Apache hands off the request to Tomcat for /foo.jsp, Tomcat comes back with a 404 because it can't find the file: HTTP Status 404 - /foo.jsp type Status report

RE: Clustering Tomcat

2003-01-27 Thread Roberts, Eric
Try http://www.theserverside.com/resources/article.jsp?l=Tomcat - should tell you all you need. -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: Montag, 27. Jänner 2003 12:27 To: 'Tomcat Users List' Subject: Clustering Tomcat Hi, Has anyone had any experience of

RE: Clustering Tomcat

2003-01-27 Thread Collins, Jim
Thanks Eric. -Original Message- From: Roberts, Eric [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 12:28 To: Tomcat Users List Subject: RE: Clustering Tomcat Try http://www.theserverside.com/resources/article.jsp?l=Tomcat - should tell you all you need. -Original

Help in URLEncoder.encode()

2003-01-27 Thread Santosh Kulkarni
Hi, I'm using URLEncoder.encode(data) to encode data to send to a servlet and things are working fine for english and other languages except for asian/CJK languages. When CJK data is encoded and decoded back, I'm getting only question marks (??). Any solution for this is appreciated. Its

RE: Serving files from the Apache docroot

2003-01-27 Thread Turner, John
Web application roots and content directories are defined by Context elements in Tomcat's server.xml. Tomcat is not like CGI or PHP or other typical dynamic solutions used with Apache. Tomcat is a web server in and of itself, it doesn't need Apache at all. Thus, there is some setup required on

RE: problem in starting tomcat apache webserver

2003-01-27 Thread Turner, John
Open up a command window, and start Tomcat manually with startup.bat. This will keep the window from closing and will show you any error messages that you might not see otherwise. Also, you can always check the log files for other information that might be helpful. John -Original

RE: Help in URLEncoder.encode()

2003-01-27 Thread Reynir Hübner
Hi, I suspect this migth be a problem due to charset-type. If you where using jdk 1.4.x you would have a way of setting the charset type of the url-encoding. This means you can tell the URLEncoder to use UTF-8 for example or ISO-8859-1 charset. Sample : String encodedval=

RE: problem in starting tomcat apache webserver

2003-01-27 Thread mech
Given that small amount of information, i make the following assumptions: 1. You use Win9x/ME. (i guess from typical closing window effect you mentioned) 2. You didn't increase the space for environment variables in the properties of startup.bat/shutdown.bat as recommended in the readme file of

Re: Tomcat 4.1.19 java.lang.ClassNotFoundException: org.apache.catalina.core.StandardServer

2003-01-27 Thread alexj
I just re-install my old jdk and now it's re-working fine. -- Alexandre Jaquet - -BEGIN GEEK CODE BLOCK- Version: 3.12 GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+ O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D G++ e* h++ r% y* --END GEEK CODE

RE: Help in URLEncoder.encode()

2003-01-27 Thread Daniel Brown
Santosh, This sounds like a character set problem. When the content is decoded, you need to make sure it's decoded using the character set used to encode it. Tomcat assumes ISO-8859-1 when decoding URL parameters. When you encode the data, use URLEncoder.encode(string, UTF-8), and decode it

RE: [Tomcat 4.1] Caching JSP Output via Filter PLZ HELP!!

2003-01-27 Thread Cox, Charlie
see the thread titled: RE: Tomcat 4.1.18/19 - How to activate gzip support? http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg82477.html and read the associated links about a similar problem (filter works for static content, not for dynamic). Charlie -Original Message-

IllegalArgumentException using file://

2003-01-27 Thread Christophe Sebille
Hi, I've got an exception using Struts ImageTag. It sends a java.lang.IllegalArgumentException in org.apache.catalina.connector.HttpResponseBase. I've declared this tag : html:imge src=file://I:/applications//myimage.gifproperty=ok / It seems Tomcat doesn't like this in the

Strange feature!! Can anyone help?

2003-01-27 Thread Peng Annie
Hi there, I met a very strange feature of Tomcat and Apache. I have Apache2, Tomcat4, jk2 on Win2k. I need Apache and tomcat run as NT service. When I installed Apache and Tomcat, for both of them I chose Install as NT service. When I restart the computer without any user logon the NT, the

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Lorenti, John
Annie, It sounds to me like you need to include the -Xrs flag as a JVM option to both of these services, but you need to be running at least version 1.3.1 of the jre/jdk. In a nutshell, this option tells the JVM to keep running even when someone logs off (you can check the Java docs at

Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null

2003-01-27 Thread Reynir Hübner
Hi I'm using : Tomcat 4.1.18 IIS 5.1. (running on XP) JK2 (isapi_redirector2.dll) Jdk 1.4.1_1 I tried to set request.tomcatAuthentication=false In my jk2.properties. For some reason IIS does not authenticate the user, and when I ask for the user (on the first request) in a jsp document,

RE: How to know the Performence of Tomcat Server?

2003-01-27 Thread Shapira, Yoav
Howdy, Before you start testing, determine your goals. For example, how many concurrent users does the application need to handle? And at the peak user number, what should be the max response time for a page? Then start writing load/stress test scripts that simulate very few users, normal

RE: [Tomcat 4.1] Caching JSP Output via Filter PLZ HELP!!

2003-01-27 Thread Jacob Hookom
I did finally get my caching filter to work by following the same logic included in the GZip filter included in Tomcat 4.1.18. It works VERY well :-) Hopefully we can resurrect the Common's Cache project that includes filters and taglibs? -Jacob | -Original Message- | From: Cox, Charlie

RE: Jakarta Tomcat ready to serve

2003-01-27 Thread Shapira, Yoav
Hi, I had a relative who used to work for Orbotech, by the way. I do not know if this is a proper way to send a question about Jakarta Tomcat usage, and if it is not, please accept my apologies and guide me. This is the proper forum. I am running an application that uses the Jakarta Tomcat

RE: Property file not picked up right by servlet

2003-01-27 Thread Shapira, Yoav
Howdy, Are the environment variables for PATH and CLASSPATH (mainly the latter) different between your NT and XP systems? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 5:18 PM To: [EMAIL

RE: Tomcat 5 dist: servlet/* - 404

2003-01-27 Thread Shapira, Yoav
Howdy, As you know, it's alpha. I wouldn't even call it a dist, more a nightly build. More to your point, do you have an invoker servlet commented in? Yoav Shapira Millennium ChemInformatics -Original Message- From: Timo Nentwig [mailto:[EMAIL PROTECTED]] Sent: Saturday, January 25,

John, you are great!

2003-01-27 Thread Peng Annie
It works!!! I am extremely happy!! Thanks a lot!! Cheers! Annie -Original Message- From: Lorenti, John [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 16:00 To: 'Tomcat Users List' Subject: RE: Strange feature!! Can anyone help? Annie, It sounds to me like you need to include

Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
Hi All, Tomcat starts fine if I call startup.sh manually, but not if it is called from the init scripts when the HP/UX box starts. When trying to start tomcat from the init scripts when the HP/UX box is booting, tomcat seems to start up fine but then on the last line in catalina.out it just says

RE: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Turner, John
Your init scripts do not have the same environment as your login environment. That is, whe you login, things like JAVA_HOME and CATALINA_HOME are set. When you run a script through init, they aren't. Change your init script to set the values of JAVA_HOME and CATALINA_HOME, or source the login

Re: Serving files from the Apache docroot

2003-01-27 Thread Henning Heil
Hi Peter, I had and have the same problem - and didn't find a solution yet. A more or less good workaround I discussed with (or better was a suggestion by) Mike Bachrynowski (who is also member on the list) could be to completely mirror the apache docroot to the tomcat docroot. This in my

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Jacob Kjome
No need to edit the registry. Just install JDK1.3.1 or better and use the following instructions to install your service: http://www.mattkelli.com/tech/tomcat/ntservice.htm Note that you should set up your environment variables as System variables not User variables. Jake At 09:00 AM

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Turner, John
I was wondering about that. I haven't had to use the -Xrs flag or edit the registry yet. Thanks for the clarification. John -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 10:06 AM To: Tomcat Users List Subject: RE: Strange

RE: Serving files from the Apache docroot

2003-01-27 Thread Turner, John
Neither JK or JK2 get involved with a request unless the request matches a mapping. I don't know what you mean by send back requests. If you're using Apache, ALL requests come in on port 80, and it's up to Apache to decide if the request should go to Tomcat or be handled directly. There's no

Re: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Pascal Forget
Thanks for the tip, John. I already set CATALINA_HOME and JAVA_HOME near the top of catalina.sh for that very reason, so maybe it's something else in the environment. Anyway your email provided us with a good hint on what we should look for. Thanks! Pascal -- To unsubscribe, e-mail:

Re: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Tim Funk
Yeah we had wacky issues with that too. We had some incomptentant admins who tried starting up tomcat before the network was brought up. We also ran into wacky shell behavior (can't remember the specifics) that java did not like to start on boot from any run level. I think in the end we added

Tomcat 3.2`

2003-01-27 Thread Mehdi . Nejad
Hello all, We have a problem with Tomcat 3.2. We have developed an application that needs to work in 3.2 (an upgrade is not an option). The problem is that Tomcat does not seem to be picking up the jars in the WEB-INF/lib folder, and this is resulting in ClassNotFoundExceptions. To be more

RE: Starting tomcat from init scripts (HP/UX)

2003-01-27 Thread Turner, John
Does your init script call catalina.sh directly? John -Original Message- From: Pascal Forget [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 10:17 AM To: Tomcat Users List Subject: Re: Starting tomcat from init scripts (HP/UX) Thanks for the tip, John. I already

RE: Strange feature!! Can anyone help?

2003-01-27 Thread Peng Annie
Thanks!! -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 17:06 To: Tomcat Users List Subject: RE: Strange feature!! Can anyone help? No need to edit the registry. Just install JDK1.3.1 or better and use the following instructions to install your

Re: INSECURE to rely on sendRedirect (??)

2003-01-27 Thread Erik Price
Craig R. McClanahan wrote: If you're sending a redirect from a servlet (or a filter) via Java code, you must do a return statement afterwards to avoid sending the rest of the content that would otherwise be sent: response.sendRedirect(...); return; Thanks for your confirmation on this.

Re: Bean class not found in web application

2003-01-27 Thread Erik Price
Wilson Snook wrote: The long and the short of it is I would recommend avoiding the property name 'uName'. I think I would also recommend not using Komodo 1.2 to write bean classes. However, I would recommend using JBuilder 6 for the purpose, even if it is a bit of a large beast for small

RE: Serving files from the Apache docroot

2003-01-27 Thread Mike Bachrynowski
A further thought is that this is because Tomcat4 is configured as both stand-alone and as JK2 connected to Apache. I only hold on Tomcat4, jsp elements and a restricted set of xml and xslt elements. I hold on Apache2 everything else. By forceing a directory change in href and src HTML

JSP not forwarded to Tomcat

2003-01-27 Thread Pascal Robert
Hi list, First, the setup: - Mac OS X 10.2 - Tomcat/4.1.18 - Apache/1.3.27 - mod_jk-1.3.27.so (build from OS X from Jakarta's site), renamed to mod_jk.so I tried to get some Virtual Host to work with Tomcat (the webapps for each VirtualHost are outside Tomcat's directory). Instead of getting

RE: JSP not forwarded to Tomcat

2003-01-27 Thread Turner, John
What's your workers.properties file look like? Do you have a connector listening for JK requests from Apache? John -Original Message- From: Pascal Robert [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 10:57 AM To: [EMAIL PROTECTED] Subject: JSP not forwarded to Tomcat

Re: Serving files from the Apache docroot

2003-01-27 Thread Henning Heil
Mike Bachrynowski wrote: [...] My IT Operations colleagues who have a more detailed knowledge of configuring Apache than I have suggest that if Tomcat is not configured as stand-alone and MIME type support on Tomcat for all except jsp, xml and xslt is removed then all should work OK. Perhaps

RE: Serving files from the Apache docroot

2003-01-27 Thread Turner, John
Disable the Connector on port 8080 in server.xml. Restart Tomcat. If you're using Apache, the only Connector you need in Tomcat's server.xml is a WARP or JK/JK2 Connector. John -Original Message- From: Henning Heil [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 11:05 AM

Re: URL alias

2003-01-27 Thread Erik Price
Paul Phillips wrote: Just for convenience sake, I would like to make an alias for login purposes that looks something like: http://myhost:8080/webappname/login I can't figure out how to map that to my controller servlet AND at the same time include the parameter event=login. The

accessing/modifying 404 page in tomcat?

2003-01-27 Thread Prashanth Pushpagiri
Hi, I'm sure a lot of you have gone through this before..., is there anyway I can display a different 404 error when tomcat does not find a page that was requested? I would like to customize it a little...some setting may be Thanks --Prashanth

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Turner, John
This is done in the web.xml file. John -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 11:27 AM To: Tomcat Users List Subject: accessing/modifying 404 page in tomcat? Hi, I'm sure a lot of you have gone through this

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Shapira, Yoav
Howdy, Read the servlet specification, v2.3, chapter 13.1, section title Error Pages. You can customize these to your heart's content. Yoav Shapira Millennium ChemInformatics -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 11:27

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Jim Krygowski
Hi Prashanth- try: error-page error-code404/error-code location/your_custom_404_error_page_here.html/location /error-page in your web.xml file just after the welcome-file-list. -Original Message- From: Prashanth Pushpagiri [mailto:[EMAIL PROTECTED]] Sent:

Re: URL alias

2003-01-27 Thread paul
Erik suggested: Why not create a filter -- map login to your filter (LoginFilter) and have the Filter intercept the request and add the parameter to the request before it calls the doFilterChain() (which means before it passes the request to the Controller). I thought about doing that, but

RE: accessing/modifying 404 page in tomcat?

2003-01-27 Thread Prashanth Pushpagiri
Thanks a lot... --Prashanth --- Jim Krygowski [EMAIL PROTECTED] wrote: Hi Prashanth- try: error-page error-code404/error-code location/your_custom_404_error_page_here.html/location /error-page in your web.xml file just after the welcome-file-list.

RE: Tomcat 4.1.18 - IIS - JK2 - getRemoteUser() returns Null

2003-01-27 Thread Reynir Hübner
Hi, I've seem to have resolved this problem my self. It seems like it's due to the fact I was locking a subdirectory under IIS but not the whole host. If I lock the host I get the domainname\username from getRemoteUser(). Thanx anyways. -reynir -Original Message- From: Reynir

apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Holger Klawitter
Hi there, I am trying to make apache 2.0.43 with tomcat 4.1.12, via jk2 (via ajp13 protocol, under linux). However I only get various errors and I cannot make any sense out of it. (They are at the very bottom of this mail.) Is there a set of demo files for this kind of connection? Or is there

RMI Problem with Tomcat

2003-01-27 Thread Ashwin Desai
My servlet connects to a rmi server which is running on the same machine as Tomcat 4.1. But, I get a queer exception NotBoundException at Naming.lookup. I printed out the list of servers bound in the registry using Naming.list and I can see my rmi server listed. So, I am just puzzled as to why

-nonaming option

2003-01-27 Thread KDavey
In ver 4.0.6 this was the command that turned off the internal JNDI naming option. I have read in some threads that this is not true anymore with version 4.1.12. What is the correct way of turning this off in ver 4.1? kmd Phone (608)273-8933 x2084 Cell (608)358-2037

Re: Apache Tomcat - HTTP Status 503 - Servlet SendMailServlet is currently unavaila

2003-01-27 Thread chris schild
Anyone know what is missing here? I have the problem with http://localhost/servlets and http://mydomain1.com/servlets ... I am receiving the msg: Apache Tomcat - HTTP Status 503 - Servlet SendMailServlet is currently unavailable. Would anyone be able to tell me this may be happening? Note,

RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Turner, John
JkMount only applies to JK (mod_jk.so), not JK2 (mod_jk2.so). Mod_jk2.so has no idea what to do with JkMount. If you want a quick answer, switch out mod_jk2.so for mod_jk.so, and you will probably start seeing results, maybe not exactly what you want, but a lot more to go on so that you can

Manager App: Installed Apps do not stay installed

2003-01-27 Thread Christopher M. Zinn
This is my first ever post to a mailing list, so please forgive me if this question has been asked many times before. I have a scenario that we have run into that has been bothering me with Tomcat and I'm hoping someone might have an answer. The scenario is this: I have developed a new Web

RE: Tomcat 3.2`

2003-01-27 Thread Larry Isaacs
You will need to be aware of a little bit about how classloaders behave. Tomcat will create a webapp classloader that includes WEB-INF/classes and the jars WEB-INF/lib. In Tomcat 3.2.x, a parent of this webapp classloader is the CLASSPATH classloader. As the parent, classes in the webapp

Re: using ajp without tomcat

2003-01-27 Thread James Chang
I have downloaded apache binary dist and the ajp connector source, and builded the IIS redirector (It was rather strange that apr.h is in apache binary dist but not in the apache source release). What I found with debug messages is, HttpFilterProc() is called with I request

java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted

2003-01-27 Thread Barclay A. Dunn
i have set up Tomcat 4.1(.12, i think) with DBCP native, connecting to Sql Server 2000 on a remote machine. with the same configuration at home i get connected just fine. at work, i get this error: java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted i'm getting

Re: URL alias

2003-01-27 Thread Igor I. Tovstopyat-Nelip
Probably, using a filter is an overkill in this situation. If you are sending a GET request, just extend your URL: http://myhost:8080/webappname/login?event=login . If you are posting from a form, you can include a hidden parameter with name=event and value=login. Igor TN On Mon, 27 Jan 2003,

RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Andres Montiel
I too encounter the same problem. I checked the docs on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html. However, it seems that it still shows wrong commands for jk2. For example, on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html , JkMount is still posted

RE: apache does not talk to tomcat via jk2(ajp13)

2003-01-27 Thread Ignacio J. Ortega
Andres, I too encounter the same problem. I checked the docs on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html . However, it seems that it still shows wrong commands for jk2. For example, on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html , JkMount is

RE: java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted

2003-01-27 Thread mech
Just a guess, but maybe this occurs while filling the connection pool with connections at the very beginning. Assume your connection pool manager was set up to open at least 100 connections. In case your SQL server at work doesn't allow that much connection or some other clients are using some

Session Timeout - Who has the final decision?

2003-01-27 Thread Jerry Jalenak
Hi All, I've checked the Tomcat-User and Struts-User archives for an answer to this, but am still not sure of the answer. Given that I can set a session timeout interval in Tomcat's configuration file (web.xml), the web application itself (web.xml), and also by setting

RE: using ajp without tomcat

2003-01-27 Thread Turner, John
Maybe posting to tomcat-dev would get you a quicker answer. John -Original Message- From: James Chang [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 1:14 PM To: Tomcat Users List Subject: Re: using ajp without tomcat I have downloaded apache binary dist and the ajp

JK2 workers2 vs. jk workers???

2003-01-27 Thread chris schild
I have seen jk.properties workers.properties BUT what is the difference with jk2 workers2?Do I need jk workers also? I guess the I am missing something here!!! I haven't found anything in the archives or docs (so far) that is helping. I'm assuming it is mod_jk2 instead of mod_jk?Would

Re: Bean class not found in web application

2003-01-27 Thread Wilson Snook
Eric, As a newbie, I use just getters and setters. Wilson - Original Message - From: Erik Price [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, January 27, 2003 3:44 PM Subject: Re: Bean class not found in web application Wilson Snook wrote: The long and

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread mech
IMHO: Your web app web.xml overrides Tomcat's web.xml. Your application code overrides both. I've checked the Tomcat-User and Struts-User archives for an answer to this, but am still not sure of the answer. Given that I can set a session timeout interval in Tomcat's configuration file

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread Jerry Jalenak
Thanks for the reply. That's kind of what I suspected, but couldn't find anything that stated so -Original Message- From: mech [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 1:32 PM To: 'Tomcat Users List' Subject: RE: Session Timeout - Who has the final decision?

RE: java.sql.SQLException: DBCP could not obtain an idle connection, pool exhausted

2003-01-27 Thread Barclay A. Dunn
weirdly, changing the maxActive (maximum number of dB connections in pool) from 0 (which is supposed to be unlimited) to anything higher solved this problem. so i guess 0 is NOT unlimited in this context! which kind of sucks. but we will tweak the live server to figure out what we need. i did

HTTPS -- HTTP redirecting

2003-01-27 Thread luk
Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of resources (/non_secure_resources/* and /secure_resources/* respectively) and web.xml

detection infinite loops and/or recoursive code

2003-01-27 Thread list
hello! i'm looking for a detection of 'hanging' or 'unable to finish' requests. e.g.: while(true) loops in a jsp. no one would program something like this but on a server with multiple applications it happens sometime that under some circumstances a infinite loop or a recoursive loop is

HTTS -- HTTP redirecting

2003-01-27 Thread luk
Hello, Is it possible to configure Tomcat (4.1.x) in such a way that a request can be redirected automatically from HTTPS to HTTP port? Let's assume that a Website has two separate (non-overlapping) sets of resources (/non_secure_resources/* and /secure_resources/* respectively) and web.xml

RE: Session Timeout - Who has the final decision?

2003-01-27 Thread Shapira, Yoav
Howdy, Consider the order in which these settings are applied: Tomcat timeout is 30 minutes Applied on tomcat startup. Web Appl. timeout is 45 minutes Overrides above when your context starts up.

mod_jk2 directory mapping

2003-01-27 Thread Timo Nentwig
Hi! How can I map http://host/a/index.html to http://host/some/a/index.html ? Well, can I actually at all? Thanks! Timo -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Having problems with endorsed directories working in Tomcat 4.1.18

2003-01-27 Thread John Trollinger
I have changed the parser in the endorsed directory but tomcat does not seem to see the changes. When I compile using ant (and the endorsed directory in jre/lib/endorsed) all works as expected. Any help? Thanks, John -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: JK2 workers2 vs. jk workers???

2003-01-27 Thread chris schild
Does anyone know of the location of some docs? And/Or have a sample configuration including virtual hosts. I am using: Apache 2.0.43 Tomcat 4.1.18 Windows 2000 Thanks much!!! - Original Message - From: chris schild [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday,

contents of common/lib

2003-01-27 Thread Derek Odegard
For the past several days, I've been trying to figure out what is causing the following error when trying to access any jsp (this is a new installation: tomcat 4.1.18, apache 2.0.44, j2sdk 1.4.1_01, win2k): org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred

Re: JK2 workers2 vs. jk workers???

2003-01-27 Thread list
here you find everything you need: http://www.galatea.com/flashguides/index chris schild wrote: Does anyone know of the location of some docs? And/Or have a sample configuration including virtual hosts. I am using: Apache 2.0.43 Tomcat 4.1.18 Windows 2000 Thanks much!!! - Original

RE: JK2 workers2 vs. jk workers???

2003-01-27 Thread Turner, John
Not for JK2. John -Original Message- From: list [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 3:02 PM To: Tomcat Users List Subject: Re: JK2 workers2 vs. jk workers??? here you find everything you need: http://www.galatea.com/flashguides/index chris

Re: JK2 workers2 vs. jk workers???

2003-01-27 Thread Robert L Sowders
Search for JkUriSet at http://marc.theaimsgroup.com/?l=tomcat-user list [EMAIL PROTECTED] 01/27/2003 12:01 PM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: Subject:Re: JK2 workers2 vs. jk workers??? here you find

Re: JK2 workers2 vs. jk workers???

2003-01-27 Thread chris schild
John, Would you recommend staying with the original mod_jk since I am using Win2k or is mod_jk2 the way to go? I am going to rebuild Tomcat since I have configured reconfigured it so much. My knowledge level, although still minimal, is much greater than it was a month ago... btw- I am still

RE: JK2 workers2 vs. jk workers???

2003-01-27 Thread Turner, John
It's up to you. I prefer JK right now, but lots of people are using JK2, and JK2 is where the development team is going. If you decide to use JK, my HOWTOs might help: http://www.johnturner.com, or try the ones at www.galatea.com/flashguides. I don't have HOWTOs for JK2 bookmarked, but I know

Re: Doubt in Single Sign On !!!

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, shanmugampl wrote: Date: Mon, 27 Jan 2003 14:13:57 +0530 From: shanmugampl [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Doubt in Single Sign On !!! Hi All, I am using tomcat 4.1.18 and

Re: URL alias

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003 [EMAIL PROTECTED] wrote: Date: Mon, 27 Jan 2003 11:23:45 -0600 (CST) From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: URL alias Erik suggested: Why not create a filter -- map login to your filter (LoginFilter)

Re: Session Timeout - Who has the final decision?

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003, Jerry Jalenak wrote: Date: Mon, 27 Jan 2003 13:22:47 -0600 From: Jerry Jalenak [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: Session Timeout - Who has the final decision? Hi All, I've checked the

Re: using ajp without tomcat

2003-01-27 Thread James Chang
Actually I am posting for a friend. He is tracying the code to see what is going on I just thought since people already did a lot on this someone proboly has the answer right away :-) Anyway thanks for your help, I will go post on dev list instead Thanks again - Original Message -

Re: Having problems with endorsed directories working in Tomcat 4.1.18

2003-01-27 Thread Jacob Kjome
Hello John, So, you are saying that you put your new parser in jee/lib/endorsed and expect Tomcat to pick that up like Ant did? Note that Tomcat also has an endorsed directory in CATALINA_HOME/common/endorsed. Jars in that directory will override not only the regular JDK libraries but also

getting java.lang.NoClassDefFoundError

2003-01-27 Thread Davidson, Greg
I'm getting the following error: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest when I try to execute the following: bean code: request(request, response) { request.getParamater(inputBox); //This line cause the error. } Why isn't this

  1   2   >