The folders you describe are part of the standard tomcat distribution.
Did you remove them?
-- David
Peter Götz wrote:
Hi again!
I found out what was the problem. In the prepackaged version of Magnolia 2.1.5 with Tomcat 5.0.28 there existed the folder temp and the folder shared/lib and shard/classes in the Tomcat directory. When I added these, everything worked fine.
Thank you very much for your help.
I'm not a very advanced user, but should I add this in the wiki or is it such a stupid error that everybody else knows it?
Peter
Accelsis Technologies GmbH
www.accelsis.biz
Aidenbachstr. 52
D - 81379 München
Tel. +49(0)89/548 038-0
Fax. +49(0)89/548 038-99
[EMAIL PROTECTED]
--
The information in this email is confidential and may be legally privileged. It
is intended solely
for the addressee. Access to this email by anyone else is unauthorized. If you
are not the
intended recipient, any disclosure, copying, distribution or any action taken
or omitted to be
taken in reliance on it, is prohibited and may be unlawful. Any opinions or
advice contained in
this email are subject to the terms and conditions expressed in the governing
accelsis technologies
client engagement letter.
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 5. Mai 2006 13:10
An: [email protected]
Betreff: [magnolia-user] Error deploying Magnolia 2.1.5 on Tomcat (5.0.19 and
5.0.28)
Hi out there,
I have a weird problem when deploying Magnolia by myself on Tomcat (5.0.19 and 5.0.28). I first downloaded the prepackaged version with tomcat and everything worked fine. Now I wanted to deploy the wars myself, and I get two exceptions (which might be dependent from each other):
At first when I deploy one of the wars (magnoliaAuthor.war) and when the jackrabbit repositories get prepared, I get the following exception:
INFO info.magnolia.jackrabbit.ProviderImpl ProviderImpl.java(init:79)
05.05.2006 12:53:06 Loading repository at
C:\Daten\Projekte\Magnolia\AccelsisWebsite\tomcat\webapps\magnoliaAuthor\repositories\config
(config file:
C:\Daten\Projekte\Magnolia\AccelsisWebsite\tomcat\webapps\magnoliaAuthor\WEB-INF\config\repo-conf\jackrabbit-derby-nosearch.xml)
Exception in thread "Timer-1" java.lang.NullPointerException
at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:149)
at org.apache.lucene.store.FSDirectory.<init>(FSDirectory.java:128)
at
org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:102)
at
org.apache.jackrabbit.core.query.lucene.FSDirectory.getDirectory(FSDirectory.java:96)
at
org.apache.jackrabbit.core.query.lucene.PersistentIndex.<init>(PersistentIndex.java:74)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.getOrCreateIndex(MultiIndex.java:483)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex$CreateIndex.execute(MultiIndex.java:1425)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:769)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(MultiIndex.java:810)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java:689)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.checkFlush(MultiIndex.java:935)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.access$000(MultiIndex.java:72)
at
org.apache.jackrabbit.core.query.lucene.MultiIndex$1.run(MultiIndex.java:289)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
After that, jackrabbit seems to try to prepare as well, and then I get these exceptions:
INFO info.magnolia.cms.beans.config.Bootstrapper
Bootstrapper.java(bootstrapRepositories:75) 05.05.2006 12:54:01 Trying to
initialize repositories from [C:\D
aten\Projekte\Magnolia\AccelsisWebsite\tomcat\webapps\magnoliaAuthor\WEB-INF\bootstrap]
INFO info.magnolia.cms.beans.config.Bootstrapper
Bootstrapper.java(bootstrapRepositories:111) 05.05.2006 12:54:01 Trying to
import content from 1 files...
ERROR info.magnolia.cms.beans.config.Bootstrapper
Bootstrapper.java(bootstrapRepositories:138) 05.05.2006 12:54:01 Unable to
load content from website.feature s.xml due to a java.io.IOException Exception:
Das System kann den angegebenen Pfad nicht finden. Will try to continue.
java.io.IOException: Das System kann den angegebenen Pfad nicht finden
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at java.io.File.createTempFile(File.java:1471)
at
info.magnolia.cms.beans.config.Bootstrapper.filterVersionsFromFile(Bootstrapper.java:202)
at
info.magnolia.cms.beans.config.Bootstrapper.bootstrapRepositories(Bootstrapper.java:123)
at
info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:131)
at
info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:89)
at
info.magnolia.cms.servlets.Initializer.contextInitialized(Initializer.java:111)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4270)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
FATAL info.magnolia.cms.servlets.Initializer
Initializer.java(contextInitialized:114) 05.05.2006 12:54:01
java.lang.NullPointerException
at
info.magnolia.cms.beans.config.Bootstrapper.bootstrapRepositories(Bootstrapper.java:148)
at
info.magnolia.cms.beans.config.ConfigLoader.load(ConfigLoader.java:131)
at
info.magnolia.cms.beans.config.ConfigLoader.<init>(ConfigLoader.java:89)
at
info.magnolia.cms.servlets.Initializer.contextInitialized(Initializer.java:111)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4270)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
05.05.2006 12:54:01 org.apache.catalina.core.StandardHostDeployer install
I have copied the startup script from the prepackaged version of Magnolia to give Tomcat more memory and I have removed the file $TOMCAT_HOME/conf/Catalina/localhost/ROOT.xml. My system is Windows XP Professional SP2, and I'm running on an Intel Pentium 4 processor with 2.00 GHz and 1GB RAM.
Can you please tell me what the above exceptions mean and what I have to change
to get this running?
Thank you very much!
Peter
Accelsis Technologies GmbH
www.accelsis.biz
Aidenbachstr. 52
D - 81379 München
Tel. +49(0)89/548 038-0
Fax. +49(0)89/548 038-99
[EMAIL PROTECTED]
--
The information in this email is confidential and may be legally privileged. It
is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any opinions or advice contained in this email
are subject to the terms and conditions expressed in the governing accelsis
technologies client engagement letter.
----------------------------------------------------------------
for list details see http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------