Sorry I was too impatient and thought my mail hasn't been set to the
Mailing list. So I posted the same mail again, please disregard.

Cheers

Claudio

********************************************
IPH Informatik AG
Herr Claudio Greuter 
Lagerhausstrasse 9
8400 Winterthur
Switzerland
Tel:            +41 (0)52 203 26 72
Fax:            +41 (0)52 233 94 71
Email:  [EMAIL PROTECTED]
********************************************

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 26. Januar 2007 14:40
To: [email protected]
Subject: [magnolia-user] Tomcat restart resulted in corruupted files

Hello List

Today I had serious problems with my Magnolia Installation (mag3 rc4 on
mysql). I noticed that the Tomcat instance used to host my magnolia web
applications (6 in total) used 100% CPU. I already noticed this once and
I somehow think it is occurs when I export large trees (around 50mb) to
XML, but I am not sure.

After I restarted Tomcat one of the Public Webapps did not work, in the
log file I found the exceptions at the bottom of this mail.

I managed to get it back online by restoring the Files in the
Webapplication folder (magnoliaPublic) from the last backup tape. The
Mysql database I did not have  to restore, so I think magnolia left some
corrupted files after restarting tomcat.

What does magnolia write to the webapp folder which could become
corrupt? All data should be saved in the Mysql database (I used Anthony
Ogiers approach for this).

Here is the exception snippets I mentioned, any input on this would be
great, because magnolia does not seem to be very stable like this
(Tomcat restarts may be necessary quite often):

Snippet 1:
---------
RROR  org.apache.jackrabbit.core.RepositoryImpl 26.01.2007 09:42:44 --
Unable to initialize workspace 'website'
javax.jcr.RepositoryException
        at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchMa
nager.java:531)
        at
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:273)
        at
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager
(RepositoryImpl.java:1434)
        at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.j
ava:540)
        at
org.apache.jackrabbit.core.RepositoryImpl.getWorkspaceInfo(RepositoryImp
l.java:641)
        at
org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1051
)
        at
org.apache.jackrabbit.core.jndi.BindableRepository.login(BindableReposit
ory.java:154)

Snippet 2:
---------
Caused by: java.lang.NullPointerException
        at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:194)
        at org.pdfbox.pdmodel.PDPageNode.getAllKids(PDPageNode.java:182)
        at
org.pdfbox.pdmodel.PDDocumentCatalog.getAllPages(PDDocumentCatalog.java:
161)
        at
org.pdfbox.util.PDFTextStripper.writeText(PDFTextStripper.java:219)
        at
org.apache.jackrabbit.core.query.PdfTextFilter$1.initializeReader(PdfTex
tFilter.java:82)
        at
org.apache.jackrabbit.core.query.LazyReader.read(LazyReader.java:79)
        at
org.apache.lucene.analysis.standard.FastCharStream.refill(FastCharStream
.java:68)
        at
org.apache.lucene.analysis.standard.FastCharStream.readChar(FastCharStre
am.java:44)

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to