jdk 1.4 logging and log formatter class not being found

2003-08-23 Thread Adam Hardy
I just upgraded from 4.1.24 to 4.1.27 and found that tomcat or java now can't find my formatter class which I need for JDK 1.4 logging. if you're not familiar with JDK 1.4 logging, the formatter class is what you specify in the logging.properties config file, which formats the output of the each lo

jdk 1.4 logging and log formatter class not being found

2003-08-23 Thread Adam Hardy
I just upgraded from 4.1.24 to 4.1.27 and found that tomcat or java now can't find my formatter class which I need for JDK 1.4 logging. if you're not familiar with JDK 1.4 logging, the formatter class is what you specify in the logging.properties config file, which formats the output of the eac

trying to use manager/html app with o.a.catalina.realm.JAASRealm

2003-08-25 Thread Adam Hardy
I'm using org.apache.catalina.realm.JAASRealm for my authentication for my webapps, and I have got to the point where I want to use tomcat's manager and admin app. Unfortunately when I try to use JAASRealm for the manager, JAASCallBackHandler throws an exception because it hasn't been given the

Re: trying to use manager/html app with o.a.catalina.realm.JAASRealm

2003-08-25 Thread Adam Hardy
anks, Adam On 08/25/2003 12:43 PM Tim Funk wrote: You can place a inside a declaration. As for the non-working of JAASRealm - I know nothing about it and have not used it. -Tim Adam Hardy wrote: I'm using org.apache.catalina.realm.JAASRealm for my authentication for my webapps, and I

Re: trying to use manager/html app with o.a.catalina.realm.JAASRealm

2003-08-25 Thread Adam Hardy
OK, but what's the resourceName for then, as in On 08/25/2003 04:28 PM Tim Funk wrote: You can't have 2 Realms at the Engine level because there is no way to determine which Realm a webapp should use. -Tim Adam Hardy wrote: ah, ok. I put those 2 realms at engine level. So I ca

Re: [OT] but IMPORTANT

2003-08-28 Thread Adam Hardy
M$ lost it - but it is only the City of Munich, not the whole of Germany. On 08/28/2003 04:31 PM Dave Butler wrote: I remember them talking about it and M$ sending some heavies to Munich to sort them out.. - To unsubscribe

Re: [OT] but IMPORTANT

2003-08-28 Thread Adam Hardy
he 21st Century. --- Stuart MacPherson <[EMAIL PROTECTED]> wrote: Forbid independent development of innovative software-based solutions... So you might only be able to code for someone else?! That does not sound good... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent:

jdk 1.4 logging and log formatter class not being found

2003-08-29 Thread Adam Hardy
This is a repost from last week, which got no answers. I've tried to give more & better info here. I just upgraded from 4.1.24 to 4.1.27 and found that java now can't find my formatter class which I need for JDK 1.4 logging. The configuration in the logging.properties file is picked up fine, I e

JAASRealm with Basic Authentication

2003-08-31 Thread Adam Hardy
I am trying to run my JAASRealm implementation, and I have it working successfully on my own apps using Form-based authentication, but when I try to use it for tomcat's manager tool (configured in webapps/manager.xml) or any other app using basic authentication, I have problems. First of all tomcat

Re: ClassNotFound Exception with Struts Action

2003-09-01 Thread Adam Hardy
hi Tom, it's not obvious what your problem could be. To find out the classpath being used by your app server, you should put an echo in your app server's batch file at the appropriate point, i.e. just before it calls javac. However app servers generally don't include the webapp directories in t

Re: ClassNotFound Exception with Struts Action

2003-09-01 Thread Adam Hardy
Thought we were on the struts-user list. For app server, read 'tomcat' :) On 09/01/2003 10:45 AM Adam Hardy wrote: hi Tom, it's not obvious what your problem could be. To find out the classpath being used by your app server, you should put an echo in your app server'

Re: Using jdk1.4 logger problem

2003-09-05 Thread Adam Hardy
On 09/05/2003 05:16 AM Bill Barker wrote: But, some how the logger manager can't find the handler classes. (Class loader problem?) Yup, it's a CL problem. Unfortunately, it looks like the problem is in Sun's implementation of 1.4 Logging. Instead of using the ContextClassLoader, it's looking for

Re: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Adam Hardy
Hi Angus, looked at your first mail and couldn't see anything wrong with it. I can only suggest that you do some debugging, like output the .getClass().getName() from the datasource, to see what it really thinks it is. Adam On 09/04/2003 10:27 PM Angus Mezick wrote: Anyone have a clue as to wh

Re: Using jndi to get a DBCP BasicDataSource give ClassCastException

2003-09-05 Thread Adam Hardy
Mezick wrote: I did an I got BasicDataSource. --Angus -Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2003 4:19 AM To: Tomcat Users List Subject: Re: Using jndi to get a DBCP BasicDataSource give ClassCastException Hi Angus, looked at your fir

Re: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption

2003-09-05 Thread Adam Hardy
rs List' Subject: RE: Using jndi to get a DBCP BasicDataSource give ClassCastExce ption I suppose there could be two different classes called BasicDataSource, in two different packages... -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 05 September 2003 16

[OT] but IMPORTANT

2003-08-28 Thread Adam Hardy
If you haven't checked http://jakarta.apache.org/ today, do so and read the welcome page. Sounds dire, but in these times, predictable. Nothing to do with me, I just agree with it. Adam -- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9 -

Re: SSL/Verisign Confusion

2003-09-07 Thread Adam Hardy
Hi Dave, how much does it cost at Verisign, and how long is it valid for? And is this 'openssl' you mentioned a free alternative? Adam On 09/06/2003 03:21 PM Dave Wood wrote: FINALLY! I still don't know what I did wrong in the first place, but after starting over with VeriSign, all is well now.

Re: JDBC via JNDI and the resource-env-ref tag

2003-09-09 Thread Adam Hardy
Hi Hans, in my server.xml I have: factory org.apache.commons.dbcp.BasicDataSourceFactory etc etc and then: etc. etc. for each webapp that needs it. I don't put any of it in my web.xml but perhaps somebody else w

Re: Request Too Large

2003-09-11 Thread Adam Hardy
What is the URL & querystring? There are limits on how long the query string can be. Sounds like the flash program is doing a GET instead of a post. Adam On 09/10/2003 06:22 PM chanan braunstein wrote: Good Morning, I need to build a page that accepts a POST from a flash program. So far my

Re: Setting contentType and also using container-based authentication

2003-09-12 Thread Adam Hardy
Hi Matt, how does it work if you use a meta tag direct in html? On 09/11/2003 07:54 PM Sgarlata Matt wrote: I'm having trouble using the <%@ page contentType="" %> directive and container-based authentication. Here is a toy example that works great without container-based authentication but does

Re: setup of global resources, dbcp, mail, etc.

2003-09-15 Thread Adam Hardy
The tricky bit is to remember to put a reference to the global-resource in the contexts which want to use it: Adam On 09/15/2003 07:03 PM Paul wrote: has anyone been successful setting up a global resource under Tomcat 4.1, jdk 1.4 that is accessible to all webapps? If so, please des

Re: setup of global resources, dbcp, mail, etc.

2003-09-15 Thread Adam Hardy
that the values for the "name" and "global" parameter in the ResourceLink tag are the same. I notice that in your example they are different. Where does the "global" value get defined? ----- Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]&g

Re: ? catalina.out under Windows

2003-09-16 Thread Adam Hardy
It depends on your logging configuration rather than catalina.bat. When you say catalina.out, you mean the console? On 09/16/2003 02:20 PM Csaba Nemeth wrote: Hi all, I would like to log everything under Windows (like under linux) to catalina.out. How should I configure this? ( A proper cat

Re: MySQL DBCP pool exausted error message

2003-09-18 Thread Adam Hardy
Hi Nathan, could you rephrase what the problem is? It's a bit ambiguous. Do you mean that each thread can only do one DB operation and then it gets the exception on its next DB operation, or on its next http request? Have you checked in bugzilla? I think there are some unresolved issues with D

Re: MySQL DBCP pool exausted error message [SOLVED]

2003-09-18 Thread Adam Hardy
Guess you won't be needing my reply then, but looking at your code, it seems that your finally block could be improved slightly :) In the rare situation where statement.close() throws an exception, your connection won't be closed. Adam On 09/17/2003 10:20 PM Nathan Christiansen wrote: Sorry. I

Re: Trying to get off this list

2003-09-18 Thread Adam Hardy
you have to answer the confirm email it sends you. On 09/18/2003 01:29 PM Ronaldo Quispe wrote: Hello, How does one get off this list? I tried the by sending email as described in the web site but that does not work. Is there a moderator that can help? Ronaldo Q. -

manager/html app

2003-09-19 Thread Adam Hardy
Is there a way to configure the manager app to use form-based or digest authentication so I can use SSL to encrypt the login? As I understand it, with basic authentication the passwords are sent in plain text across the net, allowing them to be snooped out from caches and logs. I've no experien

Re: manager/html app

2003-09-19 Thread Adam Hardy
Thanks, I'll do that. Adam On 09/19/2003 07:48 PM Filip Hanik wrote: in web.xml for the manager app, force it to use SSL, that way the only way to connect into it is over SSL and you are good to go, even with basic authentication Filip - Original Message - From: "Adam Hard

single sign-on, form-based CMA, etc

2003-09-22 Thread Adam Hardy
Looking through the archives I see this topic has had some heavy discussion in the past, but I just want to bring it up again to verify a few points. To overcome the issue with tomcat 4.x where the first session amongst all contexts to time-out will time-out all the user's other sessions, I sa

Re: stdout.log file growing very quickly.

2003-09-22 Thread Adam Hardy
another question on this topic which has long puzzled me: is tomcat being changed over to commons-logging to output log statements? Or is it all configured going to remain controlled by the debug attributes of nodes in server.xml? If I set all those debug attributes to "0", will tomcat become t

Re: stdout.log file growing very quickly.

2003-09-22 Thread Adam Hardy
On 09/22/2003 04:25 PM Shapira, Yoav wrote: Tomcat is already mostly switched over to commons logging. tomcat 4 as well, or just 5? If so, then presumably there is a logging properties config file somewhere, which the original poster could configure so that less output goes to the console? In th

Re: Is struts.jar mandatory for tomcat 4.1.24 ?

2003-09-23 Thread Adam Hardy
No it's not mandatory. But tomcat's admin app uses struts. This is controlled by an .xml file in your webapps directory, and it points to the deployment in tomcat/server/webapps/admin. Adam On 09/23/2003 06:07 AM Sarika N Inamdar wrote: Hi All, Please let me know if struts.jar should be presen

Re: Forwarding with Tomcat Standalone

2003-09-23 Thread Adam Hardy
Have you set up the security-constraint in your web.xml for those pages? Login 4 Everything /private/* user admin SSL not required CONFIDENTIAL You will also probably need to set up a filter to redirect non-secur

Re: Single Login Authentication with Tomcat

2003-09-23 Thread Adam Hardy
I believe somewhere on java.sun.com I saw an article about setting up JAAS as a tomcat realm to use NT authorisation. Good luck, Adam On 09/23/2003 07:29 AM Peter Harrison wrote: I was wondering it anyone knows how to do NT based one login authentication with web applications. I was hoping there

Re: Is struts.jar mandatory for tomcat 4.1.24 ?

2003-09-23 Thread Adam Hardy
on this. Thanks Much, Sarika -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 1:49 PM To: Tomcat Users List Subject: Re: Is struts.jar mandatory for tomcat 4.1.24 ? No it's not mandatory. But tomcat's admin app uses strut

Re: character encoding, JAAS, servlet filter vs. valve

2003-09-23 Thread Adam Hardy
Hi Joerg, since you are using struts, why don't you ditch the SetCharacterEncodingFilter and set the character-encoding as a property of the struts controller? This means you also don't need anything in your JSPs. I assume you are using form-based container-managed authentication as the interf

Re: Is struts.jar mandatory for tomcat 4.1.24 ?

2003-09-23 Thread Adam Hardy
. Adam On 09/23/2003 11:56 AM Adam Hardy wrote: Hi Sarika, I think the easiest solution is to move the admin.xml file out of your tomcat/webapps directory. Then the admin app will not be started with tomcat. HTH Adam On 09/23/2003 10:36 AM Sarika N Inamdar wrote: Hi, Thanks for the inputs. We

Re: character encoding, JAAS, servlet filter vs. valve

2003-09-23 Thread Adam Hardy
I can't see why. Perhaps you are overriding it later in the request processing? Struts uses response.setContentType() The docs say: overridden automatically if a * RequestDispatcher.forward() call is * ultimately invoked. but that leaves me none the wiser. Adam On 09/23/2003 03:25 PM

Re: character encoding, JAAS, servlet filter vs. valve

2003-09-23 Thread Adam Hardy
On 09/23/2003 03:20 PM Joerg Heinicke wrote: Ah, okay. It's our first Struts project and experience. I found http://jakarta.apache.org/struts/api/org/apache/struts/config/ControllerConfig.html#contentType and set the contentType in the struts-config.xml with . But as written at the above link th

Re: JDBC Realm problems

2003-09-23 Thread Adam Hardy
Your config looks OK. Are you getting any errors logged when you try to log on? On 09/23/2003 04:43 PM Laurent Perez wrote: Hello I am trying to protect a webapp I wrote using a JDBCRealm, but it doesn't seem to work as expected. I am using Tomcat 4.1.27, and Postgresql 7.3.2, with latest JDBC

Re: Configuring a JDBC Data Source

2003-09-24 Thread Adam Hardy
sounds like you need the commons-dbcp and commons-pool jar files as well. Adam On 09/24/2003 01:52 AM Renda, Michael wrote: I'm trying to configure a JDBC Data Source for a Tomcat 4.1.27 installation. I used the Admin tool which wrote the following entry to my server.xml file:

Re: Is struts.jar mandatory for tomcat 4.1.24 ?

2003-09-24 Thread Adam Hardy
et us know on this. Thanks Much, Sarika -----Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 1:49 PM To: Tomcat Users List Subject: Re: Is struts.jar mandatory for tomcat 4.1.24 ? No it's not mandatory. But tomcat's admin app uses struts. T

Re: OT: Apologies

2003-09-24 Thread Adam Hardy
Stop it, you're giving me dxlseiya On 09/24/2003 08:18 AM Micael wrote: Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a total mses and y

Re: JDBC Realm problems

2003-09-24 Thread Adam Hardy
Don't you get: Digester.error(): org.xml.sax.SAXParseException: Element "security-constraint" requires additional elements. On 09/24/2003 09:48 AM Laurent Perez wrote: in case no one noticed and it matters, web.xml has following typo in it, where resource is spelled "ressource": > > > >

Re: JDBC Realm problems

2003-09-24 Thread Adam Hardy
Yes! I was unaware that you could disable xml parsing exceptions. But it seems you have. :( Perhaps it depends on the xml parser you are running. Mine is crimson (SAX?). Adam On 09/24/2003 11:29 AM Laurent Perez wrote: Don't you get: Digester.error(): org.xml.sax.SAXParseException: Element

Re: JDBC Realm problems

2003-09-24 Thread Adam Hardy
Oh I'm very sorry, perhaps I confused your post with somebody else's. The problem I am referring to is the issue with the being spelt wrong. Adam On 09/24/2003 12:08 PM Laurent Perez wrote: Yes! I was unaware that you could disable xml parsing exceptions. But it seems you have. :( Sorry bu

Re: Configuring a JDBC Data Source

2003-09-24 Thread Adam Hardy
at jakarta.apache.org from their binary downloads page. On 09/24/2003 01:05 PM Renda, Michael wrote: I've got the commons-dbcp.jar file in the common/lib directory. Where do I find the commons-pool.jar file? Mike -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED]

Re: Is struts.jar mandatory for tomcat 4.1.24 ?

2003-09-24 Thread Adam Hardy
there a way that we can tell tomcat not to use struts.jar ? Do we need to make any changes in the web.xml ? Please let us know on this. Thanks Much, Sarika -----Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 23, 2003 1:49 PM To: Tomcat Users List Subject

Re: character encoding, JAAS, servlet filter vs. valve

2003-09-24 Thread Adam Hardy
9/24/2003 01:31 PM Joerg Heinicke wrote: Adam Hardy wrote: I can't see why. Perhaps you are overriding it later in the request processing? Struts uses response.setContentType() The docs say: overridden automatically if a * RequestDispatcher.forward() call is * ultimately invoked. but

Re: FORM authentication - prevent login from popping up

2004-04-05 Thread Adam Hardy
To do a login programmatically via form-based authentication, you would need to watch for the login form being returned that has a submit action to j_security_check. You must submit that with the correct headers and form element parameters - j_username and j_password. Adam On 04/04/2004 11:20

Re: configuring realm in web.xml

2004-04-05 Thread Adam Hardy
On 04/05/2004 02:02 PM Simone - Dev wrote: Hello All, I'm developing a webapplication that needs to authorize and authenticate users looking inside a database. Generally I'll be doing it adding a JDBCRealm inside the server.xml (or in the contex xml file) But I don't have access to these files. I'd

Re: JAAS problems migrating from JRun

2004-04-06 Thread Adam Hardy
Michiel, you are programming your own login trigger in a filter - I don't this this will work (although I'm happy to be wrong). I think tomcat is only going to adopt your principals as authenticated if you protect whichever pages necessary via security-constraints in the deployment descriptor.

Re: JAAS problems migrating from JRun

2004-04-06 Thread Adam Hardy
[Catalina]: Returning username bluppie catalina.out: Assigned principal bluppie of type security.UserPrincipal to user bluppie Assigned principal authenticateduser of type security.RolePrincipal to user bluppie Assigned principal developer of type security.CustomPrincipal to user bluppie Adam Hardy wro

Re: Problem with configuing Tomcat

2004-04-07 Thread Adam Hardy
Hi Mike, I'm not familiar with openejb but I assume that you are talking about fetching the initial context for JBoss? Try this in your code: Hashtable env = new java.util.Hashtable(); env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); env.put("java.naming

Re: Authentication in tomcat

2004-04-12 Thread Adam Hardy
On 04/12/2004 10:31 AM [EMAIL PROTECTED] wrote: Hello. I'm a bit confused. I'm trying tomcat's authentication with bad or no results. The documentation is very simple and I don't understand so well. I've a web application and I want to make authentication with a user role and a admin role. The a

Re: tomcat 4 vs 5 form based container auth & filters

2004-04-12 Thread Adam Hardy
Yes your observations are correct. It's my understanding that filters are not invoked until after authentication. i.e. after the form-based login. I have no experience of site-mesh, but it seems a bit weird anyway to put decorations on a page via a filter - surely you should be encapsulating t

Re: tomcat 4 vs 5 form based container auth & filters

2004-04-12 Thread Adam Hardy
Martin Alley wrote: Hi Adam, Why do you think this behaviour changed from tomcat4 ? I haven't gone into the full architecture of sitemesh, as yet, but I know it includes a filter. Martin -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 11:26 To: T

Re: tomcat 4 vs 5 form based container auth & filters

2004-04-12 Thread Adam Hardy
feel. I'll see if I can find anything in the tc5 release notes on this. Thanks again Martin -Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 12 April 2004 13:13 To: Tomcat Users List Subject: Re: tomcat 4 vs 5 form based container auth & filters AFAIK it has s

Re: tomcat 4 vs 5 form based container auth & filters

2004-04-16 Thread Adam Hardy
Sent: 12 April 2004 16:42 To: 'Tomcat Users List' Subject: RE: tomcat 4 vs 5 form based container auth & filters Thanks Adam It seems to me that the separation idea is not clear cut. There is certainly a down side. I wonder whether this will stick. Martin -Original Message--

Re: Realm(?) authentication

2004-04-18 Thread Adam Hardy
On 04/18/2004 12:22 PM Frank Schaare wrote: I've written one step by step for this. It's for Tomcat on Linux, but I don't think Windows is different at all, at least for the realm part. Can't say the same for the installation. You can view it at http://www.connecties.com/cymulacrum/tomcat5/c578.

Re: Configuration and performance questions

2004-04-20 Thread Adam Hardy
1. Yes of course. 4.1.30 is many release cycles ahead of 5.0.19. But that's a matter of course with all software. 2. Don't know. 3. I thought 'enterprise' was a marketing word ;) 4. Are you sure you've got apache configured correctly? I don't think there should be such a noticeable difference.

Re: LoginModules

2004-04-21 Thread Adam Hardy
On 04/21/2004 10:27 PM Alan Weissman wrote: I've written a simple login module that I've configured to run from a Struts Action class and it appears to be working wonderfully - authentication takes place and principal/credentials are returned. However, I can't get any of this information back when

Re: another problem with JAAS

2004-04-22 Thread Adam Hardy
The servlet container spec from Sun doesn't specify any integration requirements for JAAS. The JAAS support is basically fledgeling authentication, and that's it for servlet spec 2.4 - I would be interested myself in seeing the discussions and motivations behind the progress and changes on the

Re: another problem with JAAS

2004-04-23 Thread Adam Hardy
Michiel, that would be the one that you put there, right? Adam On 04/23/2004 10:33 AM Michiel Toneman wrote: Oops, missed the "How" ;-) Subject subject = (Subject)session.getAttribute("javax.security.auth.subject"); if (subject == null) { subject = new Subject();

Re: Tomcat FAQs on Wiki

2003-12-02 Thread Adam Hardy
On 12/02/2003 07:55 AM Nikola Milutinovic wrote: Mark Eggers wrote: I have put some of my documentation on the Tomcat Wiki at: http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb These are sort of bare-bones documents about some ways to connect Tomcat/Apache on Linux, Tomcat/Apache on Windows/2

Re: Auto start scripts

2003-12-03 Thread Adam Hardy
Robin Rigby wrote: Thanks. I tried to to find the 4.1.24 RPM under http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ but this redirects me to http://jakarta.apache.org/site/binindex.cgi which offers 4.1.29 and no RPM. Where should I really be looking? Robin, I don't think you real

Re: servlet sendRedirect() to j_security_check problem

2003-12-03 Thread Adam Hardy
Hi Chris, I don't know whether that solution would ever work. I'm sure you can't post straight to j_security_check. Tomcat has to be aware that someone is trying to access a protected resource before it will invoke the login procedure. Adam On 12/03/2003 04:15 PM Chris Ward wrote: Dear all, I

Re: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-03 Thread Adam Hardy
Matt, are you really managing to post a form to j_security_check without invoking it first, or is that some sort of black magic you've cooked up? Or have I just misunderstood what Chris said? Adam On 12/03/2003 09:24 PM Matt Raible wrote: Chris, I found your post at http://www.mail-archive.c

Re: [ANN] Apache Tomcat 5.0.16 Stable released

2003-12-03 Thread Adam Hardy
On 12/03/2003 11:24 PM Remy Maucherat wrote: The Tomcat Team announces the immediate availability of Apache Tomcat 5.0.16 Stable. Please refer to the changelog for the list of changes. Downloads: Binaries: http://jakarta.apache.org/site/binindex.cgi Sources: http://jakarta.apache.org/site/source

Re: servlet sendRedirect() to j_security_check problem (remember me)

2003-12-04 Thread Adam Hardy
(optionally based on an init-parameter), set some cookies and do an HTTP Post to j_security_check. Works on Tomcat 4-5 and Resin 3.x. Matt On Dec 3, 2003, at 4:21 PM, Adam Hardy wrote: Matt, are you really managing to post a form to j_security_check without invoking it first, or is that som

Re: JAASRealm Tomcat 5.x -> Tomcat 4.1.x

2003-12-04 Thread Adam Hardy
On 12/04/2003 07:00 PM Oliver Wulff wrote: AFAIK, the JAASRealm in Tomcat 4.1.29 is a beta version. Is the JAASRealm in Tomcat 5.x for production? If yes, can I use the JAASRealm of Tomcat 5.x in Tomcat 4.1.29? Hi Oliver, where does it say that JAASRealm is beta? Adam -- struts 1.1 + tomcat 5.0.16

Re: Antwort: Re: JAASRealm Tomcat 5.x -> Tomcat 4.1.x

2003-12-08 Thread Adam Hardy
Ah OK. I am using JAASRealm too but I wrote my own implementation of LoginModule. I think JAASMemoryLoginModule.java is merely a demo class to show how it is done in the simplest way. Adam On 12/05/2003 04:24 PM Oliver Wulff wrote: I saw the following note in JAASMemoryLoginModule.java: // Vali

connection refused, localhost not found

2003-12-08 Thread Adam Hardy
Hi Listers I'm sceptical whether anybody else has ever suffered this bizarre problem so I'm not expecting anybody to be able to help, but this is seriously damaging my enjoyment of Monday morning. I have tomcat 5.0.14 set up on one computer and it works fine mostly, i.e. root context, JSP examp

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
or not on port 8080 :-) Patrick Ale System administrator Freeler B.V "Muda o mundo, começe com você mesmo" -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 13:29 Aan: Tomcat Users List Onderwerp: connection refused, localhost not

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
você mesmo" -Oorspronkelijk bericht- Van: Adam Hardy [mailto:[EMAIL PROTECTED] Verzonden: maandag 8 december 2003 14:16 Aan: Tomcat Users List Onderwerp: Re: connection refused, localhost not found The app is not running, yup, guess I can't argue with that. Unfortunately it's not

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
On 12/08/2003 02:41 PM Graham Reeds wrote: Obviously I tried restarting tomcat, redeploying the app, taking out all the filters, changing the context name, checked server.xml. I had this when I was developing. I closed tomcat but because I had Lynx open I assumed that the dos window was the tomcat

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
Oops, sorry being a plonker. Had the ports in my config for the sslext (ssl redirect) module set up for the production box to 80 & 443 instead of 8080 & 8443 for development. Sorry for the waste of time & bandwidth! On 12/08/2003 02:32 PM Adam Hardy wrote: I changed the web.xml

Re: connection refused, localhost not found

2003-12-08 Thread Adam Hardy
I took out the welcome-file config in web.xml and now I just get a plain status 404. But the tomcat manager shows the context is started and has a session after I try to access it. On 12/08/2003 02:32 PM Adam Hardy wrote: I changed the web.xml and have now managed to get tomcat to generate a

Re: connection refused, localhost not found

2003-12-09 Thread Adam Hardy
olving random/known by mozilla things, till it found localhost.net.au which actually is an existing page. Motto of this story is: your app is not running or not on port 8080 :-) Patrick Ale System administrator Freeler B.V "Muda o mundo, começe com você mesmo" -Oorspronkelijk bericht-

Re: context

2003-12-09 Thread Adam Hardy
On 12/09/2003 06:30 AM Jerald Powel wrote: Hello, Prostrating my self to a tongue lashing, can any one tell me why I am getting the 500 error: HTTP Status 500 - No Context configured to process this request ? In my server.xml I have defined: where it resides: c:/…/tomcat/webapps/myapp/….etc Pr

Re: RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Adam Hardy
On 12/09/2003 08:17 AM Altug B. Altintas wrote: i couldn't understand what does RemoteHostValve and RemoteAddrValve do ? i changed "manager.xml" like this * * then i try to enter http:/

Re: Copying files from Tomcat 4.1.x to Tomcat 5.x

2003-12-09 Thread Adam Hardy
On 12/09/2003 07:08 AM Antony Paul wrote: Hi all, Is there any compatibility issues in putting the jsp/servlet files developed in Tomcat 4.1.x series to Tomcat 5.x. Application uses only Servlets 2.3 and JSP 1.2. I expect that there are very few issues, however I managed to find one. In tomcat

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Adam Hardy
On 12/08/2003 11:59 PM Chaikin, Yaakov Y (US SSA) wrote: I realized that my user can mess himself by bookmarking the login page he is asked to log in. The login.jsp appears in the URL address in the browser... Does anyone know how to avoid this? How do I block that URL for the user and not for the

Re: Testing servlet for thread safety.

2003-12-09 Thread Adam Hardy
On 12/09/2003 07:16 AM Antony Paul wrote: Hi, I asked this question as part of another mail but Mr. Tim Funk left it unanswered. How to test a servlet for thread safety. Antony, it might be the case that he didn't have time to answer, you know. Nobody on this list is obliged to answer any ques

Re: RemoteHostValve and RemoteAddrValve

2003-12-09 Thread Adam Hardy
/2003 11:25 AM Altug B. Altintas wrote: No, i try http://localhost:8081/manager/html like this. And it is still asking username and password Any working example will be really appreciated. Thanks. - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "

where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
Hi, I thought that xml context configuration files had to reside in tomcat/webapps, but it seems they only take effect when they are placed in tomcat/conf/Catalina/localhost. Is this correct or am I doing something that prevents tomcat from using it when I place it in webapps? Thanks Adam

Re: where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
y set to true -Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 09 Декември 2003 г. 13:09 To: Tomcat Users List Subject: where to put context myapp.xml files Hi, I thought that xml context configuration files had to reside in tomcat/webapps, but it seems they only tak

Re: where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
context is marked as reloadable i.e: < this property set to true -Original Message----- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: 09 Декември 2003 г. 13:09 To: Tomcat Users List Subject: where to put context myapp.xml files Hi, I thought that xml context configurat

Re: How to prevent direct access to login.jsp

2003-12-09 Thread Adam Hardy
Sure On 12/09/2003 02:52 PM Chaikin, Yaakov Y (US SSA) wrote: Tomcat 5 is a stable release now? Yaakov Chaikin Software Engineer BAE SYSTEMS 301-838-6899 (phone) 301-838-6802 (fax) [EMAIL PROTECTED] -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Tuesday, December

Re: where to put context myapp.xml files

2003-12-09 Thread Adam Hardy
I'm obviously going mad. I must have been looking at the 4.x documentation. Thanks Adam On 12/09/2003 04:05 PM Shapira, Yoav wrote: Howdy, Yup ;) See the Deployer documentation. Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED]

Re: context

2003-12-10 Thread Adam Hardy
Jerald, what happens then? You just get a message saying 'requested resource not available'? Presumably your different tomcats are on different ports and don't interfere with each other? Also can you run the manager app? What does it say is running? You say you removed all other contexts - so

Re: Default context for web app

2003-12-10 Thread Adam Hardy
On 12/10/2003 08:53 AM Kent Boogaart wrote: Hi all, I am trying make my web application available via the default context. In other words, when I type http://localhost:8080/ in a browser on the local machine I want my web app to appear rather than the Tomcat default web app. I figured I'd just nee

Re: Like.. (spamcop problem with list)

2003-12-10 Thread Adam Hardy
I wouldn't get too worried about it. It looks like an innocent mistake. It seems illogical that your server IP was listed, when the mail was sent by the jakarta list server. Anyway, if you look at the FAQ at spamcop, it tells you what you can do about the situation. It appears that the email ad

Re: Default context for web app

2003-12-10 Thread Adam Hardy
. ROOT is simply the default tomcat name for the empty-string-path context. Yoav Shapira Millennium ChemInformatics -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 6:48 AM To: Tomcat Users List Subject: Re: Default context for web app On

Re: Default context for web app

2003-12-10 Thread Adam Hardy
have autoDeploy enabled. ROOT has NOTHNING special. Maybe for the next release we should change the name ROOT to something else just so people stop thinking there's something special about it ;) Yoav Shapira Millennium ChemInformatics -Original Message----- From: Adam Hardy [mailto:[EMAIL

Re: Tomcat 5.0.16 : manager-app access

2003-12-10 Thread Adam Hardy
On 12/10/2003 05:49 PM Dirk Griesbach wrote: hello folks, a question on datasource realms and the manager app: When I installed TC 5.0.16 'out-of-the-box' I could start the manager-app. Then I deployed our webapp (manually), configured a DataSourceRealm using mysql for authentification, configur

Re: Default context for web app

2003-12-11 Thread Adam Hardy
On 12/11/2003 12:51 AM Kent Boogaart wrote: Wow - thanks for all the help people. Just thought I'd update you on how I resolved this. Firstly, I removed all elements from "conf/server.xml" except my own. Then I set "autoDeploy" to "false" on the element. This almost got everything working as requ

Re: context

2003-12-11 Thread Adam Hardy
Hi Jerald, I'm sorry but I've never had a Status 500 - no context configured. There must be something freaky in your context configuration. Is the manager app running? That is normally at localhost:8080/manager/html What does that say you have running in terms of contexts? What directories do yo

Re: Tomcat 5.0.16 : manager-app access

2003-12-11 Thread Adam Hardy
.. ... " Unfortunately: no effect, "403 - Access to the requested resource has been denied" The admin-app still shows no entry in 'User database" Is there something else that's worth having a look at ? Dirk - Original Message - From: A

Re: google yourself

2003-12-11 Thread Adam Hardy
Amazingly it seems that google is down. Bang goes another myth. On 12/11/2003 02:41 PM Nikola Milutinovic wrote: Ostad, James wrote: have you googled yourself at goole.com? I don't know how they get all of our listserv communications. Any one knows how they do that? There is a web archive of th

  1   2   3   4   >