html(?) not rendered when going through mod_cluster? (Tomcat7 + mod_cluster)
ehle Nov 20, 2013 1:55 AMHello,
I got hopefully a stupid one that one of you can tell me to RTFM on and then be so kind as to point me at that part of documentation since I haven't found it yet.
So I have tomcat7 and mod_cluster set up to work together, and over all things are working.. except that instead of rendering an index.html, it is getting displayed to the screen... When its used as a welcome file.
put this in to my browser:
http://myapp.mycompany.com/index.html
And I get the front page/sign on for the app. (that it is explicitly index.html thing may be a red herring - it might just be an oddity of tomcat7 welcome file handling)
I put http://myapp.mycompany.com in as the URL and I get this:
<!DOCTYPE html> <!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]--> <!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]--> <!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]--> <!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]--> <!-- 508 --> <head> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="expires" content="0"> <meta HTTP-EQUIV="content-type" CONTENT="text/html;charset=utf-8"> <meta charset="utf-8" /> <meta name="description" content="" /> <meta name="author" content="JAMF Software" /> <meta name="apple-mobile-web-app-title" content="JSS"> <meta name="version" content="9.12"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>JSS Login - JSS v9.12</title> <link href="stylesheets/reset.css" rel="stylesheet" /> <link href="stylesheets/styles.css?v=1" rel="stylesheet" /> <script type="text/javascript" src="javascripts/jquery/jquery.js"></script> <script type="text/javascript" src="javascripts/scripts.js"></script> <script type="text/javascript" src="javascripts/jquery.tablesorter.min.js"></script> <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: --> <link rel="apple-touch-icon-precomposed" href="images/touchicons/apple-touch-icon-precomposed.png"> <!-- For first- and second-generation iPad: --> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="images/touchicons/apple-touch-icon-72x72-precomposed.png"> <!-- For iPhone with high-resolution Retina display: --> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="images/touchicons/apple-touch-icon-114x114-precomposed.png"> <!-- For third-generation iPad with high-resolution Retina display: --> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="images/touchicons/apple-touch-icon-144x144-precomposed.png"> <!--[if lt IE 9]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div id="login-wrapper"> <form method="POST" name="f"> <div id="login-panel"> <span class="label">Username</span> <input name="username" id="username" class="input" value="" autocapitalize="off" autocorrect="off"/> <span class="label">Password</span> <input name="password" id="password" class="input" type="password" autocomplete="off" /> <input type="submit" class="button" value="Log In" /> </div> </form> </div> </body> <script> function setDefaultField(){ document.f.username.focus(); } </script>
better formatted though
I THINK it is probably the output of ./WEB-INF/frontend/login.jsp
The app is the only app that will be running on this tomcat instance, and per vendor instruction, its installed in the ROOT context.
I think its something mod_cluster related (and come here) because when I go to http:myapp.mycompany.com:8080/ it shows up just fine.
Anyone have a thought they care to share?
Thanks!
David.