On Tue, 2009-05-26 at 13:58 +0200, Grégory Joseph wrote:
> Please try  
> with a completely clean installation (by re-extracting the bundle like  
> you suggested) and let us know how it goes !

Hi Grégory, thank you for you help. I tried a completely clean
installation of the 4.0.1 bundle with tomcat, and got the magnolia
Author running but the Public instance wont start.

What I saw with the magnolia Author is fabulous!

Looking at catalina.out I think the point of failure is ...

WARN  .persistence.bundle.util.ConnectionRecoveryManager: Could not
connect; driver: org.apache.derby.jdbc.EmbeddedDriver url:
jdbc:derby:/home/jayson/magnolia/tomcat/webapps/magnoliaPublic/repositories/magnolia/workspaces/config/db;create=true
 user: null error: java.sql.SQLException: Failed to create database 
'/home/jayson/magnolia/tomcat/webapps/magnoliaPublic/repositories/magnolia/workspaces/config/db',
 see the next exception for details.

I saved the whole catalina.out - do you prefer that in line or as an
attachment?

Here is what I did to get this far.

1) Installed Ubuntu 9.04 from CD
2) Installed OpenJDK Java 6 Runtime - (that is the standard
'Canonical-maintained' version for Ubuntu using the Add/Remove
application and searching for "java")

To confirm the java installation I did ...
$java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.4.1) (6b14-1.4.1-0ubuntu7)
OpenJDK Client VM (build 14.0-b08, mixed mode, sharing)

3) I set up JAVA_HOME by adding a line to /etc/environment and rebooting

To confirm...
$ cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
JAVA_HOME="/usr/lib/jvm/java-6-openjdk"

~$ cd $JAVA_HOME
/usr/lib/jvm/java-6-openjdk$ 

4) I downloaded the Community Edition bundle -
magnolia-tomcat-bundle-4.0.1-bundle-jdk15.zip
 
and, extracted it into /home/jayson/magnolia-4.0.1 - (I used the
graphical file manager and archive manager)

5) For my convenience I renamed the directory "magnolia-4.0.1" to
"magnolia" and the "apache-tomcat-5.5.27" directory within to "tomcat"

6) I started tomcat, using a terminal as follows...

cd ~/magnolia/tomcat/bin
./magnolia_control.sh start

7) After about 30 seconds when the activity had died down I saved the
catalina.out log at ~/magnolia/tomcat/logs (let me know if you need me
to attach it)

I can see that the Author has started and that the Public has not
stared.

I think I have permissions to all the files - I did not use sudo except
to edit /etc/environment

I know from subsequent clean installs that I can navigate to the Author
at http://localhost:8080 and do the updates, STK installation, login and
use Admin Central - but the Public did not start.

So, what am I doing wrong and what should I try next?

Thank you, in advance, for your help,

Jayson



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to