Skip to content

Commit

Permalink
readme updated
Browse files Browse the repository at this point in the history
added default file servlet section in web.xml (required by Resin)
  • Loading branch information
tomek committed Oct 11, 2012
1 parent 94a729b commit 94ee136
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -33,10 +33,12 @@ Helenos is a web based GUI Cassandra client that helps you to explore data and m

## Installation

* Download war package and deploy to your servlet container (tested with Jetty 8, Tomcat 6)
* Make sure that a user account which your application server runs as, has write permission to home directory
* Download war package and deploy to your servlet container (tested with Jetty 8, Tomcat 6, Resin 4)
* When running on Resin, additionally make sure that fileServlet is enabled and configured (see web.xml or Resin manual)
* Start app
* Make sure your browser supports Flash 10
* Run and open your web browser to http://localhost:8080/{yourdeploypath}/index.html
* Make sure your web browser supports Flash 10
* Open your web browser to http://localhost:8080/{yourdeploypath}/index.html
* Edit your connections by clicking icon in upper right corner
* After editing click button 'Connect to'

Expand Down
9 changes: 7 additions & 2 deletions src/main/frontend/source/class/helenos/Application.js
Expand Up @@ -33,6 +33,12 @@ qx.Class.define("helenos.Application",
{
// Call super class
this.base(arguments);

// set default locale
qx.locale.Manager.getInstance().setLocale("en");

// apply some required mixin to TreeVirtual to enable context menu
qx.Class.include(qx.ui.treevirtual.TreeVirtual, qx.ui.table.MTableContextMenu);

// Enable logging in debug variant
if (qx.core.Environment.get("qx.debug"))
Expand All @@ -43,8 +49,7 @@ qx.Class.define("helenos.Application",
qx.log.appender.Console;
}

qx.locale.Manager.getInstance().setLocale("en");
qx.Class.include(qx.ui.treevirtual.TreeVirtual, qx.ui.table.MTableContextMenu);
// add main component
this.getRoot().add(new helenos.components.TopComposite(), {
edge : 0
});
Expand Down
7 changes: 4 additions & 3 deletions src/main/webapp/WEB-INF/web.xml
Expand Up @@ -52,13 +52,14 @@
<listener-class>org.h2.server.web.DbStarter</listener-class>
</listener>

<!-- Override init parameter to avoid nasty file locking issue on windows (Jetty only) -->
<!-- Uncomment this section to enable file servlet in Resin -->
<!--
<servlet>
<servlet-name>default</servlet-name>
<servlet-class>com.caucho.servlets.FileServlet</servlet-class>
<init-param>
<param-name>useFileMappedBuffer</param-name>
<param-value>false</param-value>
<param-name>characterEncoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</servlet>
-->
Expand Down

0 comments on commit 94ee136

Please sign in to comment.