Re: TOMCAT +ANT

2002-08-21 Thread Rick Fincher
The file is in CATALINA_HOME/server/lib/catalina-ant.jar, but only on Tomcat 4.1.X. Rick - Original Message - > Hi > > I need this file: catalina-ant.jar. Where find it? > > In documentation tomcat, > > * Download the binary distribution of Ant from > http://jakarta.apache.org

Re: Tomcat Realms with Digested Passwords -Urgent- ( A little longish...)

2002-08-27 Thread Rick Fincher
Hi Baris, I tried: java -classpath CATALINA_HOME/server/lib/catalina.jar org.apache.catalina.realm.RealmBase -a MD5 aksu And got: aksu:394e654ca65973f232653fb0008c603d So that seems to be working correctly. You may want to try changing BASIC, to DIGEST. Since the browser is getting the passwo

Re: HTTP 404 on j_security_check

2002-09-11 Thread Rick Fincher
That is correct behavior. You cannot access the j-security_check page directly. You hava to access one of you regular pages and Tomcat will go to your form page. Rick - Original Message - > Hi > > I use a Form based authentification in web.xml : > [...] > > FORM > Authentication Are

Re: Poolman Configuration

2002-09-23 Thread Rick Fincher
Is anybody still developing Poolman? I heard the original developer retired it. If you are just starting out you might want to use another connection pooling package like DBCP in the Jakarta Commons project, so you don't get locked into a defunct product. This is from the web site listed on Sou

Re: Poolman Configuration

2002-09-23 Thread Rick Fincher
Hi Amitabh, A lot of folks seem to like Tyrex, but it may be overkill for you. SourceForge has one project called Proxool, that may be useful. The project is active (released new version on 9/20/02), and seems well documented. Search for "pooling" on www.sourceforge.net for a list of projects (

Re: So what database and script language do you use?

2002-09-24 Thread Rick Fincher
Hi Keith, I've been using Firebird and the JayBird JCA-JDBC driver and JSP. Firebird is open source and a complete SQL 92 DB. It was spawned from Borland's Interbase 6.0 when it went open source, so it's commercial quality. Interbase has been around for nearly 20 years as a commercial product,

Re: So what database and script language do you use?

2002-09-25 Thread Rick Fincher
ith it. Feature-wise, how firebird > stands? Got FKs, SPs, subqueries, all of it? It's fast? I'm pretty > curious about it :-) > > On Tue, 2002-09-24 at 19:35, Rick Fincher wrote: > > Hi Keith, > > > > I've been using Firebird and the JayBird JCA

Re: password storage on Tomcat 4.1.12

2002-09-25 Thread Rick Fincher
Hi Randy, It depends on what type of security realm you set up. If you use memory realm it is in the file CATALINA-HOME/conf/tomcat-users.xml. If you use JDBC realm it is in whatever data table you specify in CATALINA-HOME/conf/server.xml. If you use JNDI realm its in your LDAP database. This

Re: War not being deployed automatically

2002-09-26 Thread Rick Fincher
Hi Robert, Make sure that autoDeploy, liveDeploy, and unpackWARs have not been set to false in the Host container configuration in server.xml. Your e-mail said your server.xml was attached, but it wasn't in my mail. Rick - Original Message - From: <[EMAIL PROTECTED]> To: "'Tomcat Users

Re: War not being deployed automatically

2002-09-26 Thread Rick Fincher
Hi Robert, Saw your server.xml in this one. The following link to the Tomcat docs has info you might find useful. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html Rick - Original Message - From: <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thu

Re: Help Urgently needed, Security problem

2002-09-26 Thread Rick Fincher
Hi Ed, You have a couple of problems. First, you left out the user data constraint transport guarantee tag that forces Tomcat to use HTTPS. A security constraint has to have 3 things: 1- the web resource collection describing what to protect, 2- the authorization constraint describing who gets

Re: how to integrate tomcat with apache

2002-09-26 Thread Rick Fincher
Hi Anup, You'll have to post the error message so we can see exactly what happened. Was the error in Apache or Tomcat? Presumably it was in Apache. Anything in the logs? What versions of Apache and Tomcat are you using? What version of JDK? The URL's you give below are not valid, so we can't

Re: ARG! Startup problems under Solaris

2002-10-01 Thread Rick Fincher
Hi Chuck, What version of Tomcat and the JDK? If you are not running JDK 1.4, are you sure you didn't get the lightweight version of Tomcat? It only works with JDK 1.4. Rick - Original Message - From: "Chuck Carson" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent:

Re: JDBC Driver Installation

2002-10-01 Thread Rick Fincher
Hi Frank, Putting it in the common/lib directory is the correct place for it if you want it accessible by Tomcat and alll your web apps. That way you don't have multiple copies of your JDBC driver cluttering up your system. Put it in WEB-INF/lib makes it available to only that web app. This is

Re: ARG! Startup problems under Solaris

2002-10-01 Thread Rick Fincher
al Message - > > I was trying jdk 1.4.1, I now rebuilding with 1.3.1_04. I am pretty sure > I got the full version of tomcat: > > Jakarta-tomcat-4.1.12-src > > I used 'ant dist' to build everything. > > Any ideas? > > Thanks, > CC > > -Origina

Re: ARG! Startup problems under Solaris

2002-10-01 Thread Rick Fincher
Hi Chuck, 4.1.12 should be better than 4.0.4, particularly if you run it under the server version of the JDK under Solaris 8 and incremental garbage collection (-Xincgc). See http://java.sun.com/products/hotspot/docs/general/hs2.html for info on the server VM. Rick - Original Message -

Re: JDBC Driver Installation

2002-10-01 Thread Rick Fincher
October 01, 2002 6:12 PM Subject: Re: JDBC Driver Installation > > Is it a bug that tomcat can't recognize oracle's classes12.zip > even though I installed it in the "common/lib"? > > thanks, > frank > > On Tue, 1 Oct 2002, Rick Fincher wrote: > > &g

Re: JDBC Driver Installation

2002-10-01 Thread Rick Fincher
Hi Frank, That's only for container managed security realms. The JNDI realm looks in an LDAP database, while the JDBC realm looks in a database for login info using a JDBC driver that you supply. The nomenclature is confusing since JNDI can be used to find data sources for non-login database ac

Re: 4.1.12 JSPC question

2002-10-02 Thread Rick Fincher
Hi Peter, The docs are not very good on this. There is good news and bad news. The bad news is that even using JSPC all you get is a bunch of uncompiled servlets. You still have the slowdown at runtime with the first compile into class files. You can go in and compile the servlets but getting

Re: authorization using tomcat...

2002-10-02 Thread Rick Fincher
Hi Padu, It looks like you have this set up OK. Do you have a memory realm set up in conf/web.xml as is required for this setup? Also, since your transport guarantee is set up as confidential it is going to use SSL so you either have to use an HTTPS:// url or you have to have redirection turne

Re: authorization using tomcat...

2002-10-02 Thread Rick Fincher
Sounds like you are close now. It is working but it is rejecting your username, password or role. The name and role in WEB-INF/web.xml have to match the name and role in conf/tomcat-users.xml. The password is verified at login and must match the password in conf/tomcat-users.xml. You can add a

Re: authorization using tomcat...

2002-10-02 Thread Rick Fincher
Ah Ha. That means you didn't have HTTPS set up properly in the Connector for SSL Coyote HTTP 1.1, in the conf/server.xml file. Rick - Original Message - From: "Padhu Vinirs" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 2:07 PM Subject

Re: authorization using tomcat...

2002-10-02 Thread Rick Fincher
and > restart it, I am able to access the secure page without going through > the login page. Is there a place where I need to say that the login info > should not be a permanent cookie but only session scope ??? > > Thanks > > -- padhu > > > > > Rick Fincher wrot

Re: TomCat java_home variable

2002-10-03 Thread Rick Fincher
CATALINA_HOME replaced TOMCAT_HOME somewhere in there. You only need CATALINA_HOME. Rick - Original Message - From: "Venkat Reddy Valluri" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 4:26 PM Subject: RE: TomCat java_home variable

Re: Where is javax.sql

2002-10-04 Thread Rick Fincher
javax.sql is in the standard edition JDK as of version 1.4. It wasn't in JDK 1.3 SE. You had to get it from the J2EE version of the JDK or from the JDBC 2.0 or 3.0 standard extensions jar that was distributed by Sun. Many vendors included it in their JDBC driver jars. It contains mostly interf

Re: JDBCRealm Question

2002-10-08 Thread Rick Fincher
Hi Alan, Try using "connectionName" and "connectionPassword" rather than passing that info in the URL. Tomcat is probably sticking a user="" and password="" onto the end of your url resulting in: jdbc:mysql://localhost:3306/diamond?user=alan;password=xxx?user="";passw ord="" which blows up

Re: JDBCRealm Question

2002-10-08 Thread Rick Fincher
sword="xxx" > >userTable="users" userNameCol="user_name" userCredCol="user_pass" > userRoleTable="user_roles" roleNameCol="role_name"/> > > >className="org.netbeans.modules.web.monito

Re: I need to run a servlet periodically

2002-10-09 Thread Rick Fincher
Hi Filip, Your servlet can call a class (doesn't have to be a servlet) that sets up a java.util.timer to run your code as a timerTask. The servlet can get parameters from the web.xml file (like how often to execute) and pass that to your class that controls the timer. The servlet can pass your

Re: Context/DBCP mess...

2002-10-09 Thread Rick Fincher
Hi Michael, Have you tried this with Tomcat 4.1.x? Many bugs have been fixed and you may have better luck. Rick - Original Message - From: "Michael Nicholson" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 09, 2002 3:08 PM Subject: Context/DBCP

Re: my application pauses

2002-10-11 Thread Rick Fincher
You can also try incremental garbage collection (-Xincgc). It is supposed to be more fine grained garbage collection that runs as an interruptible background process and significantly reduces pauses. Rick - Original Message - From: "Ritesh Saraf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

Re: Tomcat and Webalizer

2002-10-15 Thread Rick Fincher
A JSP file isn't enough. You need a web app. That requires a WEB-INF folder with a web.xml file. You can run your JSP create the folder WEB-INF (case is important) in your begjsp-ch01 folder. In WEB-INF put a minimal web.xml file containing something like the example below. Now access your JS

Re: plz help!!! simple test http://localhost:8080 fails why????

2002-10-15 Thread Rick Fincher
You also need to check to see if localhost is resolvable on your machine. If you ping localhost you should get a response from 127.0.0.1. Rick - Original Message - From: "Raj Saini" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, October 15, 2002 6:57 AM Su

Re: Is an application server suitable?

2002-10-16 Thread Rick Fincher
Hi Tuncay, If I understand your task correctly, you need to develop a system that has no graphical user interface (The point of sale machines take care of that) but it needs to conduct transactions between those POS systems and the database. That is more or less what J2EE and Enterprise Java Bea

Re: JDBC Realm example

2002-10-23 Thread Rick Fincher
You should also be able to use connectionUser="dbuser" and connectionPassword="dbpass" in the realm tag instead of putting it in the URL. Rick - Original Message - From: "John Murtari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 23, 2002 2:20 PM Subject: JDBC Real

Re: Solaris JVM never seems to garbage collect, runs out eventually.

2002-06-05 Thread Rick Fincher
The javac in J2SE 1.4 has the memory leak 1.1.1 works OK under Solaris. - Original Message - From: "Ralph Einfeldt" <[EMAIL PROTECTED]> > - First make shure that you don't have memory leaks on your own. > - Make shure that you store as few data in sessions as possible. > Remember that

Good how-to on JSPC?

2002-06-05 Thread Rick Fincher
Hi, I there a good reference somewhere on using JSPC for pre-compiles? Also does using the jsp_precompile="true" directive do anything under Tomcat? I read that the spec doesn't require it to actually do anything for compliance. Thanks, Rick -- To unsubscribe, e-mail:

Re: Solaris JVM never seems to garbage collect, runs out eventually.

2002-06-07 Thread Rick Fincher
> Rick Fincher wrote: > > >The javac in J2SE 1.4 has the memory leak 1.1.1 works OK under Solaris. Sorry, that should have been JVM 1.3.1 works OK under Solaris. Rick -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Re: Encrypted passwords in a JDBC Realm

2002-06-07 Thread Rick Fincher
Hi Markus, You can use the same calls in Java to encrypt that Tomcat does. When you use encrypted passwords with form based authentication, Tomcat reads the clear text password from the user, then encrypts it according to your settings (MD-5 for exmple), then retrieves the pre-encrypted password

Re: Redirect port 80 requests to 443

2002-06-07 Thread Rick Fincher
Hi John, Tomcat will do this automatically with your app but it has to know that it is meant for the secure port only. You tell it this by including something like the following in your web.xml for the app. appName /* CONFIDENTIAL Rick - Original M

Re: Tomcat Performance??

2002-06-11 Thread Rick Fincher
Hi, Just a shot in the dark because you sound pretty well versed in JSP, but were your pages pre-compiled? If not, they compile the first time they are called, that adds significantly to loading time. If it looks like class lookup was the bottleneck, was the slowdown on the first call to the cla

Re: Other question

2002-06-13 Thread Rick Fincher
Hi Laura, Tomcat actually does have a pid. It is a java application. Under Solaris if you do a ps -elf |grep nativ you will see a listing beginning with your JAVA_HOME and ending with ../bin/sparc/nativ_t. That's the pid of the java virtual machine. If you have multiple java apps running each

Re: Other question

2002-06-13 Thread Rick Fincher
Under Solaris you have to use /usr/ucb/ps -ax |grep 'java*' to use the Berkeley version of ps. This gives a nice listing of the command line flags too. Rick - Original Message - > hi Laura, > > when tomcat runs an instance of java is always running..try > > ps -ax | grep 'java*' > > it

Re: Null Pointer Exception - would you please take a look?

2002-06-18 Thread Rick Fincher
Hi Eddie, I use Interbasse to do what you are trying, but directly to Tomcat, so I know it can be done. My server.xml entry follows. The only thing I see different is that you have two forward slashes after the host name. Is this a typo? Does this work with your other JDBC apps? I'm accessin

JSPC

2002-07-11 Thread Rick Fincher
Hi, I just installed Tomcat 4.1.7b and JDK 1.4.1b and it looks like the memory leak problem is still there. To get around this I have been trying to figure out how to get pre-compiling to work with JSPC. This seems to work better with the -webapp option using the combination above, but stil

Re: JDBCRealm How-TO

2002-07-12 Thread Rick Fincher
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html - Original Message - Does anyone have the link to the TOMCAT JDBCRealm How-TO?? -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Java Mail/IMAP

2002-07-15 Thread Rick Fincher
Hi Kevin, If no one else can help with imap mail in Tomcat, Sun has a mail webapp on their web site that supports IMAP and POP and enclosures of graphics and pdf files, etc. They use a tag library so it's easy to customize. Details are at: http://developer.java.sun.com/developer/technicalArticl

Re: email to cell phone

2002-07-17 Thread Rick Fincher
Hi Jack, Sun has a demo webapp that uses tags to send mail and read it off pop and IMAP servers. The following URL is page on Sun's site that explains how it works. Down at the bottom near "Conclusions" is a "download" link to the code. If you have an e-mail address to the phone uer or SMS ser

Re: email to cell phone

2002-07-17 Thread Rick Fincher
Hi Jack, Are you tasked with coming up with the whole solution, or just sending mail to a pre-existing setup for e-mailing cell phones? The easy part is sending mail. Is your monitoring stuff running under Tomcat? You can send mail directly from your monitoring software if you have access to t

Re: problems configuring Interclient on Tomcat

2002-07-22 Thread Rick Fincher
Hi Albert, You need to put a copy of Interclient.jar into CATALINA_HOME/common/lib. That will let Tomcat use it for authentication and your webapps use it for db access. Rick - Original Message - From: "albert woltman" <[EMAIL PROTECTED]> Hello, I'm using Tomcat 4.0 and Interbase 6.

Re: newbie---tomcat classpath

2002-07-23 Thread Rick Fincher
Hi, That means you have to put the driver files (usually in a jar file) someplace where Tomcat can see them. A good place for jar files is CATALINA_HOME/common/lib. If it is there Tomcat can use it and your webapps can too. If your driver files aren't in a jar you can put them in CATALINA_HOME

Re: Replacement of IIS

2002-07-24 Thread Rick Fincher
I believe Front Page suports WebDav and newer versions of Tomcat do as well. So you shouldn't have too much trouble. Rick - Original Message - > Hello all, we are looking for other means on replacing IIS on our servers. > We do have a web editor called FrontPage to edit our web sites fro

Re: Tomcat 4.1.7 admin appliaction problem

2002-07-24 Thread Rick Fincher
Hi James, You have to have a security realm set up to use the manager. Just a shot in the dark but that may be your problem. Rick - Original Message - > Hi all > > I have just installed Tomcat 4.1.7 on a machine running Win 2000 Profession > ed > > Everything seems to work fine except

Frame annoyance

2002-07-24 Thread Rick Fincher
Hi, I have a webapp that uses Tomcat login security and html frames. If a user's session times out, and the user tries to access the webapp Tomcat calls the login page as expected. The problem is that the old frame is still in the browser and the login page appears in whichever frame was last a

Re: Frame annoyance

2002-07-24 Thread Rick Fincher
Thanks Craig, That is perfect. I was hoping to avoid JavaScript, but I couldn't find any other way. Thanks again! Rick - Original Message - > > > On Wed, 24 Jul 2002, Rick Fincher wrote: > > > > Hi, > > > > I have a webapp that uses Tomcat

Re: Deploying precompiled JSP

2002-07-30 Thread Rick Fincher
Thanks Sylvain, I've posted several questions about JSPC and never got a response. I guess few people do it. Anybody know if Tomcat responds to the JSP precompile directive and compiles stuff upon loading? Rick - Original Message - From: "St-Germain, Sylvain" <[EMAIL PROTECTED]> To: "

JSPC Precompiling Issues and a handy utility

2002-07-31 Thread Rick Fincher
Hi All, There has been some discussion on here and on the TAGLIBS list about precompiling JSP's in Tomcat. To avoid confusion, before I go on I want to point out that there has been a change in Tomcat 4.1.8 in the naming conventions of servlets generated from JSP's. In 4.1.8 a JSP file CATALINA

Re: Please help me... URGENT

2002-08-01 Thread Rick Fincher
Hi, If you need to get it up and running fast, just use Tomcat with SSL. You can always add Apache later if you think it will boost performance. Setting up an Apache+SSL+Tomcat server can be tricky if you are a newbie (and even if you aren't). A lot of this depends on what you are running and

Re: JSPC Precompiling Issues and a handy utility

2002-08-01 Thread Rick Fincher
Hi David, Thanks for the response. I'm using an IDE and all it does is spit out a war file with the JSP sources and WEB-INF. I guess it can't use class files because it has no knowlege of the container environment it will be deployed in. So it looks like what I need to do is write an ant scrip

Memory Leak in JDK 1.4.0 Compiler?

2002-04-18 Thread Rick Fincher
Hi All, I heard somewhere that there was a memory leak in the JDK 1.4.0 compiler and it shouldn't be used with Tomcat. I can't find the reference to that and was wondering if anyone else heard this? Sorry if this is repetitive, I just signed on and the FAQ is empty. Rick

Apache vs Tomcat

2002-04-18 Thread Rick Fincher
Hi All, Anybody have any experience with relative performance of pure Tomcat vs Apache/Tomcat in a real world environment, particularly with SSL? Thanks, Rick -- To unsubscribe: For additional commands: Troubles with the list:

Re: initializing Session state during realm login

2002-04-22 Thread Rick Fincher
Hi Tim, Your main (or index) page is your init page. After a successful login you can get the username and role from the request object with the getRemoteUser() and isUserInRole("roleNameString") methods. If you need more data than that you can try stuffing data into the session in your login fo

Re: domain:8080

2002-04-22 Thread Rick Fincher
Edit that in server.xml in the conf directory. Tomcat defaults to 8080 (or 8443 sor SSL rather than 443) because some systems make you jump through a lot of hoops to use ports with numbers below 1000 for security reasons. Rick > Our web site domain name is hudsonwholesalers.com > > The site st

Re: JDBC realm problems

2002-04-22 Thread Rick Fincher
Hi Ken, Have you tried setting the debug level to 99 in the realm tag in server.xml? You may have already done this, but it will add a lot more info to the log about the process of getting into the realm. Rick > Hi, > > I've spent many hours last week and a few more today trying to get JDBC > s

Re: 404 Errors and no log file

2002-04-22 Thread Rick Fincher
Hi Eric, If your log is empty you may not have CATALINA_HOME set up correctly. If you used a Tomcat 3.x and are using some old scripts they may have TOMCAT_HOME set up in them. They will need to be changed to CATALINA_HOME. You should see some messages in the logs. Are the permissions of the

Re: JDBC realm problems

2002-04-22 Thread Rick Fincher
Hi Ken, The spec allows the values: connectionName="username" connectionPassword="password" in the realm tag in server.xml. You might try that instead of putting the username and password in the connection URL. Tomcat then builds the string for the URL with the connection parameters in it.

Re: Do I have to use j_security_check to authenticate?

2002-04-22 Thread Rick Fincher
Hi Ben, Someone else today had similar questions so you might want to check for the subject "initializing Session state during realm login." This was in Tomcat 4.0.x which has this built in. If you use FORM level security you submit your own jsp page as the login page and another as the page to

Re: Catalina - Memory Usage always accumulating after one week

2002-04-25 Thread Rick Fincher
Hi Albert, There is a memory leak in the javac compiler in JDK 1.4.0. This is described in the release notes with Catalina. You can work around it by using jspc to precompile your JSP's or by dropping back to JDK 1.3.1. Hopefully it will be fixed in JDK1.4.1. Rick > Hi Tomcat User, > > I use

Coyote with SSL

2002-04-26 Thread Rick Fincher
Hi, Can coyote be configured for use with SSL? How stable is coyote? Thanks, Rick

Re: jdbc realm + form authenication setup

2002-04-29 Thread Rick Fincher
Hi Julie, In your web.xml file if you specify auth-method FORM you have to give it two form names like so: FORM /login.htm /loginFailed.htm You only use realm-name if you are using the BASIC authentication scheme. You have to provide the pages for form-login and

Re: digested passwords: using RealmBase.Digest() in a jsp

2002-05-02 Thread Rick Fincher
Hi Ralph, Have you tried putting catalina.jar in common/lib/ or /java/jre/lib/ext/ or even WEB-INF/lib? I don't know if Tomcat can get by without it in tomcat/server/lib, but you may need to move it to prevent multiple class loading, but I doubt it. Rick - Original Message - From: "Ra

Tomcat speed vs Apache-Tomcat

2002-05-03 Thread Rick Fincher
Hi All, Does anybody have any experience with the speed of Tomcat versus an Apache-Tomcat combination? I know Apache has a lot of features not in Tomcat, but just in the area of relative performance, how does Tomcat fare? I know this is also highly dependent on the mix of html and jsp pages,

Re: [ANNOUCEMENT] Apache Tomcat 4.1.0 Alpha

2002-05-06 Thread Rick Fincher
Hi Jon, I have not used it, so I can't say how well it works but the 4.1 server.xml and example webapps have examples showing how use JNDI for that. The admin webapp (kind of confusing terminology, manager now refers mostly to persistence management and the admin webapp is the administration int

Re: Custom Login Procedure

2002-05-06 Thread Rick Fincher
Hi Eddie, Put something like the following in your web.xml and set up a realm in server.xml. The CONFIDENTIAL tag causes SSL to be used, drop it if you don't want SSL. Your login form has to have a form with action="j_security_check" and that form must have the input fields "j_username" a

Re: solaris netscape

2002-05-06 Thread Rick Fincher
Hi Wei, I have used Netscape (4.7) with Tomcat 4.0.3 and had no trouble doing that, so Netscape 6 should work. Any browser that does HTML should work. I suspect it is a Netscape configuration problem since it works OK on a Windows box. I've had a lot of problems with Netscape 6 on Solaris, so

Re: Memory Leak of JDBC Drive

2002-05-06 Thread Rick Fincher
Hi Jack, What JVM are you using? Java 1.4 has a memory leak in the javac compiler that causes a problem under Tomcat. Are you sure it's SQL Server and not Tomcat with the memory leak? Rick - Original Message - > Hi all, > I am using JSQLConnect Drive from NetDirect for SQL server con

Re: Memory Leak of JDBC Drive

2002-05-07 Thread Rick Fincher
Hi Oki, You can work around the problem by precompiling your web apps with jspc, or you can use JVM 1.3.1. It's an easy work around. You just need to be aware of the problem. Rick - Original Message - > On 05/07 02:59 Rick Fincher wrote: > > What JVM are you using?

Re: help, JDBCRealm, Why Need to authenticate three times to login

2002-05-07 Thread Rick Fincher
Hi Hillel, This is a longshot but you aren't calling login.jsp directly are you? It should generate errors if you do, but it's just a thought. Also, what are the implications of making your login page a jsp as opposed to an html? I haven't tried it, but can that cause a second call to the auth

Re: Frameset problem

2002-05-07 Thread Rick Fincher
If your index.jsp is a frameset each frame gets called with a different session number. You may need to make a simple index.jsp that calls your frameset, otherwise session info set in one frame won't be available to pages in another frame. Rick - Original Message - From: "Vincent Lamber

Re: WAR files don't unpack if the webapp is already there

2002-05-09 Thread Rick Fincher
Older versions of Tomcat don't, new ones will if you set "reloadable" to true in the context. It will monitor WEB-ING/lib and WEB-INF/classes for changes and reload if it detects any. This canj cause a performance degradation on your server so you may only want to do this for development. Rick

We need a FAQ

2002-05-09 Thread Rick Fincher
We need a FAQ for this list. Is there one already somewhere? A lot of the questions are answered in the docs, but you have to know where to find them. A FAQ with links to the relevant doc pages would be great. If one doesn't exist, maybe we can make one and just post it to the list once a week

Re: Fwd: please help:Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error

2002-05-09 Thread Rick Fincher
You need to set the CATALINA_HOME systemwide by going to the control panel, opening sysem, selecting the "Advanced" tab and clicking "Environment Variables". That's for Win 2000. It's similar, but a little different (if I remember correctly) on other Win versions. You can look it up under help

Re: any jsp/servlet based groupware solutions out there?

2002-05-14 Thread Rick Fincher
Hi All, I have a few simple things I could contribute, like a contact database that lets users share a database of name, address, etc, etc. info. It uses an SQL DB but it's all open source. I'm working on a program to syncronize it with Palm Pilots, but that has a ways to go. I've also got a s

Re: REPOST - Digest Authentication with Memory Realm

2002-05-15 Thread Rick Fincher
Hi Shimon, Those browser versions probably don't support Digest authentication. The default is Base 64 encoding (not encryption) so at least your password don't go as clear text. If you don't want to use HTTPS you'll have to use form based authentication and put an applet in your form to encryp

Re: Session variables

2002-05-15 Thread Rick Fincher
Hi Benjamin, The sessions have a timeout value. If there is no action on a session for that amount of time the server kills it. You can also invalidate a session in your program, usually with a "logout" page, but there no guaranteeing that the user will do it. A snooper could technically get a

Re: Session variables

2002-05-15 Thread Rick Fincher
ource code. Rick > > You don't know how I can have information about the implementation of > HttpSession ? > > Benja. > > > > > -----Original Message- > From: Rick Fincher [mailto:[EMAIL PROTECTED]] > Sent: mercredi 15 mai 2002 16:17 > To: Tom

Re: Session variables

2002-05-15 Thread Rick Fincher
You may want to look at the J2EE docs at: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html and look at javax.servlet.http.Http.Session. These have the details about the calls used by Tomcat to implement sessions. To see exactly how Tomcat does it, you'll have to look at the Tomcat surce c

Re: ***Please reply as no one on this list has offered ANY help***

2002-05-21 Thread Rick Fincher
Hi Stuart, It looks as if you have a problem with instance variables (variables in a class declared outside a method). All logins are going to be using the same copy of the code, i.e. same variable space etc. All synchronizing does is make sure that the threads play nice when modifying the varia

Re: tomcat download question

2002-05-22 Thread Rick Fincher
Hi Steve, Yes, it's pure java. They have differen't files because of the various compression schemes used on the files. The .bat files for Windows and the .sh files for Linux/Solaris/Unix are in all the downloads. Rick - Original Message - From: "Steven C. Chau" <[EMAIL PROTECTED]> To

Re: STATUS 500 - Unable to compile class for JSPNote

2002-05-30 Thread Rick Fincher
I've had the same problem and the code works fine on Tomcat 3.x but the JSP's won't compile under 4.x. The tags are in a tag library jar called jtl.jar. You don't need a tld directory if you use a jar. According to the JSP 1.1 spec it is assumed that the tld will be in a file called taglib.tld i

Re: Connection Pooling Solution

2002-05-30 Thread Rick Fincher
Because the MySql driver is a javax.sql.DataSource and that's what gets passed back by the pool, making the pool transparent (no pun intended). That way you can later change the driver or the pooling details without changing your code (assuming the SQL dialect still works). Rick - Original

Re: No such tag error

2002-05-30 Thread Rick Fincher
The problem is that in messagecontent.jsp and messageheaders.jsp they are using the javamail tag to set msginfo then later they are directly accessing methods of msginfo in java scripts. This requires that the classes messageInfo and attachmentInfo have to be imported in messagecontent.jsp and me

Re: JDBCRealm/Form login get current user ?(hope Craig is listening).

2002-12-02 Thread Rick Fincher
Hi David, String user = request.getRemoteUser(); Returns the username of the current user if authentucated or null if not authenticated. See HttpServletRequest in J2EE platform docs for more info. Rick - Original Message - From: "David Brown" <[EMAIL PROTECTED]> > > Hello tc-users and

All Threads Waiting error?

2002-12-04 Thread Rick Fincher
Hi All, Anyone got an idea of what an "All threads waiting" error is and how to increase the number of threads or un-deadlock them? I had this problem with Tomcat 4.1.14 on a Solaris 8 box with JDK 1.4.1. The error messages I got are below. Thanks, Rick Dec 2, 2002 7:05:09 PM org.apache.tomc

Re: Retrieve User - Realm

2002-12-16 Thread Rick Fincher
A user is an entity with a user name. That's all you know about them unless you have more info stored locally. A Principal is an object that contains a name as a minimum, but also contains other data that varies depending on what type of security system is used. >From the docs: getRemoteUser()

Re: in search of more efficient design

2002-12-19 Thread Rick Fincher
Is this correct? My JVM memory use expands and contracts all the time during a Tomcat run. The JVM will get bigger until it hits the memory limits set up at start time, then it will GC and get smaller, according to the OS anyway. This is on Solaris but I can't imagine that they would make the JV

Re: JDBCRealm

2003-01-02 Thread Rick Fincher
Hi Rob, Try it in clear text without the MD5 digest, to verify that your password, username, role, etc are correct. I had a lot of problems with digesting. Also some databases return column names in upper case even if they are in lower case so you may want to try all caps on your db column names

Re: JDBCRealm

2003-01-02 Thread Rick Fincher
Hi Rob, > Ok, I tried cleartext passwords, but I came up with the same result. I don't > understand why tomcat is able to start up at all, if the authentication is > failing. Users are authenticated not Tomcat, so starting Tomcat has nothing to do with authentication. Tomcat is just a Java prog

Re: JDBCRealm

2003-01-06 Thread Rick Fincher
Hi Rob, You have two separate sets of usernames and passwords here. One that the JDBC driver uses to open the database connection, and another set that Tomcat reads from a database table and compares to what you type in when prompted The realm stuff sets up when Tomcat starts, but it just sits t

Re: JDBCRealm

2003-01-07 Thread Rick Fincher
Yeah, looks like you almost have it. The MD5'd password should be in pg_shadow in the userCredCol, passwd in this case. Be advised that you should either use only HTTPS for this, or run Tomcat on the same server as Postgres, or run them both on a secure net behind a firewall on separate machines

Re: JDBCRealm

2003-01-08 Thread Rick Fincher
- Original Message - > The MD5'd password *is* in the pg_shadow.passwd column. I don't see what > I'm doing wrong. Is Postgres (or anything other than Java) generating the MD5'd passwords for the pg_shadow table? If so, have you manually generated the MD5's to see if they are the same?

  1   2   >