Weird ... I'm sure there should be more to the logging messages than
that. Maybe some of it's getting eaten by the fact that magnolia's
logging (provided by log4j) doesn't even get off the ground.
Also I just connected the dots between this thread and the one you have
over on the tomcat user list. Ubuntu might be the issue. There's been
no end on the tomat list to the issues people have had with the third
party repackages. I don't know of a single case that didn't get fixed
by replacing it with Apache's tomcat distribution. And that's saying
something given I've been on the tomcat list since version 3.3.
Here's what I've done repeatedly using apache downloads of tomcat and
have yet to ever see a failure:
Download tomcat and get it working. Pretty much that's as simple as
unarchiving it to some directory ... let's say /usr/local/tomcat for
example and then using the startup script in tomcat's bin directory. To
setup as a service, you'll probably best off compiling and using jsvc
from the commons-daemon project (http://commons.apache.org/daemon) but
that's for later when other things are working.
Then place the expanded magnolia webapp in the webapps directory, naming
it magnoliaAuthor and make sure the user tomcat is running as has full
read/write access. In the most basic test case, if you downloaded and
started tomcat using the shell scripts in the tomcat bin directory,
tomcat will most likely be running under your user account.
Then fire up a browser and point it to
http://localhost:8080/magnoliaAuthor. It'll first redirect you to the
install/update page and have you install the modules. After a few
minutes, you be given a button to start magnolia and be redirected to
the AdminCentral page.
--David
Post by Menachem BazianOK, I did as you suggested. I checked the folder rights and they are
777 so I guess that magnolia should have the write rights it needs.
Still won't start. Still no log files in the magnolia directory.
Apr 11, 2008 2:52:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 11, 2008 2:52:06 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/magnolia] startup failed due to previous errors
Could it be a problem with tomcat?
----- Original Message ----- From: "David Smith"
Sent: Friday, April 11, 2008 1:37 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David SmithOk then. Since you have an expanded magnoliaAuthor folder in
tomcat's webapps folder, stop tomcat, delete the war file and restart
tomcat. Also check to be sure tomcat has write privilege on the
magnoliaAuthor folder and all it's content. Check both the catalina
log in tomcat's logs directory and magnolia Author's logs directory.
Hopefully the second one will show up this time around.
If not, there has to be some information in tomcat's logs somewhere
regarding why it isn't being deployed.
--David
Post by Menachem BazianNO logs folder anywhere I can see...
I checked /var/libs/tomcat5.5/magnolia and all it's subfolders... I
do not see any named logs...
----- Original Message ----- From: "David Smith"
Sent: Friday, April 11, 2008 1:17 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David SmithCheck to see if there is a logs directory within magnolia and check
the logs in their to see if there are any errors.
--David
Post by Menachem BazianDavid,
OK, here is what I have found. I checked the Tomcat5.5
webapp/magnolia folder and found that all the files are there. The
war file is totally unzipped there.
In TomCat5.5 manager, Magnolia is listed as an installed
application but it is not listed as running. I cannot start it
either.
When I go into http://md-lamp:8180/magnolia/.magnolia, I still get
the same error.
Still scratching my head here... Could there be something wrong
with Tomcat? I don't think so because I can use the manager
application but I am a total newbie at this... if there is a test
you can suggest I run, I will do so.
Menachem
----- Original Message ----- From: "David Smith"
Sent: Friday, April 11, 2008 12:39 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David SmithI'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.
--David
Post by Menachem BazianWow. I had no idea. (Docs said otherwise).
Let me try that and get back to you.
THANKS FOR THE TIP!
----- Original Message ----- From: "David Smith"
Sent: Friday, April 11, 2008 12:04 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David SmithOh! .... (light bulb shows up above my head) ... Magnolia is
designed to run as an expanded archive out of the box, not a
war file. Unzip the war file and upload that to your tomcat
server. On first start it needs to create a logs and
repositories folder in the top level of the webapp. That can't
happen if it's deployed as a war archive.
--David
Post by Menachem BazianI had tried that. I have confirmed in Tomcat that the context
is magnoliaAuthor (it renames the war file and then installs it).
I just tried starting it again and got the error. Here are the
only logs I see in /var/logs/tomcat5.5
/var/log/tomcat5.5/catalina.2008-04-11.log
Apr 11, 2008 11:51:44 AM
org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Apr 11, 2008 11:51:44 AM
org.apache.catalina.core.StandardContext start
SEVERE: Context [/magnoliaAuthor] startup failed due to
previous errors/var/log/tomcat5.5/manager.2008-04-11.log
Apr 11, 2008 11:51:31 AM
org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host
'localhost'
Apr 11, 2008 11:51:43 AM
org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application at
'/magnoliaAuthor'
Apr 11, 2008 11:51:44 AM
org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host
'localhost'If there is anything else to look at, I do not know
what it might be (I am a linux/java/tomcat newbie).
Thank you for your help.
----- Original Message ----- From: "David Smith"
Sent: Thursday, April 10, 2008 9:12 PM
Subject: Re: [magnolia-user] 404 Error - The requested
resource (/magnoliaAuthor/) is not available.
Post by David SmithIf you renamed your downloaded magnolia from
magnolia-bundled-webapp-3.5.4.war to magnolia.war, the
webapp's context will be magnolia, not magnoliaAuthor.
http://md-lamp:8180/magnolia/.magnolia
Also check your tomcat logs if that doesn't help.
--David
Post by groupsHi All!
I just installed Tomcat 5.5 and Magnolia on an Ubuntu Server
(7.10) with Apache 2. Tomcat is working fine, near as I can
tell. The Web Application Manager works, for example.
I downloaded the WAR file and used the Deploy function (I
used magnolia-bundled-webapp-3.5.4.war and renamed it to
magnolia.war). For the record, I deployed it using
http://mylamp:8180/manager/deploy?path=/magnoliaAuthor&war=file:/home/administrator/magnolia.war
TomCat Manager does show that magnoliaAuthor is installed
but I cannot start it. When I try to start it, I get the
error: FAIL - Application at context path /magnoliaAuthor
could not be started.
And yes, I have the JDK installed (sun-java5-jdk
1.5.0-13-0ubuntu1 is the package installed).
I then try to go to
http://md-lamp:8180/magnoliaAuthor/.magnolia (that's what's
in the readme) and http://md-lamp:8180/magnoliaAuthor/
(which is what was documented on a page on the net) and
HTTP Status 404 - /magnoliaAuthor/.magnolia
type Status report
message /magnoliaAuthor/.magnolia
description The requested resource
(/magnoliaAuthor/.magnolia) is not available.
One last point. I also tried installing this manually (the
doc page I found said to copy the way into the webapps
folder, start up Tomcat and it would bootstrap the
application) with the same success.
Any suggestions would be greatly appreciated.
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
--
No virus found in this incoming message.
269.22.10/1367 - Release Date: 4/9/2008 7:10 AM
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
--
No virus found in this incoming message.
269.22.10/1367 - Release Date: 4/9/2008 7:10 AM
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
--
No virus found in this incoming message.
Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.10/1367
- Release Date: 4/9/2008 7:10 AM
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
--
No virus found in this incoming message.
Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.10/1367 -
Release Date: 4/9/2008 7:10 AM
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
--
No virus found in this incoming message.
Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.10/1367 -
Release Date: 4/9/2008 7:10 AM
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------