RE: Tomcat 5.5 and SQL Server

2005-07-11 Thread Anderson, M. Paul
al Message----- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: 11 July 2005 16:35 To: Tomcat Users List Subject: Tomcat 5.5 and SQL Server I am running Tomcat 5.5 with SQL Server on a separate machine. I am getting the following error at random times: Java.lang.Exception: java.sql.SQ

Tomcat 5.5 and SQL Server

2005-07-11 Thread Anderson, M. Paul
I am running Tomcat 5.5 with SQL Server on a separate machine. I am getting the following error at random times: Java.lang.Exception: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Connection rest by peer: socket write error. I have been unable to determine a trigger for this

RE: Mapping context to root of website

2005-03-10 Thread Anderson, M. Paul
efine each app as the ROOT context for that host. Doug - Original Message - From: "Anderson, M. Paul" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 10, 2005 1:53 PM Subject: RE: Mapping context to root of website How would I do this if I

RE: Mapping context to root of website

2005-03-10 Thread Anderson, M. Paul
How would I do this if I am just using Tomcat (no apache, IIS, etc.)??? -Original Message- From: Ronnie Tartar [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 1:50 PM To: Tomcat Users List Subject: RE: Mapping context to root of website Is there a way to do this with jk or jk2?

RE: JDBC Realm by-passing login page using a link

2005-03-10 Thread Anderson, M. Paul
It is my understanding that the JDBC realm will execute prior to any filters or other servlets, so I wouldn't think this would be possible unless you perform your own authentication - possibly in a filter - to do just what you're looking for. -Original Message- From: Fredrik Liden [mailto:

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
--- "Anderson, M. Paul" <[EMAIL PROTECTED]> wrote: > Did you import javax.servlet.http.* ? > > -Original Message- > From: Rahul Joshi [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 10, 2005 1:19 PM > To: tomcat-user@jakarta.apache.org > Subject: Ca

RE: Cannot compile class in WEB-INF/classes

2005-03-10 Thread Anderson, M. Paul
Did you import javax.servlet.http.* ? -Original Message- From: Rahul Joshi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 1:19 PM To: tomcat-user@jakarta.apache.org Subject: Cannot compile class in WEB-INF/classes I have a Simple JSP page in my webapps/myappname. I have a util

Limiting number of login attempts

2005-03-10 Thread Anderson, M. Paul
Is there a way to limit the number of login attempts for a user when using a JDBC realm? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: file watcher

2005-03-10 Thread Anderson, M. Paul
What is a "file watcher"? -Original Message- From: deepak suldhal [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 7:41 AM To: Tomcat Users List; Antony Paul Subject: Re: file watcher if you have a file watcher Please email, it will help me a lot. Thanks Antony Paul <[EMAIL

JSP/Servlet Mailing List?

2005-03-07 Thread Anderson, M. Paul
Does anyone know of a good JSP/Servlet mailing list/help list that is both active and similar in format to this group? Thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat at Standalone

2005-03-04 Thread Anderson, M. Paul
This question must have been asked a million times but I can't seem to find any information on it - any advice would be appreciated. I need to stand up a web site that will only serve jsp and servlets. I suspect the number of concurrent users will be no more than 10, but it could possibly grow in

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
pira.com >-Original Message----- >From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] >Sent: Tuesday, November 30, 2004 10:17 AM >To: Tomcat Users List >Subject: RE: org.apache.catalina.connector.Request > >I am creating a custom realm because I want to take advantage of

RE: org.apache.catalina.connector.Request

2004-11-30 Thread Anderson, M. Paul
authentication based on your requirements. Servlet Filters would probably be much easier. As for the java imports, importing a class and importing a source file are 2 totally different actions. -Tim Anderson, M. Paul wrote: > Sorry for another question...I am using Tomcat 4.1 ... Is

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
. To do this I need access to a Response object but I can't seem to get at this very easily. I find it odd that in Java the imports in a base class do not carry over into a derived class...this is not like c++ as I am use to. -Original Message- From: Anderson, M. Paul [mailto:[EMAIL

RE: org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Never mind...I realize now it's in Tomcat 5 and I'm still using Tomcat 4. -Original Message----- From: Anderson, M. Paul [mailto:[EMAIL PROTECTED] Sent: Monday, November 29, 2004 3:12 PM To: Tomcat Users List Subject: org.apache.catalina.connector.Request Can anyone tell me

org.apache.catalina.connector.Request

2004-11-29 Thread Anderson, M. Paul
Can anyone tell me which jar file the "org.apache.catalina.connector.Request" class is in? I can't find it to add it to my project to allow me to compile my custom realm. Thanks a lot!! - To unsubscribe, e-mail: [EMAIL PROTECTE

Return Custom Error Page from Realm

2004-10-29 Thread Anderson, M. Paul
I've created a derived realm that performs a custom authentication scheme. I'd like to be return a custom error page when the user has attempted to login to the system > 3 times and failed. The user will be locked out until a sys admin allows them back in. Since I'm obviously doing the authen

Does DIGEST work in Tomcat 4.1.24?

2004-10-27 Thread Anderson, M. Paul
Looking at RealmBase, it doesn't seem as if DIGEST authentication can ever work: public Principal authenticate(String username, String clientDigest, String nOnce, String nc, String cnonce, String qop, String realm, String md5a2) { String md5a1 = getDige

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Thanks again! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 12:02 PM To: Tomcat Users List Subject: RE: org.apache.catalina.Realm Hi, Or follow any of the links that say "CVS Repositories" on the apache.org pages, which will take you her

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Is there somewhere I can find the implementation of the JDBCRealm class? Looking at the Realm "how-to" I don't get a lot of information about sequence of calls, what methods are overridable, etc. Can anyone point me to the implementation of this class? -Original Message- From: Larry Mea

RE: org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
THANK YOU!~ -Original Message- From: Larry Meadors [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 11:30 AM To: [EMAIL PROTECTED] Subject: Re: org.apache.catalina.Realm IIRC, it is in $CATALINA_HOME/server/lib/catalina.jar, and that is where you would put your implementation, t

org.apache.catalina.Realm

2004-10-15 Thread Anderson, M. Paul
Can someone help me get started building my own custom realm? I can't seem to locate which jar file this class is in. Also, once I create the Realm in, say for example, package my.realm.package, where do I place the class files so that the custom realm can be accessed from Tomcat? Thanks! -

RE: Using Digested Passwords and DIGEST Authentication at the sam e time.

2004-10-07 Thread Anderson, M. Paul
As I am knew to Tomcat I will ask you to excuse my ignorance. I have just realized (and I am asking those with the necessary experience to verify this) that when you talk about "DIGEST" authentication there are really two separate and distinct forms of it: 1. Indicate to the BROWSER to digest th

Authentication Mechanisms

2004-10-06 Thread Anderson, M. Paul
What mechanisms do you developers typically use for preventing unauthorized access to a web application? I'm trying to determine the best approach for my web app. Here are the basic guidelines I need to follow: 1. We must limit access to the site to registered users. 2. We currently use BASIC

DIGEST Authentication in Tomcat 4 vs Tomcat 5

2004-10-05 Thread Anderson, M. Paul
Can anyone point me to information concerning whether or not DIGEST authentication works in Tomcat 4 and/or Tomcat 5? I have only found conflicting information on the web as well as in several books. Is there a tutorial out there somewhere that would help me set this up? I have seen comments suc

Apache/Tomcat Security

2002-11-20 Thread Anderson, M. Paul
I am preparing to launch my first web site utilizing an Apache/Tomcat configuration. The server will host a single web site, at least for now that uses servlets and jsp with a database backend. I have set up the Apache and Tomcat as discussed in the documentation with much help from people on thi

display default servlet

2002-11-19 Thread Anderson, M. Paul
I tried to search the archive but wasn't even sure what to search for and ended up with TMI... I currently have a servlet that is, and probably will be, the only web application on my server and I would like it to display when the user types in the www.whatever.com email address rather then the us

RE: Help!!

2002-11-19 Thread Anderson, M. Paul
http://localhost/MyServletName/ServletMappedName is supposed to go to Tomcat. How could it? The only JkMount wildcard you have is /*.jsp, which doesn't match. Add a JkMount for /MyServletName/* and you should be OK. John > -Original Message- > From: Anderson, M. Paul [

RE: Please respond, I am at a roadblock, Tomcat cannot find sette r method

2002-11-19 Thread Anderson, M. Paul
I know I'm a newby but if the names work when changed it seems that in my little world maxRows could be changed to maximumRows and lang could be changed to language or something of the sort and still retain meaning? Why are you averse to changing them? -Original Message- From: Jim Cobban

Help!!

2002-11-19 Thread Anderson, M. Paul
Thanks to everyone who has helped me thus far...I think I am almost there... My current setup allows me to enter http://localhost:8080:/MyServletName/ServletMappedName and the servlet displays and works as designed. I can also type http://localhost:8080/Hello.jsp to test a jsp page and this works

RE:

2002-11-18 Thread Anderson, M. Paul
Thanks Yoav...I have some other modifications that were just giving to me for the site and I think I may try to implement the architecture you suggested at the same time. I will check out some tutorials and see what I can come up with. Your help is much appreciated! Any thoughts on how to implem

RE:

2002-11-18 Thread Anderson, M. Paul
That is some good information which I wish I knew before I started the site! What do you think the learning curve is on using filters and would it be worth the effort (dicounting the time/cost factor) to reorganize my design using proper filters? What would be the major benefits of making this cha

RE: [CONFIG] Apache2.0.40 + Tomcat4.1.12 + mod_jk - STILL HAVING PROBLEMS

2002-11-18 Thread Anderson, M. Paul
So the property file that looks like this... Here is my workers.properties file: > workers.CATALINA_HOME=/usr/jakarta/tomcat > workers.java_home=/usr/java/jdk1.3.1_03 > ps=/ > > worker.list=ajp13 > worker.ajp13.port=8009 > worker.ajp13.host=localhost > worker.ajp13.type=ajp13 > worker.ajp13.lbfac

RE:

2002-11-18 Thread Anderson, M. Paul
. PS: Are you using Apache Virtual Hosting? - Original Message ----- From: "Anderson, M. Paul" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 3:09 PM Subject: RE: > ok...essentially I have a url of

RE:

2002-11-18 Thread Anderson, M. Paul
>-Original Message----- >From: Anderson, M. Paul [mailto:[EMAIL PROTECTED]] >Sent: Monday, November 18, 2002 10:10 AM >To: 'Tomcat Users List' >Subject: RE: > >ok...essentially I have a url of the form >www.whatever.org/MyServlet/ServletMappedName where

RE:

2002-11-18 Thread Anderson, M. Paul
y don't you describe more about what you want to achieve. For example what URL do you want your users to type in and what do you want served first? Andoni. - Original Message - From: "Anderson, M. Paul" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" &l

tomcat-user@jakarta.apache.org

2002-11-18 Thread Anderson, M. Paul
Is it possible to have a servlet be the parameter in a welcome-file-list? If so, how do I invoke the servlet? -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Tomcat as NT Service

2002-11-18 Thread Anderson, M. Paul
I reinstalled tomcat to have mine run as a service...on a similar note, can anyone tell me how to get tomcat and apache to load as services in the appropriate order? When I startup it appears that apache gets loaded first and the association is not setup with tomcat properly. When I start them m

RE: ManagedBean is not found with Ajp13Connector

2002-11-14 Thread Anderson, M. Paul
What do you mean "set up your configuration with the coyote connector"? I followed the documenation as given and it uses the AjpConnector. What is it that is using MBeans? I'm totally confused! I am completely new to tomcat and apache and would appreciate any clarification! How can I comment o

RE: ManagedBean is not found with Ajp13Connector

2002-11-14 Thread Anderson, M. Paul
I tried commenting out the lines: in the server.xml file but now my servlet gives me a page not found error. Is there a simple solution to this? -Original Message- From: Jacob Kjome [mailto:hoju@;visi.com] Sent: Thursday, November 14, 2002 3:20 PM To: Tomcat Users List Subject: Re: M

ManagedBean is not found with Ajp13Connector

2002-11-14 Thread Anderson, M. Paul
I have just completed setting up the Apache 1.3.27 web server which will be used with Tomcat 4.1 to serve the servlet and jsp pages. I am also using j2sdk1.4.0_02. I have set up the configuration of my server.xml and https.conf files as described in the tomcat online help for the ajp13Connector.