From c7d316e17b8c925e3efadce015036b28d7daaf0c Mon Sep 17 00:00:00 2001
From: Athou
- 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:
-
- Then reload this page.
- See the myfirstapp/README file for more information on the options for deploying applications. To get started you can either modify the default war or try one of these samples:
-
-
- Welcome to OpenShift, JBossEAP6.0 Cartridge
-
-
- git commit -a -m 'Some commit message'
- git push
-
- Sample Applications
-
-
-
- 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
-
-
View debugging information about the server environment including memory pools by loading this JSP page: Debug
- -
-
-
-Memory MXBean- |
-|
| Heap Memory Usage | --<%=ManagementFactory.getMemoryMXBean().getHeapMemoryUsage()%> - | -
| Non-Heap Memory Usage | --<%=ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage()%> - | -
| - | |
-Memory Pool MXBeans- |
-|
| <%= item.getName() %> | -|
| Type | -<%= item.getType() %> | -
| Usage | -<%= item.getUsage() %> | -
| Peak Usage | -<%= item.getPeakUsage() %> | -
| Collection Usage | -<%= item.getCollectionUsage() %> | -
| 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() %> | -
| Header: | -Value: | -
|---|---|
| <%= k %> | -<%= request.getHeader(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(">",">")); - } - %> |
-
| Attribute: | -Value: | -
|---|---|
| <%= k.replaceAll("<", "<").replaceAll(">",">") %> | -<%= val.toString().replaceAll("<", "<").replaceAll(">",">") %> | -
| Parameter: | -Value: | -
|---|---|
| <%= k %> | -<%= val %> | -