20030301 Saturday March 01, 2003

Struts Resume on Tomcat 4.1.18 LE I discovered some issues with struts-resume 0.6. Thanks to Thomas Fabbricante for the tip. The first bug I found is that you need to change the following line in your database.properties file:

hibernate.connection.url = jdbc:mysql://localhost:3306/struts-resume?autoReconnect=true   

to:

hibernate.connection.url = jdbc:mysql://localhost:3306/resume?autoReconnect=true

As for running struts-resume on Tomcat LE, you'll first need to put mail.jar and activation.jar in $CATALINA_HOME/common/lib - or you can comment out the mail-related stuff. These files include metadata/web/struts-resume.xml (JNDI Mail Session) and web/WEB-INF/classes/log4j.properties (SMTPAppender configuration). Then it all seems to work great! Sweet - that was a lot easier than I thought it'd be. I'll release a 0.6.1 in order to update the database.properties.sample to have a valid db url.

Update: I've uploaded the files for 0.6.1, you can download them here. Alos, here's a demo and a project link for your clicking pleasure. Posted in General at Mar 01 2003, 05:02:53 PM MST Add a Comment

Comments:

Post a Comment:
  • HTML Syntax: Allowed