[MAGNOLIA-982] Problem with cache : impossible to have acces to a path for a file Created: 20/Jul/06  Updated: 23/Jan/13  Resolved: 18/Oct/06

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 3.0 RC2
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: nicolas Assignee: Sameer Charles
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Apache Tomcat/5.0.28
JDK 1.5.07
Windows 2003 Serveur


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

INFO: Server startup in 24219 ms
WARN info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(g
etRepositoryMapping:490) 20.07.2006 18:17:56 no mapping for the repository [owf
e]
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:95)
at org.apache.jackrabbit.core.query.lucene.PersistentIndex.<init>(PersistentIndex.java:74)
at org.apache.jackrabbit.core.query.lucene.MultiIndex.getOrCreateIndex(MultiIndex.java:477)
at org.apache.jackrabbit.core.query.lucene.MultiIndex$CreateIndex.execute(MultiIndex.java:1419)
at org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:763)
at org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(MultiIndex.java:804)
at org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java:683)
at org.apache.jackrabbit.core.query.lucene.MultiIndex.checkFlush(MultiIndex.java:929)
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:283)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
INFO info.magnolia.module.admininterface.pages.LogoutPage LogoutPage.java(renderHtml:54) 20.07.2006 18:18:10 Logging out user
INFO info.magnolia.cms.cache.BaseCacheManager BaseCacheManager.java(streamFromCache:243) 20.07.2006 18:18:12 Streaming from cache /, not compressed
INFO info.magnolia.cms.cache.simple.CacheImpl CacheImpl.java(cacheRequest:56)
20.07.2006 18:18:16 creating file C:\magnolia\tomcat\webapps\magnoliaPublic\cache\
ERROR info.magnolia.cms.cache.simple.CacheImpl CacheImpl.java(cacheRequest:88)
20.07.2006 18:18:16 C:\magnolia\tomcat\webapps\magnoliaPublic\cache\ (Le chemin
d'accÞs spÚcifiÚ est introuvable)
java.io.FileNotFoundException: C:\magnolia\tomcat\webapps\magnoliaPublic\cache\
(Le chemin d'accÞs spÚcifiÚ est introuvable)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at info.magnolia.cms.cache.simple.CacheImpl.cacheRequest(CacheImpl.java:64)
at info.magnolia.cms.cache.DefaultCacheManager.cacheRequest(DefaultCacheManager.java:65)
at info.magnolia.cms.cache.ManageableCacheManager.cacheRequest(ManageableCacheManager.java:43)
at info.magnolia.cms.cache.CacheFilter.doFilter(CacheFilter.java:80)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:80)
at info.magnolia.cms.filters.UnsetContextFilter.doFilter(UnsetContextFilter.java:44)
at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:84)
at info.magnolia.cms.security.SecurityFilter.doFilter(SecurityFilter.java:96)



 Comments   
Comment by Daisy Zhang [ 23/Aug/06 ]

I got the same problem. My enviroment: windows xp sp2, J2SE Development Kit 5.0 (JDK), tomcat 5.0.28. When I activated a page, magnolia showed "The workflow was sucessfully started. The item was sent to the appropriate inbox. I click OK. Then I found the page's activation status is still red. Went to check http://localhost/magnoliaPublic, the new activated page is not there. Check the tomcat and found "WARN info.magnolia.cms.beans.config.ContentRepository ContentRepository.java(g
etRepositoryMapping:490) 23.08.2006 12:50:39 no mapping for the repository [owf
e]" . Can somebody fix this problem, since this is the main function in magnolia.

Comment by Sameer Charles [ 18/Oct/06 ]

1.
You are getting error from Lucene, its a bug in Lucene under windows which has been discussed on magnolia list and other forums.

2.
When it says "item is sent to an inbox" it does not mean that its activated. please ask these questions on the users list first before posting a bug report.

Generated at Mon Feb 12 03:22:31 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.