jrun

Is JDK 6u14 Garbage First (G1) garbage collector, suitable for JRun?

自闭症网瘾萝莉.ら 提交于 2020-01-16 00:42:33
问题 Garbage First (G1) garbage collector http://weblogs.java.net/blog/opinali/archive/2009/02/here_comes_jdk.html Do you think this garbage collector is better for JRun, running ColdFusion 8? 回答1: I will tell you that updating the JVM in ColdFusion is a breeze, so I always update to the latest JVM once it's been released for a month. I haven't had any problems with any of the releases thus far and ColdFusion seems to be getting a little quicker with each update. That said, you should always

Strange JRUN issue. JRUN eating up 50% of memory for every two hours

[亡魂溺海] 提交于 2020-01-03 03:01:14
问题 I have strange JRUN issue. I have installed ColdFusion 9.0 on Amazon EC2 instance and seems everything working good except JRUN eating up arround 50% of memory for particular timespan. For countinous two hours it take 50% of CPU usage and then next 45 min to an hour it work normally and again it take 50% for next two hours. I am not running any schedule file. Also I will appreciate if anyone guide me how we can know which request causing JRUN to eat memory. Thanks for suggestion MIKE, but it

Handling 500 JRun servlet in ColdFusion

拜拜、爱过 提交于 2019-12-20 03:37:14
问题 All - Is there a way to handle a 500 JRun servlet error in ColdFusion? I tried using cferror as well as using the site-wide handler in ColdFusion admin, but it does not seem to be working. Here is the error message 500 ROOT CAUSE: java.lang.IllegalArgumentException at coldfusion.filter.FormScope.parseName(FormScope.java:408) at coldfusion.filter.FormScope.parseQueryString(FormScope.java:360) at coldfusion.filter.FormScope.parsePostData(FormScope.java:328) at coldfusion.filter.FormScope

Session ID re-used after call to invalidate

强颜欢笑 提交于 2019-12-18 03:43:36
问题 I've inherited a pretty ancient JSP application (JDK 1.3.1_15) and am attempting to plug a session fixation hole. I'm successfully invalidating the current session after authentication using HttpSession.invalidate() however when the new session is created, the old session ID is re-used. <% // login.jsp if (authenticated) { request.getSession().invalidate(); // create new session and store data HttpSession session = request.getSession(); session.putValue(...); // etc response.sendRedirect(

Recommendations for a Java 1.4 MVC framework for Jrun? [closed]

六眼飞鱼酱① 提交于 2019-12-11 18:46:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I am revisiting a project and need to limit it to Java 1.4 (unfortunately). I was interested in introducing a MVC framework to improve ease of maintenance in the future. Besides Struts 1, what options do I have? The lightweight the framework, the better. Not to dismiss Struts off hand, I've just heard a lot of

How to resolve deadlock issue in ColdFusion 9: coldfusion.util.AbstractCache$Lock

梦想与她 提交于 2019-12-11 06:43:17
问题 I have been attempting to resolve an issue where the execution of certain scripts causes a deadlock, putting all subsequent requests into limbo, using up 99.9% of the CPU, and eventually effectively crashing the server. Here is an example stack trace for one of the requests which has been put in limbo (waiting eternally): Thread Stack Trace Trace Time: 21:00:44.463 06-Jun-2012 Request ID: 6131 Script Name: http://www.example.com/allreviews.cfm Started: 21:00:21.225 06-Jun-2012 Exec Time:

Strange JRUN issue. JRUN eating up 50% of memory for every two hours

不羁的心 提交于 2019-12-08 16:42:30
I have strange JRUN issue. I have installed ColdFusion 9.0 on Amazon EC2 instance and seems everything working good except JRUN eating up arround 50% of memory for particular timespan. For countinous two hours it take 50% of CPU usage and then next 45 min to an hour it work normally and again it take 50% for next two hours. I am not running any schedule file. Also I will appreciate if anyone guide me how we can know which request causing JRUN to eat memory. Thanks for suggestion MIKE, but it seems that I already enable matrix but cann't find any changes when JRUN was running normal and taking

Setting Secure cookies when HTTPS (for mixed HTTPS/HTTP site) with JRun/ColdFusion

我只是一个虾纸丫 提交于 2019-12-07 18:49:51
问题 We have a site running on CF7 that has both logged in and logged out sections, and uses jsessionid for sessions. When switching to HTTPS (for the secure sections), we need to start a new secure session, setting the 'Secure' flag on the jsessionid cookie. Whilst JRun has an option for setting 'Secure' it appears to be an all-or-nothing deal. Is there a way to always use Secure when in HTTPS mode? Related Question: Setting HttpOnly flag for all cookies. 回答1: This explanation seems quite

Domain level session cookie on multiple domains

白昼怎懂夜的黑 提交于 2019-12-07 11:38:49
问题 If you want ColdFusion to create your session cookie as a domain level cookie e.g. .bar.com rather than foo.bar.com then you can configure that in the jrun-web.xml:- <session-config> <cookie-config> <active>true</active> <cookie-domain>.bar.com</cookie-domain> </cookie-config> <persistence-config> <active>false</active> </persistence-config> </session-config> However, this is an instance wide setting so if you want to run two applications on that instance or indeed one application with or

Forcing HttpOnly cookies with JRun/ColdFusion

假如想象 提交于 2019-12-06 00:52:58
问题 We need to ensure that all cookies on a CF7 site are set as HttpOnly. We are using jsessionid to control our sessions, and JRun does not create this as HttpOnly. Whilst it is possible to modify an existing cookie to add this setting, we need to have it set to HttpOnly from the start. Any suggestions? Related Question: Setting Secure flag for HTTPS cookies. 回答1: From: http://www.petefreitag.com/item/764.cfm Running CF 8 or Lower and using Application.cfc <cfcomponent> <cfset this