Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion Server Administration
Viewing all 78799 articles
Browse latest View live

ColdFusion 10 web services fail in IIS virtual folders

$
0
0

We started testing the migration of one of our main websites from CF9 to CF10 and everything seemed to be going well.  When we started testing our web services though things got a little weird.  All of our web services were throwing error messages.  Both installations co-exist on the same Windows 2008 R2 server running inside of the same instance of IIS.

 

wsVersion = 1

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null]
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: Error attempting to create Java skeleton for CFC web service.; nested exception is: coldfusion.xml.rpc.CFCInvocationException: [java.lang.NullPointerException : null]
faultActor:
faultNode:
faultDetail: {http://xml.apache.org/axis/}hostname:Dev

 

wsVersion = 2

 

HTTP Status 500 - The web service operation caused an invocation exception.


type Status report

messageThe web service operation caused an invocation exception.

descriptionThe server encountered an internal error (The web service operation caused an invocation exception.) that prevented it from fulfilling this request.


Apache Tomcat/7.0.23

 

Long story short of the hours I spent debugging I discovered that if the web service files were located within an IIS virtual folder this happens.  If I move them to the root of the website or a folder inside of the website they begin to work again.  This behavior is inconsistent with CF8 & CF9 as our websites in development and production under those are running their web services from an IIS virtual folder.

 

Anyone have an explanation, fix, or work around relating to this?


CF10 - Error loading admin page

$
0
0

Installed CF10 on a Windows 2012 server.  Used the builtin web server.  after install, the admin page fails to laod, and I see the following in the coldfusion-error log:

 

May 12, 2013 3:28:09 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\\ColdFusion10\\cfusion\lib;C:\\ColdFusion10\\cfusion\jintegra\bin;C:\\ColdFusion10\\cf usion\jintegra\bin\international;C:\\ColdFusion10\\cfusion\lib\oosdk\classes\win
May 12, 2013 3:28:10 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8500"]
May 12, 2013 3:28:10 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8012"]
May 12, 2013 3:28:10 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
May 12, 2013 3:28:10 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
May 12, 2013 3:28:13 PM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: Starting application services
May 12, 2013 3:28:13 PM org.apache.catalina.core.ApplicationContext log
INFO: ColdFusionStartUpServlet: ColdFusion: VM version = 23.7-b01
May 12, 2013 3:28:18 PM org.apache.catalina.core.ApplicationContext log
INFO: CFMxmlServlet: Macromedia Flex Build: 87315.134646
May 12, 2013 3:28:27 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8500"]
May 12, 2013 3:28:27 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8012"]
May 12, 2013 3:28:27 PM com.adobe.coldfusion.launcher.Launcher run
INFO: Server startup in 18772 ms
Exception thrown by error-handling template:
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available.
at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:43)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:456 )
at coldfusion.util.LruCache.get(LruCache.java:180)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java :362)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:609)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:101)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:204)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java :75)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987 )
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 12, 2013 3:28:44 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [CfmServlet] in context with path [/] threw exception [ROOT CAUSE:
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available.
at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:43)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:456 )
at coldfusion.util.LruCache.get(LruCache.java:180)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java :362)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:609)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:101)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:204)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java :75)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987 )
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
] with root cause
javax.servlet.ServletException: ROOT CAUSE:
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available.
at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:43)
at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:456 )
at coldfusion.util.LruCache.get(LruCache.java:180)
at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java :362)
at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:609)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:101)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)
at coldfusion.CfmServlet.service(CfmServlet.java:204)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java :75)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987 )
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70 )
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java :75)
at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987 )
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:539)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

 

and the follogwing in the colfusion-out log:

05/12 15:28:13 INFO License Service: Flex 1.5 CF Edition enabled

05/12 15:28:13 INFO Starting Flex 1.5 CF Edition

May 12, 2013 15:28:13 PM Information [pool-2-thread-1] - C:\ColdFusion10\cfusion\logs\server.log initialized

May 12, 2013 15:28:13 PM Information [pool-2-thread-1] - Starting logging...

May 12, 2013 15:28:13 PM Information [pool-2-thread-1] - Starting license...

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Invalid ColdFusion 10 license.

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Invalid ColdFusion 10 license.

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Invalid ColdFusion 10 license.

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Developer Edition enabled

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting crypto...

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Installed JSafe JCE provider: Version 6.0 Crypto-J 6.0, EMC Corporation. JsafeJCE Security Provider (implements RSA, DSA, ECDSA, Diffie-Hellman, ECDH, AES, DES, Triple DES, DESX, RC2, RC4, RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512, HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, HMAC-SHA512, FIPS186PRNG, ECDRBG, HMACDRBG, SHA1PRNG, MD5PRNG; RFC 3394, RFC 5649 AES Key Wrap; X.509 CertificateFactory; PKCS12, PKCS15 KeyStore; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathValidators; X.509V1, PKIX, PKIX-SuiteB, PKIX-SuiteBTLS CertPathBuilders; LDAP, Collection CertStores)

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting security...

May 12, 2013 15:28:15 PM Error [pool-2-thread-1] - Unable to initialise Security service: java.lang.NullPointerException

May 12, 2013 15:28:15 PM  [] -

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting scheduler...

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting WatchService...

May 12, 2013 15:28:15 PM Error [pool-2-thread-1] - Unable to initialise WatchService service: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available.

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting debugging...

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting sql...

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting mail...

May 12, 2013 15:28:15 PM Information [pool-2-thread-1] - Starting runtime...

May 12, 2013 15:28:16 PM Information [pool-2-thread-1] - CORBA Configuration not enabled

May 12, 2013 15:28:16 PM Information [pool-2-thread-1] - Starting cron...

May 12, 2013 15:28:16 PM Information [pool-2-thread-1] - Starting registry...

May 12, 2013 15:28:16 PM Information [pool-2-thread-1] - Starting client...

May 12, 2013 15:28:16 PM Information [pool-2-thread-1] - Starting xmlrpc...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting jaxrs...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting graphing...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting solr...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting archive...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting document...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting eventgateway...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - C:\ColdFusion10\cfusion\logs\eventgateway.log initialized

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Event Gateway Disabled.

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting FlexAssembler...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting .NET...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting Monitoring...

May 12, 2013 15:28:17 PM Information [pool-2-thread-1] - Starting WebSocket...

May 12, 2013 15:28:18 PM Information [pool-2-thread-1] - WebSocket server listens on port: 8575

May 12, 2013 15:28:18 PM Information [pool-2-thread-1] - ColdFusion started

May 12, 2013 15:28:18 PM Information [pool-2-thread-1] - ColdFusion: application services are now available

05/12 15:28:18 INFO Macromedia Flex Build: 87315.134646

May 12, 2013 15:28:44 PM Information [catalina-exec-2] - C:\ColdFusion10\cfusion\logs\application.log initialized

May 12, 2013 15:28:44 PM Error [catalina-exec-2] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm''

May 12, 2013 15:28:44 PM Error [catalina-exec-2] - Exception thrown by error-handling template:

May 12, 2013 15:28:44 PM Error [catalina-exec-2] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm''

May 12, 2013 15:29:51 PM Error [catalina-exec-1] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\Application.cfm''

May 12, 2013 15:29:51 PM Error [catalina-exec-1] - Exception thrown by error-handling template:

May 12, 2013 15:29:51 PM Error [catalina-exec-1] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm''

May 12, 2013 15:30:01 PM Error [catalina-exec-4] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm''

May 12, 2013 15:30:01 PM Error [catalina-exec-4] - Exception thrown by error-handling template:

May 12, 2013 15:30:01 PM Error [catalina-exec-4] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm''

May 12, 2013 15:30:26 PM Error [catalina-exec-3] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\adminapi\administrator.cfc''

May 12, 2013 15:30:26 PM Error [catalina-exec-3] - Exception thrown by error-handling template:

May 12, 2013 15:30:26 PM Error [catalina-exec-3] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm''

May 12, 2013 15:30:31 PM Error [catalina-exec-1] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm''

May 12, 2013 15:30:31 PM Error [catalina-exec-1] - Exception thrown by error-handling template:

May 12, 2013 15:30:31 PM Error [catalina-exec-1] - The Security service is not available.This exception is usually caused by service startup failure. Check your server configuration. The specific sequence of files included or processed is: C:\ColdFusion10\cfusion\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException .cfm''

 

 

Any suggestions on what to look at???

 

Thanks!!

CF10 Some pages render blank, No configured web servers

$
0
0

I'm moving from CF8 to CF10 and having some issues. My CF10 install is a clean install on brand new server running Windows Server 2008 R2 64bit IIS 7.5. I've upgraded to CF version 10,0,11,285437. Out of the 50 or so Apps on the server almost everything works, but there are a few pages that just don't render at all. No error, nothing. Viewing the source for the page just shows an empty HTML page. Coldfusion logs are empty and there's 500 null error in the IIS logs.

 

While researching that issue I found many people recommending I rerun wsconfig after patching CF, so I tried that and it looks like my sites aren't configured correctly. During install I configured the sites individually (2 of them run in 32 bit while the cfadmin site runs in 64.) Now when I run the Web Server Configuration Tool as administrator I just get a Configured Web Servers box that is empty. When I click add the next window shows IIS, but the drop down for IIS Web Sites is disabled. Checking the Configure 32 bit web server option doesn't change anything. 99 out of a 100 pages work just fine, so it seems odd that the tool is telling me the server isn't configured. I'm not even sure where to start at this point.

 

EDIT: I've read most of the posts related to the wsconfig and none of the solutions presented yet make any difference. ASP.NET, .NET Extensibility, CGI, ISAPI Extensions, ISAPI Filters are all already installed. I've tried reinstalling CF, IIS, even going back to a clean snapshot of he OS several times and the result is always the same. I've even tried it with and without IIS Compatability.

 

Edit2: I've figured out the problem with wsconfig (McAfee IPS was preventing it from working.) Unfortunately, even after reconfiguring the servers I'm still getting the blank page problem. Nothing in any of the CF logs and a 500 null error in the IIS logs.

CF10 enterprise - how to disable cfexecute for all sites (sandbox)

$
0
0

Hello,

 

I have a new CF10 server which I will be using as shared hosting for my clients.

 

I would like to disable the following tags and functions globally:

 

TAGS
CFCONTENT
CFFILE
CFDIRECTORY
CFEXECUTE
CFOBJECT
CFREGISTRY

FUNCTIONS
GetProfileString
SetProfileString
CreateObject

 

I know in CF10 Standard I can block these for all sites using 'resource security', this will stop these tags from running at all.

In CF10 Enterprise I have the option to create multiple sandboxes, but is it possible to create one global sandbox for all sites?

 

My directory structure looks like:

D:\sites\site1

D:\sites\site2

D:\sites\site3

 

Can I create a sandbox disabling the above tags and functions just for D:\sites and all subfolders?

I have tried but it does not seem to work - I have a sandbox setup for D:\sites with the above tags and functions disabled, but using a test script I can still use cfexecute in site1 to execute netstat.

 

I do not wish to create a sandbox for each site as when new sites are added I would need to manually add a sandbox each time.

 

If anyone has any ideas it would be most appreciated.

 

Cheers

Luke

 

( I have asked this in a different place on the CF forums as got no response, i think because I placed it in the wrong place. Sorry if this double post upsets anyone but I need some help!)

503 errors after ~3 months w/ CF10

$
0
0

Server is not responding about every other day now. The service states that it's running. Restarting fixes it temporarily.

 

My first thought was that this was a client variables issue, since the 90 day purge causes people a lot of problems. But I've confirmed that the codebase doesn't reference "clientmanagement". I moved client variable storage to a database anyway (nothing is getting populated there), and turned global updates off. It still hangs after doing this.

 

There's not much in the logs (there are no hs*.log files, and no exceptions in the regular CF logs), and so far Fusion Reactor has not pointed to any smoking guns. About the only thing I can find is in the isapi_redirect.log file (ColdFusion10/config/wsconfig/1/):

 

[Wed Jul 23 18:44:05.215 2014] [13144:10964] [info] ajp_process_callback::jk_ajp_common.c (2066): current reuse count is 118 of max reuse connection 250 and total endpoint count 500

[Wed Jul 23 18:44:05.217 2014] [13144:6856] [info] ajp_process_callback::jk_ajp_common.c (2066): current reuse count is 119 of max reuse connection 250 and total endpoint count 500

[Wed Jul 23 19:48:52.294 2014] [13144:6344] [info] jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:8012 failed (errno=61)

[Wed Jul 23 19:48:52.295 2014] [13144:6344] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1047): Failed opening socket to (127.0.0.1:8012) (errno=61)

[Wed Jul 23 19:48:52.299 2014] [13144:6344] [error] ajp_send_request::jk_ajp_common.c (1669): (cfusion) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)

[Wed Jul 23 19:48:52.301 2014] [13144:6344] [info] ajp_service::jk_ajp_common.c (2692): (cfusion) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

[Wed Jul 23 19:48:53.402 2014] [13144:6344] [info] jk_open_socket::jk_connect.c (626): connect to 127.0.0.1:8012 failed (errno=61)

[Wed Jul 23 19:48:53.406 2014] [13144:6344] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1047): Failed opening socket to (127.0.0.1:8012) (errno=61)

 

This leads me to believe the problem may be either with the IIS Connector, or with Tomcat itself, but I'm not sure where to go from here, if that's the case. We ran all the CF10 updates through update 12, and didn't initially redo the IIS Connector through wsconfig.exe, and restart IIS, but did about a month or so ago.

 

We also adjusted the JVM settings a bit:

-XX:MaxPermSize=192m --> 256m


and set the min and max JVM heap size to 2048 (from 1024). We have 6GB of RAM on the dedicated server.


Here's the JVM memory usage from the hour of the crash (green dots at the bottom indicate the server restart)

Capture.PNG

 

The ramp up without any garbage collection is the same thing we saw the last time the server crashed as well. I have the Fusion Analytics logs from the latest crash, if anybody would like to see a specific chart.

 

Any suggestions would be greatly appreciated. Thanks.

Error Executing Database Query. [Macromedia][SQLServer JDBC Driver]Connection reset by peer: socket write error

$
0
0
Hi all

We are receiving the below coldfusion error very consistently ( once in 1-2 mins ) though we done have any issues reported by the users.

Error Executing Database Query. [Macromedia][SQLServer JDBC Driver]Connection reset by peer: socket write error

Only change in the environment is, recently we moved databases (SQL server 2000) from windows 2000 server to Windows 2003 64 bit.

Any help on this regard is appreciated.

-M

MSSQL Failover and Connection String

$
0
0
Hi,
I am using Coldfusion 8. In CFIDE I saw "Connection String" parameter under Advanced setting for MSSQL Data connection.

I was wondering if we can use it for failover using a connection string like:
"Data Source=server1;FailoverPartner=server2;Initial Catalog=db_name;Uid=db_user;Pwd=db_pass;"

Where server2 is mirrored database.

thanks in advance :)

how to include .jar files in coldfusion code

$
0
0
To Integrate our cfm code with paypal jar files we do the following steps with our local coldfusion server ,and to run and integrate the paypal Java SDK jar files, I think we need to do the same process on the server, can you suggest any thing to do the following setting for my domain on the server, without setting the class path in coldfusion administrator.

The ColdFusion application server must be configured to know the location of the PayPal JAR
files, and your ColdFusion Markup (CFM) pages must be configured with the absolute path to
the PayPal API certificate for the PayPal API user on whose behalf the calls are made.
1. Install the PayPal Java SDK “Installing the SDK”.
2. Copy a subset of the Java SDK JAR files to a location accessible by the ColdFusion
application server. The JAR files are in SDK_root\lib and their exact names are as
follows:
– bcmail-jdk14-128.jar
– bcprov-jdk14-128.jar
– paypal_base.jar
– paypal_stubs.jar
sax2.jar
– xerces.jar
– xpp3-1.1.3.4d_b4_min.jar
– xstream.jar-1.1.3.jar
3. With the ColdFusion Application Server Administrator, add the absolute path of the
location you determined in Step 2 to the Java and JVM CLASSPATH environment variable.
4. Restart the ColdFusion Application Server.

Suggest me how to include .jar files without setting classpath.

A connection to the RDS Server could not be established because the webserver was unreachable.

$
0
0

Hi,

 

   Im using coldfusion 8 and coldfusion report builder for reporting. I have enabled RDS in Coldfusion Server.

Im using IIS and port 80. Hostname: http://localhost . RDS security the same as my CF admin for username and password.

.cfr and .cfm are working without connecting the RDS. But i want the RDS to connect to my datasource directly so that i can

only make a query on Coldfusion Report Builder. Please help me on this because I really want to understand this thing.

 

 

Many Thanks

CF9 Web server configuration tool not finding coldfusion

$
0
0

Hi,

 

I'm having problems setting up coldfusion 9, and I've narrowed it down to the web server configuration tool.

 

First, the server is running a brand new install of Windows 2008 R2 64bit. It's running IIS 7.5, and I've enabled ISAPI filters+extension, and IIS6 metabase compatibility.

The server is one of 1&1's new cloud offerings. I don't think this should be the problem, unless it's a way they've configured it.

I've already successfully installed CF9 on the same OS on a dedicated server with a different host.

 

Anyway, running the CF9 64 bit installer seems to work ok, but it doesn't configure up IIS. I've tried installing/uninstalling/re-imaging the server several times with no success.

To confirm my suspicions that CF was installing ok, I tried it using the built in web-server on port 8500, and that works fine.

 

I've tried running the web server configuration gui tool, but I get the following message:

 

Could not connect to any JRun/ColdFusion servers on host localhost.
Possible causes:
o Server not running
-Start Macromedia JRun4 or ColdFusion MX server
o Server running
-JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall on server
-host restriction in security.properties blocking communication with server

 

Googling this found several blog posts for earlier version of CF. Most suggest running the 'netstat -an' command, which gives:

 

Active Connections

 

  Proto  Local Address          Foreign Address        State

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING

  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING

  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING

  TCP    0.0.0.0:1688           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:2522           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:2932           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:6085           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:6086           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:7997           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:8500           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:8983           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:9923           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:9953           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:9963           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:19999          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:20000          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49201          0.0.0.0:0              LISTENING

  TCP    127.0.0.1:8079         0.0.0.0:0              LISTENING

  TCP    127.0.0.1:9953         127.0.0.1:49186        ESTABLISHED

  TCP    127.0.0.1:49186        127.0.0.1:9953         ESTABLISHED

  TCP    127.0.0.1:49538        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49539        127.0.0.1:9963         TIME_WAIT

  TCP    127.0.0.1:49540        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49541        127.0.0.1:9963         TIME_WAIT

  TCP    127.0.0.1:49542        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49543        127.0.0.1:9963         TIME_WAIT

  TCP    127.0.0.1:49544        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49545        127.0.0.1:9963         TIME_WAIT

  TCP    [::]:80                [::]:0                 LISTENING

  TCP    [::]:135               [::]:0                 LISTENING

  TCP    [::]:445               [::]:0                 LISTENING

  TCP    [::]:1688              [::]:0                 LISTENING

  TCP    [::]:2522              [::]:0                 LISTENING

  TCP    [::]:2932              [::]:0                 LISTENING

  TCP    [::]:3389              [::]:0                 LISTENING

  TCP    [::]:6085              [::]:0                 LISTENING

  TCP    [::]:7997              [::]:0                 LISTENING

  TCP    [::]:8500              [::]:0                 LISTENING

  TCP    [::]:8983              [::]:0                 LISTENING

  TCP    [::]:47001             [::]:0                 LISTENING

  TCP    [::]:49152             [::]:0                 LISTENING

  TCP    [::]:49153             [::]:0                 LISTENING

  TCP    [::]:49154             [::]:0                 LISTENING

  TCP    [::]:49155             [::]:0                 LISTENING

  TCP    [::]:49156             [::]:0                 LISTENING

  TCP    [::]:49201             [::]:0                 LISTENING

  UDP    0.0.0.0:500            *:*                   

  UDP    0.0.0.0:4500           *:*                   

  UDP    0.0.0.0:5355           *:*                   

  UDP    0.0.0.0:62255          *:*                   

  UDP    0.0.0.0:62257          *:*                   

  UDP    0.0.0.0:62259          *:*                   

  UDP    0.0.0.0:62261          *:*                   

  UDP    127.0.0.1:62253        *:*                   

  UDP    127.0.0.1:62254        *:*                   

  UDP    127.0.0.1:62256        *:*                   

  UDP    127.0.0.1:62258        *:*                   

  UDP    127.0.0.1:62260        *:*                   

  UDP    127.0.0.1:62262        *:*                      

  UDP    [::]:500               *:*                   

  UDP    [::]:4500              *:*                   

  UDP    [::]:5355              *:*                   

 

I've removed a few lines that mentioned the external IP of the server, but I don't think they're important.

The main thing, is that it seems to be listening on port 2932 which is configured in jndi.properties

 

At this point I'm stuck.

I did find some blog posts that suggested adding some arguments to narrow the ports scanned when you run the configuration tool. I tried them without success - as they were quite old, is it possible they have changed with the latest config tool?

 

The other thing I've contemplated is connecting IIS manually. However, I can't find any instructions for doing this with CF9.

 

Does anyone have any suggestions?

 

Thanks in advance,

 

Gareth

Security update...Explain this craziness...

$
0
0

Hi,

 

I just updated one of our CF 8.0.1 installations with the most recent security patch and it busted CFIDE instantly. When looking at the stack trace there are some suspect things going on. Please take a look at the bold print in the trace below...

 

1. why is it trying to run CFIDE from c:/work? My installation isnt even on the C: drive

2. Why the heck is "ColdFusioon" being referenced. Its obviously a type o . Not to mention the patch to CFIDE is once again completely wrong?

 

I figured id come to the forums and see people all over this subject.

 

Being that i didnt find any posts related to this whatsoever im wondering if this a personal problem and maybe im overlooking something. the update is so trivial im seeing how i could have overlooked anything.

 

Anyone out there care to chime in?

 

Stack Trace

java.lang.NoSuchMethodError: coldfusion.tagext.GenericTag.doFinally()V at cfl10n2ecfm1746172653.runPage(C:\work\ColdFusion\cf8_u1_final_hotfix\cfusion\wwwroot\CFIDE\administrator\cftags\l10n.cf m:153) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:63) at coldfusion.tagext.lang.ModuleTag.doStartTag(ModuleTag.java:280) at cfApplication2ecfm1983805352._factor3(C:\p4\ColdFusioon\cf8_final_hotfix\cfusion\wwwroot\CFIDE\administrator\Application.cfm:101) at cfApplication2ecfm1983805352._factor7(C:\p4\ColdFusioon\cf8_final_hotfix\cfusion\wwwroot\CFIDE\administrator\Application.cfm:4) at cfApplication2ecfm1983805352.runPage(C:\p4\ColdFusioon\cf8_final_hotfix\cfusion\wwwroot\CFIDE\administrator\Application.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter

getting the error "ASP.NET Window's feature is not installed"

$
0
0

I'm running ColdFusion 9 on IIS 7 with Windows Server 2008.  I've set up ColdFusion IIS sites before and used the web server configuration tool to get them to work.  I've created a new site in IIS and then went to the web server configuration tool.  I get a warning and then an error.  The warning I receive when I run the tool is "IIS 6 Management Compatibility is turned on.  Click Yes to continue."  When I hit "Yes" I receive the error "ASP.NET Window's feature is not installed.  They are required to configure IIS7 connector."  Is there a way I can fix this error?  If not, can I configure the site in IIS so that I don't require the use of this tool at all?

Error Executing Database QueryError Executing Database Query. [Macromedia][SQLServer JDBC Driver]...

$
0
0

The full error Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'LittleBobbyTables'. (table name withheld)

 

This is an intermittent failure, the code occassionally works fine, then does not. At first I suspected a DNS issue, but it doesn't seem to be the case since test DSN's to AName record (server name), Cname alias, and IP address DSN all work... so now I am wondering if it is a load issue - and my question -

 

How do I test this hypothesis? How do I monitor load on this DSN or what CF services should I monitor on the server.

CF10 Update Notification Email Fails to send

$
0
0

In CF10 under Server Update, you can have it send an email to notify you if there are any updates available.  Unfortunately, the format of the "From" value in not a valid email format so I get the following error in the exception.log

 

com.sun.mail.smtp.SMTPSendFailedException: 501 5.1.7 Invalid address

 

The undelivered mail looks like this.  Any way to make the from value from a valid email address instead of just "ColdFusion"?

 

type:  text/html; charset=UTF-8

server:  redacted.redacted.com:25

from:  ColdFusion

to:  redacted@redacted.com

subject:  New Update Available for ColdFusion Server

X-Mailer:  ColdFusion 10 Application Server

body:  1 updates available for ColdFusion Server(version: 10,0,0,282913)<br/>

body:                                          <p><table width="100%" cellspacing="5">

body:  

body:                                                    <tr ><td width="100%"><b>ColdFusion 10 Update 4</b><br/>

body:  

body:  If the version of your ColdFusion 10 installation is 282462, ensure that you have applied the mandatory update

body:  available at http://www.adobe.com/support/coldfusion/downloads_updates.html before applying this update.

body: 

body:  The ColdFusion 10 Update 4 includes several important bug fixes.

body:  For a complete list of fixes included in this update, click "Read More".

body: 

body:  IMPORTANT: After applying the update, reconfigure the connectors using wsconfig tool. It is in {cf_install_home}/cfusion/runtime/bin

body: 

body:  Note that this update is cumulative and includes fixes from previous updates.</td>

body:                                                    </tr>

body:                                                    <tr><td width="1" bgcolor="#FFFFFF"></td></tr>

body:  

body:                                          </table></p><br/>

body:                                          Login to ColdFusion Administrator to get more details and install updates.

CF10 Can't Verify Mail Server

$
0
0

So I've been running CF9 on Linux for a while and using CFMail to send email through a client's Exchange 2010 server.

 

We're attempting to migrate to CF10 on Win2008, IIS7.5.  Everything is set and ready to go except I can't get CF10 to verify the mail connection?  I've got both mail settings (CF9 and CF10) set the exact same way and can view them open side by side and verify they're identical.  However, while the CF9 verifies successfully the CF10 system fails??

 

I tried sending through CFMail tags while specifying the server credentials and see this in the CF10 log:

 

"javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client"

 

What does this mean?  I know my authentication credentials are correct because I'm able to connect in CF9.

 

I've turned off all firewalls and still nothing.  So, I then tried installing CF10 on my Mac laptop.  It, too, will not verify the mail connection!

 

Is there a known problem with CF10 connecting to an Exchange mail server?

 

Any ideas?


Undelivered E-mail Notification

$
0
0

We find that there are some undelivered e-mail stored in server. However, we did not receive any notification e-mail for these undelivered e-mail.

 

To ensure all e-mail should be sent out, is there any setting for coldfusion to notify admin if there are any undelivered e-mails existed?

Adobe Coldfusion8, JRun4, m32.exe and m64.exe taking 100% of the CPU

$
0
0

Hello

 

on two CF8 Servers which we are running for several years I could see that recently we have two processes inside the Jrun4 folder cfusion82\cfusion.ear\cfusion.war\CFIDE\m32\m32.exe and cfusion82\cfusion.ear\cfusion.war\CFIDE\m64\m64.exe taking 100% of the CPU. Action appears randomly and occurs on two server without any user interaction. Killing those processes does not seem to have any effect on the functionalty of the system.

 

Also in the coldfusion reactor I am not able to see any request which would be connected to this behaviour.

Does anyone know what are these processes?

 

Strange thing is that the files have been created just recently and on each system/instances in different days.


Thank you very much for answer!

java.lang.AbstractMethodError on data source verification

$
0
0

Using the easysoft JDBC-ODBC bridge to connect to an Access DB. Has been working great since CF6. Currently no issues on CF9(solaris). We're working to upgrade our servers to CF10 on Redhat and have everything working except when we attemtp to verify our data sources that use this driver we get the following error:

In the CF administrator: Connection verification failed for data source: csd_training_index
java.lang.AbstractMethodError: null
The root cause was that: java.lang.AbstractMethodError

 

"Error","ajp-bio-8012-exec-1","04/08/14","16:50:43",,""

 

in the server.log file

 

Note: EasySoft says "There is nothing in that stack trace to indicate CF is even connecting with Easysoft."

Stack trace:

"Error","ajp-bio-8012-exec-1","03/17/14","11:35:11",,""

java.lang.AbstractMethodError

      at coldfusion.server.j2ee.sql.JRunConnection.<init>(JRunConnection.java:133)

        at coldfusion.server.j2ee.sql.pool.JDBCPool.create(JDBCPool.java:555)

        at coldfusion.server.j2ee.sql.pool.JDBCPool._checkOut(JDBCPool.java:472)

        at coldfusion.server.j2ee.sql.pool.JDBCPool.checkOut(JDBCPool.java:378)

        at coldfusion.server.j2ee.sql.pool.JDBCPool.requestConnection(JDBCPool.java:785)

        at coldfusion.server.j2ee.sql.pool.JDBCManager.requestConnection(JDBCManager.java:123)

        at coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:135)

        at coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:122)

        at coldfusion.sql.CFDataSource.getConnection(CFDataSource.java:45)

        at coldfusion.sql.Executive.verifyDatasource(Executive.java:492)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)

        at sun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource)

        at java.lang.reflect.Method.invoke(UnknownSource)

        at coldfusion.runtime.StructBean.invoke(StructBean.java:508)

        at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2465)

        at cfudflibrary2ecfm1867463752$funcVERIFYDSN.runFunction(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\udflibrary.cfm:14)

        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)

        at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)

        at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)

        at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)

        at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:518)

        at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2624)

        at cfindex2ecfm782328217._factor12(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:450)

        at cfindex2ecfm782328217._factor17(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:396)

        at cfindex2ecfm782328217._factor18(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:168)

        at cfindex2ecfm782328217.runPage(E:\cf10_final\cfusion\wwwroot\CFIDE\administrator\datasources\index.cfm:1)

        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:244)

        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:444)

        at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

        at coldfusion.filter.IpFilter.invoke(IpFilter.java:64)

        at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:449)

        at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)

        at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

        at coldfusion.filter.PathFilter.invoke(PathFilter.java:112)

        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)

        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)

        at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)

        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

        at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)

        at coldfusion.CfmServlet.service(CfmServlet.java:219)

        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:75)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:204)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(UnknownSource)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(UnknownSource)

        at java.lang.Thread.run(UnknownSource)

Coldfusion 10 Enterprise, IIS 8.5 503 errors

$
0
0

We are upgrading certain applications in our environment to Coldfusion 10 and Server 2012 R2.

 

Everything in the QUA environment worked great, no issues.  However, when I put the new servers in production, I started seeing random 503 issues from the servers. (the application pools were stopped) - Restarting the application pool revived the site without a need to restart coldfusion.  In the interim of finding a fix, I had a powershell script checking the status of my app pool hourly and if it is down, I have it restart it and email me.

 

When I started looking into this, I did some tuning of my IIS connectors based on this article: Tuning ColdFusion 10 IIS Connector configuration — Adobe ColdFusion Blog - These particular servers are configured with one instance of coldfusion but separate connectors for each of the sites. Since implementing those changes last week, the 503 errors have only occurred one other time over the past weekend. Looking in the isapi_redirect.log file, I see this error that corresponds to each time the application pools crashed:

 

[error] init_jk::jk_isapi_plugin.c (2795): Initializing shm:(null) errno=-1. Load balancing workers will not function properly.

 

Just wondering what the above is actually referencing and if my issue is truly related to load?

How To: CF11 Clustering without Multicast (AWS)

$
0
0

This week I've been working on getting clustering setup for a client. Initially we were using CF10 with the latest patches. Ideally we wanted non-sticky load balancing with session replication. We want really high availability with the option to reboot a server at any time and not have to wait for session draining or lose customers if a node goes down. Adam Cameron points out that there is an issue with CF10 and not having an option to turn on session replication Adam Cameron's CFML Blog: Problem with session replication with CF10 clustering. Trying various fixes I could not get the session to replicate we moved to CF11 which restores that issue. There is a bug open for CF10 with some weird responses but I never saw any sort of fix for this.

 

CF11 as noted solves this odd issue, so I thought we were in the clear. Following the limited cluster setup guides found online there is some manual configuration to do on the remote instance. First, I am not sure if the default cfusion instance just can't be used as a member of a cluster but I had a hard time ever getting it to work. So both the local and remote instance use new CF11 instances created from within the Instance Manager. The instructions Adobe ColdFusion 10 * Enabling clustering for load balancing and failover are mostly correct in that you have to copy the <cluster> node to the remote instance. One issue pointed out in a few places is that the cluster block has to actually go IN the <host> node and not after it. CF10, CF11 and maybe even CF9 put the block (and the documents suggest putting the block) after the </host> tag which, in my experience, does not work.

 

After everything was configured and I started up my test I could not get the remote node to respond at all. Looking in the cf error log I constantly saw this line:

 

INFO: Manager [/]: skipping state transfer. No members active in cluster group.

 

Digging in to the tomcat clustering discussions this basically means the cluster couldn't find the remote instance. By default CF uses the multicast cluster support in tomcat and doesn't have an option to do anything different. Researching this found that AWS does not support broadcast nor multicast in EC2. Further research showed how tomcat could be configured for static cluster member configuration and so I modified the server.xml files to match and viola, cluster with session replication. Using the ELB on AWS we have sticky sessions disabled (basically round-robin style requests) and the requests bounce evenly between the instance members. The session id's, however, stay the same on each page load even though the request is going to a different host.

 

So here is what the cluster node of the server.xml looks like:

 

<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8" channelStartOptions="3">        <Manager notifyListenersOnReplication="true" expireSessionsOnShutdown="false" className="org.apache.catalina.ha.session.DeltaManager"/>        <Channel className="org.apache.catalina.tribes.group.GroupChannel">          <!--<Membership port="45564" dropTime="3000" address="228.0.0.4" className="org.apache.catalina.tribes.membership.McastService" frequency="500"/>-->          <Receiver port="4001" autoBind="100" address="auto" selectorTimeout="5000" maxThreads="6" className="org.apache.catalina.tribes.transport.nio.NioReceiver"/>          <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">            <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>          </Sender>          <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor"/> <!-- ADDED -->          <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>          <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>      <Interceptor className="org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor">                <Member className="org.apache.catalina.tribes.membership.StaticMember"                  port="4002"                  host="172.31.33.220"                  domain="delta-static"                  uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"                />          </Interceptor>        </Channel>        <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter=""/>        <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>        <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>        <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>      </Cluster>

 

You can see the <membership> node is commented out (this is the multicast function). The TcpPingInterceptor is added and the StaticMembershipInterceptor is added. The reciever port on this instance is 4001 and the remote instance is 4002 so the interceptor uses 4002 on this instance to contact the remote host and vice-versa. In other words the remote instance will use the same <cluster> node with the ports switch and the host IP address changed on the static interceptor. The uniqueID then rotates on each member going from {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15} to {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0}

 

Of course each additional member to the cluster will mean manual changes to each existing member (to add additional static interceptors) but that seems a small price to pay to not have to move our entire environment off AWS.

Viewing all 78799 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>