Web App Classloader..How?

2003-01-29 Thread Haytham Samad
I have a question regarding how the web application loader works. Especially when my application is not deployed under tomcat home/webapps in Tomcat 4.1.x. This is the situation. Tomcat is installed on drive C: on the server and I have my application deployed on drive D. This is the a

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-29 Thread Boris Folgmann
Ryan Cornia wrote: This solution seems to work great for me. After adding this and re-booting the database server, it re-connected and worked great automatically Same for me. It works too with postgresql. It would be interesting to know how big the overhead is for this check. Is the check

RE: Tomcat and ~user mapping

2003-01-29 Thread Felicia Neff
Actually, it is easy to set up in tomcat-4.1. Look at: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html and scroll down to the section titled User Web Applications. -- Felicia On Wed, 29 Jan 2003, Wendy Smoak wrote: One way to do this would be to define a Host per student with

Re: JSP Compilation Error

2003-01-29 Thread Marcelino Cruz
Still no luck. I'm downloading the source and building Tomcat locally. --- - Original Message - From: John Trollinger [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 1:08 PM Subject: RE: JSP Compilation Error I put the tools.jar in my

RE: JSP Compilation Error

2003-01-29 Thread Turner, John
Sounds like fun, but totally unnecessary, unless you have some sort of custom configuration that you haven't told us about. John -Original Message- From: Marcelino Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 2:04 PM To: 'Tomcat Users List' Subject: Re: JSP

RE: Tomcat AS400 problem

2003-01-29 Thread SRamanujan
I have my jt400.jar in common/lib and the following code work for me. import java.sql.*; Connection con; Class.forName(com.ibm.as400.access.AS400JDBCDriver); con = getConnection(jdbc:as400://+getSystemName(),Userid, Password); Thanks. Sudha Ramanujan SunGard Futures Systems [EMAIL PROTECTED]

bypass form login page

2003-01-29 Thread Maxime Colas des Francs
Hi, I build an application with a private zone (protected by a FORM-LOGIN page). Is there a method to redirect automaticly a user in the private zone (after his inscription for exemple), without display the form-login-page ? (like a POST to j_security_check ...) Thks

Xalan servlet samples on Tomcat

2003-01-29 Thread Balint Fulop
Hello! Please could anyone point why my setup is malfunctioning? Description as follows. Thanks everyone in advance. Problem: I am trying to run the servlet samples that came with Xalan, but none of them has given any positive result so far. The setup: WinXP Pro, Java SDK 1.3 from IBM,

Re: bypass form login page

2003-01-29 Thread Henning Heil
maybe: - recognize user already registered (cookie?) - start a session - add auth=yes or sth like that to the sessions-params - foward to the desired page rgds, henning Maxime Colas des Francs wrote: Hi, I build an application with a private zone (protected by a FORM-LOGIN page). Is

RE: Web App Classloader..How?

2003-01-29 Thread Shrotriya, Sumit
Hi Haytham, I am pretty new to Tomcat myself but I think this will help you. Modify your setclasspath.bat file in your %TOMCAT%\bin dir to have your files added to the CLASSPATH env variable. In this case as long as the sun.misc.Launcher$AppClassLoader class loader is called to load the files

JDBC loop problem tomcat 4.1.18

2003-01-29 Thread Cristian Draghici
Hello All, I have installed tomcat 4.1.18, I have a postgresql 7.0.3 database, the jdbc driver is jdbc7.0-1.1.jar. I have a servlet that is supposed to execute a very simple query (select count) from the database. Althouh I get a context and the driver gets loaded, I get connections to postgres

Filter and RequestDispatcher.forward()

2003-01-29 Thread Karl Kraft
I've written a Filter to get applied to all page requests so that I can perform some access control and logging. However, when a servlet redirects using the forward() method of RequestDispatcher, it doesn't seem to go through the filter. If needed, I can call the Filter manually before I do

DBCP usage w/servlets

2003-01-29 Thread Erik Price
I found a promising-looking post in the archives about using DBCP in a Tomcat-based servlet environment: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg67843.html Unfortunately, the link to the source code (the meat of the post) is broken. Does anyone have any sample source

Re: Filter and RequestDispatcher.forward()

2003-01-29 Thread Tim Funk
Filters are only run once for the incoming request. See the archives for more information. -Tim Karl Kraft wrote: I've written a Filter to get applied to all page requests so that I can perform some access control and logging. However, when a servlet redirects using the forward() method of

RE: Web App Classloader..How?

2003-01-29 Thread Haytham Samad
Sumit- Thanks for taking the time to reply. I have not tried that route but I will play around with it to see how this works. Yet this still means that I have to have access to the C drive on the server. Well, yes I can set the class path and then just use that path for all code updates. But

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-29 Thread fred
Ok Thank you very much... I'm going to test that... - Original Message - From: Ryan Cornia [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 3:48 PM Subject: RE: Can the JNDI Connection Pool re-connect after failure? This solution seems to work great for me.

Re: about singletons (ot)

2003-01-29 Thread Tobias Dittrich
The reason why you don't want to use synchronized methods is that a synchronized block can only be executed by one thread at a time. Every other thread wanting to access this method will be blocked during this time (well, basically). So you want to try to keep the synchonized blocks as small as

Re: [OT] jikes for windows?

2003-01-29 Thread Jacob Kjome
Hello Timo, no, it won't work on Windows. It will on Unix because Jikes on Unix supports the -encoding option. For whatever reason, it isn't supported on Windows. Until that time, it will not be usable on Windows. See the Jikes site for details. Look in the bug reports to find a better

Re: Can the JNDI Connection Pool re-connect after failure?

2003-01-29 Thread Jakarta
yuo're right the validationQuery is done before every query. but is implemented any keepalive protocol to mantain a persistent connection (i guess no) - Original Message - From: Boris Folgmann [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 3:55

RE: Web App Classloader..How?

2003-01-29 Thread Shapira, Yoav
Howdy, The configuration should allow me to enter the context in server.xml and be able to update my code under my application context (on the other drive) without having to touch anything in the Tomcat installation. Any ideas!! Here's an idea that can be summarized in three letters: WAR.

Re: How does Tomcat set the classpath???

2003-01-29 Thread Will Hartung
From: Brandon Cruz [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 7:24 AM Subject: How does Tomcat set the classpath??? I notice that tomcat 4.1.x explicitly sets $JAVA_HOME/lib/tools.jar and the bootstrap.jar file to the classpath, but that seems it. It overwrites any other

Re: about singletons (ot)

2003-01-29 Thread Erik Price
So you mean that the original author (mike jackson) was saying that he used synchronized code blocks to apply a finer level of detail in specifying what is synchronized and what isn't, as opposed to just declaring an entire method synchronized? I understand that synchronization implies a

Re: DBCP usage w/servlets

2003-01-29 Thread Jakarta
what i did is: in the $CATALINA_HOME/conf/server.xml added the Resource inside a DefaultContext ('cause i want it available to all webapps) in the $CATALINA_HOME/commons/lib i put the jdbc driver and dbcp's jar (it must be available to tomcat when starting up the default context) in the

Re: JSP Compilation Error

2003-01-29 Thread Marcelino Cruz
Nope, no custom configuration. I downloaded the previous version 4.0.6 and that worked beautifully out of the box. My conclusion is that Jasper on 4.1.18 is broken or needs some special setup, because it sure refused to compile JSP's no matter what we tried. I'll stick to 4.0.6 for the time

RE: Web App Classloader..How?

2003-01-29 Thread Haytham Samad
Yoav, I was deploying using WARs with an ant task. Pretty cool. But when I move the files to the directory I am deploying in, it does not open the WAR. So now I am unpacking the war in that directory. This deploy is not in webapps!! Or is there a way to make Tomcat open up WAR files in

AW: Problem starting tomcat4 .rpm

2003-01-29 Thread Andreas Galatis
This rpm does not install the user tomcat, Klaus is right, there was a fault in my startup-script. my startup-script is the following: # config: /home/tomcat4/conf/tomcat.conf # Source function library. . /etc/rc.d/init.d/functions # Setup JAVA_HOME to your JDK home dir export

RE: JSP Compilation Error

2003-01-29 Thread Turner, John
No special setup I know of...we just got done porting a Microsoft ASP/COM application to JSP/servlets with Struts and 4.1.18, works like a charm, default Tomcat install on Solaris 8. John -Original Message- From: Marcelino Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29,

Re: about singletons (ot)

2003-01-29 Thread Felipe Schnack
Strangely enough, a long time ago someone said me that static method were slower to execute than normal ones... this makes no sense to me, but anyone knows if this is true? Personally, I freak out when I see synch'd code where it can be avoided :-)) On Wed, 2003-01-29 at 18:17, Tobias

RE: JSP Compilation Error

2003-01-29 Thread Turner, John
I'm not arguing with you, BTW, just trying to understand why it's not working for you, but working fine for others on Solaris 8. John -Original Message- From: Marcelino Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:39 PM To: Tomcat Users List Subject: Re: JSP

Re: JSP Compilation Error

2003-01-29 Thread Marcelino Cruz
I guess we weren't that lucky. We couldn't get it to work, on different boxes (W2K and Solaris). We downloaded JBoss 3x with Tomcat 4.1.12 and didn't work... same problem. We ended up getting JBoss and Jetty for that particular project. I'm glad that 4.0.6 works for us. We'll use that. MC

Problem with tomcat4 at win 2000 - not work JSP

2003-01-29 Thread Julio Oliveira - Buenos Aires
Hi all I'm new to the group, i have working fine with Tomcat until now with the win 2000 - i send to you the message i supose you know something about it.. I simple for probe delete the work dir... tanks in advanced Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

Re: JSP Compilation Error

2003-01-29 Thread Marcelino Cruz
I understand. I didn't think you were arguing either. I'm at a loss as to why it didn't work out of the box on our end. But we can't stop to debug this so given that 4.0.6 works we'll take that. Thanks. MC --- - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users

RE: Problem with tomcat4 at win 2000 - not work JSP

2003-01-29 Thread Haytham Samad
What version of Tomcat are you using? It also seems that you are using JRE instead of JDK. I think you will need the JDK. best... -Original Message- From: Julio Oliveira - Buenos Aires [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 2:56 PM To: Tomcat Users List Subject:

RE: Web App Classloader..How?

2003-01-29 Thread Shrotriya, Sumit
Hi Haytham, I dont think Tomcat will allow you to load classes from any directory below the %TOMCAT% home dir. If it does then it would be a great security concern..by changing the classpath env variable it is the java classloader that is loading the files for you and not the apache

Generating an HTML email from jsp page

2003-01-29 Thread Karl Kraft
I have code from an existing project that given an html email will wrap it up in a MIME email and send it off. Since the email is dynamic and fancy, I have found the best way to generate these (in other app servers), is to call on the app server to do the work. Instead of opening up a socket

Errors with default setup of Apache 2.0.43 and Tomcat 4.1.18

2003-01-29 Thread Ritu
Hi, I have Apache 2.0.43 on linux and single instance of Jakarta tomcat 4.1.8 as servlet engine. Both are installed on linux. I also installed mod_jk connector. Now I am doing some load tests against this server configuration. As I ramp up the load, I start seeing 500 Internal server errors. There

RE: Errors with default setup of Apache 2.0.43 and Tomcat 4.1.18

2003-01-29 Thread Turner, John
Are you allowing Tomcat's CoyoteConnector on port 8009 (or whatever port you put the JK listener on) to accept all of the requests you are throwing at it? You have to pay attention to things like acceptCount, maxProcessors, etc. They need to be as high as or higher as the number of

RE: Problem with tomcat4 at win 2000 - not work JSP

2003-01-29 Thread Julio Oliveira - Buenos Aires
Tomcat 4.0.1 / 4.1.1 / 4.1.8 etc... All work fine with win nt, but not with win 2000 I have instaled jdk 1.3.1 - 1.4.1 b ut nothing happen. It´s very complicated .. regards --- Haytham Samad [EMAIL PROTECTED] escribió: What version of Tomcat are you using? It also seems that you are

JSP works on Standalone, but not when Implemented with IIS

2003-01-29 Thread Nicole Hibbard
Hello Tomcat Users: I have exhausted my resources and need help. I developed a web app that basically just pulls info from an MySql Database. It works fine on my machine. I had to set it up to be accessed publically so I configured a server running Windows2000 server with IIS to run with

Re: Web App Classloader..How?

2003-01-29 Thread Will Hartung
From: Shrotriya, Sumit [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 1:06 PM Subject: RE: Web App Classloader..How? Hi Haytham, I dont think Tomcat will allow you to load classes from any directory below the %TOMCAT% home dir. If it does then it would be a great security

test - please ignore

2003-01-29 Thread Filip Hanik
22 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: about singletons (ot)

2003-01-29 Thread Tobias Dittrich
Basically yes. Much less code than you normally would think needs to be declared synchronized. Maybe someone can post a link to a good guide to thread synchronization - personally I only can recommend the O'Reilly Java Thread book but that's personal taste(!) However - as you said,

JDBCRealm.Digest

2003-01-29 Thread Koes, Derrick
Has anyone else encountered a java.lang.ClassCastException running the catalina code JDBCRealm.Digest? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal,

Question about detecting version

2003-01-29 Thread Steve Vanspall
Hi there, This may be an off-beat question. Basically I am creating an installation application for my software, for some people who are going to demonstrate it. What I want to be able to do, is detect whether the correct version of Tomcat is installed on their system. The installer will only

Redirect and Tomcat

2003-01-29 Thread Roman Shpak
How can I resolve problem such as redirect from one url to another help with tomcat same as option Redirect in Apache? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DBCP usage w/servlets

2003-01-29 Thread Hannes Schmidt
Have a look at the attached context listener. Once the datasource is initialized, you can acces it like that (but I guess you know that already) Connection c = dataSource.getConnection(); try { Statement s = c.createStatement(); String sql = SELECT ...; ResultSet rs = s.executeQuery(

RE: Redirect and Tomcat

2003-01-29 Thread Filip Hanik
not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that -Original Message- From: Roman Shpak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: Redirect and Tomcat How can I resolve

RE: Question about detecting version

2003-01-29 Thread Julius Davies
Hello, Steve Vanspall, Have you looked at any of these methods? class javax.servlet.ServletContext public int getMajorVersion() - Returns the major version of the Java Servlet API that this servlet container supports. public int getMinorVersion() - Returns the minor version of the Servlet

Tomcat 4.x Provides Connection Pools for JDBC Datasources Automatically?

2003-01-29 Thread Sean Dockery
I recently picked up a copy of Mastering Tomcat Development (0471237647). The following is an excerpt from the book's chapter entitled Databases, Connection Pools, and JDBC: Prior to Tomcat 4, there was no connection pooling functionality within Tomcat, and you had to make a choice about the

apache /mod_ssl/tomcat/struts

2003-01-29 Thread SSchaubach
I'm new to to ssl on three tier, esp. with struts involved does struts or apache need to be configured? I would assume mod_ssl would take into account that a certain document location is secure but since it is not static content coming back from Tomcat, I am uncertain how this would work. any

RE: Tomcat 4.x Provides Connection Pools for JDBC Datasources Automatically?

2003-01-29 Thread Filip Hanik
the obvious gain from using a pool vs a non pooled connection is performance. but whether you use the tomcat DBCP or your own, doesn't really matter. Filip -Original Message- From: Sean Dockery [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 4:32 PM To: [EMAIL PROTECTED]

RE: apache /mod_ssl/tomcat/struts

2003-01-29 Thread Filip Hanik
the easiest way is: Apache(with mod_ssl) -- mod_jk -- Tomcat with Struts have apache handle all the http/https requests and simple forward them to Tomcat. Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 4:46 PM To: [EMAIL

Re: Redirect and Tomcat

2003-01-29 Thread Roman Shpak
30 ñÎ×ÁÒØ 2003 01:49, Filip Hanik ÎÁÐÉÓÁÌ: not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that Yes, of course, I know it. But problem is in redirect one url to another without any program code in servlet or jsp. Why? It needs for forward

RE: apache /mod_ssl/tomcat/struts

2003-01-29 Thread SSchaubach
Thanks, I hope you don't mind me writing you directly. so, changing apache httpd.conf to use a location/ of the secure files is what I am having trouble with. If the document is a webpage.do (struts) file and is expected in /dir1/securearea/ , will the mod_jk2 take care of this?? everything just

RE: apache /mod_ssl/tomcat/struts

2003-01-29 Thread Filip Hanik
yes, it will work perfectly without any problems. not sure why you need to change the location tag. instead what you will need to do is to setup your jk.properties and mod_jk.conf to forward requests to Tomcat, and the request URL will work fine with struts. we are using struts in our

Changing *Default* allowLinking Behavior

2003-01-29 Thread Scott Kelley
Hi Tomcat Users, I'm having a problem with one of my server configurations (which has come up repeatedly on this list) where various items in my servlet contexts are unix symbolic links (on Solaris, RedHat, or MacOS X), and since Tomcat 4.1.18 by default disallows following these symlinks for

More Help With Beans Please

2003-01-29 Thread Percival Bragg
I have compiled 'myBean' into a 'package' and in the JSP page I import the package with %@ page import=package.* % jsp:useBean id=myid class=myBean / The bean is located in tomcat-install\webapps\ROOT\WEB-INF\classes\package directory and the JSP page is located in the ROOT directory. The

RE: Question about detecting version

2003-01-29 Thread Julius Davies
Steve, Here's a method which should work. Make sure Tomcat's $TOMCAT_DIR/server/lib/catalina.jar file is in the classpath of whatever java program is executing this code! ResourceBundle comes from the java.util package. === public String

java.lang.OutOfMemoryError during deploy

2003-01-29 Thread ajTreece
Folks... My webapp has grown in size and now I get the java.lang.OutOfMemoryError when I try and deploy via ant. Is this a Tomcat issue... and can I tweak a config value to fix it? Thanks, ajTreece - To unsubscribe,

RE: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread Filip Hanik
in whatever batch file or shell script set more memory java -ms64M -mx512M ...bla bla bla sets the initial memory size to 64MB and the maximum to 512MB Filip -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 5:21 PM To: [EMAIL PROTECTED]

RE: More Help With Beans Please

2003-01-29 Thread Filip Hanik
because the class attribute is what is used to instantiate the bean. class=package.myBean and for that it needs a fully qualified name, otherwise in case you have more than one import statement, it will not know which class you are referring to. Filip -Original Message- From:

Re: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread ajTreece
Sorry Filip... You've lost me, but then again I may not know what I'm talking about. My problem is during a deploy with ant to the tomcat server. I'm not seeing where I would set the sizes for java to deal with this. Later, ajTreece Filip Hanik wrote: in whatever batch file or shell

RE: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread Filip Hanik
which process goes out of memory? Answer: 1. ant - in that case you modify ant.bat or ant.sh 2. tomcat - in that case you modify catalina.bat or catalina.sh Filip -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 5:40 PM To: Tomcat Users List

Re: Redirect and Tomcat

2003-01-29 Thread Paul Yunusov
On Wednesday 29 January 2003 07:52 pm, Roman Shpak wrote: 30 ñÎ×ÁÒØ 2003 01:49, Filip Hanik ÎÁÐÉÓÁÌ: not really sure what you are asking, but response.sendRedirect(...) in HttpServletResponse will do that Yes, of course, I know it. But problem is in redirect one url to another

Re: java.lang.OutOfMemoryError during deploy

2003-01-29 Thread ajTreece
Thanks Filip... It was ant. Later aj Filip Hanik wrote: which process goes out of memory? Answer: 1. ant - in that case you modify ant.bat or ant.sh 2. tomcat - in that case you modify catalina.bat or catalina.sh Filip -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]]

multiple contexts and form-based login

2003-01-29 Thread Madere, Colin
To reword my original post in a short statement: Is there anyway to have multiple contexts that have form-based auth configured that all use a single login form rather than one for each context? -Original Message- From: Madere, Colin [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, January 28,

RE: multiple contexts and form-based login

2003-01-29 Thread Filip Hanik
I think there is a SingleSignOn example that ships with Tomcat, look for singleSignOnValve Filip -Original Message- From: Madere, Colin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 6:08 PM To: 'Tomcat Users List' Subject: multiple contexts and form-based login To

Re: mod_jk and auto mode

2003-01-29 Thread Mark O'Neil
Hello! Okay so I have mod_jk working (not in auto mode - will test that tomorrow), but not without a couple issues most likely due to me still wrapping my head around how tomcat works. when I run http://myserver.dartmouth.edu:8080/examples the URL stays the same through the launching of the

RE: More Help With Beans Please

2003-01-29 Thread Percival Bragg
If what you say is correct why bother with the import directive at the begenning of the JSP page as the fully qualified name should work without this directive. --- Filip Hanik [EMAIL PROTECTED] wrote: because the class attribute is what is used to instantiate the bean. class=package.myBean

RE: More Help With Beans Please

2003-01-29 Thread Filip Hanik
that is correct. the import directive can used when using code like this % MyBean bean = new MyBean(); % -Original Message- From: Percival Bragg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 6:26 PM To: Tomcat Users List Subject: RE: More Help With Beans Please

RE: mod_jk and auto mode

2003-01-29 Thread Filip Hanik
I think it is in your httpd.conf file. look for the ServerName directive, and then there is a UseCanonicalName directive too Filip -Original Message- From: Mark O'Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 6:29 PM To: Tomcat Users List Subject: Re: mod_jk and auto

Specifying SMTP port in server.xml

2003-01-29 Thread Troy J. Kelley
Hello, I've googled and searched the archives... The docs for tomcat 4.1 state: WARNING - The default configuration assumes that there is an SMTP server listing on port 25 on localhost. If this is not the case, edit the $CATALINA_HOME/conf/server.xml file, and modify the parameter value for the

Where Set Tomcat_home and Catalina_home ??

2003-01-29 Thread fred
Helo, canyou tell me where set the system environnment variables for: TOMCAT_HOME= C:\Tomcat CATALINA_HOME=C:\Tomcat Thank you. Fred

RE: Where Set Tomcat_home and Catalina_home ??

2003-01-29 Thread Galbayar Dorjgotov
in autoexec.bat on win98 on win nt or win2k control Panle-System-Advanced-Environment variables -Original Message- From: fred [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:08 PM To: Tomcat Users List Subject: Where Set Tomcat_home and Catalina_home ?? Helo, canyou tell

Re: Where Set Tomcat_home and Catalina_home ??

2003-01-29 Thread fred
Ok thak you, and sorry for the system... I'm on Xp, it is at the same that for the java: Path: C:\j2sdk1.4.1_01\bin; ? I put C:\Program FilesApache Group.\Tomcat 4.1\bin; ? Thank you... - Original Message - From: Galbayar Dorjgotov [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

RE: Tomcat 4.x Provides Connection Pools for JDBC Datasources Automatically?

2003-01-29 Thread Sean Dockery
Hello, Filip. I know that performance is the primary reason for using connection pooling, but whether or not to use connection pooling was not my question. I wanted to know whether or not Tomcat 4.x has connection pooling built-in, and what difference it would make in letting Tomcat 4.x use its

Re: unix security realm

2003-01-29 Thread Nikola Milutinovic
[EMAIL PROTECTED] wrote: has anyone come across an implementation of a realm for Tomcat which authenticates users against the operating system's logins/passwords? thanks in anticipation Cyrus SASL 2.1.x has a JAR file with some classes that have SASL functionality. Maybe it is not too hard to

Re: Possible CLOSE_WAIT problem

2003-01-29 Thread Bill Barker
Having just taken a look at the code, it does seem that this is a bug for Tomcat 4.1 with the CoyoteConnector. Could you please submit it at http://nagoya.apache.org/bugzilla? Dan Higgins [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, If I set my

RE: apache /mod_ssl/tomcat/struts

2003-01-29 Thread Sean Dockery
Hello, Filip. Can secure connections be enforced declaratively when using apache/mod_ssl/mod_jk/tomcat? If so, where (and how) can it be done? httpd.conf? server.xml? web.xml? Or does detecting an insecure connection have to be done within the web application? As in...

Re: servlets

2003-01-29 Thread Bill Barker
Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On 28 Jan 2003, Felipe Schnack wrote: Date: 28 Jan 2003 19:26:27 -0200 From: Felipe Schnack [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Context problem, urgent!

2003-01-29 Thread Bill Barker
Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13040 to see if it looks like what you are seeing. Peng Annie / FINLAND [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, In Tomcat4, I can not get the right context of other webapp from my app. My

Re: sendRedirect() fails on first call only within a session

2003-01-29 Thread Bill Barker
It's not supposed to, but then I haven't used 3.2.x for a very long time. The first thing that I would try is to upgrade my isapi_redirect.dll from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2 /bin/win32/. It should be fully compatible with the 3.2.x Java code.

<    1   2