SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-928
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Shay Banon
Reporter: Kevin Jordan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Compass

ClassCastException with TerracottaDirectory during Tomcat webapp reload

Created: 08/Mar/10 12:38 PM   Updated: 08/Mar/10 12:38 PM
Component/s: Compass::Core
Affects Version/s: 2.2.0 GA
Fix Version/s: None

Environment:
Tomcat 6.0.24
Terracotta 3.2.1
Gentoo


 Description  « Hide
After uploading a new WAR, during redeployment I get:
Caused by: java.lang.ClassCastException: org.compass.needle.terracotta.ManagedTerracottaDirectory cannot be cast to

org.compass.needle.terracotta.TerracottaDirectory
at org.compass.needle.terracotta.TerracottaDirectoryStore.open(TerracottaDirectoryStore.java:145)
at org.compass.core.lucene.engine.store.DefaultLuceneSearchEngineStore.openDirectory(DefaultLuceneSearchEngineStore.java:370)
at org.compass.core.lucene.engine.store.DefaultLuceneSearchEngineStore.indexExists(DefaultLuceneSearchEngineStore.java:473)
at org.compass.core.lucene.engine.store.DefaultLuceneSearchEngineStore.verifyIndex(DefaultLuceneSearchEngineStore.java:540)
at org.compass.core.lucene.engine.store.DefaultLuceneSearchEngineStore.verifyIndex(DefaultLuceneSearchEngineStore.java:536)
at org.compass.core.lucene.engine.store.DefaultLuceneSearchEngineStore.verifyIndex(DefaultLuceneSearchEngineStore.java:528)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$4.doInTransaction(DefaultLuceneSearchEngineIndexManager.java:166)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$4.doInTransaction(DefaultLuceneSearchEngineIndexManager.java:164)
at org.compass.core.impl.DefaultCompass$CompassTransactionContext.execute(DefaultCompass.java:430)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.verifyIndex(DefaultLuceneSearchEngineIndexManager.java:163)
at org.compass.core.impl.DefaultCompass.<init>(DefaultCompass.java:165)
at org.compass.core.impl.DefaultCompass.<init>(DefaultCompass.java:124)
at org.compass.core.impl.DefaultCompass.<init>(DefaultCompass.java:117)
at org.compass.core.config.CompassConfiguration.buildCompass(CompassConfiguration.java:288)
at org.compass.gps.device.hibernate.embedded.CompassEventListener.initCompassHolder(CompassEventListener.java:485)
at org.compass.gps.device.hibernate.embedded.CompassEventListener.getCompassHolder(CompassEventListener.java:351)
at org.compass.gps.device.hibernate.embedded.CompassEventListener.initialize(CompassEventListener.java:151)
at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198)
at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181)
at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194)
... 25 more

However, with a restart of the server it works again.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.