4 Replies Latest reply on Dec 16, 2010 3:14 PM by August Simonelli

    jsessionid getting inserted into url for css (weird)

    August Simonelli Newbie

      Hi all,

       

      Just wondering id anyone has seen this kind of thing and could maybe give me some pointers of where to start looking.

       

      We have mod_cluster 1.0.4 -> jboss eap working fine. In the virtual there is:

       

      ProxyPass /context balancer://jbossbalancer/context stickysession=JSESSIONID|jsessionid nocanon

       

      The app deployed there (not written by me but i can talk to the devs) is deployed fine under /context. I hit the apache via the virtual (say, myhost.com/context/admin) and the app shows up BUT, on FIRST hit, the style sheets don't work. In apache i see:

       

      10.68.62.11 - - [16/Dec/2010:12:13:45 +1100] "GET /context/admin/ HTTP/1.1" 200 14399
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/js/jquery-1.4.4.min.js HTTP/1.1" 302 -
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/js/thickbox.js HTTP/1.1" 302 -
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/thickbox.css HTTP/1.1" 302 -
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/admin.css HTTP/1.1" 302 -
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources/;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/js/jquery-1.4.4.min.js HTTP/1.1" 404 944
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources/;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/js/thickbox.js HTTP/1.1" 404 944
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources/;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/thickbox.css HTTP/1.1" 404 944
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources/;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/admin.css HTTP/1.1" 404 944
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/js/thickbox.js HTTP/1.1" 302 -
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/admin.css HTTP/1.1" 302 -
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/thickbox.css HTTP/1.1" 302 -
      10.68.62.11 - - [16/Dec/2010:12:13:46 +1100] "GET /context/resources/;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/thickbox.css HTTP/1.1" 404 944

       

      Then on refresh it works ...

       

      Any thoughts? The page building the urls, when i do a view source in the browser, appears to be dynamic cause it has the css source as  /context/resources/;jsessionid=6573B5204F674F287EDD98E9FEAB3B57.jbosshost:8009:jboss.web/css/thickbox.css in the html. It's javascript i think. On refresh it has the right path.

       

      I know .. probably not  a mod_cluster thing but this seems the best group to ask.

       

      Thanks in advance,

       

      August