Re: Getting cache error on install

119 views
Skip to first unread message

Simon Bingham

unread,
Oct 3, 2012, 3:57:33 AM10/3/12
to getx...@googlegroups.com
Hi David,

Xindi should work on the latest stable version of Railo (3.3.1). We haven't tested against the latest beta release, but will be sure to do so. Thank you for pointing out the issue to us.

Simon

On Wednesday, 3 October 2012 04:13:36 UTC+1, David McCan wrote:
Hi All,

Thought I'd take a look at xindi.  Installed on Railo 4.0.0.013 beta on Ubuntu 12.04.  I have xindi installed in a folder off or webroot.  I get an error when I do the step in the install "http://localhost/xindi/index.cfm?rebuild=true".  The error is

Railo 4.0.0.013 Error (net.sf.ehcache.CacheException)
Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
2. Shutdown the earlier cacheManager before creating new one with same name.
The source of the existing CacheManager is: InputStreamConfigurationSource [stream=java.io.ByteArrayInputStream@6e7113f0]

Any clues?

Thanks

Simon Bingham

unread,
Jan 1, 2013, 1:49:16 PM1/1/13
to getx...@googlegroups.com
I've been testing Xindi on Railo 4 and there appears to be an issue with the ORM secondary cache in Railo. I'm going to report it as a bug so the Railo guys can investigate. You can see the thread I started on the Railo group at https://groups.google.com/forum/?fromgroups=#!topic/railo/SBvHGsFHZyE.

However, the error I am getting is different to yours. I got Xindi to load and my error only occurred when calling ORMReload.

It might be worth posting your error to the Railo group to see if anyone can help you there.

On Tuesday, January 1, 2013 5:42:13 PM UTC, Anthony Katgert wrote:
Not sure but I am on Railo 4.0.2.002 and here is my report:
 
Railo 4.0.2.002 Error (org.hibernate.HibernateException)
Messagecould not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]
Causeorg.hibernate.HibernateException
Java Stacktracecould not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]
   at java.net.URLClassLoader$1.run(Unknown Source):-1
   at java.net.URLClassLoader$1.run(Unknown Source):-1
   at java.security.AccessController.doPrivileged(Native Method):-2
   at java.net.URLClassLoader.findClass(Unknown Source):-1
   at java.lang.ClassLoader.loadClass(Unknown Source):-1
   at java.lang.ClassLoader.loadClass(Unknown Source):-1
   at java.lang.Class.getDeclaredConstructors0(Native Method):-2
   at java.lang.Class.privateGetDeclaredConstructors(Unknown Source):-1
   at java.lang.Class.getConstructor0(Unknown Source):-1
   at java.lang.Class.newInstance0(Unknown Source):-1
   at java.lang.Class.newInstance(Unknown Source):-1
   at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.<init>(RegionFactoryCacheProviderBridge.java:63):63
   at sun.reflect.GeneratedConstructorAccessor128.newInstance(Unknown Source):-1
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source):-1
   at java.lang.reflect.Constructor.newInstance(Unknown Source):-1
   at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:397):397
   at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:270):270
   at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163):2163
   at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2159):2159
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1383):1383
   at railo.runtime.orm.hibernate.HibernateORMEngine.getSessionFactory(HibernateORMEngine.java:279):279
   at railo.runtime.orm.hibernate.HibernateORMEngine.init(HibernateORMEngine.java:117):117
   at railo.runtime.config.ConfigImpl.getORMEngine(ConfigImpl.java:3127):3127
   at railo.runtime.config.ConfigImpl.resetORMEngine(ConfigImpl.java:3113):3113
   at railo.runtime.orm.ORMUtil.resetEngine(ORMUtil.java:46):46
   at railo.runtime.listener.ModernAppListener.initApplicationContext(ModernAppListener.java:369):369
   at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:90):90
   at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
   at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2255):2255
   at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2222):2222
   at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:310):310
   at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225):225
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
   at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585):585
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
   at java.lang.Thread.run(Unknown Source):-1
 
 
Not quite the same as yours.
 
Regards
 
Anthony

John Whish

unread,
Feb 7, 2013, 5:39:42 AM2/7/13
to getx...@googlegroups.com
This seems to be fixed in the 4.0.3.003 (bleeding edge) release.
Reply all
Reply to author
Forward
0 new messages