One day before I was able to install, update and run both instances in Tomcat. More than that it was also another web application running in the same Tomcat instance. So I don't think Tomcat needs more memory to bootstrap. At a moment while working in author I wanted to remove a page. Then everythng went wrong. After I stopped deleted all and reinstalled the bundle I was not able to get it working anymore.
Disk space is also not a problem.
All webapps are owned by root.

Do you have any idea what could be wrong?
Should Java be 1.5? Can be because of Java 1.6?
If I look to the logs the error is errorListenerStart.

David Smith schreef:
Take a look at your logs for better information on what happened during the bootstrap process. Possible issues are:

Permissions on magnoliaAuthor and ROOT -- tomcat needs write permission on those directories Disk space on the volume the webapps is on -- the repository files can take up a bit of room. Memory needs -- did tomcat have enough memory to fully bootstrap?

--David


Adrian Butnaru wrote:
OK.
I reinstalled everything. Restarted Tomcat. Restarted Squid.
I get the main magnolia page. I go to Public. I get the public. Start Install/pdate. Updating begins but failes with:

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

2 tasks have been executed, for a total of 100 tasks.
Messages

General messages

   * Could not perform installation: Error importing
     config.server.filters: failed to persist namespace registry:
     failed to get output stream for
/home/server/magnolia-3.6.1/apache-tomcat-5.5.25/webapps/magnoliaPublic/repositories/magnolia/repository/namespaces/ns_reg.properties


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

Author update fails also after a while with:

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

36 tasks have been executed, for a total of 100 tasks.
Messages
Magnolia Core Module (version 3.6.1)

   * Please set the config:/server/defaultBaseUrl property to a full
     URL to be used when generating absolute URLs for external systems.

General messages

   * Could not perform installation:
     javax.jcr.NoSuchWorkspaceException: dms

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

It is strange. It looks like something is behaving wrong everytime on my server. I am running Fedora Core 6 and Sun JDK 1.6.
,
David Smith schreef:
AdminCentral is still available in the "public" instance. Try to access /.magnolia/adminCentral.html on your public magnolia, see what you get.

--David

Adrian Butnaru wrote:
Here is the logfile. It looks like there is no listener correctly available for the public instance but it is a new installation.


[EMAIL PROTECTED] logs]# vi catalina.2008-09-02.log
INFO: Initializing Coyote HTTP/1.1 on http-8080
2-sep-2008 22:07:55 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 839 ms
2-sep-2008 22:07:55 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
2-sep-2008 22:07:55 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.25
2-sep-2008 22:07:55 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2-sep-2008 22:10:39 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
2-sep-2008 22:10:39 org.apache.catalina.core.StandardContext start
SEVERE: Context [/magnoliaPublic] startup failed due to previous errors
2-sep-2008 22:10:40 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
2-sep-2008 22:10:40 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
2-sep-2008 22:10:40 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/101  config=null
2-sep-2008 22:10:40 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
2-sep-2008 22:10:40 org.apache.catalina.startup.Catalina start
INFO: Server startup in 165934 ms


Adrian Butnaru schreef:
I stopped Tomcat, removed the whole magnolia 3.6.1. directory and I did again tar xvfz magnolia[..].tar.gz file. Started again the new Tomcat now only with magnoliaAuthor and magnoliaPublic as directories (no complications). First page of magnolia talking about author and public instance appears. Author instance works well (updates and starts) but if I call in the browser magnoliaPublic I receive nothing.


David Smith schreef:
You may need to clear out the ROOT webapp's repository and re-bootstrap. I suspect the previous failed bootstrap has left some corruption.

--David

Adrian Butnaru wrote:
The Author instance works now, but the public one appears only if I type www.website.com/help.html.


David Smith schreef:
You JVM is running out of memory. Increase the -Xmx parameter on your tomat service and restart. Typically memory is consumed at it's highest rate during bootstrap. Once the bootstrap process finishes, the memory setting can be reduced. Keep track of memory use using the manager webapp.

--David

Adrian Butnaru wrote:
It was working in the beginning following the advice you gave, but after updating some modules I received "Could not perform installation: Java Heap Space". I had no problem when I tried to deploy magnoliaAuthor and magnoliaPublic in the respective folders.
Where is the problem?

Thanks,
A.

David Smith schreef:
Either rename ROOT/WEB-INF/config/magnoliaPublic to ROOT or make a copy of ROOT/WEB-INF/config/magnoliaPublic named ROOT in the same folder. That'll give magnolia a config for an instance deployed as ROOT. Author only works because the ROOT/WEB-INF/config/default folder is setup to make any context not explicitly a public instance an author instance.

--David

Adrian Butnaru wrote:
Hi,
I have installed Mangolia 3.6.1. bundled with tomcat in Linux. Author instance runs perfect after changing the name of the directory in "author"(www.website.com/author). I changed magnoliaPublic directory name in ROOT in order to make the public instance running when typing in the browser the url of my website. The author instance works perfect but the public one not. Is any other change I should make?

Thanks,
A.


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



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

Reply via email to