A Quick Wiki Software Review
My intent in this blog is to help jumpstart someone who is new to wikis and has been tasked to learn or prepare to deploy a wiki.
1. What is a Wiki?
A wiki is a collaborative tool used to allow a group of people to jointly contribute to a document. Typically, how it works is [...]
Setup Hibernate in a Swing Application
Hibernate works very well in Swing Applications. This page is intended to help you get started in implementing Hibernate with Swing. This particular example is set up in a database environment using Oracle 10g. However, this setup will work perfectly in other database enviroments by simply modifying the database connection information.
1. Download the latest [...]
org.hibernate.MappingNotFoundException: resource: /Entry.hbm.xml not found
Ran across this error while building the Swing application with Hibernate. Originally, the Entry.hbm.xml file was placed deep in the directory structure next to the java class called Entry.java. Several ways of naming the xml file where tried. The only solution that worked in this case was to move the file outside of the classpath [...]
java.lang.NoClassDefFoundError: net/sf/cglib/proxy/CallbackFilter
Ran across this error while setting up an application using Hibernate. After googling it some, I came across a thread (in Spanish) referencing the need to include the cglib-2.1.3.jar. That may have fixed the problem; nevertheless, the problem had to do with not including all of the hibernate jar files found in the hibernate-3-X-X.ga.zip file. [...]
No connection properties specified – the user must supply JDBC Connections
Was trying to get setup with Hibernate and ran into the following error and stack trace:
INFO: using JDK 1.4 java.sql.Timestamp handling
Dec 26, 2007 11:40:40 AM org.hibernate.connection.UserSuppliedConnectionProvider configure
WARNING: No connection properties specified – the user must supply JDBC connections
Exception in thread "AWT-EventQueue-0" org.hibernate.HibernateException: Hibernate Dialect
must be explicitly set
at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
This error [...]
Automate Website Monitoring
Some instability on one of the servers I manage has brought up the need to setup automated monitoring that will send email alerts in the event that a website is down. In looking at possible solutions, I was considering several alternatives. Two of them that stood out the strongest are as follows:
1. [...]
Configuring Tomcat to work with IIS
The first question is whether you should use Tomcat or Resin as your application server. Here are some quick pros and cons with each.
Pro for Tomcat – Third party software is more likely to run on Tomcat than Resin
Pro for Tomcat – Sessions don’t get lost on server restarts
Pro for Tomcat – Tomcat is built [...]
Confluence Recently Updated not Updating
Ran into this issue where the section on the main page called Recently Updated was not updating.
The solution was to go into Administration -> Content Indexing and Rebuild the Index.
The official instructions for Confluence is that if that does not work, then remove the <confluence-home>/index directory, restart the application server and then rebuild [...]