[jboss-cvs] JBossAS SVN: r68480 - in projects/cluster/varia/sessionstress: lib and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Dec 21 04:00:00 EST 2007
Author: bela at jboss.com
Date: 2007-12-21 04:00:00 -0500 (Fri, 21 Dec 2007)
New Revision: 68480
Added:
projects/cluster/varia/sessionstress/PerfTest.java
projects/cluster/varia/sessionstress/SessionStressTest.iml
projects/cluster/varia/sessionstress/SessionStressTest.ipr
projects/cluster/varia/sessionstress/SessionStressTest.iws
projects/cluster/varia/sessionstress/lib/
projects/cluster/varia/sessionstress/lib/httpclient.jar
projects/cluster/varia/sessionstress/lib/jgroups.jar
projects/cluster/varia/sessionstress/web/
projects/cluster/varia/sessionstress/web/WEB-INF/
projects/cluster/varia/sessionstress/web/WEB-INF/jboss-web.xml
projects/cluster/varia/sessionstress/web/WEB-INF/web.xml
projects/cluster/varia/sessionstress/web/index.jsp
projects/cluster/varia/sessionstress/web/read.jsp
projects/cluster/varia/sessionstress/web/setup.jsp
projects/cluster/varia/sessionstress/web/write.jsp
Log:
First import
Added: projects/cluster/varia/sessionstress/PerfTest.java
===================================================================
--- projects/cluster/varia/sessionstress/PerfTest.java (rev 0)
+++ projects/cluster/varia/sessionstress/PerfTest.java 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,307 @@
+package multicast;
+
+import org.apache.commons.httpclient.HttpClient;
+import org.apache.commons.httpclient.HttpStatus;
+import org.apache.commons.httpclient.methods.GetMethod;
+import org.jgroups.util.Util;
+
+import javax.naming.NamingException;
+import java.io.IOException;
+import java.util.concurrent.BrokenBarrierException;
+import java.util.concurrent.CyclicBarrier;
+import java.util.concurrent.TimeUnit;
+import java.text.NumberFormat;
+
+/**
+ * @author Bela Ban
+ * @version $Id$
+ */
+public class PerfTest {
+ private Client[] clients;
+ private CyclicBarrier barrier;
+
+ static NumberFormat f;
+
+ static {
+ f=NumberFormat.getNumberInstance();
+ f.setGroupingUsed(false);
+ f.setMaximumFractionDigits(2);
+ }
+
+
+
+ private void start(String host, String setup_url, String read_url, String write_url, int num_threads, int num_requests, int num_attrs, int size, int write_percentage) throws NamingException, BrokenBarrierException, InterruptedException {
+ this.clients=new Client[num_threads];
+ this.barrier=new CyclicBarrier(num_threads + 1);
+ for(int i=0; i < clients.length; i++) {
+ Client client=new Client(barrier, host, setup_url, read_url, write_url, write_percentage,
+ num_requests, num_attrs, size);
+ clients[i]=client;
+ client.start();
+ }
+
+ System.out.println("Starting " + num_threads + " clients");
+ barrier.await(); // all threads should start (after initialization)
+
+
+ System.out.println("Waiting for clients to complete");
+ barrier.await();
+
+ long total_time=0, total_bytes_read=0, total_bytes_written=0;
+ int total_successful_reads=0, total_successful_writes=0, total_failed_reads=0, total_failed_writes=0;
+
+ int num_clients=0;
+ for(Client client: clients) {
+ if(!client.isSuccessful()) {
+ continue;
+ }
+ num_clients++;
+ total_time+=client.getTime();
+ total_bytes_read+=client.getBytesRead();
+ total_bytes_written+=client.getBytesWritten();
+ total_successful_reads+=client.getSuccessfulReads();
+ total_successful_writes+=client.getSuccessfulWrites();
+ total_failed_reads+=client.getFailedReads();
+ total_failed_writes+=client.getFailedWrites();
+ }
+
+ int failed_clients=num_threads - num_clients;
+ int total_requests=total_successful_reads + total_successful_writes;
+ double avg_time=total_time / num_clients;
+ double reqs_sec=total_requests / (avg_time / 1000.0);
+
+ System.out.println("Total requests: " + total_requests + " in (avg) " + (avg_time / 1000.0) + " secs");
+ System.out.println(f.format(reqs_sec) + " requests/sec, requests/sec/client: " +
+ f.format((total_requests / num_clients) / (avg_time / 1000.0)));
+
+ System.out.println("Successful reads: " + total_successful_reads + ", successful writes: " + total_successful_writes);
+ System.out.println("Failed reads: " + total_failed_reads + ", failed writes: " + total_failed_writes);
+ System.out.println("Bytes read: " + Util.printBytes(total_bytes_read) + ", bytes written: " + Util.printBytes(total_bytes_written));
+ System.out.println("Bytes read/sec: " + Util.printBytes(total_bytes_read / (avg_time / 1000.0)) + ", bytes written/sec: " +
+ Util.printBytes(total_bytes_written / (avg_time / 1000.0)));
+ System.out.println("Total client: " + num_clients + ", failed clients: " + failed_clients);
+ }
+
+
+
+ public static void main(String[] args) throws Exception {
+ int num_threads=1;
+ int num_requests=1000;
+ int num_attrs=100;
+ int size=1000;
+ int write_percentage=20; // percent
+ String host="localhost";
+ String setup_url="web/setup.jsp";
+ String read_url="web/read.jsp";
+ String write_url="web/write.jsp";
+
+ for(int i=0; i < args.length; i++) {
+ if(args[i].equals("-host")) {
+ host=args[++i];
+ continue;
+ }
+ if(args[i].equals("-setup_url")) {
+ setup_url=args[++i];
+ continue;
+ }
+ if(args[i].equals("-read_url")) {
+ read_url=args[++i];
+ continue;
+ }
+ if(args[i].equals("-write_url")) {
+ write_url=args[++i];
+ continue;
+ }
+ if(args[i].equals("-num_threads")) {
+ num_threads=Integer.parseInt(args[++i]);
+ continue;
+ }
+ if(args[i].equals("-num_requests")) {
+ num_requests=Integer.parseInt(args[++i]);
+ continue;
+ }
+ if(args[i].equals("-num_attrs")) {
+ num_attrs=Integer.parseInt(args[++i]);
+ continue;
+ }
+ if(args[i].equals("-size")) {
+ size=Integer.parseInt(args[++i]);
+ continue;
+ }
+ if(args[i].equals("-write_percentage")) {
+ write_percentage=Integer.parseInt(args[++i]);
+ if(write_percentage < 0 || write_percentage > 100) {
+ System.err.println("write_percentage (" + write_percentage + ") has to be >= 0 && <= 100");
+ return;
+ }
+ continue;
+ }
+ help();
+ return;
+ }
+
+ new PerfTest().start(host, setup_url, read_url, write_url, num_threads, num_requests, num_attrs, size, write_percentage);
+ }
+
+ private static void help() {
+ System.out.println("PerfTest [-host <host[:port] of apache>] [-read_url <URL>] " +
+ "[-num_threads <number of client sessions>] " +
+ "[-write_url <URL>] [-setup_url <URL>] [-num_requests <requests>] " +
+ "[-num_attrs <attrs>] [-size <bytes>] [-write_percentage <percentage, 0-100>]");
+ }
+
+
+ private static class Client extends Thread {
+ private final int read_percentage;
+ private final int num_requests, num_attrs, size;
+ private final HttpClient session=new HttpClient();
+ private final GetMethod setup_method;
+ private final String read_url;
+ private final String write_url;
+ private final CyclicBarrier barrier;
+
+ private int successful_reads=0, failed_reads=0, successful_writes=0, failed_writes=0;
+ private long bytes_read=0, bytes_written=0;
+ private long start=0, stop=0;
+ private boolean successful=true;
+
+
+
+ private Client(CyclicBarrier barrier, String host, String setup_url, String read_url, String write_url,
+ int write_percentage, int num_requests, int num_attrs, int size) {
+ this.barrier=barrier;
+ this.read_percentage=100 - write_percentage;
+ this.num_requests=num_requests;
+ this.num_attrs=num_attrs;
+ this.size=size;
+ String tmp="http://" + host + "/";
+ this.read_url=tmp + read_url + "?id=";
+ this.write_url=tmp + write_url + "?size=" + size + "&id=";
+ this.setup_method=new GetMethod(tmp + setup_url + "?num_attrs=" + num_attrs + "&size=" + size);
+ }
+
+ public void run() {
+ try {
+ start=System.currentTimeMillis();
+ init(num_attrs, size);
+ barrier.await();
+ loop(num_requests);
+ }
+ catch(Exception e) {
+ error("failure", e);
+ successful=false;
+ }
+ finally {
+ stop=System.currentTimeMillis();
+ try {barrier.await(5000, TimeUnit.MILLISECONDS);} catch(Exception e) {}
+ setup_method.releaseConnection();
+ }
+ }
+
+ public long getBytesRead() {
+ return bytes_read;
+ }
+
+ public long getBytesWritten() {
+ return bytes_written;
+ }
+
+ public int getFailedReads() {
+ return failed_reads;
+ }
+
+ public int getFailedWrites() {
+ return failed_writes;
+ }
+
+ public int getSuccessfulReads() {
+ return successful_reads;
+ }
+
+ public int getSuccessfulWrites() {
+ return successful_writes;
+ }
+
+ public long getTime() {
+ return stop - start;
+ }
+
+ public boolean isSuccessful() {
+ return successful;
+ }
+
+ /** Create NUM_SESSIONS sessions with NUM_ATTRS attributes of SIZE size. Total size is multiplication of the 3 */
+ private void init(int num_attrs, int size) throws IOException {
+ int rc=session.executeMethod(setup_method);
+ if(rc != HttpStatus.SC_OK) {
+ error("failed initializing session", null);
+ }
+ else {
+ log("successfully initailized session with " + num_attrs + " attrs of " + size + " bytes");
+ }
+ }
+
+ private void loop(int num_requests) throws IOException {
+ int random, id;
+ int print=num_requests / 10;
+
+ GetMethod read_method, write_method;
+ int rc, total=0;
+
+ for(int i=0; i < num_requests; i++) {
+ random=(int)Util.random(100);
+ id=(int)Util.random(num_attrs -1);
+ if(random <= read_percentage) { // read
+ read_method=new GetMethod(read_url + id);
+ try {
+ rc=session.executeMethod(read_method);
+ if(rc == HttpStatus.SC_OK) {
+ successful_reads++;
+ bytes_read+=size; // bytes read from the session, not by the HttpClient !
+ }
+ else {
+ failed_reads++;
+ }
+ }
+ finally {
+ read_method.releaseConnection();
+ }
+ }
+ else { // write
+ write_method=new GetMethod(write_url + id);
+ try {
+ rc=session.executeMethod(write_method);
+ if(rc == HttpStatus.SC_OK) {
+ successful_writes++;
+ bytes_written+=size; // bytes read from the session, not by the HttpClient !
+ }
+ else {
+ failed_writes++;
+ }
+ }
+ finally {
+ write_method.releaseConnection();
+ }
+ }
+ total++;
+ if(total % print == 0)
+ log(total + " / " + num_requests);
+ }
+ }
+
+ private static void log(String msg) {
+ System.out.println("[thread-" + Thread.currentThread().getId() + "]: " + msg);
+ }
+
+ private static void error(String msg, Throwable th) {
+ String tmp="[thread-" + Thread.currentThread().getId() + "]: " + msg;
+ if(th != null)
+ tmp+=", ex: " + th;
+ System.err.println(tmp);
+ }
+
+
+ }
+
+
+}
Property changes on: projects/cluster/varia/sessionstress/PerfTest.java
___________________________________________________________________
Name: svn:executable
+
Added: projects/cluster/varia/sessionstress/SessionStressTest.iml
===================================================================
--- projects/cluster/varia/sessionstress/SessionStressTest.iml (rev 0)
+++ projects/cluster/varia/sessionstress/SessionStressTest.iml 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module relativePaths="true" type="JAVA_MODULE" version="4">
+ <component name="FacetManager">
+ <facet type="web" name="Web">
+ <configuration>
+ <descriptors>
+ <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/WEB-INF/web.xml" optional="false" version="2.5" />
+ </descriptors>
+ <webroots>
+ <root url="file://$MODULE_DIR$/web" relative="/" />
+ </webroots>
+ <sourceRoots>
+ <root url="file://$MODULE_DIR$" />
+ </sourceRoots>
+ <building>
+ <setting name="EXPLODED_URL" value="file://" />
+ <setting name="EXPLODED_ENABLED" value="false" />
+ <setting name="JAR_URL" value="file://" />
+ <setting name="JAR_ENABLED" value="false" />
+ <setting name="BUILD_MODULE_ON_FRAME_DEACTIVATION" value="false" />
+ <setting name="BUILD_EXTERNAL_DEPENDENCIES" value="false" />
+ <setting name="EXCLUDE_EXPLODED_DIRECTORY" value="true" />
+ <setting name="RUN_JASPER_VALIDATION" value="true" />
+ <setting name="BUILD_ONLY_WEB_RESOURCES" value="false" />
+ </building>
+ <packaging>
+ <containerElement type="module" name="SessionStressTest">
+ <attribute name="method" value="1" />
+ <attribute name="URI" value="/WEB-INF/classes" />
+ </containerElement>
+ </packaging>
+ </configuration>
+ </facet>
+ </component>
+ <component name="NewModuleRootManager" inherit-compiler-output="false">
+ <output url="file://$MODULE_DIR$/classes" />
+ <exclude-output />
+ <output-test url="file://$MODULE_DIR$/classes" />
+ <content url="file://$MODULE_DIR$">
+ <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" packagePrefix="multicast" />
+ </content>
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ <orderEntry type="module-library">
+ <library>
+ <CLASSES>
+ <root url="jar://$APPLICATION_HOME_DIR$/lib/javaee.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </orderEntry>
+ <orderEntry type="library" name="lib" level="project" />
+ <orderEntryProperties />
+ </component>
+</module>
+
Added: projects/cluster/varia/sessionstress/SessionStressTest.ipr
===================================================================
--- projects/cluster/varia/sessionstress/SessionStressTest.ipr (rev 0)
+++ projects/cluster/varia/sessionstress/SessionStressTest.ipr 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,624 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project relativePaths="false" version="4">
+ <component name="AntConfiguration">
+ <defaultAnt bundledAnt="true" />
+ </component>
+ <component name="BuildJarProjectSettings">
+ <option name="BUILD_JARS_ON_MAKE" value="false" />
+ </component>
+ <component name="ChangeBrowserSettings">
+ <option name="MAIN_SPLITTER_PROPORTION" value="0.3" />
+ <option name="MESSAGES_SPLITTER_PROPORTION" value="0.8" />
+ <option name="USE_DATE_BEFORE_FILTER" value="false" />
+ <option name="USE_DATE_AFTER_FILTER" value="false" />
+ <option name="USE_CHANGE_BEFORE_FILTER" value="false" />
+ <option name="USE_CHANGE_AFTER_FILTER" value="false" />
+ <option name="DATE_BEFORE" value="" />
+ <option name="DATE_AFTER" value="" />
+ <option name="CHANGE_BEFORE" value="" />
+ <option name="CHANGE_AFTER" value="" />
+ <option name="USE_USER_FILTER" value="false" />
+ <option name="USER" value="" />
+ </component>
+ <component name="CodeStyleProjectProfileManger">
+ <option name="PROJECT_PROFILE" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ </component>
+ <component name="CodeStyleSettingsManager">
+ <option name="PER_PROJECT_SETTINGS" />
+ <option name="USE_PER_PROJECT_SETTINGS" value="false" />
+ </component>
+ <component name="CompilerConfiguration">
+ <option name="DEFAULT_COMPILER" value="Javac" />
+ <option name="DEPLOY_AFTER_MAKE" value="0" />
+ <resourceExtensions>
+ <entry name=".+\.(properties|xml|html|dtd|tld)" />
+ <entry name=".+\.(gif|png|jpeg|jpg)" />
+ </resourceExtensions>
+ <wildcardResourcePatterns>
+ <entry name="?*.properties" />
+ <entry name="?*.xml" />
+ <entry name="?*.gif" />
+ <entry name="?*.png" />
+ <entry name="?*.jpeg" />
+ <entry name="?*.jpg" />
+ <entry name="?*.html" />
+ <entry name="?*.dtd" />
+ <entry name="?*.tld" />
+ </wildcardResourcePatterns>
+ </component>
+ <component name="Cvs2Configuration">
+ <option name="PRUNE_EMPTY_DIRECTORIES" value="true" />
+ <option name="MERGING_MODE" value="0" />
+ <option name="MERGE_WITH_BRANCH1_NAME" value="HEAD" />
+ <option name="MERGE_WITH_BRANCH2_NAME" value="HEAD" />
+ <option name="RESET_STICKY" value="false" />
+ <option name="CREATE_NEW_DIRECTORIES" value="true" />
+ <option name="DEFAULT_TEXT_FILE_SUBSTITUTION" value="kv" />
+ <option name="PROCESS_UNKNOWN_FILES" value="false" />
+ <option name="PROCESS_DELETED_FILES" value="false" />
+ <option name="PROCESS_IGNORED_FILES" value="false" />
+ <option name="RESERVED_EDIT" value="false" />
+ <option name="CHECKOUT_DATE_OR_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="UPDATE_DATE_OR_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="SHOW_CHANGES_REVISION_SETTINGS">
+ <value>
+ <option name="BRANCH" value="" />
+ <option name="DATE" value="" />
+ <option name="USE_BRANCH" value="false" />
+ <option name="USE_DATE" value="false" />
+ </value>
+ </option>
+ <option name="SHOW_OUTPUT" value="false" />
+ <option name="ADD_WATCH_INDEX" value="0" />
+ <option name="REMOVE_WATCH_INDEX" value="0" />
+ <option name="UPDATE_KEYWORD_SUBSTITUTION" />
+ <option name="MAKE_NEW_FILES_READONLY" value="false" />
+ <option name="SHOW_CORRUPTED_PROJECT_FILES" value="0" />
+ <option name="TAG_AFTER_PROJECT_COMMIT" value="false" />
+ <option name="OVERRIDE_EXISTING_TAG_FOR_PROJECT" value="true" />
+ <option name="TAG_AFTER_PROJECT_COMMIT_NAME" value="" />
+ <option name="CLEAN_COPY" value="false" />
+ </component>
+ <component name="DependenciesAnalyzeManager">
+ <option name="myForwardDirection" value="false" />
+ </component>
+ <component name="DependencyValidationManager">
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
+ </component>
+ <component name="EclipseCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="EclipseEmbeddedCompilerSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="true" />
+ <option name="DEPRECATION" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="EntryPointsManager">
+ <entry_points version="2.0" />
+ </component>
+ <component name="ErrorOptionsConfigurable.UI">
+ <option name="proportions">
+ <SplitterProportionsDataImpl />
+ </option>
+ </component>
+ <component name="ExportToHTMLSettings">
+ <option name="PRINT_LINE_NUMBERS" value="false" />
+ <option name="OPEN_IN_BROWSER" value="false" />
+ <option name="OUTPUT_DIRECTORY" />
+ </component>
+ <component name="InspectionProjectProfileManager">
+ <option name="PROJECT_PROFILE" value="Project Default" />
+ <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+ <scopes />
+ <profiles>
+ <profile version="1.0" is_locked="false">
+ <option name="myName" value="Project Default" />
+ <option name="myLocal" value="false" />
+ <inspection_tool class="FinalPrivateMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="FinalStaticMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="InfiniteLoopStatement" level="WARNING" enabled="false" />
+ <inspection_tool class="ErrorRethrown" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreadDeathRethrown" level="WARNING" enabled="true" />
+ <inspection_tool class="NonFinalFieldOfException" level="WARNING" enabled="true" />
+ <inspection_tool class="UnusedImport" level="WARNING" enabled="true" />
+ <inspection_tool class="TestCaseWithConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="MisorderedAssertEqualsParameters" level="WARNING" enabled="true" />
+ <inspection_tool class="SetupCallsSuperSetup" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledSetUp" level="WARNING" enabled="true" />
+ <inspection_tool class="SetupIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="SimplifiableJUnitAssertion" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticSuite" level="WARNING" enabled="true" />
+ <inspection_tool class="TeardownCallsSuperTeardown" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledTearDown" level="WARNING" enabled="true" />
+ <inspection_tool class="TeardownIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="TestMethodIsPublicVoidNoArg" level="WARNING" enabled="true" />
+ <inspection_tool class="UnconstructableTestCase" level="WARNING" enabled="true" />
+ <inspection_tool class="TrivialStringConcatenation" level="WARNING" enabled="true" />
+ <inspection_tool class="InnerClassMayBeStatic" level="WARNING" enabled="true" />
+ <inspection_tool class="SubstringZero" level="WARNING" enabled="true" />
+ <inspection_tool class="StringEqualsEmptyString" level="WARNING" enabled="true" />
+ <inspection_tool class="StringBufferToStringInConcatenation" level="WARNING" enabled="true" />
+ <inspection_tool class="AssignmentUsedAsCondition" level="WARNING" enabled="true" />
+ <inspection_tool class="CastConflictsWithInstanceof" level="WARNING" enabled="true" />
+ <inspection_tool class="CastToIncompatibleInterface" level="WARNING" enabled="true" />
+ <inspection_tool class="CollectionAddedToSelf" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledCompareTo" level="WARNING" enabled="true" />
+ <inspection_tool class="CovariantCompareTo" level="WARNING" enabled="true" />
+ <inspection_tool class="CovariantEquals" level="WARNING" enabled="true" />
+ <inspection_tool class="EmptyInitializer" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledEquals" level="WARNING" enabled="true" />
+ <inspection_tool class="EqualsBetweenInconvertibleTypes" level="WARNING" enabled="true" />
+ <inspection_tool class="ArrayEquals" level="WARNING" enabled="true" />
+ <inspection_tool class="ForLoopThatDoesntUseLoopVariable" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledHashcode" level="WARNING" enabled="true" />
+ <inspection_tool class="InstanceofIncompatibleInterface" level="WARNING" enabled="true" />
+ <inspection_tool class="IteratorHasNextCallsIteratorNext" level="WARNING" enabled="true" />
+ <inspection_tool class="IteratorNextDoesNotThrowNoSuchElementException" level="WARNING" enabled="true" />
+ <inspection_tool class="NonShortCircuitBoolean" level="WARNING" enabled="true" />
+ <inspection_tool class="ResultOfObjectAllocationIgnored" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticFieldReferenceOnSubclass" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticCallOnSubclass" level="WARNING" enabled="true" />
+ <inspection_tool class="SubtractionInCompareTo" level="WARNING" enabled="true" />
+ <inspection_tool class="SuspiciousToArrayCall" level="WARNING" enabled="true" />
+ <inspection_tool class="SuspiciousSystemArraycopy" level="WARNING" enabled="true" />
+ <inspection_tool class="TextLabelInSwitchStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="MisspelledToString" level="WARNING" enabled="true" />
+ <inspection_tool class="ExternalizableWithSerializationMethods" level="WARNING" enabled="true" />
+ <inspection_tool class="ReadObjectInitialization" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSerializableWithSerializationMethods" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSerializableWithSerialVersionUIDField" level="WARNING" enabled="true" />
+ <inspection_tool class="ReadObjectAndWriteObjectPrivate" level="WARNING" enabled="true" />
+ <inspection_tool class="ReadResolveAndWriteReplaceProtected" level="WARNING" enabled="true" />
+ <inspection_tool class="SerializableWithUnconstructableAncestor" level="WARNING" enabled="true" />
+ <inspection_tool class="SerializableHasSerialVersionUIDField" level="WARNING" enabled="true">
+ <option name="superClassString" value="java.awt.Component" />
+ </inspection_tool>
+ <inspection_tool class="SerializableInnerClassHasSerialVersionUIDField" level="WARNING" enabled="true">
+ <option name="superClassString" value="java.awt.Component" />
+ </inspection_tool>
+ <inspection_tool class="SerializableInnerClassWithNonSerializableOuterClass" level="WARNING" enabled="true">
+ <option name="superClassString" value="java.awt.Component" />
+ </inspection_tool>
+ <inspection_tool class="SerialPersistentFieldsWithWrongSignature" level="WARNING" enabled="true" />
+ <inspection_tool class="SerialVersionUIDNotStaticFinal" level="WARNING" enabled="true" />
+ <inspection_tool class="TransientFieldInNonSerializableClass" level="WARNING" enabled="true" />
+ <inspection_tool class="AwaitNotInLoop" level="WARNING" enabled="true" />
+ <inspection_tool class="ConditionSignal" level="WARNING" enabled="true" />
+ <inspection_tool class="SystemRunFinalizersOnExit" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreadRun" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreadStartInConstruction" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreadStopSuspendResume" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreadYield" level="WARNING" enabled="true" />
+ <inspection_tool class="SleepWhileHoldingLock" level="WARNING" enabled="true" />
+ <inspection_tool class="DoubleCheckedLocking" level="WARNING" enabled="true">
+ <option name="ignoreOnVolatileVariables" value="false" />
+ </inspection_tool>
+ <inspection_tool class="EmptySynchronizedStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="ThreadWithDefaultRunMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="NonSynchronizedMethodOverridesSynchronizedMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="NotifyCalledOnCondition" level="WARNING" enabled="true" />
+ <inspection_tool class="NotifyNotInSynchronizedContext" level="WARNING" enabled="true" />
+ <inspection_tool class="SynchronizeOnLock" level="WARNING" enabled="true" />
+ <inspection_tool class="UnconditionalWait" level="WARNING" enabled="true" />
+ <inspection_tool class="VolatileArrayField" level="WARNING" enabled="true" />
+ <inspection_tool class="VolatileLongOrDoubleField" level="WARNING" enabled="true" />
+ <inspection_tool class="WaitCalledOnCondition" level="WARNING" enabled="true" />
+ <inspection_tool class="WaitWhileHoldingTwoLocks" level="WARNING" enabled="true" />
+ <inspection_tool class="WaitNotInSynchronizedContext" level="WARNING" enabled="true" />
+ <inspection_tool class="WhileLoopSpinsOnField" level="WARNING" enabled="true">
+ <option name="ignoreNonEmtpyLoops" value="false" />
+ </inspection_tool>
+ <inspection_tool class="ClassEscapesItsScope" level="WARNING" enabled="true" />
+ <inspection_tool class="FieldHidesSuperclassField" level="WARNING" enabled="true">
+ <option name="m_ignoreInvisibleFields" value="true" />
+ </inspection_tool>
+ <inspection_tool class="InnerClassVariableHidesOuterClassVariable" level="WARNING" enabled="true">
+ <option name="m_ignoreInvisibleFields" value="true" />
+ </inspection_tool>
+ <inspection_tool class="LocalVariableHidingMemberVariable" level="WARNING" enabled="true">
+ <option name="m_ignoreInvisibleFields" value="true" />
+ <option name="m_ignoreStaticMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="MethodOverloadsParentMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodOverridesPackageLocalMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodOverridesPrivateMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="MethodOverridesStaticMethod" level="WARNING" enabled="true" />
+ <inspection_tool class="TypeParameterHidesVisibleType" level="WARNING" enabled="true" />
+ <inspection_tool class="IncompatibleMask" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessBitwiseExpression" level="WARNING" enabled="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="ShiftOutOfRange" level="WARNING" enabled="false" />
+ <inspection_tool class="ExtendsObject" level="WARNING" enabled="false" />
+ <inspection_tool class="TypeParameterExtendsObject" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessarySemicolon" level="WARNING" enabled="false" />
+ <inspection_tool class="ConditionalExpressionWithIdenticalBranches" level="WARNING" enabled="true" />
+ <inspection_tool class="DuplicateCondition" level="WARNING" enabled="true">
+ <option name="ignoreMethodCalls" value="false" />
+ </inspection_tool>
+ <inspection_tool class="WeakerAccess" level="WARNING" enabled="false">
+ <option name="SUGGEST_PACKAGE_LOCAL_FOR_MEMBERS" value="true" />
+ <option name="SUGGEST_PACKAGE_LOCAL_FOR_TOP_CLASSES" value="true" />
+ <option name="SUGGEST_PRIVATE_FOR_INNERS" value="false" />
+ </inspection_tool>
+ <inspection_tool class="EmptyMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="NoExplicitFinalizeCalls" level="WARNING" enabled="false" />
+ <inspection_tool class="FinalizeCallsSuperFinalize" level="WARNING" enabled="false">
+ <option name="m_ignoreForObjectSubclasses" value="false" />
+ </inspection_tool>
+ <inspection_tool class="JavaDoc" level="WARNING" enabled="false">
+ <option name="TOP_LEVEL_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="INNER_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="METHOD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="@return at param@throws or @exception" />
+ </value>
+ </option>
+ <option name="FIELD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+ <option name="REQUIRED_TAGS" value="" />
+ </value>
+ </option>
+ <option name="IGNORE_DEPRECATED" value="false" />
+ <option name="IGNORE_JAVADOC_PERIOD" value="true" />
+ <option name="myAdditionalJavadocTags" value="" />
+ </inspection_tool>
+ <inspection_tool class="ExtendsAnnotation" level="WARNING" enabled="false" />
+ <inspection_tool class="AbstractMethodCallInConstructor" level="WARNING" enabled="true" />
+ <inspection_tool class="InstanceVariableUninitializedUse" level="WARNING" enabled="true">
+ <option name="m_ignorePrimitives" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StaticVariableInitialization" level="WARNING" enabled="true">
+ <option name="m_ignorePrimitives" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StaticVariableUninitializedUse" level="WARNING" enabled="true">
+ <option name="m_ignorePrimitives" value="false" />
+ </inspection_tool>
+ <inspection_tool class="NonThreadSafeLazyInitialization" level="WARNING" enabled="true" />
+ <inspection_tool class="StaticCollection" level="WARNING" enabled="true">
+ <option name="m_ignoreWeakCollections" value="false" />
+ </inspection_tool>
+ <inspection_tool class="StringBufferField" level="WARNING" enabled="true" />
+ <inspection_tool class="StringBufferReplaceableByStringBuilder" level="WARNING" enabled="true" />
+ <inspection_tool class="NullArgumentToVariableArgMethod" level="WARNING" enabled="false" />
+ <inspection_tool class="NullableProblems" level="WARNING" enabled="false">
+ <option name="REPORT_NULLABLE_METHOD_OVERRIDES_NOTNULL" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_METHOD_OVERRIDES_NOTNULL" value="true" />
+ <option name="REPORT_NOTNULL_PARAMETER_OVERRIDES_NULLABLE" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_PARAMETER_OVERRIDES_NOTNULL" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_GETTER" value="true" />
+ <option name="REPORT_NOT_ANNOTATED_SETTER_PARAMETER" value="true" />
+ <option name="REPORT_ANNOTATION_NOT_PROPAGATED_TO_OVERRIDERS" value="true" />
+ </inspection_tool>
+ <inspection_tool class="PointlessBooleanExpression" level="WARNING" enabled="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="EmptyCatchBlock" level="WARNING" enabled="false">
+ <option name="m_includeComments" value="true" />
+ <option name="m_ignoreTestCases" value="true" />
+ <option name="m_ignoreIgnoreParameter" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UnusedAssignment" level="WARNING" enabled="false">
+ <option name="REPORT_PREFIX_EXPRESSIONS" value="false" />
+ <option name="REPORT_POSTFIX_EXPRESSIONS" value="true" />
+ <option name="REPORT_REDUNDANT_INITIALIZER" value="true" />
+ </inspection_tool>
+ <inspection_tool class="CloneCallsSuperClone" level="WARNING" enabled="false" />
+ <inspection_tool class="IgnoreResultOfCall" level="WARNING" enabled="false">
+ <option name="m_reportAllNonLibraryCalls" value="false" />
+ <option name="callCheckString" value="java.io.InputStream,read,java.io.InputStream,skip,java.lang.StringBuffer,toString,java.lang.StringBuilder,toString,java.lang.String,.*,java.math.BigInteger,.*,java.math.BigDecimal,.*,java.net.InetAddress,.*" />
+ </inspection_tool>
+ <inspection_tool class="CloneDeclaresCloneNotSupported" level="WARNING" enabled="false" />
+ <inspection_tool class="PointlessArithmeticExpression" level="WARNING" enabled="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false" />
+ </inspection_tool>
+ <inspection_tool class="FieldCanBeLocal" level="WARNING" enabled="false" />
+ <inspection_tool class="StringConcatenationInsideStringBufferAppend" level="WARNING" enabled="false" />
+ <inspection_tool class="MismatchedCollectionQueryUpdate" level="WARNING" enabled="false" />
+ <inspection_tool class="JavadocReference" level="WARNING" enabled="true" />
+ <inspection_tool class="UnnecessaryBlockStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="ClassWithMultipleLoggers" level="WARNING" enabled="true">
+ <option name="loggerClassName" value="java.util.logging.Logger" />
+ </inspection_tool>
+ <inspection_tool class="ConstantStringIntern" level="WARNING" enabled="true" />
+ <inspection_tool class="FieldMayBeStatic" level="WARNING" enabled="true" />
+ <inspection_tool class="SizeReplaceableByIsEmpty" level="WARNING" enabled="true">
+ <option name="ignoreNegations" value="false" />
+ </inspection_tool>
+ <inspection_tool class="NestedSynchronizedStatement" level="WARNING" enabled="true" />
+ <inspection_tool class="NakedNotify" level="WARNING" enabled="true" />
+ <inspection_tool class="IndexOfReplaceableByContains" level="WARNING" enabled="true" />
+ <inspection_tool class="WhileCanBeForeach" level="WARNING" enabled="false" />
+ <inspection_tool class="ForCanBeForeach" level="WARNING" enabled="false">
+ <option name="REPORT_INDEXED_LOOP" value="true" />
+ </inspection_tool>
+ <inspection_tool class="UnnecessaryBoxing" level="WARNING" enabled="false" />
+ <inspection_tool class="UnnecessaryUnboxing" level="WARNING" enabled="false" />
+ <inspection_tool class="UNCHECKED_WARNING" level="WARNING" enabled="false" />
+ <inspection_tool class="NonStaticFinalLogger" level="WARNING" enabled="true">
+ <option name="loggerClassName" value="java.util.logging.Logger" />
+ </inspection_tool>
+ <inspection_tool class="StringBufferReplaceableByString" level="WARNING" enabled="true" />
+ <inspection_tool class="AwaitWithoutCorrespondingSignal" level="WARNING" enabled="true" />
+ <inspection_tool class="EmptyStatementBody" level="WARNING" enabled="false">
+ <option name="m_reportEmptyBlocks" value="false" />
+ </inspection_tool>
+ <inspection_tool class="MethodMayBeStatic" level="WARNING" enabled="true">
+ <option name="m_onlyPrivateOrFinal" value="false" />
+ <option name="m_ignoreEmptyMethods" value="true" />
+ </inspection_tool>
+ <inspection_tool class="EqualsWhichDoesntCheckParameterClass" level="WARNING" enabled="true" />
+ <inspection_tool class="ArithmeticOnVolatileField" level="WARNING" enabled="true" />
+ </profile>
+ </profiles>
+ <list size="0" />
+ </component>
+ <component name="JavacSettings">
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="DEPRECATION" value="true" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ <option name="MAXIMUM_HEAP_SIZE" value="128" />
+ </component>
+ <component name="JavadocGenerationManager">
+ <option name="OUTPUT_DIRECTORY" />
+ <option name="OPTION_SCOPE" value="protected" />
+ <option name="OPTION_HIERARCHY" value="true" />
+ <option name="OPTION_NAVIGATOR" value="true" />
+ <option name="OPTION_INDEX" value="true" />
+ <option name="OPTION_SEPARATE_INDEX" value="true" />
+ <option name="OPTION_DOCUMENT_TAG_USE" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_AUTHOR" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_VERSION" value="false" />
+ <option name="OPTION_DOCUMENT_TAG_DEPRECATED" value="true" />
+ <option name="OPTION_DEPRECATED_LIST" value="true" />
+ <option name="OTHER_OPTIONS" value="" />
+ <option name="HEAP_SIZE" />
+ <option name="LOCALE" />
+ <option name="OPEN_IN_BROWSER" value="true" />
+ </component>
+ <component name="JikesSettings">
+ <option name="JIKES_PATH" value="" />
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="DEPRECATION" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="IS_EMACS_ERRORS_MODE" value="true" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ </component>
+ <component name="LogConsolePreferences">
+ <option name="FILTER_ERRORS" value="false" />
+ <option name="FILTER_WARNINGS" value="false" />
+ <option name="FILTER_INFO" value="true" />
+ <option name="CUSTOM_FILTER" />
+ </component>
+ <component name="Palette2">
+ <group name="Swing">
+ <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
+ </item>
+ <item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
+ </item>
+ <item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
+ <default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
+ <initial-values>
+ <property name="text" value="Button" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="RadioButton" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="CheckBox" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
+ <initial-values>
+ <property name="text" value="Label" />
+ </initial-values>
+ </item>
+ <item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
+ <preferred-size width="150" height="-1" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
+ <preferred-size width="150" height="50" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+ <preferred-size width="200" height="200" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
+ <preferred-size width="200" height="200" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
+ </item>
+ <item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
+ </item>
+ <item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
+ <preferred-size width="-1" height="20" />
+ </default-constraints>
+ </item>
+ <item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
+ <default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
+ </item>
+ <item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
+ <default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
+ </item>
+ </group>
+ </component>
+ <component name="ProjectFileVersion" converted="true" />
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/SessionStressTest.iml" filepath="$PROJECT_DIR$/SessionStressTest.iml" />
+ </modules>
+ </component>
+ <component name="ProjectRootConfigurable.UI">
+ <option name="proportions">
+ <SplitterProportionsDataImpl />
+ </option>
+ </component>
+ <component name="ProjectRootManager" version="2" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
+ <output url="file://$PROJECT_DIR$/out" />
+ </component>
+ <component name="RmicSettings">
+ <option name="IS_EANABLED" value="false" />
+ <option name="DEBUGGING_INFO" value="true" />
+ <option name="GENERATE_NO_WARNINGS" value="false" />
+ <option name="GENERATE_IIOP_STUBS" value="false" />
+ <option name="ADDITIONAL_OPTIONS_STRING" value="" />
+ </component>
+ <component name="ScopeChooserConfigurable.UI">
+ <option name="proportions">
+ <SplitterProportionsDataImpl />
+ </option>
+ </component>
+ <component name="SvnChangesBrowserSettings">
+ <option name="USE_AUTHOR_FIELD" value="true" />
+ <option name="AUTHOR" value="" />
+ <option name="LOCATION" value="" />
+ <option name="USE_PROJECT_SETTINGS" value="true" />
+ <option name="USE_ALTERNATE_LOCATION" value="false" />
+ </component>
+ <component name="VCS.FileViewConfiguration">
+ <option name="SELECTED_STATUSES" value="DEFAULT" />
+ <option name="SELECTED_COLUMNS" value="DEFAULT" />
+ <option name="SHOW_FILTERS" value="true" />
+ <option name="CUSTOMIZE_VIEW" value="true" />
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="true" />
+ </component>
+ <component name="VcsDirectoryMappings">
+ <mapping directory="" vcs="" />
+ </component>
+ <component name="com.intellij.ide.util.scopeChooser.ScopeChooserConfigurable" proportions="" version="1">
+ <option name="myLastEditedConfigurable" />
+ </component>
+ <component name="com.intellij.jsf.UserDefinedFacesConfigs">
+ <option name="USER_DEFINED_CONFIGS">
+ <value>
+ <list size="0" />
+ </value>
+ </option>
+ </component>
+ <component name="com.intellij.openapi.roots.ui.configuration.projectRoot.ProjectRootMasterDetailsConfigurable" proportions="" version="1">
+ <option name="myPlainMode" value="false" />
+ <option name="myLastEditedConfigurable" />
+ </component>
+ <component name="com.intellij.profile.ui.ErrorOptionsConfigurable" proportions="" version="1">
+ <option name="myLastEditedConfigurable" />
+ </component>
+ <component name="libraryTable">
+ <library name="lib">
+ <CLASSES>
+ <root url="jar://$PROJECT_DIR$/lib/jgroups.jar!/" />
+ <root url="jar://$PROJECT_DIR$/lib/httpclient.jar!/" />
+ </CLASSES>
+ <JAVADOC />
+ <SOURCES />
+ </library>
+ </component>
+ <component name="uidesigner-configuration">
+ <option name="INSTRUMENT_CLASSES" value="true" />
+ <option name="COPY_FORMS_RUNTIME_TO_OUTPUT" value="true" />
+ <option name="DEFAULT_LAYOUT_MANAGER" value="GridLayoutManager" />
+ </component>
+</project>
+
Added: projects/cluster/varia/sessionstress/SessionStressTest.iws
===================================================================
--- projects/cluster/varia/sessionstress/SessionStressTest.iws (rev 0)
+++ projects/cluster/varia/sessionstress/SessionStressTest.iws 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,348 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project relativePaths="false" version="4">
+ <component name="ChangeListManager">
+ <list default="true" name="Default" comment="" />
+ <ignored path="SessionStressTest.iws" />
+ <ignored path=".idea/workspace.xml" />
+ </component>
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
+ <component name="Commander">
+ <leftPanel />
+ <rightPanel />
+ <splitter proportion="0.5" />
+ </component>
+ <component name="CreatePatchCommitExecutor">
+ <option name="PATCH_PATH" value="" />
+ <option name="REVERSE_PATCH" value="false" />
+ </component>
+ <component name="DaemonCodeAnalyzer">
+ <disable_hints />
+ </component>
+ <component name="DebuggerManager">
+ <breakpoint_any>
+ <breakpoint>
+ <option name="NOTIFY_CAUGHT" value="true" />
+ <option name="NOTIFY_UNCAUGHT" value="true" />
+ <option name="ENABLED" value="false" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ <option name="COUNT_FILTER_ENABLED" value="false" />
+ <option name="COUNT_FILTER" value="0" />
+ <option name="CONDITION_ENABLED" value="false" />
+ <option name="CLASS_FILTERS_ENABLED" value="false" />
+ <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+ <option name="CONDITION" value="" />
+ <option name="LOG_MESSAGE" value="" />
+ </breakpoint>
+ <breakpoint>
+ <option name="NOTIFY_CAUGHT" value="true" />
+ <option name="NOTIFY_UNCAUGHT" value="true" />
+ <option name="ENABLED" value="false" />
+ <option name="LOG_ENABLED" value="false" />
+ <option name="LOG_EXPRESSION_ENABLED" value="false" />
+ <option name="SUSPEND_POLICY" value="SuspendAll" />
+ <option name="COUNT_FILTER_ENABLED" value="false" />
+ <option name="COUNT_FILTER" value="0" />
+ <option name="CONDITION_ENABLED" value="false" />
+ <option name="CLASS_FILTERS_ENABLED" value="false" />
+ <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+ <option name="CONDITION" value="" />
+ <option name="LOG_MESSAGE" value="" />
+ </breakpoint>
+ </breakpoint_any>
+ <breakpoint_rules />
+ <ui_properties />
+ </component>
+ <component name="ErrorTreeViewConfiguration">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="HIDE_WARNINGS" value="false" />
+ </component>
+ <component name="FavoritesManager">
+ <favorites_list name="SessionStressTest" />
+ </component>
+ <component name="FileEditorManager">
+ <leaf>
+ <file leaf-file-name="PerfTest.java" pinned="false" current="false" current-in-tab="false">
+ <entry file="file://$PROJECT_DIR$/PerfTest.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="267" column="21" selection-start="10174" selection-end="10174" vertical-scroll-proportion="0.51345533">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
+ </file>
+ <file leaf-file-name="SessionStressTest.iws" pinned="false" current="true" current-in-tab="true">
+ <entry file="file://$PROJECT_DIR$/SessionStressTest.iws">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </file>
+ </leaf>
+ </component>
+ <component name="FindManager">
+ <FindUsagesManager>
+ <setting name="OPEN_NEW_TAB" value="false" />
+ </FindUsagesManager>
+ </component>
+ <component name="HierarchyBrowserManager">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="SORT_ALPHABETICALLY" value="false" />
+ <option name="HIDE_CLASSES_WHERE_METHOD_NOT_IMPLEMENTED" value="false" />
+ </component>
+ <component name="J2EEProjectPane">
+ <subPane subId="file">
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="SessionStressTest" />
+ <option name="myItemType" value="com.intellij.javaee.module.view.nodes.JavaeeProjectNodeDescriptor" />
+ </PATH_ELEMENT>
+ </PATH>
+ </subPane>
+ </component>
+ <component name="ModuleEditorState">
+ <option name="LAST_EDITED_MODULE_NAME" />
+ <option name="LAST_EDITED_TAB_NAME" />
+ </component>
+ <component name="ProjectLevelVcsManager">
+ <OptionsSetting value="true" id="Add" />
+ <OptionsSetting value="true" id="Remove" />
+ <OptionsSetting value="true" id="Checkin" />
+ <OptionsSetting value="true" id="Checkout" />
+ <OptionsSetting value="true" id="Update" />
+ <OptionsSetting value="true" id="Status" />
+ <OptionsSetting value="true" id="Edit" />
+ <ConfirmationsSetting value="0" id="Add" />
+ <ConfirmationsSetting value="0" id="Remove" />
+ </component>
+ <component name="ProjectPane">
+ <subPane>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="SessionStressTest" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="SessionStressTest" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ <PATH>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="SessionStressTest" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="SessionStressTest" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewModuleNode" />
+ </PATH_ELEMENT>
+ <PATH_ELEMENT>
+ <option name="myItemId" value="PsiDirectory:$PROJECT_DIR$" />
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
+ </PATH_ELEMENT>
+ </PATH>
+ </subPane>
+ </component>
+ <component name="ProjectReloadState">
+ <option name="STATE" value="2" />
+ </component>
+ <component name="ProjectView">
+ <navigator currentView="ProjectPane" proportions="0.22404371" version="1" splitterProportion="0.5">
+ <flattenPackages />
+ <showMembers />
+ <showModules />
+ <showLibraryContents />
+ <hideEmptyPackages />
+ <abbreviatePackageNames />
+ <showStructure J2EEPane="false" ProjectPane="true" />
+ <autoscrollToSource ProjectPane="true" />
+ <autoscrollFromSource />
+ <sortByType />
+ </navigator>
+ </component>
+ <component name="PropertiesComponent">
+ <property name="MemberChooser.copyJavadoc" value="false" />
+ <property name="GenerateAntBuildDialog.generateSingleFile" value="true" />
+ <property name="GoToClass.includeLibraries" value="false" />
+ <property name="MemberChooser.showClasses" value="true" />
+ <property name="MemberChooser.sorted" value="false" />
+ <property name="TEMP_MODULE_EXPLODED_DIR_FOR_SessionStressTest/web/Web" value="/private/tmp/webExplodedDir28223tmp" />
+ <property name="GoToFile.includeJavaFiles" value="false" />
+ <property name="GoToClass.toSaveIncludeLibraries" value="false" />
+ <property name="GenerateAntBuildDialog.enableUiFormCompile" value="false" />
+ <property name="GenerateAntBuildDialog.forceTargetJdk" value="true" />
+ <property name="GenerateAntBuildDialog.backupFiles" value="true" />
+ </component>
+ <component name="RunManager">
+ <configuration default="true" type="Application" factoryName="Application" enabled="false" merge="false">
+ <option name="MAIN_CLASS_NAME" />
+ <option name="VM_PARAMETERS" />
+ <option name="PROGRAM_PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ <option name="ENABLE_SWING_INSPECTOR" value="false" />
+ <option name="ENV_VARIABLES" />
+ <option name="PASS_PARENT_ENVS" value="true" />
+ <module name="" />
+ <envs />
+ </configuration>
+ <configuration default="true" type="Applet" factoryName="Applet">
+ <module name="" />
+ <option name="MAIN_CLASS_NAME" />
+ <option name="HTML_FILE_NAME" />
+ <option name="HTML_USED" value="false" />
+ <option name="WIDTH" value="400" />
+ <option name="HEIGHT" value="300" />
+ <option name="POLICY_FILE" value="C:/Program Files/JetBrains/IntelliJ IDEA 6.0/bin/appletviewer.policy" />
+ <option name="VM_PARAMETERS" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ </configuration>
+ <configuration default="true" type="JUnit" factoryName="JUnit" enabled="false" merge="false">
+ <module name="" />
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+ <option name="ALTERNATIVE_JRE_PATH" />
+ <option name="PACKAGE_NAME" />
+ <option name="MAIN_CLASS_NAME" />
+ <option name="METHOD_NAME" />
+ <option name="TEST_OBJECT" value="class" />
+ <option name="VM_PARAMETERS" />
+ <option name="PARAMETERS" />
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+ <option name="ENV_VARIABLES" />
+ <option name="PASS_PARENT_ENVS" value="true" />
+ <option name="ADDITIONAL_CLASS_PATH" />
+ <option name="TEST_SEARCH_SCOPE">
+ <value defaultName="wholeProject" />
+ </option>
+ <envs />
+ </configuration>
+ <configuration default="true" type="Remote" factoryName="Remote">
+ <option name="USE_SOCKET_TRANSPORT" value="true" />
+ <option name="SERVER_MODE" value="false" />
+ <option name="SHMEM_ADDRESS" value="javadebug" />
+ <option name="HOST" value="localhost" />
+ <option name="PORT" value="5005" />
+ </configuration>
+ <list size="0" />
+ </component>
+ <component name="StructureViewFactory">
+ <option name="AUTOSCROLL_MODE" value="true" />
+ <option name="AUTOSCROLL_FROM_SOURCE" value="false" />
+ <option name="ACTIVE_ACTIONS" value="ALPHA_COMPARATOR,SHOW_FIELDS,SHOW_INHERITED" />
+ </component>
+ <component name="SvnConfiguration">
+ <option name="USER" value="" />
+ <option name="PASSWORD" value="" />
+ <option name="LAST_MERGED_REVISION" />
+ <option name="UPDATE_RUN_STATUS" value="false" />
+ <option name="UPDATE_RECURSIVELY" value="true" />
+ <option name="MERGE_DRY_RUN" value="false" />
+ <configuration useDefault="true">C:\Documents and Settings\bela.DELL-LAPTOP\Application Data\Subversion</configuration>
+ <upgradeMode>none</upgradeMode>
+ </component>
+ <component name="TodoView" selected-index="0">
+ <todo-panel id="selected-file">
+ <are-packages-shown value="false" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ <todo-panel id="all">
+ <are-packages-shown value="true" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="true" />
+ </todo-panel>
+ <todo-panel id="default-changelist">
+ <are-packages-shown value="false" />
+ <are-modules-shown value="false" />
+ <flatten-packages value="false" />
+ <is-autoscroll-to-source value="false" />
+ </todo-panel>
+ </component>
+ <component name="ToolWindowManager">
+ <frame x="52" y="22" width="1484" height="1117" extended-state="0" />
+ <editor active="false" />
+ <layout>
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="7" />
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24947736" order="0" />
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="1" />
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="6" />
+ <window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Module Dependencies" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="1" />
+ <window_info id="Maven projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="3" />
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="2" />
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="0" />
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" order="4" />
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Duplicates" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="8" />
+ <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="2" />
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" order="0" />
+ <window_info id="EJB" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="3" />
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" order="5" />
+ </layout>
+ </component>
+ <component name="VcsManagerConfiguration">
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="false" />
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="false" />
+ <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
+ <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
+ <option name="LAST_COMMIT_MESSAGE" />
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
+ <option name="ACTIVE_VCS_NAME" />
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
+ <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
+ </component>
+ <component name="antWorkspaceConfiguration">
+ <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
+ <option name="FILTER_TARGETS" value="false" />
+ </component>
+ <component name="editorHistoryManager">
+ <entry file="file://$PROJECT_DIR$/web/index.jsp">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="22" column="7" selection-start="566" selection-end="566" vertical-scroll-proportion="0.2548596">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/PerfTest.java">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="267" column="21" selection-start="10174" selection-end="10174" vertical-scroll-proportion="0.51345533">
+ <folding>
+ <element signature="imports" expanded="true" />
+ </folding>
+ </state>
+ </provider>
+ </entry>
+ <entry file="file://$PROJECT_DIR$/SessionStressTest.iws">
+ <provider selected="true" editor-type-id="text-editor">
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
+ <folding />
+ </state>
+ </provider>
+ </entry>
+ </component>
+</project>
+
Added: projects/cluster/varia/sessionstress/lib/httpclient.jar
===================================================================
(Binary files differ)
Property changes on: projects/cluster/varia/sessionstress/lib/httpclient.jar
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: projects/cluster/varia/sessionstress/lib/jgroups.jar
===================================================================
(Binary files differ)
Property changes on: projects/cluster/varia/sessionstress/lib/jgroups.jar
___________________________________________________________________
Name: svn:executable
+
Name: svn:mime-type
+ application/octet-stream
Added: projects/cluster/varia/sessionstress/web/WEB-INF/jboss-web.xml
===================================================================
--- projects/cluster/varia/sessionstress/web/WEB-INF/jboss-web.xml (rev 0)
+++ projects/cluster/varia/sessionstress/web/WEB-INF/jboss-web.xml 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<jboss-web>
+
+ <replication-config>
+
+ <replication-granularity>ATTRIBUTE</replication-granularity>
+
+ <replication-trigger>SET_AND_NON_PRIMITIVE_GET</replication-trigger>
+
+ </replication-config>
+
+</jboss-web>
Property changes on: projects/cluster/varia/sessionstress/web/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:executable
+
Added: projects/cluster/varia/sessionstress/web/WEB-INF/web.xml
===================================================================
--- projects/cluster/varia/sessionstress/web/WEB-INF/web.xml (rev 0)
+++ projects/cluster/varia/sessionstress/web/WEB-INF/web.xml 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4"
+ xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
+
+
+ <display-name>JBoss World HTTP session replication demo</display-name>
+ <distributable/>
+
+
+
+</web-app>
Property changes on: projects/cluster/varia/sessionstress/web/WEB-INF/web.xml
___________________________________________________________________
Name: svn:executable
+
Added: projects/cluster/varia/sessionstress/web/index.jsp
===================================================================
--- projects/cluster/varia/sessionstress/web/index.jsp (rev 0)
+++ projects/cluster/varia/sessionstress/web/index.jsp 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,67 @@
+<%@ page import="java.util.Enumeration"%>
+
+<%
+ // response.setHeader("Cache-Control", "no-cache");
+
+ String key=request.getParameter("key"), val=request.getParameter("value");
+ if(key != null) {
+ if(val == null || val.trim().length() == 0) {
+ System.out.println("removing " + key);
+ session.removeAttribute(key);
+ }
+ else {
+ System.out.println("adding " + key + "=" + val);
+ session.setAttribute(key, val);
+ }
+ }
+%>
+
+<html>
+
+<head>
+ <title> Session information</title>
+</head>
+
+<body bgcolor="white">
+<hr>
+
+<br/>
+
+<%!
+int number_of_attrs=0, total_size=0;
+%>
+
+<%
+ number_of_attrs=total_size=0;
+ for(Enumeration en=session.getAttributeNames(); en.hasMoreElements();) {
+ String attr_name=(String)en.nextElement();
+ number_of_attrs++;
+ byte[] buf=(byte[])session.getAttribute(attr_name);
+ if(buf != null)
+ total_size+=buf.length;
+ }
+%>
+
+<font size=5> Session information:<br/><br/>
+ ID: <%= session.getId()%><br/>
+ Created: <%= new java.util.Date(session.getCreationTime())%><br/>
+ Last accessed: <%= new java.util.Date(session.getLastAccessedTime())%><br/>
+ Attributes: <b><%= number_of_attrs%></b><br/>
+ Total size: <b><%= total_size%> bytes</b><br/>
+</font>
+
+<br/>
+
+<%
+ ServletContext ctx=session.getServletContext();
+ Integer hits=(Integer)ctx.getAttribute("hits");
+ if(hits == null) {
+ hits=new Integer(0);
+ ctx.setAttribute("hits", hits);
+ }
+ ctx.setAttribute("hits", new Integer(hits.intValue() +1));
+%>
+
+<%=hits%> hits
+</body>
+</html>
Property changes on: projects/cluster/varia/sessionstress/web/index.jsp
___________________________________________________________________
Name: svn:executable
+
Added: projects/cluster/varia/sessionstress/web/read.jsp
===================================================================
--- projects/cluster/varia/sessionstress/web/read.jsp (rev 0)
+++ projects/cluster/varia/sessionstress/web/read.jsp 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,32 @@
+<%!
+ byte[] buf=null;
+ int length=0;
+ String id;
+%>
+
+
+
+<%
+ // response.setHeader("Cache-Control", "no-cache");
+ id=request.getParameter("id");
+ if(id == null)
+ id="1";
+
+ buf=(byte[])session.getAttribute(id);
+ length=buf != null? buf.length : 0;
+%>
+
+
+
+<html>
+
+<head>
+ <title> Initial setup </title>
+</head>
+
+<body bgcolor="white">
+
+Read data for key <%=id%>: <%=length%> bytes
+
+</body>
+</html>
Property changes on: projects/cluster/varia/sessionstress/web/read.jsp
___________________________________________________________________
Name: svn:executable
+
Added: projects/cluster/varia/sessionstress/web/setup.jsp
===================================================================
--- projects/cluster/varia/sessionstress/web/setup.jsp (rev 0)
+++ projects/cluster/varia/sessionstress/web/setup.jsp 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,59 @@
+<%@ page import="java.util.Enumeration" %>
+<%!
+
+ /* public void init() throws ServletException {
+ System.out.println("init();");
+ }
+
+ public void jspDestroy() {
+ System.out.println("destroy()");
+ }*/
+
+ int count, total_size;
+%>
+
+
+
+<%
+ // response.setHeader("Cache-Control", "no-cache");
+
+ String num_attrs_str=request.getParameter("num_attrs");
+ String size_str=request.getParameter("size");
+
+ int num_attrs=100;
+ int size=1000;
+
+ if(num_attrs_str != null)
+ num_attrs=Integer.parseInt(num_attrs_str);
+ if(size_str != null)
+ size=Integer.parseInt(size_str);
+
+ for(int i=0; i < num_attrs; i++) {
+ session.setAttribute(String.valueOf(i), new byte[size]);
+ }
+
+ count=total_size=0;
+ for(Enumeration en=session.getAttributeNames(); en.hasMoreElements();) {
+ String attr_name=(String)en.nextElement();
+ count++;
+ byte[] buf=(byte[])session.getAttribute(attr_name);
+ if(buf != null)
+ total_size+=buf.length;
+ }
+%>
+
+
+
+<html>
+
+<head>
+ <title> Initial setup </title>
+</head>
+
+<body bgcolor="white">
+
+Created <%= count%> attributes, total size=<%=total_size%> bytes.<br/>
+Session ID is <%= session.getId()%>
+
+</body>
+</html>
Property changes on: projects/cluster/varia/sessionstress/web/setup.jsp
___________________________________________________________________
Name: svn:executable
+
Added: projects/cluster/varia/sessionstress/web/write.jsp
===================================================================
--- projects/cluster/varia/sessionstress/web/write.jsp (rev 0)
+++ projects/cluster/varia/sessionstress/web/write.jsp 2007-12-21 09:00:00 UTC (rev 68480)
@@ -0,0 +1,35 @@
+<%!
+ int size=0;
+ String id;
+%>
+
+
+
+<%
+ // response.setHeader("Cache-Control", "no-cache");
+ id=request.getParameter("id");
+ if(id == null)
+ id="1";
+ size=1000;
+ String size_str=request.getParameter("size");
+ if(size_str != null)
+ size=Integer.parseInt(size_str);
+
+ byte[] buf=new byte[size];
+ session.setAttribute(id, buf);
+%>
+
+
+
+<html>
+
+<head>
+ <title> Initial setup </title>
+</head>
+
+<body bgcolor="white">
+
+Set data for key <%=id%>: <%=size%> bytes
+
+</body>
+</html>
Property changes on: projects/cluster/varia/sessionstress/web/write.jsp
___________________________________________________________________
Name: svn:executable
+
More information about the jboss-cvs-commits
mailing list