App is hanging on some requests
I've got an app that has some requests hanging and I can't seem to pinpoint the cause. I'm running ColdFusion 9, using the ORM, Coldbox 3.1, and ValidateThis 1.1. Below are the stack traces for two requests, pulled from FusionReactor, that were hung and eventually timed out after five minutes. Any help deciphering them would be great. Thanks, Dustin === Stack Trace 1 === jrpp-1583 prio=5 runnable java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)[Native Method] java.net.SocketInputStream.read(SocketInputStream.java:129) java.io.BufferedInputStream.fill(BufferedInputStream.java:218) java.io.BufferedInputStream.read1(BufferedInputStream.java:258) java.io.BufferedInputStream.read(BufferedInputStream.java:317) jrun.servlet.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java:581) jrun.servlet.jrpp.ProxyEndpoint.readFully(ProxyEndpoint.java:573) jrun.servlet.jrpp.ProxyEndpoint.readInt(ProxyEndpoint.java:591) jrun.servlet.jrpp.ProxyEndpoint.readString(ProxyEndpoint.java:620) jrun.servlet.jrpp.ProxyEndpoint.getRealPathFromServer(ProxyEndpoint.java:540) jrun.servlet.jrpp.ProxyEndpoint.access$000(ProxyEndpoint.java:36) jrun.servlet.jrpp.ProxyEndpoint$1.fetch(ProxyEndpoint.java:528) jrunx.util.Cache.get(Cache.java:116) jrun.servlet.jrpp.ProxyEndpoint.getRealPath(ProxyEndpoint.java:565) jrun.servlet.WebApplicationService.getResource(WebApplicationService.java:1028) jrun.servlet.JRunServletContext.getRealPath(JRunServletContext.java:132) coldfusion.runtime.ServletContextWrapper.doGetRealPath(ServletContextWrapper.java:166) coldfusion.runtime.ServletContextWrapper._doGetRealPath(ServletContextWrapper.java:112) coldfusion.runtime.ServletContextWrapper.getRealPath(ServletContextWrapper.java:97) coldfusion.runtime.RuntimeServiceImpl.getRealPath(RuntimeServiceImpl.java:999) coldfusion.filter.FusionContext.getRealPath(FusionContext.java:759) coldfusion.util.Utils.expandPath(Utils.java:434) coldfusion.runtime.CFPage.ExpandPath(CFPage.java:3074) cfFrameworkSupertype2ecfc551651643$funcINCLUDEUDF.runFunction(E:\WebRoot\Production\CF\projects\Backhauls2\frameworks\coldbox\3_1\system\FrameworkSupertype.cfc:364) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582) cfRenderer2ecfc1460685596$funcINIT.runFunction(E:\WebRoot\Production\CF\projects\Backhauls2\frameworks\coldbox\3_1\system\plugins\Renderer.cfc:57) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491) coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:337) coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) cfPluginService2ecfc1482130609$funcNEW.runFunction(E:\WebRoot\Production\CF\projects\Backhauls2\frameworks\coldbox\3_1\system\web\services\PluginService.cfc:111) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:517) coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2547) cfPluginService2ecfc1482130609$funcGET.runFunction(E:\WebRoot\Production\CF\projects\Backhauls2\frameworks\coldbox\3_1\system\web\services\PluginService.cfc:151) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472) coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:405) coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368) coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55) coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321) coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220) coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:491)
Ever get this DB error Encoding Not Supported?
I've been getting this error while trying to run queries hitting DB2. Error Executing Database Query. encoding not supported!! The queries that hit DB2 run fine on our server and my coworkers' computer...just not mine. I can verify the connection with no error in CF Admin and can hit SQL Server 2000 as well. But for the life of me I cannot figure out what is going on with this. I'm using a Type 4 connection on CF7. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309179 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Session and Request variables are being shared between users
I have altered some of the links to make them unique and that appears to have resolved the issue. However, in the process of trying different things, a NEW problem arose. I started trying out the CFHEADER tag and looked around and found a couple possibilities to try to prevent caching. The problem is that when the user hits the back button, the page is said to be expired and they must hit refresh if they want to view it. I took out the CFHEADER tags I was using but the 'page expired' message is still being shown. It would be nice if the caching could be controlled via HTTP headers and not have to alter the links to make each page unique but have the users be able to click back is important to have as well. Thanks. It is far more likely to share session variables than request variables, so just focus on the session variable problem. If you switch to using J2EE sessions, the problem might go away immediately. If you are using traditional sessions, start logging cfide and cftoken values and confirm that these values are identical for the people with the issue. Apply all the service packs and hotfixes to CF that you can. You can try putting cache disabling code in the site. You can try to make every URL unique for a user by putting a user-specific variable in the query string of every link. You can create your own secure session management code that doesn't use the standard cookie values that CF creates. Good luck, Mike Chabot On Sat, May 31, 2008 at 12:39 AM, Dustin Martin [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306830 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Session and Request variables are being shared between users
Hmmm...ok. So, how do I find out for sure if I have a proxy or cache between users and then, of course, how would I fix such a problem? A caching issue is what I thought it might be at one point but never really knew how to proceed or how to test. How would a proxy or cache create this behavior exactly? Thanks. You probably have a proxy or cache between your users and the servers, which is serving old data from the cache. You can control cache behavior with HTTP headers. On Thu, May 29, 2008 at 10:45 PM, Dustin Martin [EMAIL PROTECTED] wrote: Here is an EXTREMELY strange issue I'm having with an application of mine: Session and Request variables are being shared between users. What I mean is this; we have many users accessing the application and when we do a dump of the Session and Request variables and the bottom of the screens, sometimes other user's data will be shown. For example, user 'A' is signed in but in the dump of the Session and Request variables, user 'B' data is shown. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com. au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306480 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Session and Request variables are being shared between users
Here is an EXTREMELY strange issue Iâm having with an application of mine: Session and Request variables are being shared between users. What I mean is this; we have many users accessing the application and when we do a dump of the Session and Request variables and the bottom of the screens, sometimes other userâs data will be shown. For example, user âAâ is signed in but in the dump of the Session and Request variables, user âBâ data is shown. Obviously this is creating some very big problems as the application is pulling wrong information from the database based on the wrong session information. This started when we moved from one data server to two data servers and the application database was moved one of the new servers which makes no sense to me. The problem doesnât happen every time but it happens quite often. If the user simply hits refresh in the browser the user is shown the correct information and the Session and Request variables are correct. Iâve tried plenty of things but have come no closer to figuring out this one so any help would be great. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306241 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4