Logging isn't happening in my 5.5.15 install

2006-03-16 Thread James Reynolds
I just installed a fresh 5.5.15 and I'm not getting any logs in my conf/logs directory. I did not use the installer to install this version (as opposed to my last install that logs just fine). I am controlling it with an IDE (IntelliJ, if that's relevant) which is probably starting Tomcat with t

RE: Context Level Logging

2006-03-16 Thread James Reynolds
mcat Users List Subject: RE: Context Level Logging > From: James Reynolds [mailto:[EMAIL PROTECTED] > Subject: Context Level Logging > > I want to be a good neighbor and set up context level logging, so log > files from my app will go to conf/logs/myContextName. > Is there a way to

Context Level Logging

2006-03-16 Thread James Reynolds
I'm about to move a Shale web app into a Tomcat 5.5.15 container where it will sit with some other web apps. I want to be a good neighbor and set up context level logging, so log files from my app will go to conf/logs/myContextName. Is there a way to configure tomcat to do this? --

RE: Using J2EE DataSources with Tomcat 5.5

2006-03-08 Thread James Reynolds
I wonder if Tomcat/IDE integration info would be appropriate for this page. Specifically, I recently worked through an issue with IntelliJ's handling of a local Tomcat installation. In short, IntelliJ ignores the META-INF/context.xml file when starting Tomcat. To access a jndi datasource, you m

RE: Testing DataSourceRealms

2006-03-05 Thread James Reynolds
ext should have privileged true... -Original Message----- From: James Reynolds [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 7:16 PM To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Testing DataSourceRealms response inline... -Original Message- From: Alex Jalali

RE: Testing DataSourceRealms

2006-03-03 Thread James Reynolds
response inline... -Original Message- From: Alex Jalali [mailto:[EMAIL PROTECTED] Sent: Fri 3/3/2006 4:09 PM To: Tomcat Users List Subject: Re: Testing DataSourceRealms > > I'm working on setting up BASIC authentication using container managed > security in Tomcat 5.5.15. However, It's

Testing DataSourceRealms

2006-03-03 Thread James Reynolds
I'm working on setting up BASIC authentication using container managed security in Tomcat 5.5.15. However, It's not working so now I'm wondering if my set up is wrong. The JNDI DataSource definitely works, I'm not so sure about the realm. Is there another way to test it? Would you mind looking

RE: Container Managed Security

2006-03-03 Thread James Reynolds
r not getting it quicker :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! On Fri,

Container Managed Security

2006-03-03 Thread James Reynolds
I'm just starting out with Container Managed Security with Shale/JSF and Tomcat 5.1.15. I've successfully created a JNDI DataSource and a Realm, now I want to define form based authentication and security constraints in my web.xml. I began my study with the J2EE 1.4 Tutorial, but most of that i

RE: DataSourceRealm Configuration Question (5.5.15)

2006-03-03 Thread James Reynolds
he context" will limit to just that app being able to access it and "in the server" is global so that all apps can access it. Doug - Original Message ----- From: "James Reynolds" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Thursday, March 02,

DataSourceRealm Configuration Question (5.5.15)

2006-03-02 Thread James Reynolds
Can a JNDI DataSourceRealm be defined in my web app's context.xml file, or must it be in the container's server.xml file? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JNDI Datasourse Best Practice

2006-03-02 Thread James Reynolds
I'm happy to report that this newbie successfully set up a JNDI Datasource . I now have a question about the best way to create connections in my web application. Previously, I used this class in other beans in order to create and access connections: public class dbConnection { private stati

RE: Best IDE for dev of Tomcat Servlet?

2006-02-16 Thread James Reynolds
Or use NetBeans. It comes with Tomcat Bundled and you can deploy to it using one button. You can also configure it to deploy to your existing Tomcat Installations, very easily, with one button execution. I've only had one side effect from using NetBeans with Tomcat. When my company switched to

RE: How do i use xmlns directive for including a taglib with Tomcat?

2006-02-08 Thread James Reynolds
In short, Tomcat does. You're missing some elements in that file. Here's an example jspx file: http://java.sun.com/JSP/Page"; xmlns:f="http://java.sun.com/jsf/core"; xmlns:h="http://java.sun.com/jsf/html"; xmlns:t="http://myfaces.apache.org/tomahawk"; xmln

RE: Two URLs, One Web Site

2006-02-08 Thread James Reynolds
idn't clarify well. Thanks for your response. -Original Message- From: Kenevel [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:20 AM To: Tomcat Users List Subject: Re: Two URLs, One Web Site James Reynolds wrote: > This solution works fine for 99% of the pages,

RE: Two URLs, One Web Site

2006-02-08 Thread James Reynolds
e on RewriteCond %{REQUEST_URI} ^/$ RewriteRule.+ /companyB_index.html [L,R=302] Otherwise - use a ServletFilter to trap the incoming requests and redirect/forward to the alternate pages as needed. -Tim James Reynolds wrote: > I have an interesting problem. I've been handed two webs

Two URLs, One Web Site

2006-02-08 Thread James Reynolds
I have an interesting problem. I've been handed two websites that are nearly identical. The problem is my company made a copy of the first website and "re-branded" it to provide a customized version for a client. I'm sick of maintaining two code bases, so I've started to construct a single site th