Re: [Fatal Error] :2:1: Content is not allowed in prolog.

2005-01-22 Thread Phil Steitz
Omar Adobati wrote: Does anybody know what this line of log mean: [Fatal Error] :2:1: Content is not allowed in prolog.?? I'm using tomcat 5.0.28, JDK 1.5.0_01 and Win XP SP2 That looks like an XML parse error resulting from junk characters at the beginning of an XML document. Check server.xml

Re: Can't load server.xml message

2005-01-01 Thread Phil Steitz
Sean Schofield wrote: I am an experienced Tomcat user who is all of a sudden having trouble running Tomcat on my home machine. I am running Tomcat 5.0.28 and I get a Null Pointer when trying to start Tomcat. I have JAVA_HOME and CATALINA_HOME configured. The very first line in the output says

Re: Can't load server.xml message

2005-01-01 Thread Phil Steitz
If you look at the 5.0.28 src distro, you can see that line 519 of Catalina.java includes a reference to the server object. Most likely the npe is happening because the server initialization is failing. The first error (Can't load server.xml) looks like it is generated by the load method when

Re: Signal 11 causing Tomcat crash

2003-11-15 Thread Phil Steitz
Jim Goodspeed wrote: Unfortunately we have also tried Sun's JVM and are experiencing the same Signal 11 errors (I've included two snippets of the Sun error - same error as the IBM Sig 11, just in a different format). Sometimes the dump specifies the library in question, other times it does not.

Re: Alternate password encyption code?

2003-06-01 Thread Phil Steitz
Jeff Sexton wrote: On Thu, 29 May 2003, Raible, Matt wrote: Why don't you just have the JDBCRealm do it - add digest=SHA. I need something other than SHA, I need to use my own custom code for an encyrption method of my own that is not provided by JDBCRealm To programmatically do it using

Re: Library management for Tomcat using ant

2003-03-30 Thread Phil Steitz
[EMAIL PROTECTED] wrote: Hi Jerome, Yes, certainly that's what I thought at the first glance as well. But wouldn't it make more sense to make the fileset importable from another file (i.e. extend the FileSet datatype to allow imports from another file)? e.g. build.xml: copy

Re: Listing all JNDI resources available

2003-03-29 Thread Phil Steitz
[EMAIL PROTECTED] wrote: Hi there, Is it somehow possible to look up all JNDI configuration values available in a servlet/context? This would be quite fine for debugging purposes, and it seems there is no function available for this, only for looking up a specific value. thx Johannes

Re: Tool for HTTP Request Stress Test

2003-01-17 Thread Phil Steitz
randie ursal wrote: Hi, can anyone suggest an HTTP Stress Test tool. coz i wanna stress test my web application which is deployed on Tomcat. thanks. Try jmeter -- http://jakarta.apache.org/jmeter/index.html and look at http://jakarta.apache.org/jmeter/usermanual/boss.html for

Re: encrypt passwords for JNDI Resources (Datasource specifically)

2002-08-02 Thread Phil Steitz
be in the works here. Are there any plans to support a crypto-enabled version of the commons digester to allow entire config files to be encrypted? Phil Steitz Thursday, August 01, 2002, 1:00:16 PM, you wrote: JK Seems to me someone wrote about this before, but I can't find it. I'm JK

ClassCastException when retrieving PostGres JDBC Connection from Tomcat 4.0.4 pool

2002-07-12 Thread Phil Steitz
I am running Tomcat 4.0.4 using the JNDI DataSource support to access a PostGres database. The following throws java.lang.ClassCastException: tyrex.jdbc.xa.EnabledDataSource Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.lookup(java:comp/env); DataSource ds =