I was trying to install ContentBox on railo 4.0.2.002 and after adding my datasource and going to the next step I get this error message
Railo 4.0.2.002 Error (net.sf.ehcache.CacheException)
Message Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
Shutdown the earlier cacheManager before creating new one with same name.
The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
Cause net.sf.ehcache.CacheException
Java Stacktrace Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following:
Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary
Shutdown the earlier cacheManager before creating new one with same name.
The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ]
at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:458):458
at net.sf.ehcache.CacheManager.init(CacheManager.java:355):355
at net.sf.ehcache.CacheManager.(CacheManager.java:340):340
at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:131):131
at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72):72
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:250):250
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385):1385
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:831):831
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657):1657
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939):939
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502):502
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181):181
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91):91
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864):864
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592):1592
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186):186
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452):452
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511):511
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305):305
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83):83
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165):165
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217):217
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161):161
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138):138
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204):204
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775):775
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905):905
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613):1613
and issue with Railo saying I need to update the jars for ORM, I have done this many a times and restarted the server etc but the error still shows up. Any idea if this is another Railo bug or is it something with contentbox?
I looked up the error and the only thing I can find is that this was an issue in like 2010 but nothing more… Im using the latest version of railo so not sure why it a problem now…
Again any help would be appreciated.
Railo 4.0.2.002 Error (application)
Message cannot initialize ORM Engine [railo.runtime.orm.hibernate.HibernateORMEngine], make sure you have added all the required jar files
Detail GO to the Railo Server Administrator and on the page Services/Update, click on “Update JARs”
Java Stacktrace cannot initialize ORM Engine [railo.runtime.orm.hibernate.HibernateORMEngine], make sure you have added all the required jar files
at railo.runtime.config.ConfigImpl.getORMEngine(ConfigImpl.java:3139):3139
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:831):831
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657):1657
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939):939
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502):502
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181):181
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91):91
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864):864
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592):1592
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186):186
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452):452
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511):511
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305):305
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276):276
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1049):1049
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyReadCompletedCallback.complete(SSLConnectionLink.java:643):643
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784):1784
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165):165
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217):217
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161):161
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138):138
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204):204
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775):775
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905):905
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1613):1613
I think my main problem might be how railo is installed. I have installed railo ontop of a websphere app server on a z Linux box.
Railo installs just fine, I create a mapping for the contentbox and I put all the files in that directory. I make sure all permissions are set correctly and I access index.cfm
The page loads up and asks for the data source and it verifies it can find it and then when I click next it cranks for a few seconds and then it goes to a page not found, seem contentbox is loosing the context root of the install directory. I added in the context root in the application.cfc and that seems to get me past that point but then I’m met with strange errors about permissions.
What is even stranger is that when I go in to railo and “update jars” and restart railo I then get the ORM error from the pervious post.
So I guess the question is, will ContentBox run on an appServer as such? I am trying to evaluate some different CMS systems and would love to try out contenBox but I need to get it working on our current environment.
Mike, does webspher have the jta jar files. If not, add the attached jars into your lib path, this are the required jars for hibernate on a non-standard system.
So I put the Jar in the lib and class path, restarted and it still does not work, I think this may be a bug in how railo installs on an app server because when I look at the installed apps on the app server I see railo war installed but when I look outside the root path I see railo tried to install some jars outside the root path of the install war and I think it may be getting mixed up with that.
I think I might try installing coldfusion 10 and see if I get better results.
Thanks for all the input and hopefully I can get this up and running.
It is in the ColdFusion documentation as well for more information, as you are using Railo I am going to assume the docs at Adobe for ColdFusion should be the same for Railo.