{
logger.error("Failed to rollback", e2);
}
e.printStackTrace();
logger.error("Exception storing Portlet Entry: " + pe.getName(), e);
throw new RegistryException("Exception storing Portlet Entry: "
+ pe.getName() + ", " + e.toString());
} finally
{
// make sure to release the database connection
Torque.closeConnection(conn);