Monthly Archives: June 2004

Hibernate DDL Export and SQL Length

Warning! Long story ahead… One of the great features of Hibernate is what it calls “…roundtrip engineering” where you can begin with one artifact (a POJO, a database table, a Hibernate mapping file) and produce all the others from it. … Continue reading

Posted in J2EE | 9 Comments

Getting IIS 5.x & Tomcat 5.x to play nice

Just for posterity’s sake, directions on how to get IIS 5.1 (ie: Windows XP Professional) and Tomcat 5 to play nicely. The directions assume that you have Tomcat 5.x and IIS 5.x installed and functioning. a) Download Tomcat Web Server … Continue reading

Posted in J2EE, Systems Administration | 16 Comments

Struts Tips #3

Developing a Java web application (especially in Struts) is different in many ways from developing in ColdFusion, ASP or even ASP.NET. One of the major differences is the structure of the application; generally ColdFusion, ASP and ASP.NET applications are structured … Continue reading

Posted in J2EE, Struts | 1 Comment

Lucene Hit Highlighter

A couple months ago I was looking to use a library that Mark Harwood wrote called the Lucene Hit Highlighter. His hosting company closed his account so the library wasn’t available at the time (he was kind enough to send … Continue reading

Posted in Lucene | 6 Comments

Microsoft Log Parser in action

I mentioned Microsoft Log Parser a couple months back but never had a chance to actually use it until last Friday when my boss needed to know exactly how many times a certain type of file had been acccessed on … Continue reading

Posted in Systems Administration | 8 Comments

Scheduled Tasks using Quartz

Where I work we run about 30-40 public web sites deployed across a variety of servers in development, staging and live environments. One of my personal goals is to automate the deployment process, making it as close to foolproof as … Continue reading

Posted in J2EE | 2 Comments

why create jSearch?

One of the comments posted to the blog entry introducing jSearch asked why I thought it needed to be created when a tool like nutch already exists. nutch is a massive undertaking, it’s aim is to create a spider and … Continue reading

Posted in J2EE, Lucene, Open Source, Software Development | 5 Comments

introducing jSearch

I’ve been scratching an itch off and on for a couple months now on a project I finally called jSearch (naming suggestions are welcomed!). jSearch is a tool for spidering (give it a host name and optionally a path and … Continue reading

Posted in J2EE | 15 Comments

Hibernate: Using ‘native’ identifier generation

The nice folks at Apress sent me a couple books (Enterprise Java Development on a Budget: Leveraging Java Open Source Technologies, Pro Jakarta Struts and Beginning J2EE 1.4: From Novice to Professional) to review. Last night I was glancing through … Continue reading

Posted in J2EE | 2 Comments

JSTL XML tag problem: Cannot inherit from final class

I’m trying to use the JSTL XML tags in a JSP page and I’m getting this error: java.lang.VerifyError: Cannot inherit from final class java.lang.ClassLoader.defineClass0(Native Method) java.lang.ClassLoader.defineClass( …WebappClassLoader.findClassInternal( …WebappClassLoader.findClass( …WebappClassLoader.loadClass( …WebappClassLoader.loadClass( java.lang.ClassLoader.loadClassInternal( org.apache.taglibs.standard.tag.common.xml.ForEachTag.prepare( javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag( org.apache.jsp.test_jsp._jspx_meth_x_forEach_0( org.apache.jsp.test_jsp._jspService( org.apache.jasper.runtime.HttpJspBase.service( javax.servlet.http.HttpServlet.service( org.apache.jasper.servlet.JspServletWrapper.service( org.apache.jasper.servlet.JspServlet.serviceJspFile( … Continue reading

Posted in J2EE | 1 Comment