- 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.

- 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

Giancarlo F. Berner wrote:

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.

On Apr 11, 2008, at 8:57 AM, Menachem Bazian wrote:

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" <[email protected] >
To: <[email protected]>
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

groups wrote:

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.

----------------------------------------------------------------
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/
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to