Re: Tomcat Problems - Any help is appreciated

2004-09-16 Thread Torgeir Veimo
o grammar found. invalid: no grammar found.> It cannot find any dtd to validate the web.xml file against. Do you have something like http://java.sun.com/dtd/web-app_2_3.dtd";> in web.xml? Tomcat should have a local copy of this file, but

RE: tomcat v5.5.2 doesn't read ResourceParams ?

2004-09-16 Thread Torgeir Veimo
On Thu, 2004-09-16 at 10:59 -0400, Shapira, Yoav wrote: > Hi, > ResourceParams are gone. See the updated docs: > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples > -howto.html. Aha, thanx! I think this should be put in big red letters somewhere -- T

tomcat v5.5.2 doesn't read ResourceParams ?

2004-09-16 Thread Torgeir Veimo
localhost/repository -- Torgeir Veimo <[EMAIL PROTECTED]> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

debugging of jsp's

2001-05-23 Thread Torgeir Veimo
Just dreaming load here; How would it be possible to write a debugger for jsp's that interpreted a jsp page, and made the content of the pageContext available with a nice gui? I know this is all possible to retrieve by attaching a debugger to tomcat, but this gives me a strickly servlet view, not

using xerces in addition to crimson in webapp

2001-05-22 Thread Torgeir Veimo
I'm trying to use jdom in a webapp under tomcat-4.0beta. jdom requires a DOM Level 2 and SAX 2.0 compliant parser, thus I want to use the latest xerces. Option 1: How can I configure so that xerces.jar is before crimson.jar in the servlet container claspath? Option 2: How can I make shure that

problems with jdom & tomcat4.0dev (24. april)

2001-05-21 Thread Torgeir Veimo
I'm having problems using jdom in a servlet with the following code; SAXBuilder builder = new SAXBuilder(); builder.setErrorHandler (new org.xml.sax.ErrorHandler () { public void warning (org.xml.sax.SAXParseException e) { cat.warn (e.getMessag

getResource() for files such as /WEB-INF/app.properties?

2001-05-07 Thread Torgeir Veimo
In the J2EE blueprint, there is an example of a configuration file residing in the /WEB-INF/ directory which is loaded using getResource(), see eg. http://java.sun.com/j2ee/blueprints/sample_application/qanda/ excerpt; "Here is some sample code that gets a configuration file from the WEB-INF/ di

Re: Authentication with JDBC but without JDBCRealms

2001-04-17 Thread Torgeir Veimo
João Folha wrote: > > Hi there, i need some inspiration here. > I want my application to be independent of JDBCRealms, any example. > > I don´t know how to protect the resources from de web.xml file. You mean you want to use container based authentication, ie. a *Realm, but to specify the detai

using ant for web-app deployment

2001-04-17 Thread Torgeir Veimo
I want to use Ant for deployment of a web-app into a tomcat 4.0 instance that initially doesn't know about the web-app, thus there is not Context section for that web-app in server.xml. Thus it's not enough to simply create / copy a web-application directory under jakarta-tomcat-4.0/webapps. Doe

taglib for preferences?

2001-04-10 Thread Torgeir Veimo
I need to insert strings and other small bits in my JSP's which I would like to have defined in eg. xml files. Is there any taglib around that can do this? -- - Torgeir

Re: XSLT vs. JSP

2001-04-06 Thread Torgeir Veimo
See www.oreilly.com. -- - Torgeir

server.xml DTD

2001-04-06 Thread Torgeir Veimo
I cannot find any DTD for the server.xml file. Is there such a thing? -- - Torgeir

Context Realm

2001-04-05 Thread Torgeir Veimo
I'm trying to use Realms on a per Context / web-app basis. I am able to specify a Realm outside of a , but if I put a inside a context, it is ignored. I'm using tomcat 4.0beta3. Is this supported in this release? Also, I could live with having a singleton Realm, if I could get the configured R

pause after tomcat startup script runs?

2001-04-03 Thread Torgeir Veimo
Is it possible to insert a "pause" command into the tomcat startup script, so that any exceptions that occur that prevents catalina from starting are readable? I tried putting pause into the catalina.bat file, but it didn't work. -- - Torgeir

Re: resource factories?

2001-03-29 Thread Torgeir Veimo
I'm using tomcat4.0beta1 btw. -- - Torgeir

resource factories?

2001-03-29 Thread Torgeir Veimo
I'm struggling a bit with setting up a resource factory for DirContext's. I have a ContextPool class that has an empty constructor and setter methods for the params I want to set. I preferrably want to use this resource factory on a per-web-application level. Can I do that? The reason is that d

realm & resource factories

2001-03-28 Thread Torgeir Veimo
We use a realm implementation that will use a resource factory in the same way as a servlet uses it. Since the realm is specified on an engine level, and not on a web application level, we need to use an indirection to get to the correct resource factory based on which web application the realm i

Re: PLEASE fix mailing list bounces!

2001-03-28 Thread Torgeir Veimo
Randy Layman wrote: > > The problem is that neither are directly subscribed to the list - > they are the result of mail forwards (I've already asked Craig about this). > The only way to find the bad addresses would be to send an email to every > address separately and determine which outg

Re: PLEASE fix mailing list bounces!

2001-03-28 Thread Torgeir Veimo
Randy Layman wrote: > > The problem is that neither are directly subscribed to the list - > they are the result of mail forwards (I've already asked Craig about this). > The only way to find the bad addresses would be to send an email to every > address separately and determine which outg

Re: LdapRealm

2001-03-28 Thread Torgeir Veimo
GOMEZ Henri wrote: > > I may try to do something to TC 3.3 if nobody volunteer I allready have some initial code. I don't handle digest authentication, and don't search for group membership to determine roles yet, but it's a start. I'm working with 4.0beta. I would be very happy for feedback on

PLEASE fix mailing list bounces!

2001-03-28 Thread Torgeir Veimo
Could somebody PLEASE fix this mailing list so that bouncing messages doesn't go back to the poster! This is VERY ANNOYING! -- - Torgeir

LdapRealm

2001-03-28 Thread Torgeir Veimo
Is there any impl of this somewhere allready? -- - Torgeir

Re: Compressing Tomcat output.

2001-03-27 Thread Torgeir Veimo
I think this can most easily be done by apache using a gzip module that automatically compresses all responses if accepted by the client. -- - Torgeir

JaasRealm / LdapRealm

2001-03-26 Thread Torgeir Veimo
I tried to find info on any possible implementation of one of these in the ML archive, but didn't find anything except a pointer to Interceptor sources from a wrox book example. Are there anyone currently working on this? -- - Torgeir