Re: How to Enable SSL on Tomcat 7 on Linux & Test using curl?

2012-12-17 Thread James Dekker
cation of trusted > keystore by specifying the property > -Djavax.net.ssl.trustStore=/path/to/jre/lib/security/cacerts > > I believe the error you hit shows that your tomcat is correct but the > parameter defined for curl is not. > > Hope this helps. > > > > &g

How to Enable SSL on Tomcat 7 on Linux & Test using curl?

2012-12-17 Thread James Dekker
Am using JDK 1.6, tomcat 7.0.32, and Red Hat Linux. I need help setting up SSL on my local tomcat instance. After looking at the instructions on the official tomcat 7 website: http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html]http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html I followe

FileNotFoundException: When Trying to Use Commons Digester

2007-01-26 Thread James Dekker
Hello there, I am using the Apache Commons Digester as a way to load up and marshal XML config files. Am using Tomcat 5.5.9 and JDK 1.5. I have an init servlet which loads an xml file config file (holding information to two more XML config files). I get the following exception at runtime: IN

Re: Configurable Errors

2007-01-16 Thread James Dekker
Chris! You hit the nail on the head! Removing the .properties extension made it work! Thank you so much! You rock! -James On Jan 16, 2007, at 3:25 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James, James Dekker wrote: m_resource

Re: Configurable Errors

2007-01-16 Thread James Dekker
le("error.properties"); } And then it gave me that Missing exception... What am I possibly doing wrong? Sincerely, James Dekker - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECT

Configurable Errors

2007-01-16 Thread James Dekker
Hello there, I am creating a configurable errors file which gets loaded as a properties file from an init servlet: import java.io.IOException; import java.util.Properties; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; public class ErrorInitServlet extends HttpSe

Re: Help loading XML config file via Init Servlet

2007-01-15 Thread James Dekker
Robert, The problem with the getRealPath() is that I have the undeployWars set to false in server.xml and getRealPath() is just for raw File I / O, it can't be used to read from a jar file... Thanks for the suggestion, nonetheless! Sincerely, James Dekker On Jan 15, 2007, at 4:

Help loading XML config file via Init Servlet

2007-01-14 Thread James Dekker
vaTools/tomcat/jakarta-tomcat-5.5.9/WEB-INF/classes/org/ coffeebreak/config/attributes-config.xml Why is the rules file coming out as null? 2007-01-14 03:10:33,074 WARN [org.coffeebreak.helper.AttributeBeanXmlConfigHelper] - rules: null WIth thanks! James Dekker

How to load XML config file properly from WEB-INF?

2006-12-22 Thread James Dekker
Hi, If you've been following my previous posts, you'll notice that I had a problem of trying to load a properties file (stored under WEB-INF), until I edited my build script and made it place the log4j.properties file under WEB-INF/classes, and then used the following code to load in the properti

Re: Helping setting appropriate prefix when using ServletContext.getResourceAsStream()

2006-12-22 Thread James Dekker
opertyConfigurator, I need a File type to place as the first parameter inside the configureAndWatch() method. Is there a way to convert this stream as File? Happy holidays! -JD On 12/22/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 12/22/06, James Dekker <[EMAIL PROTECTED]&

Re: Helping setting appropriate prefix when using ServletContext.getResourceAsStream()

2006-12-22 Thread James Dekker
swers your question... -JD On 12/22/06, Hassan Schroeder <[EMAIL PROTECTED]> wrote: On 12/22/06, James Dekker <[EMAIL PROTECTED]> wrote: From the three lines below: > ... %CAT

Re: Helping setting appropriate prefix when using ServletContext.getResourceAsStream()

2006-12-22 Thread James Dekker
ed to be unavailable?! Can anyone suggest a better way to use getResourceAsStream()? What I am trying to do is set my undeployWars to false in server.xml so that Tomcat can read my log4j.properties file and my xml config file (attributes-config.xml) from within the war file. Many, many thank

Helping setting appropriate prefix when using ServletContext.getResourceAsStream()

2006-12-21 Thread James Dekker
Hello there, I am using JDK 1.5 & Tomcat 5.5.9 on WinXP... Set up my init servlet which is supposed to load my log4j.properties file from myapp/WEB-INF/log4j.properties. Here's my init servlet's source listing:

Logging Problem with unpackWARs="false"

2006-12-21 Thread James Dekker
Hello there, Am using JDK 1.5 and Tomcat 5.5.9... I have two init servlets for the following purposes: 1. One is for logging 2. The other is for loading (and parsing) XML based configuration files using Commons Digester. When I go to %CATALINA_HOME%/conf/server.xml and inside the tag, when I