RE: javax.servlet.ServletException: Cannot find bean usersList in scope request

2008-07-26 Thread Carlos Morales
I hope this time sources work and you can see them:
The mistake is this one:
org.apache.jasper.JasperException: Cannot find bean usersList in scope request

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

causa raíz 
javax.servlet.ServletException: Cannot find bean usersList in scope request

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)

org.apache.jsp.web_005fadminContent_jsp._jspService(web_005fadminContent_jsp.java:148)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

causa raíz 
javax.servlet.jsp.JspException: Cannot find bean usersList in scope request
org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:940)

org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:277)

org.apache.jsp.web_005fadminContent_jsp._jspService(web_005fadminContent_jsp.java:96)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

nota La traza completa de la causa de este error se encuentra en los archivos 
de diario de Apache Tomcat/5.5.16.


the sources are these ones:
//BeanNames.java
package com.genausal.actions;
public interface BeanNames {
   public static final String PROJECT_LIST=projectList;
   public static final String USERS_FORM=UsersForm;
   public static final String USER_LIST=usersList;
}
//Web_AdminAction.java

package com.genausal.actions;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionServlet;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
import com.genausal.databases.util.ConnectionPool;
import com.genausal.databases.UsersDAO;
import com.genausal.entity.Users;
/** 
 * MyEclipse Struts
 * Creation date: 06-26-2008
 * 
 * XDoclet definition:
 * @struts.action validate=true
 * @struts.action-forward name=success path=/web_admin.jsp
 */
public class Web_AdminAction extends Action {
 // - Instance Variables
   private ConnectionPool pool;
 // - Methods
 /** 
  * Method execute
  * @param mapping
  * @param form
  * @param request
  * @param response
  * @return ActionForward
  */
 
 public Web_AdminAction(){
      pool=ConnectionPool.getInstance();
 }
   
   
 public ActionForward perform(
  ActionMapping mapping,
  ActionForm form,
  HttpServletRequest request,
  HttpServletResponse response)throws IOException,ServletException {
  Connection con=null;
  try{
   con=pool.getConnection();
   UsersDAO usersDAO=new UsersDAO(con);
   Collection col=usersDAO.findAll();
   
   request.setAttribute(BeanNames.USER_LIST,col);
  
   return  mapping.findForward(success);
  }catch (SQLException e){
   e.printStackTrace();
   throw new RuntimeException(It's impossible to get the connection);
  }finally{
   try{
if(con!=null)
 con.close();
   }catch(SQLException e){
throw new RuntimeException(e.getMessage());
   }
  }
  
 }
}
//UsersDAO.java -findAll()
public Collection findAll(){
   
   PreparedStatement ps=null;
   ResultSet rs=null;
   ArrayList list=new ArrayList();
   
   String sql=SELECT * from users;
   
   try{
if(con.isClosed()){
 throw new IllegalStateException(error.unexpected);
}


Re: javax.servlet.ServletException: Cannot find bean usersList in scope request

2008-07-26 Thread David Smith
Ok ... your email client is weird in how it put's html in, but that's a 
different subject.  The stack trace indicates that logic:iterate can't 
find the collection you stored in usersList.  You could wrap the whole 
table in logic:present tag and then have some error message in a 
logic:notPresent tag to better diagnose what's going on.  Are you sure 
your action is being executed?


--David


Carlos Morales wrote:

I hope this time sources work and you can see them:
The mistake is this one:
org.apache.jasper.JasperException: Cannot find bean usersList in scope request

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

causa raíz 
javax.servlet.ServletException: Cannot find bean usersList in scope request


org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)

org.apache.jsp.web_005fadminContent_jsp._jspService(web_005fadminContent_jsp.java:148)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

causa raíz 
javax.servlet.jsp.JspException: Cannot find bean usersList in scope request

org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:940)

org.apache.struts.taglib.logic.IterateTag.doStartTag(IterateTag.java:277)

org.apache.jsp.web_005fadminContent_jsp._jspService(web_005fadminContent_jsp.java:96)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

nota La traza completa de la causa de este error se encuentra en los archivos 
de diario de Apache Tomcat/5.5.16.


the sources are these ones:
//BeanNames.java
package com.genausal.actions;
public interface BeanNames {
   public static final String PROJECT_LIST=projectList;
   public static final String USERS_FORM=UsersForm;
   public static final String USER_LIST=usersList;
}
//Web_AdminAction.java

package com.genausal.actions;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletException;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionServlet;
import java.io.IOException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.Collection;
import com.genausal.databases.util.ConnectionPool;
import com.genausal.databases.UsersDAO;
import com.genausal.entity.Users;
/** 
 * MyEclipse Struts

 * Creation date: 06-26-2008
 * 
 * XDoclet definition:

 * @struts.action validate=true
 * @struts.action-forward name=success path=/web_admin.jsp
 */
public class Web_AdminAction extends Action {
 // - Instance Variables
   private ConnectionPool pool;
 // - Methods
 /** 
  * Method execute

  * @param mapping
  * @param form
  * @param request
  * @param response
  * @return ActionForward
  */
 
 public Web_AdminAction(){

  pool=ConnectionPool.getInstance();
 }
   
   
 public ActionForward perform(

  ActionMapping mapping,
  ActionForm form,
  HttpServletRequest request,
  HttpServletResponse response)throws IOException,ServletException {
  Connection con=null;
  try{
   con=pool.getConnection();
   UsersDAO usersDAO=new UsersDAO(con);
   Collection col=usersDAO.findAll();
   
   request.setAttribute(BeanNames.USER_LIST,col);
  
   return  mapping.findForward(success);

  }catch (SQLException e){
   e.printStackTrace();
   throw new RuntimeException(It's impossible to get the connection);
  }finally{
   try{
if(con!=null)

problem enabling tomcat5.5 Security Manager!

2008-07-26 Thread Shahar Cohen
Hi,

I am trying to run tomcat5.5 on a linux machine with enabling the
Security Manager
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html :

$CATALINA_HOME/bin/catalina.sh start -security

 but the services is craching every time.

When I enable debug with:

CATALINA_OPTS=-Djava.security.debug=all

I get from the logs all these access denied errors which I don't quite
understand:

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.diagnostics.dest read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.LogFactory.HashtableImpl read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.LogFactory read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedContext read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedDiscovery read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedHierarchy read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.log read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.LogFactory read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedContext read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedDiscovery read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedHierarchy read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.log read)

access: access denied (java.lang.RuntimePermission
accessClassInPackage.sun.util.logging.resources)

access: access denied (java.lang.RuntimePermission
accessClassInPackage.sun.util.logging.resources)

access: access denied (java.lang.RuntimePermission
accessClassInPackage.sun.util.logging.resources)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/commons-logging.properties read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.LogFactory read)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/META-INF/services/org.apache.commons.loggi
ng.

LogFactory read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedContext read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedDiscovery read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log.allowFlawedHierarchy read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.Log read)

access: access denied (java.util.PropertyPermission
org.apache.commons.logging.log read)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/org/apache/commons/logging/impl/Log4JLogge
r.c

lass read)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/logging.properties read)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/logging.properties read)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/logging.properties read)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/logging.properties read)

access: access denied (java.lang.RuntimePermission getClassLoader)

access: access denied (java.lang.RuntimePermission getClassLoader)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/org/apache/commons/logging/impl/Jdk13Lumbe
rja

ckLogger.class read)

access: access denied (java.io.FilePermission
/opt/doc/test/WEB-INF/classes/simplelog.properties read)

 

 

my policy file is the default tomcat5.5 which I haven't change at all.

Please advice

Thanks 

 



Re: Spam Score

2008-07-26 Thread Mark Thomas

Len Popp wrote:

If you can't re-post the original email successfully, try:
- posting in plain text format, not HTML
- removing URLs
- posting from a different email account, or from a web gateway such
as nabble.com

Perhaps the mailing list admin can give us some hints about what to
avoid when sending email to this list. Or tell us what anti-spam
software is running on mx1.us.apache.org - maybe there is
documentation about how to compose emails so they're not scored as
spam.


Oddly enough we use http://spamassassin.apache.org/

The rules get modified as issues are identified.

That said, sending HTML mail and/or not specifying a subject continue to be 
the most frequent reasons for rejection.


Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem enabling tomcat5.5 Security Manager!

2008-07-26 Thread Mark Thomas

Shahar Cohen wrote:

Hi,

I am trying to run tomcat5.5 on a linux machine with enabling the
Security Manager
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html :


Is this a clean Tomcat install (if so, exactly which version) or have you 
installed any of your own applications?


Mark



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Could not load default SAX parser

2008-07-26 Thread Mark Thomas

Erling Wegger Linde wrote:

Hi,

I'm writing a Macro Plugin for Confluence.

I'm using Rome to fetch an entry from an AtomPub service. Rome depends on JDOM.

I get the following exception:
org.jdom.JDOMException: Could not load default SAX parser:
org.apache.xerces.parsers.SAXParser: SAX2 driver class
org.apache.xerces.parsers.SAXParser does not implement XMLReader:

I'm running Confluence 2.8.2 - Standalone on Ubuntu 8.04


Tomcat version?

Mark




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat got killed after logout

2008-07-26 Thread Martin Gainty

remember ..a System.exit will exit the JVM..

FWIW,
Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


 From: [EMAIL PROTECTED]
 To: users@tomcat.apache.org
 Subject: Tomcat got killed after logout
 Date: Fri, 25 Jul 2008 18:36:12 +
 
 
 Hi,
 I write a bootup script to start tomcat in the boot-up time. For debugging 
 purpose, I use it to start the tomcat in command line also. 
  
 The problem is:  If I logout the shell that I used to start the tomcat, the 
 tomcat exit also with the following message:
  
 Jul 24, 2008 6:32:09 AM org.apache.coyote.http11.Http11Protocol pause
 INFO: Pausing Coyote HTTP/1.1 on http-5888
 Jul 24, 2008 6:32:10 AM org.apache.catalina.core.StandardService stop
 INFO: Stopping service Catalina
  
 Thanks in advance
 Elwin
  
 Env:
 ===
 Apache Tomcat Version 6.0.16
 CentOS release 4.4 (Final)
  jdk1.6.0_06
  
  
  
 Part of  init script is :
 ===
 'start')
 # Start daemon
  
 if test -x $TOMCAT_BIN/catalina.sh
 then
 action $Starting Java services:  exec 
 ${CATALINA_HOME}/bin/catalina.sh jpda start /dev/null 21
  
 else
   echo Can't execute $CATALINA_HOME/bin/catalina.sh
 fi
 ;;
 ===
 _
 Time for vacation? WIN what you need- enter now!
 http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm

_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008

Problem running Tomcat 6.0.16 on Power Mac G4 running Mac OS X 10.4.11

2008-07-26 Thread Blintegra
Hello,

Having a problem getting Tomcat 6.0.16 to run on my Power Mac G4 running Mac 
OS X 10.4.11 w/768 MB of RAM.

When I launch the browser, after pointing it at: http://localhost:8080/

I get the error:

Error response
Error code 500.
Message: Internal Server Error.

I also tried this with a download of apache-tomcat-5.5.26, and got the same 
error.

When I looked at the log files, I saw no real errors.  Almost made it seem as 
if Tomcat was running and would work.

Here is the version of javac I am running:
javac -version
javac 1.5.0_13

Here is the version of java vm I am running:
java -version
java version 1.5.0_13
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)

Now, here are the log files from my attempt with Tomcat 6.0.16:
catalina.2008-07-27.log
Jul 27, 2008 12:39:01 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/javaJul 27, 
2008 
12:39:01 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 27, 2008 12:39:01 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1970 ms
Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener listeners.ContextListener is already configured for this 
context. The duplicate definition has been ignored.
Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener listeners.SessionListener is already configured for this 
context. The duplicate definition has been ignored.
Jul 27, 2008 12:39:05 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 27, 2008 12:39:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 27, 2008 12:39:05 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/88  config=null
Jul 27, 2008 12:39:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3597 ms
catalina.out
Jul 27, 2008 12:39:01 AM org.apache.catalina.core.AprLifecycleListener init
    174 INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on t    he 
java.library.path: 
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    175 Jul 27, 2008 12:39:01 AM org.apache.coyote.http11.Http11Protocol init
    176 INFO: Initializing Coyote HTTP/1.1 on http-8080
    177 Jul 27, 2008 12:39:01 AM org.apache.catalina.startup.Catalina load
    178 INFO: Initialization processed in 1970 ms
    179 Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardService 
start
    180 INFO: Starting service Catalina
    181 Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardEngine 
start
    182 INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    183 Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
    184 INFO: The listener listeners.ContextListener is already configured 
for this context. The duplicate definition has been ignore    d.
    185 Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
    186 INFO: The listener listeners.SessionListener is already configured 
for this context. The duplicate definition has been ignore    d.
    187 Jul 27, 2008 12:39:05 AM org.apache.coyote.http11.Http11Protocol 
start
    188 INFO: Starting Coyote HTTP/1.1 on http-8080
    189 Jul 27, 2008 12:39:05 AM org.apache.jk.common.ChannelSocket init
    190 INFO: JK: ajp13 listening on /0.0.0.0:8009
    191 Jul 27, 2008 12:39:05 AM org.apache.jk.server.JkMain start
    192 INFO: Jk running ID=0 time=0/88  config=null
    193 Jul 27, 2008 12:39:05 AM org.apache.catalina.startup.Catalina start
localhost.2008-07-27.log
ul 27, 2008 12:16:16 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 27, 2008 12:16:16 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 27, 2008 12:21:57 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 27, 2008 12:21:57 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 27, 2008 12:22:06 AM org.apache.catalina.core.ApplicationContext logINFO: 
ContextListener: contextInitialized()
Jul 27, 2008 12:22:06 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()Jul 27, 

Problem running Tomcat 6.0.16 on Power Mac G4 running Mac OS X 10.4.11 (Retransmit)

2008-07-26 Thread Blintegra
Hello,

Having a problem getting Tomcat 6.0.16 to run on my Power Mac G4 running Mac 
OS X 10.4.11 w/768 MB of RAM.

When I launch the browser, after pointing it at: http://localhost:8080/

I get the error:

Error response
Error code 500.
Message: Internal Server Error.

I also tried this with a download of apache-tomcat-5.5.26, and got the same 
error.

When I looked at the log files, I saw no real errors.  Almost made it seem as 
if Tomcat was running and would work.

Here is the version of javac I am running:
javac -version
javac 1.5.0_13

Here is the version of java vm I am running:
java -version
java version 1.5.0_13
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)

Now, here are the log files from my attempt with Tomcat 6.0.16:
catalina.2008-07-27.log
Jul 27, 2008 12:39:01 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the java.library.path: 
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/javaJul 27, 
2008 
12:39:01 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 27, 2008 12:39:01 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1970 ms
Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener listeners.ContextListener is already configured for this 
context. The duplicate definition has been ignored.
Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener listeners.SessionListener is already configured for this 
context. The duplicate definition has been ignored.
Jul 27, 2008 12:39:05 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 27, 2008 12:39:05 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 27, 2008 12:39:05 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/88  config=null
Jul 27, 2008 12:39:05 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3597 ms
catalina.out
Jul 27, 2008 12:39:01 AM org.apache.catalina.core.AprLifecycleListener init
    174 INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on t    he 
java.library.path: 
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
    175 Jul 27, 2008 12:39:01 AM org.apache.coyote.http11.Http11Protocol init
    176 INFO: Initializing Coyote HTTP/1.1 on http-8080
    177 Jul 27, 2008 12:39:01 AM org.apache.catalina.startup.Catalina load
    178 INFO: Initialization processed in 1970 ms
    179 Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardService 
start
    180 INFO: Starting service Catalina
    181 Jul 27, 2008 12:39:02 AM org.apache.catalina.core.StandardEngine 
start
    182 INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
    183 Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
    184 INFO: The listener listeners.ContextListener is already configured 
for this context. The duplicate definition has been ignore    d.
    185 Jul 27, 2008 12:39:04 AM org.apache.catalina.core.StandardContext 
addApplicationListener
    186 INFO: The listener listeners.SessionListener is already configured 
for this context. The duplicate definition has been ignore    d.
    187 Jul 27, 2008 12:39:05 AM org.apache.coyote.http11.Http11Protocol 
start
    188 INFO: Starting Coyote HTTP/1.1 on http-8080
    189 Jul 27, 2008 12:39:05 AM org.apache.jk.common.ChannelSocket init
    190 INFO: JK: ajp13 listening on /0.0.0.0:8009
    191 Jul 27, 2008 12:39:05 AM org.apache.jk.server.JkMain start
    192 INFO: Jk running ID=0 time=0/88  config=null
    193 Jul 27, 2008 12:39:05 AM org.apache.catalina.startup.Catalina start
localhost.2008-07-27.log
ul 27, 2008 12:16:16 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jul 27, 2008 12:16:16 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jul 27, 2008 12:21:57 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Jul 27, 2008 12:21:57 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Jul 27, 2008 12:22:06 AM org.apache.catalina.core.ApplicationContext logINFO: 
ContextListener: contextInitialized()
Jul 27, 2008 12:22:06 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()Jul 27,