Re: Tomcat 5.5.9: [JSTL] The absolute uri: http://java.sun.com/jstl/c cannot be resolved in either web.xml or the jar files deployed with this application

2005-07-03 Thread Digby
I think this is what you need now: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"; %> Note the extra /jsp/ Digby Robert Taylor wrote: Greetings, I'm running Tomcat 5.5.9 on Win2K, JDK1.5 and have observed that there is a problem resolving th

Re: Which is best practice for stowing objects, request or session context?

2005-06-04 Thread Digby
when it's a one-off, the session if it might be used by another page, and the application if it will be used by more than one user (which is quite rare). Digby Adrian Beech wrote: Hi all, A work colleague mentioned on Friday it would be better to place objects (beans and the like)

Re: How to get user's password from tomcat

2005-06-04 Thread Digby
I'm not sure you're supposed to be able to get it. Also, what would you expect to get if the password was hashed? Can you not just read the password from the database / ldap source? Digby Larry Meadors wrote: The principle may contain it, but you would have to get it via reflecti

Is there a document on how deployment works now in 5.5.9 (ref context.xml)?

2005-06-04 Thread Digby
o set up ROOT.xml to point to your app if you want the path to be /, but this seems to be deleted when I deploy my app or restart TC. I guess this was done for sensible reasons, but I can't find any documentation on how it works and how I keep my app at the root context. Anyone got

Re: Can't see hosts after upgrading to 5.5.7

2005-03-08 Thread Digby
le:thin:[EMAIL PROTECTED]:1521:mysid" username="scott" password="tiger" maxActive="20" maxIdle="10" maxWait="-1"/> Hope that fixes it. Good luck, - Ole --- Digby <[EMAIL PROTECTED]> wrote: Hi, I'v

Re: Can't see hosts after upgrading to 5.5.7

2005-03-07 Thread Digby
debug="99" dataSourceName="jdbc/users_global" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" digest="MD5"/> and Digby wrote: Ah.

Re: Can't see hosts after upgrading to 5.5.7

2005-03-07 Thread Digby
Ah. Looks like it's just not seeing my context xml file in conf/Catalina, and must be picking the one in the war file up instead. Is this expected? Digby wrote: Hi, I've just installed 5.5.7 and after a few teething problem (mainly the logger and a few old resources), everything s

Can't see hosts after upgrading to 5.5.7

2005-03-07 Thread Digby
s there something I would need to change that i haven't read about? Also, my "root" context doesn't work at root level any more. I've tried a context path of "" and "/", but neither work. Again, has something changed in 5.5? Any

Re: Can server.xml be reloaded without restart?

2004-06-17 Thread Digby
The context is your application so (context)/META-INF is right beside your (context)/WEB-INF. Tomcat will know whch host to use because that's where you deploy it (if you use the deployer) or you can stick the app in the host's appbase folder, and it'll work it out. It did with me anyway. Once

Re: redirectport not redirecting (again!)

2004-06-09 Thread Digby
Aha! I had !! Doh. Knight, Digby wrote: Hi all, I know this has been discussed a thousand times, but I've just tried to set up Https redirection on Tomcat 5.0.19 or 24, and no matter what I do or what instructions I follow, it won't work. Below are snips from my server.xml and applicatio

redirectport not redirecting (again!)

2004-06-09 Thread Knight, Digby
are no problems with the certificate. Many thanks Digby server.xml ... ... web.xml ... Secure Areas /pp/* reg_user CONFIDENTIAL Inecure Areas /* NONE

RE: Can webapps 'share' a security-constraint?

2004-05-26 Thread Knight, Digby
Look at the SingleSignOn valve. -Original Message- From: Barnet Wagman [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 16:53 To: Tomcat Users List Subject: Can webapps 'share' a security-constraint? I'd like users to be able to login once and get access to several web apps. Is it possible

Re: Creating a bean for the session on login

2004-05-25 Thread Digby
I created a filter that checked to see whether the request.getRemoteUser() was set, and if so, did a lookup on the DB to get the first and last names. Digby "Tim Penhey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In a web-app I have a JDBCRealm and most

RE: problem with JSP -> no data returned

2004-05-24 Thread Knight, Digby
It's not that tools.jar isn't on the path, and Tomcat can't compile the JSPs at runtime, is it? -Original Message- From: Parsons Technical Services [mailto:[EMAIL PROTECTED] Sent: 23 May 2004 00:52 To: Tomcat Users List Subject: Re: problem with JSP -> no data returned Just a few curious

RE: Changing the 'ROOT' webapp (newbie question)

2004-05-17 Thread Knight, Digby
request.getContext() or on the login page except the submit button. I stuck in a mini-app under the root to redirect to /portal as a work-around, but presumably this isn't expected behaviour. Digby PS. Yoav, I think I speak for many users on this mailing list who appreciate your help and don&#x

RE: Problem with Tomcat 5.0.19 and JSTL (googleapi.jar conflicts with Jasper)

2004-04-06 Thread Knight, Digby
asper (in 5.0.19 only) so that it can't compile pages with JSTL taglib directives in. I tried taking out any duplicate classes from googleapi.jar (DOM, SAX, javax.mail, javax.activation, Crimson), but it didn't seem to help. Seems a bit odd - I can't see why this jar would cause a con

Problem with Tomcat 5.0.19 and JSTL

2004-04-01 Thread Knight, Digby
prefixes in this context at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler. java:94) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404 ) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.ja

RE: Tomcat 5 and oracle

2003-12-10 Thread Knight, Digby
You may need the following in your server.xml ResourceParams: factory org.apache.commons.dbcp.BasicDataSourceFactory It's described in more detail in: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how to.html

HSQLDB JDBCRealm

2002-04-09 Thread Knight, Digby
Hi, I'm trying to get HSQLDB (1.6) working as the database behind the JDBCRealm, and have got most of the way there, but I seem to have a problem setting the username and password for when Tomcat connects to the database, and I'm getting a 'Cannot find user' error message as Tomcat loads. It's de

Re: REPOST: JDBCRealm digest="MD5" returns NullPointerException

2002-02-27 Thread Knight, Digby
Sorry - forget that message - I seem to have a problem with the error handling page not defining the exception object even though I've set isErrorPage="true". Strange. The information in this e-mail and any attachments (the 'e-mail') is confidential and intended solely for the addressee(s) nam

REPOST: JDBCRealm digest="MD5" returns NullPointerException

2002-02-27 Thread Knight, Digby
#x27;s accepting the attribute okay, since ...digest="xyz"... causes Tomcat to fail on load. I've searched this archive for clues but so far have drawn a blank. Maybe it hasn't been implemented yet?? Does anyone have any ideas? It's driving me mad. Many thanks. Digby E

JDBCRealm digest="MD5" returns NullPointerException

2002-02-22 Thread Knight, Digby
've searched this archive for clues but so far have drawn a blank. Anyone have any ideas? Many thanks. Digby The information in this e-mail and any attachments (the 'e-mail') is confidential and intended solely for the addressee(s) named above. This e-mail may be subject to

Analysing client certificates

2002-02-19 Thread Knight, Digby
Hi Is there an easy way to analyse a clent certificate (e.g. get the distinguished name or whole certificate as an X509 object) from a request. I'm using Tomcat 4.02 and J2SDK1.4, and am passing a client certificate over SSL, but don't know how to get at it. Any ideas? Thanks in advance. Dig The