From c7d316e17b8c925e3efadce015036b28d7daaf0c Mon Sep 17 00:00:00 2001 From: Athou Date: Wed, 10 Jul 2013 12:22:22 +0200 Subject: [PATCH] cleanup --- src/main/webapp/health.jsp | 1 - src/main/webapp/images/jbosscorp_logo.png | Bin 1914 -> 0 bytes src/main/webapp/index.html | 182 -------------- src/main/webapp/snoop.jsp | 283 ---------------------- 4 files changed, 466 deletions(-) delete mode 100755 src/main/webapp/health.jsp delete mode 100755 src/main/webapp/images/jbosscorp_logo.png delete mode 100755 src/main/webapp/index.html delete mode 100755 src/main/webapp/snoop.jsp diff --git a/src/main/webapp/health.jsp b/src/main/webapp/health.jsp deleted file mode 100755 index d00491fd..00000000 --- a/src/main/webapp/health.jsp +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/src/main/webapp/images/jbosscorp_logo.png b/src/main/webapp/images/jbosscorp_logo.png deleted file mode 100755 index bfa0447f62e03a24f54f2e29b336056d97b68bd0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1914 zcmV-=2Zi{FP)T`2%VPRakxwqwif6^cz+)z-NnVFK3j`F|1?4O_FZ*Twq z|Mkz$*VoqBKtRtB5Qm3^=74~&udT$y!uj9d{O|A9FfiX>VCj#KYHDTgudnv@_2J>* z#l^jSeR-y)qs+|AjEscll$7FdaJssV>IRB3Hx05&f;FEBa0Z_)(-00vG;L_t(&fz6ufwxTc$fa^tBij|#$2uD1} z<^7*<+R~P`Y&u@N_Q%{Y0{KjnG>HQA(!x6%6sOnjd47R~_j8EVmj$3}_a`vWCaS}O ze0>Dn%Krey?^H*UCgd>3&%@w|>kdtrmG)^4h8srN7O_o-nY&hk*-044CAf3oavhdg zn4^S|mcS)(p=2eNS(sd~*lTH@g~7)#4EsEomDgZc26p_> z3*l~J`M+?4*V}YkFPEKiC17&dJG^}V+}b<>)I6GBfqDDHi0e3Q>-d*o-YmCb6sKq8 z{Tj?$0r-RB;DXM-2J@C_(k4TfCjD=i0}9GGUjs{4(p& zZh9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- OpenShift logo -
OpenShift
-
-

- Welcome to OpenShift, JBossEAP6.0 Cartridge -

-

- Place your application here -

-

- In order to commit to your new project, go to your projects git repo (created with the rhc app create command) directory. -

-

- For example, if you named your application myfirstapp (by passing in -a myfirstapp to the rhc app create command), - you would find the contents of this app located under myfirstapp/src/main/webapp. You can edit that and push your - changes from the myfirstapp directory by running: -

-
-    git commit -a -m 'Some commit message'
-    git push
-  
-

- Then reload this page. -

-

See the myfirstapp/README file for more information on the options for deploying applications.

- - -

Sample Applications

-

To get started you can either modify the default war or try one of these samples: -

- -

Example usage:

-
-  cd kitchensink
-  git remote add upstream -m master git://github.com/openshift/kitchensink-example.git
-  git pull -s recursive -X theirs upstream master
-  
-

- -

Debugging

-

View debugging information about the server environment including memory pools by loading this JSP page: Debug

- -

- What's next? -

-
    -
  • - Why not visit us at http://www.openshift.com, or -
  • -
  • - You could get help in the OpenShift forums, or -
  • -
  • - You're welcome to come chat with us in our IRC channel at #openshift on freenode.net -
  • -
- - diff --git a/src/main/webapp/snoop.jsp b/src/main/webapp/snoop.jsp deleted file mode 100755 index a112f626..00000000 --- a/src/main/webapp/snoop.jsp +++ /dev/null @@ -1,283 +0,0 @@ - - - JBossEAP6.0 JSP snoop page - <%@ page import="javax.servlet.http.HttpUtils,java.util.Enumeration" %> - <%@ page import="java.lang.management.*" %> - <%@ page import="java.util.*" %> - - - -

WebApp JSP Snoop page

- - -

JVM Memory Monitor

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Memory MXBean

-
Heap Memory Usage -<%=ManagementFactory.getMemoryMXBean().getHeapMemoryUsage()%> -
Non-Heap Memory Usage -<%=ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage()%> -
-

Memory Pool MXBeans

-
-<% -Iterator iter = ManagementFactory.getMemoryPoolMXBeans().iterator(); -while (iter.hasNext()) { -MemoryPoolMXBean item = (MemoryPoolMXBean) iter.next(); -%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<%= item.getName() %>
Type<%= item.getType() %>
Usage<%= item.getUsage() %>
Peak Usage<%= item.getPeakUsage() %>
Collection Usage<%= item.getCollectionUsage() %>
- - -<% -} -%> - -

Request information

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Requested URL:<%= HttpUtils.getRequestURL(request) %>
Request method:<%= request.getMethod() %>
Request URI:<%= request.getRequestURI() %>
Request protocol:<%= request.getProtocol() %>
Servlet path:<%= request.getServletPath() %>
Path info:<%= request.getPathInfo() %>
Path translated:<%= request.getPathTranslated() %>
Query string:<% if(request.getQueryString()!=null) out.write(request.getQueryString().replaceAll("<", "<").replaceAll(">",">")); %>
Content length:<%= request.getContentLength() %>
Content type:<%= request.getContentType() %>
Server name:<%= request.getServerName() %>
Server port:<%= request.getServerPort() %>
Remote user:<%= request.getRemoteUser() %>
Remote address:<%= request.getRemoteAddr() %>
Remote host:<%= request.getRemoteHost() %>
Authorization scheme:<%= request.getAuthType() %>
- -<% - Enumeration e = request.getHeaderNames(); - if(e != null && e.hasMoreElements()) { -%> -

Request headers

- - - - - - -<% - while(e.hasMoreElements()) { - String k = (String) e.nextElement(); -%> - - - - -<% - } -%> -
Header:Value:
<%= k %><%= request.getHeader(k) %>
-<% - } -%> - - -<% - e = request.getParameterNames(); - if(e != null && e.hasMoreElements()) { -%> -

Request parameters

- - - - - - -<% - while(e.hasMoreElements()) { - String k = (String) e.nextElement(); - String val = request.getParameter(k); - String vals[] = request.getParameterValues(k); -%> - - - - - -<% - } -%> -
Parameter:Value:Multiple values:
<%= k.replaceAll("<", "<").replaceAll(">",">") %><%= val.replaceAll("<", "<").replaceAll(">",">") %><% - for(int i = 0; i < vals.length; i++) { - if(i > 0) - out.print("
"); - out.print(vals[i].replaceAll("<", "<").replaceAll(">",">")); - } - %>
-<% - } -%> - - -<% - e = request.getAttributeNames(); - if(e != null && e.hasMoreElements()) { -%> -

Request Attributes

- - - - - -<% - while(e.hasMoreElements()) { - String k = (String) e.nextElement(); - Object val = request.getAttribute(k); -%> - - - - -<% - } -%> -
Attribute:Value:
<%= k.replaceAll("<", "<").replaceAll(">",">") %><%= val.toString().replaceAll("<", "<").replaceAll(">",">") %>
-<% - } -%> - - -<% - e = getServletConfig().getInitParameterNames(); - if(e != null && e.hasMoreElements()) { -%> -

Init parameters

- - - - - -<% - while(e.hasMoreElements()) { - String k = (String) e.nextElement(); - String val = getServletConfig().getInitParameter(k); -%> - - - - -<% - } -%> -
Parameter:Value:
<%= k %><%= val %>
-<% - } -%> - - - -