What about openbd's error log? My guess is there's a mapping missing.. tomcat isn't sending cfc's to openbd
On Fri, Jan 2, 2015 at 1:30 PM, anarchos78 <[email protected]> wrote: > Under tomcat's ocalhost.log i got an entry: > 02-Jan-2015 21:14:46.298 SEVERE [localhost-startStop-1] org.apache.tomcat. > util.descriptor.web.SecurityConstraint.findUncoveredHttpMethods For > security constraints with URL pattern [/*] only the HTTP methods [POST > GET] are covered. All other methods are uncovered. > 02-Jan-2015 21:16:55.951 INFO [localhost-startStop-1] > org.apache.catalina.core.ApplicationContext.log ContextListener: > contextInitialized() > 02-Jan-2015 21:16:55.951 INFO [localhost-startStop-1] > org.apache.catalina.core.ApplicationContext.log SessionListener: > contextInitialized() > 02-Jan-2015 21:18:31.257 INFO [localhost-startStop-1] > org.apache.catalina.core.ApplicationContext.log Marking servlet cfcServlet > as unavailable > 02-Jan-2015 21:18:31.257 SEVERE [localhost-startStop-1] > org.apache.catalina.core.StandardContext.loadOnStartup Servlet /openbd > threw load() exception > org.apache.commons.discovery.DiscoveryException: Class > org.apache.commons.logging.impl.SLF4JLogFactory does not implement > org.apache.commons.logging.LogFactory > at > org.apache.commons.discovery.tools.ClassUtils.verifyAncestory(ClassUtils.java:180) > at > org.apache.commons.discovery.tools.SPInterface.verifyAncestory(SPInterface.java:201) > at > org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:195) > at > org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579) > at > org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418) > at > org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378) > at > org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41) > at > org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33) > at > org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown > Source) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > Source) > at java.lang.reflect.Constructor.newInstance(Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > at > org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) > at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1041) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4944) > at > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1069) > at > org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1719) > at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > > and after stopping tomcat i got the following under catalina.log: > > 02-Jan-2015 21:20:45.042 WARNING [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web > application [openbd] appears to have started a thread named [ > scheduleEngine] but has failed to stop it. This is very likely to create > a memory leak. Stack trace of thread: > java.lang.Thread.sleep(Native Method) > com.naryx.tagfusion.cfm.schedule.scheduleEngine.run(Unknown Source) > 02-Jan-2015 21:20:45.043 WARNING [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web > application [openbd] appears to have started a thread named [ > CronPluginThread] but has failed to stop it. This is very likely to > create a memory leak. Stack trace of thread: > java.lang.Thread.sleep(Native Method) > org.alanwilliamson.openbd.plugin.crontab.CronExtension.run(Unknown Source > ) > 02-Jan-2015 21:20:45.067 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.HeapContext$1] (value [javolution.context.HeapContext$1@53892a78]) > and a value of type [javolution.util.FastMap] (value [[javolution.util. > FastMap$KeyIterator$1@63325da1=Heap allocator for class javolution.util. > FastMap$KeyIterator$1]]) but failed to remove it when the web application > was stopped. Threads are going to be renewed over time to try and avoid a > probable memory leak. > 02-Jan-2015 21:20:45.067 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@420f27d5]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > util.FastMap$KeyIterator$1]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.085 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.HeapContext$2] (value [javolution.context.HeapContext$2@60fa237a]) > and a value of type [javolution.util.FastTable] (value [[Heap allocator > for class javolution.util.FastMap$KeyIterator$1]]) but failed to remove > it when the web application was stopped. Threads are going to be renewed > over time to try and avoid a probable memory leak. > 02-Jan-2015 21:20:45.085 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.Context$1] (value [javolution.context.Context$1@6854e39a]) and a > value of type [javolution.context.Context.Root] (value [Instance of > javolution.context.Context$Root]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.086 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@420f27d5]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > util.FastMap$KeyIterator$1]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.086 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@4eb2c12a]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > util.FastMap$ValueIterator$1]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.086 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.Context$1] (value [javolution.context.Context$1@6854e39a]) and a > value of type [javolution.context.Context.Root] (value [Instance of > javolution.context.Context$Root]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.086 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.HeapContext$1] (value [javolution.context.HeapContext$1@53892a78]) > and a value of type [javolution.util.FastMap] (value [[javolution.util. > FastMap$KeyIterator$1@63325da1=Heap allocator for class javolution.util. > FastMap$KeyIterator$1, javolution.util.FastMap$ValueIterator$1@640644e3= > Heap allocator for class javolution.util.FastMap$ValueIterator$1]]) but > failed to remove it when the web application was stopped. Threads are > going to be renewed over time to try and avoid a probable memory leak. > 02-Jan-2015 21:20:45.087 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.HeapContext$2] (value [javolution.context.HeapContext$2@60fa237a]) > and a value of type [javolution.util.FastTable] (value [[Heap allocator > for class javolution.util.FastMap$KeyIterator$1, Heap allocator for class > javolution.util.FastMap$ValueIterator$1]]) but failed to remove it when > the web application was stopped. Threads are going to be renewed over > time to try and avoid a probable memory leak. > 02-Jan-2015 21:20:45.087 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@76a798d2]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > text.Text$4]) but failed to remove it when the web application was stopped > . Threads are going to be renewed over time to try and avoid a probable > memory leak. > 02-Jan-2015 21:20:45.087 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@420f27d5]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > util.FastMap$KeyIterator$1]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.087 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@4eb2c12a]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > util.FastMap$ValueIterator$1]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.087 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.Context$1] (value [javolution.context.Context$1@6854e39a]) and a > value of type [javolution.context.Context.Root] (value [Instance of > javolution.context.Context$Root]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.087 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@82f5841]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > util.FastTable$FastTableIterator$1]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.088 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.HeapContext$1] (value [javolution.context.HeapContext$1@53892a78]) > and a value of type [javolution.util.FastMap] (value [[javolution.util. > FastTable$FastTableIterator$1@5ac0bc18=Heap allocator for class javolution > .util.FastTable$FastTableIterator$1, javolution.util. > FastMap$KeyIterator$1@63325da1=Heap allocator for class javolution.util. > FastMap$KeyIterator$1, javolution.util.FastMap$ValueIterator$1@640644e3= > Heap allocator for class javolution.util.FastMap$ValueIterator$1, > javolution.text.Text$3@52ac8da2=Heap allocator for class javolution.text. > Text$3, javolution.text.Text$4@58678099=Heap allocator for class > javolution.text.Text$4]]) but failed to remove it when the web > application was stopped. Threads are going to be renewed over time to try > and avoid a probable memory leak. > 02-Jan-2015 21:20:45.088 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.ObjectFactory$2] (value [javolution.context. > ObjectFactory$2@472832ed]) and a value of type [javolution.context. > HeapContext.HeapAllocator] (value [Heap allocator for class javolution. > text.Text$3]) but failed to remove it when the web application was stopped > . Threads are going to be renewed over time to try and avoid a probable > memory leak. > 02-Jan-2015 21:20:45.088 SEVERE [localhost-startStop-2] org.apache. > catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web > application [openbd] created a ThreadLocal with key of type [javolution. > context.HeapContext$2] (value [javolution.context.HeapContext$2@60fa237a]) > and a value of type [javolution.util.FastTable] (value [[Heap allocator > for class javolution.util.FastTable$FastTableIterator$1, Heap allocator > for class javolution.util.FastMap$KeyIterator$1, Heap allocator for class > javolution.util.FastMap$ValueIterator$1, Heap allocator for class > javolution.text.Text$3, Heap allocator for class javolution.text.Text$4]]) > but failed to remove it when the web application was stopped. Threads are > going to be renewed over time to try and avoid a probable memory leak. > > What i'm trying to run is: > > <cfcomponent> > <cffunction name="arrayGroupsOf" access="public" output="false" returntype > ="array"> > <cfargument name="arrObj" type="array" required="true" hint="An array > object that will be split up in groups"> > <cfargument name="intGroup" type="numeric" required="true" hint="Number > of items on each group"> > <cfargument name="padding" type="string" required="false" default=" " > hint="What should it be filled with in case there's empty slots"> > > <cfset var resArray = createObject("java", "java.util.ArrayList").Init > (arguments.arrObj) /> > <cfset var arrGroup = arrayNew(1) /> > <cfset var arrObjGroup = arrayNew(1) /> > <cfset var arrObjSize = resArray.size()> > <cfset var subStart = 0> > <cfset var subEnd = arguments.intGroup> > <cfset var ii = ""> > <cfset var difference = ""> > <cfset var jj = ""> > > <cfset arrGroupSize = ceiling(arrObjSize / arguments.intGroup)> > <cfset arrArrayGroupSize = arrGroupSize * arguments.intGroup> > > <cfif arrArrayGroupSize GT arrObjSize> > <cfset difference = arrArrayGroupSize - arrObjSize> > <cfloop from="1" to="#difference#" index="ii"> > <cfset resArray.add(arguments.padding) /> > </cfloop> > </cfif> > > <cfloop from="1" to="#arrGroupSize#" index="jj"> > <cfset arrGroup = resArray.subList(subStart, subEnd)> > <cfset arrayAppend(arrObjGroup, arrGroup)> > > <cfset subStart = subStart + arguments.intGroup> > <cfset subEnd = subEnd + arguments.intGroup> > <cfset arrGroup = arrayNew(1) /> > </cfloop> > > <cfreturn arrObjGroup> > > </cffunction> > </cfcomponent> > > Any ideas on what is going on here? > > > Τη Παρασκευή, 2 Ιανουαρίου 2015 4:54:28 μ.μ. UTC+2, ο χρήστης anarchos78 > έγραψε: >> >> I’m running openBlueDragon 3.1 (cfml engine) under tomcat 7 locally for >> development purposes. Recently I decide to move from tomcat 7 to tomcat 8. >> After moving to tomcat 8 I can’t run any *.cfc* file but I can open any >> .cfm page!!! >> >> Notice that I can reach BlueDragon admin (http://localhost:8090/openbd/ >> bluedragon/administrator) and make any kind of configurations like set >> data-sources, mail servers etc. When I try to run a .cfc file tomcat 8 >> responds with the classic 404 blue page (The requested resource is not >> available). >> >> Are there any ideas on how to tackle this issue? >> > -- > -- > online documentation: http://openbd.org/manual/ > http://groups.google.com/group/openbd?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Open BlueDragon" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- online documentation: http://openbd.org/manual/ http://groups.google.com/group/openbd?hl=en --- You received this message because you are subscribed to the Google Groups "Open BlueDragon" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
