Discussion:
404 Error - The requested resource (/magnoliaAuthor/) is not available.
groups
2008-04-10 19:57:21 UTC
Permalink
Hi 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 neither work. I get this error message:

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.

----------------------------------------------------------------
David Smith
2008-04-11 01:12:53 UTC
Permalink
If 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 groups
Hi 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).
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/
----------------------------------------------------------------
----------------------------------------------------------------
Menachem Bazian
2008-04-11 15:57:11 UTC
Permalink
I 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" <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
To: <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
Sent: Thursday, April 10, 2008 9:12 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David Smith
If 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 groups
Hi 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 neither work. I get this
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.
Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.10/1367 -
Release Date: 4/9/2008 7:10 AM
----------------------------------------------------------------
David Smith
2008-04-11 16:04:42 UTC
Permalink
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
Menachem Bazian
2008-04-11 16:35:21 UTC
Permalink
Wow. 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" <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
To: <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
Sent: Friday, April 11, 2008 12:04 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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 neither work. I
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.
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
----------------------------------------------------------------
Giancarlo F. Berner
2008-04-11 16:36:21 UTC
Permalink
Do the following with a clean Tomcat installation:
- Copy the magnolia.war into /webapps folder
- Start Tomcat and wait a few minutes. Magnolia will take a while for
bootstrapping the repository.
- Once started stop Tomcat
- Remove (don't rename) the Magnolia war file from the /webapps folder
- Restart Tomcat
- Open Browser and launch the Magnolia Admin Central (http://localhost:8080/magnoliaAuthor
(or whatever name your Magnolia instance has)

Cheers
/giancarlo

The problem I run into is that Tomcat will extract the .war and
Magnolia will bootstrap the repositories. This means that on the next
startup, the Magnolia web app and the .war file are not the same.
Post by Menachem Bazian
I 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.
Sent: Thursday, April 10, 2008 9:12 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource (/
magnoliaAuthor/) is not available.
If 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 groups
Hi 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
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
David Smith
2008-04-11 16:39:14 UTC
Permalink
I'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.

--David
Post by Menachem Bazian
Wow. 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 Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
David Smith
2008-04-11 16:46:34 UTC
Permalink
Post by Giancarlo F. Berner
- Start Tomcat and wait a few minutes. Magnolia will take a while for
bootstrapping the repository.
Not version 3.5.4 -- it has the nifty new install/update mechanism that
doesn't start until you enter the site and start it yourself. All that
happens on startup in the newest version is the repositories are
initialized.
Post by Giancarlo F. Berner
- Remove (don't rename) the Magnolia war file from the /webapps folder
That's dependent on the config of your tomcat. It can be configured to
not expand war archives in the webapps directory. In that case, there
won't be a companion magnoliaAuthor folder in the webapps directory to
leave behind. Either way, ServletContext.getRealPath() returns null if
magnolia is started from a .war file which is I suspect how magnolia
figures out where it is on the filesystem. One of the devs is welcome
to correct me if I'm wrong on that front though.

--David
Post by Giancarlo F. Berner
- Copy the magnolia.war into /webapps folder
- Start Tomcat and wait a few minutes. Magnolia will take a while for
bootstrapping the repository.
- Once started stop Tomcat
- Remove (don't rename) the Magnolia war file from the /webapps folder
- Restart Tomcat
- Open Browser and launch the Magnolia Admin Central
(http://localhost:8080/magnoliaAuthor (or whatever name your
Magnolia instance has)
Cheers
/giancarlo
The problem I run into is that Tomcat will extract the .war and
Magnolia will bootstrap the repositories. This means that on the next
startup, the Magnolia web app and the .war file are not the same.
Post by Menachem Bazian
I 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.
If 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 groups
Hi 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
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
Menachem Bazian
2008-04-11 17:08:11 UTC
Permalink
David,

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" <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
To: <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
Sent: Friday, April 11, 2008 12:39 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David Smith
I'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.
--David
Post by Menachem Bazian
Wow. 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 Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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 neither work.
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.
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
----------------------------------------------------------------
Menachem Bazian
2008-04-11 17:09:16 UTC
Permalink
Giancarlo,

Thanks for the reply. That's what I did initially. I followed that verbatim
with no success...

The files were there. It all unzipped. But I cannot seem to get it to
work...
----- Original Message -----
From: "Giancarlo F. Berner" <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
To: <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
Sent: Friday, April 11, 2008 12:36 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by Giancarlo F. Berner
- Copy the magnolia.war into /webapps folder
- Start Tomcat and wait a few minutes. Magnolia will take a while for
bootstrapping the repository.
- Once started stop Tomcat
- Remove (don't rename) the Magnolia war file from the /webapps folder
- Restart Tomcat
- Open Browser and launch the Magnolia Admin Central
(http://localhost:8080/magnoliaAuthor (or whatever name your Magnolia
instance has)
Cheers
/giancarlo
The problem I run into is that Tomcat will extract the .war and Magnolia
will bootstrap the repositories. This means that on the next startup, the
Magnolia web app and the .war file are not the same.
Post by Menachem Bazian
I 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.
Sent: Thursday, April 10, 2008 9:12 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource (/
magnoliaAuthor/) is not available.
If 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 groups
Hi 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 neither work.
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.
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
----------------------------------------------------------------
David Smith
2008-04-11 17:17:56 UTC
Permalink
Check 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 Bazian
David,
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 Smith
I'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.
--David
Post by Menachem Bazian
Wow. 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 Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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 neither work. I get this
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
Menachem Bazian
2008-04-11 17:21:40 UTC
Permalink
NO 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" <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
To: <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
Sent: Friday, April 11, 2008 1:17 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David Smith
Check 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 Bazian
David,
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 Smith
I'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.
--David
Post by Menachem Bazian
Wow. 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 Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
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
----------------------------------------------------------------
David Smith
2008-04-11 17:37:49 UTC
Permalink
Ok 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 Bazian
NO 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 Smith
Check 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 Bazian
David,
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 Smith
I'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.
--David
Post by Menachem Bazian
Wow. 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 Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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
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 neither work. I
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
Menachem Bazian
2008-04-11 19:07:53 UTC
Permalink
OK, 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. Catalina log says:

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" <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
To: <user-list-O8DnXSz/wDok+I/***@public.gmane.org>
Sent: Friday, April 11, 2008 1:37 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David Smith
Ok 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 Bazian
NO 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 Smith
Check 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 Bazian
David,
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 Smith
I'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.
--David
Post by Menachem Bazian
Wow. 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 Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
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
----------------------------------------------------------------
David Smith
2008-04-11 21:27:07 UTC
Permalink
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 Bazian
OK, 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 Smith
Ok 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 Bazian
NO 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 Smith
Check 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 Bazian
David,
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 Smith
I'm reasonably sure if you customized you magnolia to write the
repositories and logs folder outside the webapp, it would.
--David
Post by Menachem Bazian
Wow. 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 Smith
Oh! .... (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 Bazian
I 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 Smith
If 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 groups
Hi 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/
----------------------------------------------------------------
----------------------------------------------------------------
Grégory Joseph
2008-04-14 09:36:14 UTC
Permalink
Post by Menachem Bazian
OK, 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
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
That's coming from catalina.out I assume ? Have a look at catalina.
2008-04-xx.log

-g
Post by Menachem Bazian
Could it be a problem with tomcat?
----- Original Message ----- From: "David Smith" <user-
Sent: Friday, April 11, 2008 1:37 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource (/
magnoliaAuthor/) is not available.
Post by David Smith
Ok 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 Bazian
NO 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" <user-
Sent: Friday, April 11, 2008 1:17 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource (/
magnoliaAuthor/) is not available.
Post by David Smith
Check 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 Bazian
David,
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" <user-
Sent: Friday, April 11, 2008 12:39 PM
Subject: Re: [magnolia-user] 404 Error - The requested resource
(/magnoliaAuthor/) is not available.
Post by David Smith
I'm reasonably sure if you customized you magnolia to write
the repositories and logs folder outside the webapp, it would.
--David
Post by Menachem Bazian
Wow. 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" <user-
Sent: Friday, April 11, 2008 12:04 PM
Subject: Re: [magnolia-user] 404 Error - The requested
resource (/magnoliaAuthor/) is not available.
Post by David Smith
Oh! .... (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 Bazian
I 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" <user-
Sent: Thursday, April 10, 2008 9:12 PM
Subject: Re: [magnolia-user] 404 Error - The requested
resource (/magnoliaAuthor/) is not available.
If 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 groups
Hi 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 neither work. I
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.
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/
----------------------------------------------------------------
----------------------------------------------------------------
Menachem Bazian
2008-04-16 12:26:49 UTC
Permalink
Thank you for all your support. We got it working. The problem was Tomcat
after all. Seems like the debian package for this is gebroken. When we
installed it manually, it worked.

Thanks!


----------------------------------------------------------------

Loading...