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

Coldfusion Update 9,0,1,274733 disables session

$
0
0

Installed CF 9  and left all settings at default @ WindowsXP 32 bit with No Problems

 

Installed CF 9.0.1 and run very simple index.cfm with  Application.cfc with:

 

xxxxxxx cut xxxxxxxxxxxxxxxxxx

 

this.sessionmanagement = true;

this.sessiontimeout = CreateTimeSpan( 0, 0, 1, 0 );

 

xxxxxxx / cut xxxxxxxxxxxxxxxxxx     Results in:

 

 

java.lang.NullPointerException

 

Debugging Information

ColdFusion Server Developer9,0,1,274733

Template/walk/index.cfm

Time Stamp25-Nov-10 10:18 PM

LocaleEnglish (UK)

User AgentMozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/6.0.495.0 Safari/534.6

 

No top level page was found.

 

---------------------------------------------------------------------

 

Commenting out session vars gets rid of error

 

The session vars are enabled in CF Admin

 

BUT - trying to view log files in CF Admin produces this error below

 

========================================================================

 

The requested scope session has not been enabled.

 

Before session variables can be used, the session state management system must be enabled using the cfapplication tag.

 

The error occurred in _searchloglogic.cfm: line 29

-1 : Unable to display error's location in a CFML template.

Resources:

Check the ColdFusion documentation to verify that you are using the correct syntax.

Search the Knowledge Base to find a solution to your problem.

Browser  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/6.0.495.0 Safari/534.6

Remote Address  127.0.0.1

Referrer  http://127.0.0.1/CFIDE/administrator/logging/index.cfm

Date/Time  25-Nov-10 10:31 PM

Stack Trace

at cf_searchloglogic2ecfm1272957748.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator \logviewer\_searchloglogic.cfm:29) at cfsearchlog2ecfm333999345.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\logvie wer\searchlog.cfm:48)

 

coldfusion.runtime.NoOperScope$ScopeDisabledException: The requested scope session has not been enabled.

at coldfusion.runtime.NoOperScope.resolveName(NoOperScope.java:36)

at coldfusion.runtime.Scope.get(Scope.java:60)

at coldfusion.runtime.DotResolver.resolve(DotResolver.java:45)

at coldfusion.runtime.DotResolver.resolve(DotResolver.java:72)

at coldfusion.runtime.NeoPageContext.SymTab_resolveSplitName(NeoPageContext.java:1017)

at coldfusion.runtime.NeoPageContext.SymTab_resolveDottedName(NeoPageContext.java:995)

at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:649)

at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:622)

at coldfusion.runtime.CfJspPage._checkParam(CfJspPage.java:2939)

at coldfusion.runtime.CfJspPage.checkSimpleParameter(CfJspPage.java:3012)

at cf_searchloglogic2ecfm1272957748.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\administrator \logviewer\_searchloglogic.cfm:29)

 

 

===============================================================

 

 

Server Details

Server Product                     ColdFusion

Version                               9,0,1,274733

EditionDeveloper

Operating System                Windows XP

OS Version                          5.1

Adobe Driver Version           4.0 (Build 0005)

 

Type                                     COOKIE

Description                           Client based text file.

Purge data after time limit      Yes

Time limit                          10 days

Disable global updates           No

Memory Variables

J2EE Sessions                     No

Application Variables

Enable Application VariablesYes

Default Timeout                     1,0,0,0

Maximum Timeout                2,0,0,0

Session Variables

Enable session variables           Yes

Default Timeout                     0,0,1,0

Maximum Timeout                0,0,2,0

 

 

 

================================================

 

I have tweaked time out settings and set J2ee settings on/off and installed chf9000001 hotfix

 

Tried same on Windows 7 32 bit/64 bit

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

EDIT--- Ubuntu Server 64bit works

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

I have not seen this reported anywhere else.

 

The settings say session is enabled - even looked in neo-runtime.xml - very carefully

 

very discouraged ... must be dementia kicking in


Server stops processing ColdFusion

$
0
0

One of our servers is throwing "java.lang.OutOfMemoryError: PermGen space".

 

Here is the original jvm.config:

java.args=-server  -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=128m  -XX:MaxPermSize=192m -XX:+UseParallelGC -XX:-UseGCOverheadLimit  -Dcoldfusion.rootDir={application.home}/  -Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF /cfusion/lib/coldfusion.policy   -Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WE B-INF/cfusion/lib/neo_jaas.policy

 

Made  a change to bump the -XX:MaxPermSize=192m to -XX:MaxPermSize=256m but  this morning got the error again so I bumped it again to  -XX:MaxPermSize=512m.

 

Am I barking up the wrong tree?

 

ColdFusion version 9,0,1,274733 

 

Update level

JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/updates/hf901-00001.jar   

 

server OS: Windows 2003 R2, Standar x64, SP2

 

webserver: IIS6

 

database: MSSQL 2005

CF9 Admin Error when using 'View Undelievered Mail'

$
0
0

When using the 'View Undelieverd Mail' button in the CF9 Admin Mail page I get the following alert box error:

 

Error invoking CFC /CFIDE/administrator/mail/undeliveredmail.cfc: Client verification failure.

 

Accepting the dialog box then loads the page with the standard CF error with this:

 

Client verification failure. 
You must have a valid login to access this page. 
 
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.

 


Browser   Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Remote Address   127.0.0.1
Referrer   http://localhost/CFIDE/administrator/mail/undeliveredmail.cfm
Date/Time   02-Aug-11 01:09 AM

 

Anyone else have this problem or how to correct it? I think it may be due to the latest hotfix.

Can't install CF9(dev) over XAMPP

$
0
0

Hello, everyone.

 

First time in this forum.  I've never installed CF Server before.

 

I'm trying to install CF9 Developer over XAMPP Apache, and I'm getting an error.

 

SYSTEM:

Windows XP / SP3; 1Gig RAM; PLENTY of hd space

XAMPP 1.7.7 (Control Panel 2.5) installed to D:\xampp (D:\xampp\apache\conf and D:\xampp\apache\bin\httpd.exe for config directory and bin - I have no room on C:\ for this)

 

XAMPP is running fine, Apache starts with no problem, although I cannot restart - apparently, if Apache stops, something else jumps in and takes port 80.

 

Going through the CF9 installation, everything is smooth until I get to the part where I set the Apache connector.  When I click 'OK', I get the error message:

"Adobe ColdFusion 9 does not support this version of Apache.. (blah blah blah)" 

 

Apparently, the CF9 installer thinks I'm using an older version of Apache.  The XAMPP I'm using has Apache 2.2.21, which I believe is supported.

 

Has anyone else run across this problem?  Does anyone know of a workaround, for this?

 

Thanks,

Securing ColdFusion 10

$
0
0

We are preparing to upgrade to ColdFusion 10 from ColdFusion 8.  We are particulary interested in best practices for securing the installation, in particular securing the administrator on external facing systems.

 

The installation will be in a Solaris environment using Oracle iPlanet Web Server.

 

Can anyone provide such best practices, experiences or suggestions?

 

Thanks in advance.

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available

$
0
0

Hi All,

 

First time posting here so please be gentle with me.

 

Woke up this morning and one of our CF9 (IIS6) boxes is giving the 500 error below instead of our homepage. The error log is giving a similar message but is specifically complaining about a service startup failure and C:\ColdFusion9\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException.cfm being the file processed at the time of the error. Which is ironic as that is an exception handling file.

 

I have not been able to find much on the web about this and to be honest not much clue where to start. Nothing (as far as I know) has changed on the server and this happened in the middle of the night so any pointers or help would be much appreciated.

 

Thanks,

 

Adam

 

500

 

 

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available.

          at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:42)

          at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:438 )

          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:591)

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

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

          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:53)

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

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

          at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

          at com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:428)

          at com.intergral.fusionreactor.filter.FusionReactorFilter.d(FusionReactorFilter.java:262)

          at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java: 171)

          at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

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

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

          at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

          at jrun.servlet.FilterChain.service(FilterChain.java:101)

          at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)

          at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

          at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)

          at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

          at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

          at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

          at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

          at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

          at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Help me figure this hack out.

$
0
0

So as i was opening my presents with my family Christmas morning when my web server emailed me to let me know that a file had been created in my /CFIDE/ folder. This file was h.cfm and it was a nifty little tool used to scan files - copy files - dump SQL passwords - run commands - upload files ect....

 

My setup is CF9.0.1 on win server 2008 with mySQL5.5 . The servers only purpose is to host a few websites for my company. I poured over my IIS logs and could not find any trace of a connection to the webserver while this was happening. I then started looking at the http.log file in coldfusion server and found that it contained 2 entries at the time of the attack. Both looked like this... note i've removed the IP of the server. This file is the file that was uploaded to my server.

 

25-Dec-2012    6:54 AM    Information    jrpp-6969  Starting HTTP request {URL='http://IPAddress:80/CFIDE/h9.txt', method='get'} 

 

There was nothing before this connection and nothing after it.  It looks like some how my server was told to make a call to here.  Nothing in any logs regarding the use of the h.cfm, no loggs in IIS showing suspicious page hit before and nothign suspicious after.

 

Am i missing something??? this is driving me nuts! The other weird thing about this attack was that they didn't touch any websites they copied the ColdFusion9\updater_backup\ folder and a few other odd things off the server.

 

Any insight into anything that went on would be helpful... even if it's just a guess that points me in the right direction.

 

Thanks,

JB.

ColdFusion 10 cannot serve JSP files

$
0
0

We have recently upgraded our test server from ColdFusion 8 Enterprise server to ColdFusion 10 64-bit Enterprise server, running IIS 7.5 on a Windows 2008 R2 server.  We left the CF 8 install in place while we upgraded to CF 10.  CF 10 installed without any errors and our CF 10 websites are working properly.  It is fully patched to Update 11.  There is one function on one of the websites that was written in JSP and worked fine in CF 8.  Any call to a JSP template in CF 10 renders a 404 error, when the file is clearly available in the file system.

 

The proper handler mappings and MIME types appear to be in place in IIS.  Attached is a portion of the ISAPI_redirect.log, which includes the debug information. The 404 error appears at the end of the log excerpt.   I've replaced the server name and IP address with SERVER NAME and IP ADDRESS in the log below.

 

I have not uninstalled CF 8 at this point, but considering it as a last resort to try to install a clean copy of CF 10.

 

I'm hoping that it is just a permissions issue between Tomcat and IIS.  Please let me know if there is another artifact needed to post.  Any assistance is great appreciated.

 

 

Thanks,

Mike

 

[Wed Jul 10 08:55:12.211 2013] [9748:9356] [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/SERVER NAME/hello.jsp' from 24 maps[Wed Jul 10 08:55:12.242 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/flashservices/gateway/*=cfusion' source 'uriworkermap'.

.

.

.

[Wed Jul 10 08:55:12.445 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.cfml=cfusion' source 'uriworkermap'[Wed Jul 10 08:55:12.445 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.cfr=cfusion' source 'uriworkermap'[Wed Jul 10 08:55:12.445 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.cfc=cfusion' source 'uriworkermap'[Wed Jul 10 08:55:12.445 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.cfm=cfusion' source 'uriworkermap'[Wed Jul 10 08:55:12.445 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.sws=cfusion' source 'uriworkermap'[Wed Jul 10 08:55:12.445 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.jsp=cfusion' source 'uriworkermap'[Wed Jul 10 08:55:12.445 2013] [9748:9356] [debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/*.jsp=cfusion'[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] HttpFilterProc::jk_isapi_plugin.c (2026): check if [/hello.jsp] points to the web-inf directory[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] HttpFilterProc::jk_isapi_plugin.c (2042): [/hello.jsp] is a servlet url - should redirect to cfusion[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] HttpFilterProc::jk_isapi_plugin.c (2082): fowarding escaped URI [/hello.jsp][Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3090): Reading extension header HTTP_TOMCATWORKER000000006A6B0000: cfusion[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3091): Reading extension header HTTP_TOMCATWORKERIDX000000006A6B0000: 21[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3092): Reading extension header HTTP_TOMCATURI000000006A6B0000: /hello.jsp[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3093): Reading extension header HTTP_TOMCATQUERY000000006A6B0000: (null)[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3199): Applying service extensions[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header Connection : keep-alive[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header Content-Length : 0[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header Accept : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[Wed Jul 10 08:55:12.461 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header Accept-Encoding : gzip, deflate[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header Accept-Language : en-US,en;q=0.5[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header Cookie : JSESSIONID=EBD1BBAC5B4BB83272C09E4423E7C758.cfusion; CURRENTDESIGN=design%5Fgreen%5F2d[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header Host : SERVER NAME[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header User-Agent : Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20100101 Firefox/22.0[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3441): Forwarding request header X-Forwarded-For : [Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3476): Service protocol=HTTP/1.1 method=GET host=IP ADDRESS addr=IP ADDRESS name=SERVER NAME port=80 auth= user= uri=/hello.jsp[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] init_ws_service::jk_isapi_plugin.c (3488): Service request headers=9 attributes=0 chunked=no content-length=0 available=0[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] wc_get_worker_for_name::jk_worker.c (116): found a worker cfusion[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] HttpExtensionProc::jk_isapi_plugin.c (2276): got a worker for name cfusion[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] ajp_get_endpoint::jk_ajp_common.c (3253): acquired connection pool slot=0 after 0 retries[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (679): ajp marshaling done[Wed Jul 10 08:55:12.477 2013] [9748:9356] [debug] ajp_service::jk_ajp_common.c (2525): processing cfusion with 2 retries[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): sending to ajp13 pos=4 len=558 max=65536[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0000    12 34 02 2A 02 02 00 08 48 54 54 50 2F 31 2E 31  - .4.*....HTTP/1.1[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0010    00 00 0E 2F 65 73 73 2F 68 65 6C 6C 6F 2E 6A 73  - .../hello.js[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0020    70 00 00 0F 31 34 36 2E 31 33 38 2E 32 34 39 2E  - p...IP ADDRESS.[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0030    32 34 39 00 00 0F 31 34 36 2E 31 33 38 2E 32 34  - IP ADDRESS[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0040    39 2E 32 34 39 00 00 0E 6D 69 73 64 65 76 2E 64  - ..SERVER NAME[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0050    6F 65 2E 67 6F 76 00 00 50 00 00 09 A0 06 00 0A  - ..P.......[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0060    6B 65 65 70 2D 61 6C 69 76 65 00 A0 08 00 01 30  - keep-alive.....0[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0070    00 A0 01 00 3F 74 65 78 74 2F 68 74 6D 6C 2C 61  - ....?text/html,a[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0080    70 70 6C 69 63 61 74 69 6F 6E 2F 78 68 74 6D 6C  - pplication/xhtml[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0090    2B 78 6D 6C 2C 61 70 70 6C 69 63 61 74 69 6F 6E  - +xml,application[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 00a0    2F 78 6D 6C 3B 71 3D 30 2E 39 2C 2A 2F 2A 3B 71  - /xml;q=0.9,*/*;q[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 00b0    3D 30 2E 38 00 00 0F 41 63 63 65 70 74 2D 45 6E  - =0.8...Accept-En[Wed Jul 10 08:55:12.492 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 00c0    63 6F 64 69 6E 67 00 00 0D 67 7A 69 70 2C 20 64  - coding...gzip,.d[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 00d0    65 66 6C 61 74 65 00 00 0F 41 63 63 65 70 74 2D  - eflate...Accept-[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 00e0    4C 61 6E 67 75 61 67 65 00 00 0E 65 6E 2D 55 53  - Language...en-US[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 00f0    2C 65 6E 3B 71 3D 30 2E 35 00 A0 09 00 56 4A 53  - ,en;q=0.5....VJS[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0100    45 53 53 49 4F 4E 49 44 3D 45 42 44 31 42 42 41  - ESSIONID=EBD1BBA[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0110    43 35 42 34 42 42 38 33 32 37 32 43 30 39 45 34  - C5B4BB83272C09E4[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0120    34 32 33 45 37 43 37 35 38 2E 63 66 75 73 69 6F  - 423E7C758.cfusio[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0130    6E 3B 20 43 55 52 52 45 4E 54 44 45 53 49 47 4E  - n;.CURRENTDESIGN[Wed Jul 10 08:55:12.508 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0140    3D 64 65 73 69 67 6E 25 35 46 67 72 65 65 6E 25  - =design%5Fgreen%[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0150    35 46 32 64 00 A0 0B 00 0E 6D 69 73 64 65 76 2E  - 5F2d.....SERVER NAME.[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0160    64 6F 65 2E 67 6F 76 00 A0 0E 00 41 4D 6F 7A 69  - ....AMozi[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0170    6C 6C 61 2F 35 2E 30 20 28 57 69 6E 64 6F 77 73  - lla/5.0.(Windows[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0180    20 4E 54 20 35 2E 31 3B 20 72 76 3A 32 32 2E 30  - .NT.5.1;.rv:22.0[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0190    29 20 47 65 63 6B 6F 2F 32 30 31 30 30 31 30 31  - ).Gecko/20100101[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 01a0    20 46 69 72 65 66 6F 78 2F 32 32 2E 30 00 00 0F  - .Firefox/22.0...[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 01b0    58 2D 46 6F 72 77 61 72 64 65 64 2D 46 6F 72 00  - X-Forwarded-For.[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 01c0    00 0E 31 34 36 2E 31 33 38 2E 31 35 31 2E 32 39  - ..IP ADDRESS[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 01d0    00 03 00 00 00 04 00 00 00 0E 00 11 4D 69 63 72  - ............Micr[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 01e0    6F 73 6F 66 74 2D 49 49 53 2F 37 2E 35 00 0F 00  - osoft-IIS/7.5...[Wed Jul 10 08:55:12.523 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 01f0    07 43 47 49 2F 31 2E 31 00 10 00 00 00 0A 00 0F  - .CGI/1.1........[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0200    41 4A 50 5F 52 45 4D 4F 54 45 5F 50 4F 52 54 00  - AJP_REMOTE_PORT.[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0210    00 04 33 30 30 33 00 0A 00 10 4A 4B 5F 4C 42 5F  - ..3003....JK_LB_[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1234): 0220    41 43 54 49 56 41 54 49 4F 4E 00 FF FF FF 00 00  - ACTIVATION......[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_send_request::jk_ajp_common.c (1712): (cfusion) Statistics about invalid connections: connect check (0), cping (0), send (0)[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_send_request::jk_ajp_common.c (1723): (cfusion) request body to send 0 - request body to resend 0[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1420): received from ajp13 pos=0 len=58 max=65536[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1420): 0000    04 01 94 00 0E 2F 65 73 73 2F 68 65 6C 6C 6F 2E  - ...../hello.[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1420): 0010    6A 73 70 00 00 02 A0 01 00 17 74 65 78 74 2F 68  - jsp.......text/h[Wed Jul 10 08:55:12.539 2013] [9748:9356] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1420): 0020    74 6D 6C 3B 63 68 61 72 73 65 74 3D 75 74 66 2D  - tml;charset=utf-[Wed Jul 10 08:55:12.555 2013] [9748:9356] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1420): 0030    38 00 A0 03 00 03 39 39 34 00 00 00 00 00 00 00  - 8.....994.......[Wed Jul 10 08:55:12.555 2013] [9748:9356] [debug] ajp_unmarshal_response::jk_ajp_common.c (734): status = 404


cant update CF (Error occurred while installing the update: Failed Signature verification)

$
0
0

Hi I'm suffering with this issue Bug#3506758 - MySQL 5.6 Unable to Execute Queries

 

and therefore am trying to update cf 10 to version 13 (current version is 8) however I get 'Error occurred while installing the update: Failed Signature verification'

 

I'm running Mavericks on Mac.

 

Can anyone point me to a step by step way to resovle this please (I'm new to Macs and am a cf coder but alas dont have any experience in server admin).

 

Thanks very much indeed.

 

Nick

ColdFusion 10: All services missing from Services dialog (except ColdFusion 10 Application Server)

$
0
0

I'm receiving the following error when I try to add a DSN:

 

The ColdFusion ODBC Server service is not running or has not been installed

 

In trying to resolve that error, I discovered that other than ColdFusion 10 Application Server, there are literally no ColdFusion services listed -- running, stopped, or otherwise.

 

1: Is this normal?

 

2: How do I install, start or register those services? Clearly they're needed.

500 Error on Admin Page after installing APSB13-03

$
0
0

I'm running CF 9,0,0,251028 on Server 2008 R2 x64 with IIS 7.5. I installed APSB13-10 without any issues. I then installed APSB13-03 and after doing so the CF Administrator page returned a 500 Internal Server error. My CF websites continued to function. I rolled back and everything started working again. The problem is I am required to install this patch due to network security requirements. Is there anything I can do to get the Admin page to function after installing APSB13-03? Or am I missing something?

 

I am a little bit confused with the complexity of installing CF updates as I already have hf900-00010.jar and hf900-00013.jar files in my {ColdFusion-Home}/WEB-INF/cfusion/lib/updates folder, and this update puts an hf900-00009.jar in there, which seems like it might be an older file. Currently everything is working since I rolled back, but I have to install this update and after troubleshooting the 500 error I finally had to roll back. I have no idea what could be happening. Thank you in advance for any help!

503 Request timed out waiting to execute

$
0
0
[CF8 + Apache2 +Debian4]

I've got a serious problem, the CF8 alway suddenly hung up (about twice in a day), the client will receive the error:"503 Request timed out waiting to execute", after I restart the cfapplication server and everything turn right again. But, when the server was hung, I can still be able to logon the cfide/administrator/index.cfm ! Every pages in the web directory can't execute except the CFIDE! I logon into the monitor to see the 'Active Requests', there are something terrible... about dozens of requests for the homepage. Time Taken about 1500sec! (Timeout Requests after 90sec in server steetings doesn't work, it maybe the cfquery timeout? It connect to oracle 9i DB, and the Maximum number of running JRun threads had been set to 500! ) . The memory usage is ok(less than 300MB).

I'm frustrating... Can somebody help me, Thank you.

coldfusion.mail.MailSessionException

$
0
0
In last couple of weeks, have had 2 occassions where cfmail not work, generating following error:

Error Diagnotics: An exception occurred when setting up mail server parameters. This exception was caused by: coldfusion.mail.MailSessionException: An exception occurred when setting up mail server parameters..

Only way have found to take care of this is to reboot CF server. (CF MX 7, latest)
Tried several searches on topic. Found others having same problem, but no one has answer other than reboot.

Some with problem wondered whether had to do with large attachments. Mine is independed of size of mail and whether has attachment.

Not a problem I can duplicate, nor does there seem to be any event tied to the 2 times this has occurred. Host master who has been with CF for years where I have my server says he's never seen this before.

Appreciate any help/thoughts. Thanks

Keith Dodd

Is CF10 working optimally

$
0
0

CF10 tomcat logs indicate it is not working optimally. Is the INFO message following normal operation or something to worry about?

 

Details:

 

CFAdmin > Debugging & Logging > Log Files > coldfusion-error.log

 

16/05/2012 1:26:58 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

 

CFadmin > System Information

 

Version  ColdFusion 10,282462 

Tomcat Version  7.0.23.0 

Operating System  Windows 7   32 bit

OS Version  6.1   

Adobe Driver Version  4.1 (Build 0001)   

Java Version  1.6.0_29 

 

 

Thanks in advance, Carl.

Default document not being processed when not included in URL

$
0
0

Running ColdFusion 9,0,1,274733 on JRun (J2EE install), Windows Server 2008 R2, Java 1.6.0_22

 

Has anyone else had a problem getting the default document, index.cfm, to work with ColdFusion? I'm assuming that this is only an issue because of our setup; different web server (IIS) and application server (ColdFusion). I can't imagine we are the only ones running this configuration. Are we?

 

So here is the issue.

If we request http://mysite.com/test/index.cfm it works.

If we request http://mysite.com/test/ it does not work and we get a 404.

 

I checked the web connector's log file on our IIS server and can see that it is sending the request to our ColdFusion server. The ColdFusion server is sending back the 404 error code but I can't figure out why. We have the default document set on our IIS server for index.cfm. We also have the <welcome-file-list> set to include index.cfm on our application server (web.xml).

 

 

From our web connector's log when we do NOT include index.cfm:

 

2012-11-01 13:37:22 jrISAPI[4544:3600]  ***HttpExtensionProc for JRun ISAPI Extension: uri is "/test/"

2012-11-01 13:37:22 jrISAPI[4544:3600]     HTTP_HOST: servername

2012-11-01 13:37:22 jrISAPI[4544:3600]  filtering /test/ (/test/) HOST=servername

2012-11-01 13:37:22 jrISAPI[4544:3600]  filterRequest:   no match

2012-11-01 13:37:22 jrISAPI[4544:3600]  ExecUrl: request received: URL=/test/

2012-11-01 13:37:22 jrISAPI[4544:3600]  ExecUrl Completion: 404, ErrorCode=2, URL=/test/.

 

From our web connector's log when we do include index.cfm:

 

2012-11-01 13:49:02 jrISAPI[9936:3600]  ***HttpExtensionProc for JRun ISAPI Extension: uri is "/test/index.cfm"

2012-11-01 13:49:02 jrISAPI[9936:3600]     HTTP_HOST: servername

2012-11-01 13:49:02 jrISAPI[9936:3600]  filtering /test/index.cfm (/test/index.cfm) HOST=servername

2012-11-01 13:49:02 jrISAPI[9936:3600]  filterRequest:   matched *.cfm

2012-11-01 13:49:02 jrISAPI[9936:3600]  ***IISWorkerThreadProc for JRun ISAPI Extension: uri is "/test/index.cfm"

2012-11-01 13:49:02 jrISAPI[9936:3600]     ALL_RAW: Connection: Keep-Alive Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, application (553)

2012-11-01 13:49:02 jrISAPI[9936:3600]  Headers and Values:

... and much more ...

 

We have gotten around this issue by using the URL Rewrite module in IIS to append index.cfm to the URL. It works but my gut keeps telling me that we should not need to do that for such basic functionality.

 

Is anyone else having this issue? How have you gotten around this?


CF10 with Java 8

$
0
0

Hello,

 

Has anyone else tried to use CF with Java 8 preview? If you have tried Java 8 preview have you noticed anything interesting?

 

Something to share. Java 8 uses memory differently to Java 7 or 6 (reminder Java 6 is EOL). The non heap memory Permanent generation has been done away with and is now consumed in a new memory space called Metaspace. I guess that will mean CF folks will not see the dreaded “java.lang.OutOfMemoryError: PermGen space” in coldfusion-out.log anymore.


For interested readers here is my CF10 Summary part:

 

Server Settings > Settings Summary

System Information  
 
Server Product  ColdFusion 
Version  ColdFusion 10,284825 
Operating System  Windows 7   
OS Version  6.1   
Update Level  /C:/ColdFusion10/cfusion/lib/updates/chf10000010.jar   
Adobe Driver Version  4.1 (Build 0001)   

JVM Details

 

Java Version  1.8.0-ea   
Java Vendor  Oracle Corporation   
Java Vendor URL  http://java.oracle.com/   
Java Home  C:\Program Files\Java\jdk1.8.0\jre   
Java File Encoding  Cp1252   
Java Default Locale  en_AU   
User Dir  C:\ColdFusion10\cfusion\bin   
Java VM Specification Version  1.8   
Java VM Specification Vendor  Oracle Corporation   
Java VM Specification Name  Java Virtual Machine Specification   
Java VM Version  25.0-b48   
Java VM Vendor  Oracle Corporation   
Java VM Name  Java HotSpot(TM) Server VM   
Java Specification Version  1.8   
Java Specification Vendor  Oracle Corporation   
Java Specification Name  Java Platform API Specification   
Java Class Version  52.0   

 

For those more curious about Java memory heap, non heap spaces and garbage collection here is a portion of CF10 verbose Java 8 log:


{Heap before GC invocations=25 (full 11):
PSYoungGen      total 116736K, used 58624K [0x25840000, 0x30300000, 0x30300000)
  eden space 58624K, 100% used [0x25840000,0x29180000,0x29180000)
  from space 58112K, 0% used [0x2ca40000,0x2ca40000,0x30300000)
  to   space 58112K, 0% used [0x29180000,0x29180000,0x2ca40000)
ParOldGen       total 349440K, used 349401K [0x10300000, 0x25840000, 0x25840000)
  object space 349440K, 99% used [0x10300000,0x258364e0,0x25840000)
Metaspace total 39432K, used 38121K, reserved 11104K
  data space     39432K, used 38121K, reserved 11104K
545.052: [Full GC (Ergonomics) [PSYoungGen: 58624K->0K(116736K)] [ParOldGen: 349401K->38999K(276992K)] 408025K->38999K(393728K), [Metaspace: 38121K->38111K(11104K)], 0.2856262 secs] [Times: user=0.45 sys=0.00, real=0.29 secs]
Heap after GC invocations=25 (full 11):
PSYoungGen      total 116736K, used 0K [0x25840000, 0x30300000, 0x30300000)
  eden space 58624K, 0% used [0x25840000,0x25840000,0x29180000)
  from space 58112K, 0% used [0x2ca40000,0x2ca40000,0x30300000)
  to   space 58112K, 0% used [0x29180000,0x29180000,0x2ca40000)
ParOldGen       total 276992K, used 38999K [0x10300000, 0x21180000, 0x25840000)
  object space 276992K, 14% used [0x10300000,0x12915c00,0x21180000)
Metaspace total 39418K, used 38111K, reserved 11104K
  data space     39418K, used 38111K, reserved 11104K
}

 

To have something to compare switching CF10 back to Java 7 with no other JVM alterations verbose log portion for similar usage says:

 

{Heap before GC invocations=24 (full 9):
PSYoungGen      total 116480K, used 65026K [0x1d360000, 0x27e00000, 0x27e00000)
  eden space 58240K, 100% used [0x1d360000,0x20c40000,0x20c40000)
  from space 58240K, 11% used [0x24520000,0x24bc09b8,0x27e00000)
  to   space 58240K, 0% used [0x20c40000,0x20c40000,0x24520000)
PSOldGen        total 205184K, used 35647K [0x07e00000, 0x14660000, 0x1d360000)
  object space 205184K, 17% used [0x07e00000,0x0a0cfc90,0x14660000)
PSPermGen       total 58880K, used 45819K [0x03e00000, 0x07780000, 0x07e00000)
  object space 58880K, 77% used [0x03e00000,0x06abec70,0x07780000)
530.568: [GC [PSYoungGen: 65026K->5223K(116480K)] 100673K->45573K(321664K), 0.0220773 secs] [Times: user=0.05 sys=0.00, real=0.02 secs]
Heap after GC invocations=24 (full 9):
PSYoungGen      total 116480K, used 5223K [0x1d360000, 0x27e00000, 0x27e00000)
  eden space 58240K, 0% used [0x1d360000,0x1d360000,0x20c40000)
  from space 58240K, 8% used [0x20c40000,0x21159d78,0x24520000)
  to   space 58240K, 0% used [0x24520000,0x24520000,0x27e00000)
PSOldGen        total 205184K, used 40350K [0x07e00000, 0x14660000, 0x1d360000)
  object space 205184K, 19% used [0x07e00000,0x0a567a60,0x14660000)
PSPermGen       total 58880K, used 45819K [0x03e00000, 0x07780000, 0x07e00000)
  object space 58880K, 77% used [0x03e00000,0x06abec70,0x07780000)
}

 

I should add Java 8 is preview and not officially support by Adobe CF so do not install it on your CF production or any environment that you rely on.

 

Java 8 release is expected March 2014. That might seem a long way off but like the previous Java 7 release can creep up on you rather quickly.

 

Regards, Carl.


Strange Scheduled Task (Quartz) behaviour CF10

$
0
0

Hi,

 

I'm running ColdFusion 10 Enterprise on a RHEL 6 server and have come across an intersting behaviour in relation to the scheduled tasks we have setup.

 

We noticed that after a reboot of our ColdFusion server that the scheduled tasks weren't running correctly.

 

When I looked in the http.log file I could see that it was trying to execute the correct template

 

"Information","DefaultQuartzScheduler_Worker-9","10/25/13","07:18:16",,"Starting HTTP request {URL='...', method='get'}"

 

But the request never appears to be completed. When a task successfully runs you would expect to see a completed line as well in the http.log file

 

"Information","DefaultQuartzScheduler_Worker-9","10/25/13","07:18:21",,"HTTP request completed  {Status Code=200 ,Time taken=4896 ms}"

 

For some reason after the server reboot the task is triggered, but it never runs and never shows as being complete.

 

I was playing changing settings in the scheduled task and checked the Save output to a file

 

One other thing I noticed was that the catalina task (check for update/hotfix) would execute and return while the other tasks (quartz) wouldn't.


Has anyone seen anything similar or have any suggestions? For now i'll just make sure my tasks all output to a file, but if there was a way to fix it I would much prefer to do that.

 

Thanks

Simon

CF11 install problem on WIndows server 2012 R2

$
0
0

We have a new install windows server 2012 R2 with a new install CF11 standard installed on C drive. Everything is 64bit. The CF administrator site and login works fine.  cfm files will not serve up in the default directory, but IIS shows htm files fine.  CF administrator runs fine.

 

Web Server Config tool will only show "None" in the IIS Web Site box.  The usual CGI, APS, etc have been installed on IIS.  In fact IIS and CF11 have been reinstalled.  wsconfig.exe manual run shows no errors.

 

The problem is that any call to a cfm template results in an error (html pages serve fine):

 

HTTP Error 500.0 - Internal Server Error

The page cannot be displayed because an internal server error has occurred.

 

Detailed Error Information:

Module       IsapiModule

Notification       ExecuteRequestHandler

Handler       cfmHandler

Error Code       0x8007007f

Requested URL       http://localhost:80/default.cfm

Physical Path       C:\inetpub\wwwroot\default.cfm

 

Can anybody give any suggestions for troubleshooting?  No logs seem to show any information that helps.

Multiple application pools for ColdFusion possible in the same IIS website?

$
0
0

I would like to set up a single website with CFM11 under IIS8.5

In this website there are several CFM applications, each under a different "Application" subfolder. For security purposes, monitoring and separate maintenance shutdowns per application, these would all need their own "application pool".

However, this means that these applications should run under a different application pool than their website root node. In IIS this causes a 403.18 exception:

 

HTTP Error 403.18 - Forbidden

The specified request cannot be processed in the application pool that is configured for this resource on the Web server.

Most likely causes:

•An ISAPI filter or custom module changed the URL to run in a different application pool than the original URL.

•An ISAPI extension (or custom module) used ExecuteURL (or ExecuteRequest) to run in a different application pool than the original URL.

•You have a custom error page that is located in one application pool but is referenced by a Web site in another application pool. When the URL is processed, it is determined by IIS that that it should have been processed in the first application pool, not the other pool.

•The Web site has multiple applications configured. The application this request is configured to run in is set to run in an application pool that does not exist.

 

All works fine if the "applications" in the subfolders run under the same application pool as the website root. However that is not my preferred setup... The behaviour is consistent over all CFM-applications that I deploy, no matter how simple they are...

 

Two questions:

- is coldfusion actually looking to "higher" folders than I expect it to? (and can that be avoided)

- any hints or experiences on how to avoid / solve this issue?

High Eden Java Memory Usage/Garbage Collection

$
0
0

Hi,

 

I am trying to make sure that my Coldfusion Server is optomised to the max and to find out what is normal limits.


Basically it looks like at times my servers can run slow but it is possible that this is caused by a very old bloated code base.

 

Jrun can sometimes have very high CPU usage so I purchased Fusion Reactor to see what is going on under the hood.

 

Here are my current Java settings (running v6u24):

java.args=-server -Xmx4096m -Xms4096m -XX:MaxPermSize=256m -XX:PermSize=256m -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dsun.io.useCanonCaches=false -XX:+UseParallelGC -Xbatch ........

 

With regards Memory, the only memory that seems to be running a lot of Garbage Collection is the Eden Memory Space. It climbs to nearly 1.2GB in total just under every minute at which time it looks like GC kicks in and the usage drops to about 100MB.

 

Survivor memory grows to about 80-100MB over the space of 10 minutes but drops to 0 after the scheduled full GC runs. Old Gen memory fluctuates between 225MB and 350MB with small steps (~50MB) up or down when full GC runs every 10 minutes.

 

I had the heap set to 2GB initally in total giving about 600MB to the Eden Space. When I looked at the graphs from Fusion Reactor I could see that there was (minor) Garbage Collection about 2-3 times a minute when the memory usage maxed out the entire 600MB which seemed a high frequency to my untrained eye. I then upped the memory to 4GB in total (~1.2GB auto given to Eden space) to see the difference and saw that GC happened 1-2 times per minute.

 

Is it normal in Coldfusion that the Eden memory would grow so quickly and have garbage collection run so often? i.e do these graphs look normal?

Also should I somehow redistribute the memory available to give the Eden memory more since it seems to be where all the action is?

Any other advice for performance improvements would be much appreciated.

 

Note: These graphs are not from a period where jrun had high CPU.

 

Here are the graphs:


PS Eden Space Graph

http://img833.imageshack.us/img833/7002/psedenspacegraph.png

 

PS Survivor Space Graph

http://img69.imageshack.us/img69/3241/pssurvivorspacegraph.png

 

PS Old Gen Graph

http://img689.imageshack.us/img689/8093/psoldgengraph.png

 

PS Perm Gen Graph

http://img6.imageshack.us/img6/3291/pspermgengraph.png

 

Heap Memory Graph

http://img692.imageshack.us/img692/2348/heapmemorygraph.png

 

Heap/Non Heap Memory Graph

http://img196.imageshack.us/img196/594/heapnonheapmemorygraph.png

 

CPU Graph

http://img28.imageshack.us/img28/8781/cpugraph.png

 

Request Average Execution Time Graph

http://img33.imageshack.us/img33/6573/requestaverageexecution.png

 

Request Activity Graph

http://img845.imageshack.us/img845/5065/requestactivitygraph.png

 

Code Cache Graph

http://img6.imageshack.us/img6/6620/codecachegraph.png

Viewing all 78799 articles
Browse latest View live


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