

PARTICULAR PURPOSE ARE DISCLAIMED.I want to first say that all that follows is basically a terrible idea, but I enjoy building evil projects once in awhile. WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
#RUBY RUNNER HEROKU SOFTWARE#
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED Promote products derived from this software without specific prior written permission.

Neither the name of John Simone nor the names of its contributors may be used to endorse or The following disclaimer in the documentation and/or other materials provided with the distribution. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
#RUBY RUNNER HEROKU CODE#
Redistributions of source code must retain the above copyright notice, this list of conditions and the

Redistribution and use in source and binary forms, with or without modification, are permitted provided
#RUBY RUNNER HEROKU INSTALL#
$ mvn clean install -Pintegration-test -Dinvoker.test=memcache-test If you do not require these dependencies, you can alternative use the The default packaging of Webapp Runner ( com.heroku:webapp-runner) includesĬlient libraries for Memcached and Redis so they can easily be used for session storage. See the Tomcat documentation for a complete list of HTTP connector attributes. Set if the entity body encoding should be used for the URI.Īllows setting HTTP connector attributes. Set the URI encoding to be used for the Connector. Overrides the default behavior and casues Tomcat to ignore lifecycleįailure events rather than shutting down when they occur.ĭefine the temp directory, default value. The number of minutes of inactivity before a user's session is timed Pool size of the session store connections (default is 10. Operation timeout for the memcache session store. Session locking mode for use with memcache session store. Request pattern to not track sessions for. Session store to use (valid options are 'memcache' or 'redis') Set jar scanner scan bootstrap classpath. Set proxy URL if tomcat is running behind reverse proxy The port that the server will accept http requests on. The name of the directory the WAR file will be expanded into. Used if a reverse proxy is terminating SSL for you (such as on Heroku) If not specified, this attribute is set to 2097152 (2 megabytes) The limit can be disabled by setting this attribute to a value less than zero. The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. By default it isīound when the connector is initiated and unbound when the connector isĬomma delimited list of mime types that will be compressed when usingĭefault: text/html,text/xml,text/plain,text/css,application/json,application/xml,text/javascript,application/javascript Defaults to BASIC_AUTH_USER envĬontrols when the socket used by the connector is bound. If -access-log is enabled, sets the logging pattern The specified path "src/main/webapp" does not exist.

The version scheme has also changed to match the version of Note: webapp runner is now available in Maven Central. It can be restarted by right-clicking on the project and choosing your new launch configuration from the 'Debug As' menu or from the debug menu in the Eclipse toolbar (the icon with the little bug). You can stop the application from the red square in the console pane or from the debug perspective. Since you have a debugger attached to your application you'll now see changes to your code get automatically loaded without restarting and can set breakpoints. Your application should start and you should see the log output in the Eclipse console. Click on the 'Arguments' tab and enter './src/main/webapp' in the 'Program Arguments' box.Then enter the name of your project in the 'Project' box Give your launch configuration a sensible name.From the 'Debug Configuration' window create a new 'Java Application' launch configuration by double-clicking on 'Java Application' in the left hand list or right-clicking on it and selecting 'New'.Right-click on your project and choose 'Debug As -> Debug Configurations.'.It won't affect the final artifact built for your application. This will cause Eclipse to include webapp-runner on the classpath of your project so that it can be used for launching. You can exclude them by using webapp-runner-main: If you do not require these client libraries (because you are storing session data in some other way), These libraries can cause conflicts with similar libraries in your application. Webapp-runner bundles Memcached and Redis client libraries into it's fat-jar package.
