Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 89811 invoked from network); 1 Mar 2007 08:55:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 08:55:54 -0000 Received: (qmail 40202 invoked by uid 500); 1 Mar 2007 08:56:00 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 40182 invoked by uid 500); 1 Mar 2007 08:56:00 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 40169 invoked by uid 99); 1 Mar 2007 08:56:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 00:56:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [212.247.90.225] (HELO mail.scandorama.se) (212.247.90.225) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 00:55:48 -0800 Received: from localhost (kreon.scandorama.se [10.48.37.12]) by mail.scandorama.se (Postfix) with ESMTP id E72E11191C for ; Thu, 1 Mar 2007 09:55:25 +0100 (CET) Received: from mail.scandorama.se ([10.48.37.4]) by localhost (kreon.scandorama.se [10.48.37.12]) (amavisd-new, port 10025) with ESMTP id 15167-02 for ; Thu, 1 Mar 2007 09:55:04 +0100 (CET) Received: from [10.48.37.242] (dator-242.scandorama.se [10.48.37.242]) by mail.scandorama.se (Postfix) with ESMTP id D643111926 for ; Thu, 1 Mar 2007 09:54:34 +0100 (CET) Message-ID: <45E694E9.6030205@pmb.mine.nu> Date: Thu, 01 Mar 2007 09:55:05 +0100 From: Peter Petersson User-Agent: Thunderbird 1.5.0.9 (X11/20070102) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Runing Apache Roller 3.0 on Geronimo 1.1.1 References: <45E1E283.3000801@pmb.mine.nu> <45E4C3A3.4060606@gmail.com> In-Reply-To: <45E4C3A3.4060606@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Debian amavisd-new at kreon.scandorama.se X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the info I will try it out but I am afraid there has been some changes in Roller 3.0 that may course my problems have you tried to install 3.0 ? When I get time to look at your information and apply fixes to my build I will post info here. Thanks Peter Tim McConnell wrote: > Here is the JUG/Webcast presentation that elaborates some on the > instructions in Jeff's article. It was pretty straightforward after I > got MySql working correctly...Let me know if you need additional > information > > Thanks, > Tim McConnell > > > Peter Petersson wrote: >> Hi >> >> I am trying to run Apache Roller >> 3.0 on Geronimo >> 1.1.1 but soon after startup (during the initial configuration steps) >> hibernate is starting to throw >> org.hibernate.SessionException: Session is closed! exceptions (I am >> not sure this is the course of the problems). >> >> Dose anyone have a tutorial or a working configuration to share with >> the public available ? >> I have searched the web for it but have only come up with outdated >> information. >> Any help in resolving the problems is greatly appreciated. >> >> Roller configuration changes: >> As I am using MySql 5.0.35 with (J/Connector 3.1.12) I have changed >> the hibernate dialect accordingly >> hibernate.cfg.xml >> : >> >> org.hibernate.dialect.MySQL5Dialect >> : >> >> Geronimo/Roller configuration >> >> Created the mysql roller database and deployed the db plan >> Database plan: >> >> >> > xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1"> >> >> console.dbpool >> MySqlDB_roller >> 1.0 >> rar >> >> >> >> mysql >> mysql-connector-java >> 3.1.12 >> jar >> >> >> >> >> >> >> >> javax.sql.DataSource >> >> >> MySqlDB_roller >> > name="Password">thepw >> > name="Driver">com.mysql.jdbc.Driver >> > name="UserName">thename >> > name="ConnectionURL">jdbc:mysql://localhost:3306/roller >> >> >> >> >> 10 >> 0 >> >> >> >> >> >> >> >> >> >> >> geronimo-web.xml >> >> >> > xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.1" >> xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.1" >> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.1"> >> >> >> m4u >> roller >> war >> >> >> >> console.dbpool >> MySqlDB_roller >> >> >> >> /roller >> >> jdbc/rollerdb >> MySqlDB_roller >> >> >> >> >> setenv.sh: >> JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun >> JAVA_OPTS="-Djava.awt.headless=true -XX:MaxPermSize=128m -Xms128M >> -Xmx512M -server" >> >> What am I missing or doing wrong here ? (or is there any known issues >> running Roller on Geronimo) >> >> /Peter >> >>