Permalink
Browse files

readme updated

added default file servlet section in web.xml (required by Resin)
  • Loading branch information...
1 parent 94a729b commit 94ee1369d8b86072f2114f86ef12dce9347ab7a7 tomek committed Oct 11, 2012
Showing with 16 additions and 8 deletions.
  1. +5 −3 README.md
  2. +7 −2 src/main/frontend/source/class/helenos/Application.js
  3. +4 −3 src/main/webapp/WEB-INF/web.xml
View
@@ -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'
@@ -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"))
@@ -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
});
@@ -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>
-->

0 comments on commit 94ee136

Please sign in to comment.