Re: virtual host doesn't load database content

2005-08-28 Thread luke
Hi. I solved this myself by placing the database resource tag in the server.xml instead of in a separate context.xml file in the META-INF directory. I don't know why that has to be that way. KR. Luke. 29Aug2005 @ 15:39 [EMAIL PROTECTED] thusly spake > Hi. > > I have a domain resolving to a tom

Re: invalidate session after calling listeners

2005-08-28 Thread Franklin Phan
Hassan, Also, I don't understand the difference between a "global" and a "non-global" listener approach. Can you explain? Thanks. Thanks. Hassan Schroeder wrote: Franklin Phan wrote: I'm trying to code a method to clean up specifically named files inside a working dir (in Windows XP) whe

Re: invalidate session after calling listeners

2005-08-28 Thread Franklin Phan
Hassan, How do I add an instance of the listener to each session? Can you please provide an example? I forgot to mention that I already have the following in the first JSP after the login is validated: <% session.setAttribute("sessionListener", listener); %> What you say, "...and that ob

virtual host doesn't load database content

2005-08-28 Thread luke
Hi. I have a domain resolving to a tomcat box. I have set up a virtual host. No probs. /~ www.albino.info \ That all works well. However the or

Re: Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-28 Thread Anto Paul
On 8/29/05, Alan Chandler <[EMAIL PROTECTED]> wrote: > Where can I find specs for all the tags in server.xml I use these pages. it explains the elements used in the server.xml. http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/index.html -- rgds Anto Paul --

Re: very strange 'documentroot' problems

2005-08-28 Thread Arjan
Caldarale, Charles R wrote: > The .jsp files of the ROOT app (as well as those of most > of the other sample apps) is precompiled. What's > actually being executed is > org/apache/jsp/index_jsp.class, which can be found in > webapps/ROOT/WEB-INF/lib/catalina-root.jar. You should > be able to just

When would TC (5.0.19) not send back (or even log) a response?

2005-08-28 Thread Rob Hunt
I saw this interesting request show up in my log file: 2005-08-28 20:11:08 RequestDumperValve[catalina]: REQUEST URI =/cgi-bin/jud.cgi 2005-08-28 20:11:08 RequestDumperValve[catalina]: authType=null 2005-08-28 20:11:08 RequestDumperValve[catalina]: characterEncoding=null 2005-08-

RE: very strange 'documentroot' problems

2005-08-28 Thread Caldarale, Charles R
> From: Arjan [mailto:[EMAIL PROTECTED] > Subject: very strange 'documentroot' problems > > BUT when i edit the file, or even completely > remove it, i still get to see 'If you're seeing this page via > a web browser, it means you've setup Tomcat successfully. The .jsp files of the ROOT app (a

very strange 'documentroot' problems

2005-08-28 Thread Arjan
Hi, I installed Apache Tomcat/5.0.28 and got it running, when i visit localhost:8080, i get the standard 'If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!' message. So far so good. Then it says: 'As you may have guessed by now, this is t

Where can I find specs for ALL the xml tags that can be used in server.xml.

2005-08-28 Thread Alan Chandler
Where can I find specs for all the tags in server.xml In particular, trying to find out why I used to be able to access a JNDI datasource and now can't. All I did was move the tag from the local to the . Move it back and it starts working again. -- Alan Chandler http://www.chandlerfamily.

RE: configuration files for war deployments

2005-08-28 Thread Richard Mixon (qwest)
Patrick, Sorry for the late response. You have received quite a few ideas, but I did not see one quite like what we do. We use the deployer utility to deploy our application and have customized (just added a task actually) the build.xml file to make system-specific changes to our war and then re-

Problem using FORM based authetication (Tomcat 4.1)

2005-08-28 Thread Alan Chandler
I have a small database application that I am developing. I have set up a JNDI resource in order to access it in the application. This is defined just inside level in server.xml (password changed)

Re: configuration files for war deployments

2005-08-28 Thread Rob Hills
Hi Patrick, On 26 Aug 2005 at 17:24, QM wrote: > On Fri, Aug 26, 2005 at 02:16:26AM +0800, Patrick Lacson wrote: > : I know that's typically where they go, but if the file is inside the > : .war, how is the file going to be configured by the sysadming folks? Our approach to this problem has been

Re: configuration files for war deployments

2005-08-28 Thread Patrick Lacson
thanks for all your suggestions on this. it seems that an exploded format is what most people deploy with just to make configuration easier?? anyway, i'll think through some of these ideas. much appreciated, patrick On 8/27/05, QM <[EMAIL PROTECTED]> wrote: > On Fri, Aug 26, 2005 at 11:47:54PM