RE: Security Realm Limitations (More on protecting PDF documents.

2002-07-02 Thread Cox, Charlie
you didn't mention your version, but filters are a 4.x feature. There are filter examples in the 'examples' context under /WEB-INF/classes/filters Charlie -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 01, 2002 12:47 PM To: [EMAIL PROTECTED]

Re: Oracle jdbc driver not found

2002-07-02 Thread Larry Meadors
When using the oci driver, you need to have ocijdbc8.dll (on windows) somewhere on the system path. Larry [EMAIL PROTECTED] 07/02/02 10:18 AM I'm using Tomcat 4.0.4 tyring to access Oracle 8.1.7 via oci driver. here is the error that I got javax.servlet.ServletException: no ocijdbc8 in

RE: j_security_check question

2002-07-02 Thread BBui
Does it load the login form for you? -Original Message- From: Kevin Andryc [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 11:45 AM To: Tomcat Users List Subject: j_security_check question I am using a servlet as a login form that uses j_security_check. When submitted I would

Virtual site

2002-07-02 Thread eric aboudaram
I try, but i don't found doc for virtual domain under tomcat 4.0.3 on windows 2k if someone can help me, it ll be great i search news for www.site.com go to directory webapps\site and www.site2.com go to directory webapps\site2 i don't want to do http://localhost/site for webapps\site i

RE: Connection Pooling

2002-07-02 Thread Turner, John
Using a JNDI Resource, tomcat has connection pooling built-in. Since tomcat is the reference spec for Java application servers, my guess is that the pooling in Websphere is simply the same. Here is the how-to for JNDI: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html

RE: j_security_check question

2002-07-02 Thread Kevin Andryc
When I type in the URL: http://localhost:8080/dev/servlet/CustomLogin The form loads with the respective username and password fields. But when I submit the form to be authenticated, that is when the error appears. Sincerely, Kevin Kevin Andryc Web Systems Engineer MISER

Re: Connection Pooling

2002-07-02 Thread Jacob Kjome
Hello Kevin, See this: http://marc.theaimsgroup.com/?l=tomcat-userm=102348915728231w=2 and this: http://marc.theaimsgroup.com/?l=tomcat-userm=102383138524775w=2 also this: http://marc.theaimsgroup.com/?l=tomcat-userm=101631189730747w=2 They might be what you are looking for. Jake

Impossible to calculate session duration ?

2002-07-02 Thread Frank AFRIAT
Hi ! I wanted to calculate session duration so I created a Session Listener waiting for a sessionDestroyed() Event. But when I want to calculate Session Duration with session.getCreationTime(), I get the exception : java.lang.IllegalStateException: getCreationTime: Session already invalidated

RE: HTTP Status 500 - No Context configured to process this request

2002-07-02 Thread José Montiel
Hi Mark, Ok I'm not totally clear with you set up, but try this Your context in Tomcat should look like this Context path=/manager docBase=/bioinformatics/webapps/manager debug=0 privileged=true / if it doesn't work try

apache2.0.39 + tomcat4.1.x Virtual Hosts

2002-07-02 Thread Luminous Heart
I managed to upgrade to the above combo on Linux. My site runs 2 different domain names. Each of these domains has 3 subsites something like sub1.domain1.com and sub2.domain2.com. All my applications set in /usr/local/tomcat/webapps. I have Virtual Hosts and Contexts defined for my

Ahh Native Library Hell

2002-07-02 Thread Collins, Jim
Hi all, I have been having a lot of trouble trying to get a servlet to call some native methods. My first servlet I deployed via the manager app, the first time everything went OK. When I removed the app and deployed it again I got errors because the native library had already been loaded, I

tomcat 4.0.3: user classpath not passed in,setclasspath.bat clobbers it

2002-07-02 Thread Dave Been
My servlet communicates with IBM DB2 UDB, which has a lot of jar files and class files. To deploy my app, i do not want to bundle my version of UDB's jar/classes, because it probably won't match the user's version of UDB. It appears that i have to copy them (have the user copy them) to

Re: mod_jk.so not working on upgrade

2002-07-02 Thread developer
HELP i asked this question yesterday still no reply ryan On Mon, 1 Jul 2002 [EMAIL PROTECTED] wrote: Having problem upgrading a box. The box is running red hat linux 6.2 with apache 1.3.20 with modssl, it is running with Tomcat 3.2.2. I was in the process of upgrading my apache 1.3.20 to

RE: APR not loaded?

2002-07-02 Thread Douglas, Rory
Title: RE: APR not loaded? Try setting APACHE2_HOME environment variable to point to your Apache2 directory. That should do the trick cheers Rory -Original Message- From: Short, Dave [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 12:45 PM To: 'Tomcat Users List' Subject:

RE: plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Dmitry ...
Hove you tried to use the mm jdbc driver with JDBCRealm? I have been trying to get the JDBCRealm to work with this driver. I've settled for the jdbc:odbc driver for now, but would be very interested to see if/how anyone got the mm jdbc driver to work with JDBCRealm. Thanks. Dmitry Les Hughes

Re: OT JBoss site offline?

2002-07-02 Thread Anthony W. Marino
http://sourceforge.net/projects/jboss is still online however. Anthony Does anyone know what's going on? d. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: j_security_check question

2002-07-02 Thread John Gregg
Is CustomLogin a resource at a protected URL, or is it a servlet that itself spits out a login page? You can't access j_security_check directly. Instead, you need to access a protected URL, the container sees that you're not logged-in and redirects you to the login form, you submit the login

TC4.1.6 LE Zip

2002-07-02 Thread Anthony W. Marino
Is this a window's, *nix, or archive for both os types? I'm use to seeing a *tar.gz here. Thank You, Anthony -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Cindy Ballreich
Hi Clay, It's a small net. I hope you are well!! I haven't tried using Struts yet, but I've been thinking about checking it out. I did try the JNDI/DBCP method described at the URL you posted and it does work and it seemed to be pooling correctly. However, the connection times out after a

RE: j_security_check question

2002-07-02 Thread Kevin Andryc
CustomLogin.class is a resource at a protected URL which also contains the login form. So here is how it works (or how I would like it to work). I have a CustomLogin class: CustomLogin.class (located in /dev/WEB-INF/classes/) public class CustomLogin extends HttpServlet { public

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Arshad Mahmood
Hi, I notice that you are doing the JDBC lookup in the init function. This doesn't appear to work properly (at least on 4.1.6), move the initialisation code to the doGet/doPost and see if that helps. This cured my JNDI/JDBC problems. Regards. - Original Message - From: Przemyslaw

tc 4.0.4 + apache 2.0.36: mod_jk vs mod_proxy

2002-07-02 Thread Ekkehard Gentz
hi, we have a question ? when should we use mod_proxy and when mod_jk ? we have a webapp with jsp's, which works best with tc 4.0.4 and apache 2.0.36 as tandem, because apache serves the static content much better (many gifs for toolbars, many pdf-files etc) at this time we have configured this

TOMCAT 4.0 + apache 2.0.39

2002-07-02 Thread Joey Kovacs
I am using Apache 2.0.39 + tomcat 4 + Java 2 SDK 1.3.1_03 I also installed ANT in c:/ant I also installed Download the tomcat connectors source from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/jakarta-tomcat-connectors-4.0.2-01-src.zip. all from this site

Re: Virtual site

2002-07-02 Thread rsequeira
You need Host and Context elements for each domain. Something like this: Host name=www.site.com debug=0 appBase=webapps unpackWARs=true Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=localhost_www_site_com_log. suffix=.txt

RE: tc 4.0.4 + apache 2.0.36: mod_jk vs mod_proxy

2002-07-02 Thread Brett Knights
This sounds intriguing as I am currently screwing around with trying to get TC 4.04 working with Apache 2.039 under Win32. What happens when a web app needs authentication? Do 401 responses work through a proxy? Can requests still be authenticated by Apache and if so does the current user pass

RE: APR not loaded?

2002-07-02 Thread Short, Dave
I set APACHE2_HOME = c:\apache2 - no luck... -Original Message- From: Douglas, Rory [mailto:[EMAIL PROTECTED]] Sent: July 02, 2002 10:07 AM To: 'Tomcat Users List' Subject: RE: APR not loaded? Try setting APACHE2_HOME environment variable to point to your Apache2 directory. That

Default Servlet Parameters

2002-07-02 Thread Manchan
*** THE QUESTION *** I'd like to load global init parameters for my servlets on Tomcat, in the manner which Jserv accomplishes with its |zone.properties| file using the line |servlets.default.initArgs=myParameter=myValue|. *** MY GUESS TO QUESTION *** I presume the Tomcat analogue to the above

RE: j_security_check question

2002-07-02 Thread John Gregg
No can do-ski. The container needs to know where to send the user upon successful authentication, but if your application presents a form to a user that gets submitted to j_security_check, the Tomcat authentication stuff won't know where to send the user when the operation completes. Your

RE: tomcat 4.0.4 apache 2.0.39 integration

2002-07-02 Thread Charles Baker
--- Koes, Derrick [EMAIL PROTECTED] wrote: http://www.galatea.com/flashguides/index snip Really nice useful link. Thanks = [EMAIL PROTECTED] Hacking is a Good Thing! See http://www.tuxedo.org/~esr/faqs/hacker-howto.html __ Do You

FreeBSD and SSL Troubles

2002-07-02 Thread Pedro P. Mata
Hello All, Tomcat 4.0.1 FreeBSD 4.5 (w/ Linux Kernal Support) Java JRE 1.4 Problem: SSL configured with a publicly signed cert in the keystore as described by the Tomcat SSL-Config instructions provided byApache/Jakarta. The configuration has been tested using Tomcat 4.0.1 on a

RE: APR not loaded?

2002-07-02 Thread Joey Kovacs
what is the APACHE2_HOME used for,, I dont have that in my enviroment From: Short, Dave [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: APR not loaded? Date: Tue, 2 Jul 2002 16:42:53 -0400 I set APACHE2_HOME = c:\apache2 -

j_security_check problem (two applications)

2002-07-02 Thread Brzezicki, Jerzy
Hi, I have two applications within the same Tomcat 4 container. I want to configure FORM type of authentication so user needs to login only once. I configured JDBCRealm that worked ok with BASIC type of authentication. What I mean by ok was that while switching from one application to

RE: j_security_check problem (two applications)

2002-07-02 Thread BBui
Do you have single-sign-on set up? -Original Message- From: Brzezicki, Jerzy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 4:38 PM To: '[EMAIL PROTECTED]' Subject: j_security_check problem (two applications) Hi, I have two applications within the same Tomcat 4

RE: j_security_check problem (two applications)

2002-07-02 Thread Brzezicki, Jerzy
Thanks for response. I have login.jsp defined in both applications. That is the login.jsp has the same content but there are two files: /usr/local/tomcat/webapps/first_app/login.jsp and /usr/local/tomcat/webapps/second_app/login.jsp In both deployment descriptors

Re: Heavy traffic trouble

2002-07-02 Thread lsalas
I listen about the same problem with apache and linux, but my real problem is the heavy traffic, I can work with FreeBSD, but, how much connection you have on your site? - Original Message - From: Adrian [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, July 01,

Re: Heavy traffic trouble

2002-07-02 Thread Joey Kovacs
Hey mario., Im still having lots of troubles man Who is your friend that can help!? I have tomcat and Apache running perfectly.. Just telling Apache where to find tomcat is the hard part everytime I add a Include statement or a LoadModule in the httpd.conf file of apache I get an error. And

RE: Connection Pooling

2002-07-02 Thread William Gustave
There is plug-in in the nightly builds http://jakarta.apache.org/builds/jakarta-commons/nightly/ Check out the following commons-dbcp/ commons-pool/ This link is a howto someone using this email group put up. http://marc.theaimsgroup.com/?l=tomcat-userm=102225547106556w=2

64bit Java 1.4 on Solaris

2002-07-02 Thread Rob Helmer
Hello, I am trying to run 64-bit Java 1.4 w/ Tomcat, and I get a sig 11 everytime I start up with -d64, -server or both. -client works, without -d64 works. Any known issues with this configuration? Is there any helpful debugging I can do or data that I can provide? TIA, Rob Helmer -- To

Re: Where can I find SCO binaries for Tomcat

2002-07-02 Thread Adrian
Are you talking about Tomcat itself ? Tomcat is a java binary cross platform and all that. I run the same version of Tomcat on Win98, Gentoo Linux, and Windows. As for connectors, you can always role your own. If you have trouble, let me know I spent a couple years working with OpenServer, and

RE: Where can I find SCO binaries for Tomcat

2002-07-02 Thread Mike Jackson
I run on sco unixware (or rather caldera). All you need to do is get the binary distribution and unpack it. You'll probably need the gnu version of tar however, as the unixware tar doesn't seem to deal with links properly, at least not the ones that the binary installs have in them. You'll

RE: EJB

2002-07-02 Thread Dmitry ...
I d/loaded JBoss3.01 + Tomcat bundle. Docs are available for $$. A free quickstart manual, I found, not the most helpful. I do not mind paying $10 for the docs, but are they much better than the quickstart manual? Are there working examples (for version 3.0+) that you could point me to, or

RE: tomcat 4.0.4 apache 2.0.39 integration

2002-07-02 Thread Lu . Jian-An
I encounter problem with jakarta-tomcat-connectors-4.0.4-src The jakarta-tomcat-connectors-4.0.2-01-src works fine, you can try it, the rest is the same. Koes, Derrick [EMAIL PROTECTED] 07/02/2002 08:52 PM Please respond to Tomcat Users List To: 'Tomcat Users List' [EMAIL

Authentication and role management

2002-07-02 Thread Sarah Walters
This is my first post to the tomcat list, so hello all. I am working on a project to automate management of a service via a web interface. I need to be able to authenticate users of my software and assign roles to them. So far, standard Realm stuff. But I have a couple of hiccups. Firstly, I do

RE: plain MySQL DataSource in Tomcat (i know, damn topic)

2002-07-02 Thread Clay Graham
Cindy, you rock and are very helpful...I had great success using the STRUTS pooling, so I am a little disappointed that isn't working for me right now does anyone know if the STRUTS pool is better than the new JNDI pools, or worse? just fishing LOVE YOU ALL! clay -Original

tomcat php problem

2002-07-02 Thread prashant_dabre
Hi, I have installed tomcat 4.0.3 on redhat 7.1 I have integrated tomcat and apache using mod_webapp.so But i am not able to see .php file of my virtual host site. when i type http://host.mydomain.com/test.php in my webbrowser it ask me to download the file instade of showing me page.

Re: Where can I find SCO binaries for Tomcat

2002-07-02 Thread Nikola Milutinovic
I have been using tomcat for a little while now, on Linux and Win2K and love it to bits. I have a need to run it on a SCO Openserver box, and I have been trying to locate some binaries for it. Tomcat is a pure Java application, so go to jakarta.apache.org and download the (general

Re: Updating files without restarting Tomcat

2002-07-02 Thread A. Alfred Ayache
I've actually had problems with the reloadable attribute. I think it may be broken. You may try the HTMLManager application, which allows you to monitor, start, stop and reload your various webapps. You'll need to modify the conf/tomcat-users.xml and webapps/manager/WEB-INF/web.xml;

Re: Tomcat 4.0.4, jndi, jdbc and postgresql [long]

2002-07-02 Thread Nikola Milutinovic
Neither adding description nor removing slashes helped. I've checked the path in manual: jdbc:postgresql:database jdbc:postgresql://host/database jdbc:postgresql://host:port/database This last form is the most complete one. Anyway, that will not make a difference, since it is up to

AW: 64bit Java 1.4 on Solaris

2002-07-02 Thread Ralph Einfeldt
Tomcat itself can't create a sig 11. The only ways a sig 11 can happen are errors in the jvm or in a native library. Tomcat has no native library, so typical sources for this kind of trouble are the vm, the native libraries of the jdk or the native libraries of third party extension (like

<    1   2