I've set up another app server with the exact same code and I'll see if I get the same error. If I do, I'll try turning off the rewriter in the "test" version of the app to see if it clears up the problem.
Nothing obvious in the error log. BTW: We're using an XQuery MVC framework that one of our developers wrote and that rule is trying to pass requests for static resources straight through without being handled by a controller. I'm not sure why the concat() function call is present--that bugs me, but it doesn't seem to break anything. On Mon, Jun 23, 2014 at 9:30 PM, Danny Sokolsky < [email protected]> wrote: > Hi Demian, > > > > I have not seen a problem like that. That does seem like a strange > rewrite rule there though. > > > > Can you duplicate this behavior on another app server on the same host? > Maybe without the rewriter? > > > > Have you looked in your log file for anything odd, or your access file? > You might want to turn your logging level to debug if it is not already set > there. > > > > -Danny > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Demian Hess > *Sent:* Monday, June 23, 2014 4:52 PM > *To:* General MarkLogic Developer Discussion > *Subject:* [MarkLogic Dev General] Static resources taking a long time to > load in ML 6.0-4.1 > > > > I have an xquery application running on a Windows 2003 server in ML > 6.0-4.1. > > > > A few times each day, the application will "hang" when serving static js > and css files. I can often cause this behavior if (in Chrome or FF) I clear > the browser cache, and then try to hit the login page. When I watch the > page load in the network monitor, I can see the css and js files waiting to > load. > > > > We are using URL rewriting and the router xquery has a rule that matches > these static files: > > if (matches($url, concat("^/resources")) ) then ( $url ) else ... > > I can't tell if this is a problem in the application, Marklogic, the > Windows server or the network. > > Has anyone seen problems like this in MarkLogic apps? > > > > -- > > Demian Hess > > Architect | Avalon Consulting, LLC > > M: 301.943.8307 | Fax: 845.367.5496 > > LinkedIn: http://www.linkedin.com/company/avalon-consulting-llc > > Google+: http://www.google.com/+AvalonConsultingLLC > > Twitter: https://twitter.com/avalonconsult > > > > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general > > -- Demian Hess Architect | Avalon Consulting, LLC M: 301.943.8307 | Fax: 845.367.5496 LinkedIn: http://www.linkedin.com/company/avalon-consulting-llc Google+: http://www.google.com/+AvalonConsultingLLC Twitter: https://twitter.com/avalonconsult
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
