You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2009/05/28 15:44:28 UTC

svn commit: r779631 - in /incubator/kato/branches/experimental/maven_restructure/org.apache.kato: ./ kato.demo.tomcat/ kato.demo.tomcat/.settings/ kato.demo.tomcat/src/ kato.demo.tomcat/src/main/ kato.demo.tomcat/src/main/resources/ kato.demo.tomcat/sr...

Author: spoole
Date: Thu May 28 15:44:27 2009
New Revision: 779631

URL: http://svn.apache.org/viewvc?rev=779631&view=rev
Log:
added tomcat demo module to experimental branch

Added:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.classpath
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.project
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.eclipse.jdt.core.prefs
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.maven.ide.eclipse.prefs
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/pom.xml
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/resources/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOB.jsp
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOM.jsp
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/WEB-INF/
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/WEB-INF/web.xml
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/deadlock.jsp
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/hprofDump.jsp
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/index.jsp
Modified:
    incubator/kato/branches/experimental/maven_restructure/org.apache.kato/pom.xml

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.classpath
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.classpath?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.classpath (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.classpath Thu May 28 15:44:27 2009
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+	<classpathentry kind="output" path="target/classes"/>
+</classpath>

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.project
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.project?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.project (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.project Thu May 28 15:44:27 2009
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>kato.demo.tomcat</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.maven.ide.eclipse.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.common.project.facet.core.builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.wst.validation.validationbuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.maven.ide.eclipse.maven2Nature</nature>
+		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+	</natures>
+</projectDescription>

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.eclipse.jdt.core.prefs?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.eclipse.jdt.core.prefs (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.eclipse.jdt.core.prefs Thu May 28 15:44:27 2009
@@ -0,0 +1,5 @@
+#Thu May 28 16:37:38 BST 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.source=1.6

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.maven.ide.eclipse.prefs
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.maven.ide.eclipse.prefs?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.maven.ide.eclipse.prefs (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/.settings/org.maven.ide.eclipse.prefs Thu May 28 15:44:27 2009
@@ -0,0 +1,9 @@
+#Thu May 28 16:37:38 BST 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/pom.xml?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/pom.xml (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/pom.xml Thu May 28 15:44:27 2009
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+  <parent>
+    <artifactId>kato</artifactId>
+    <groupId>org.apache.kato</groupId>
+    <version>0.0.1-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.kato</groupId>
+  <artifactId>kato.demo.tomcat</artifactId>
+  <packaging>war</packaging>
+  <name>kato.demo.tomcat Maven Webapp</name>
+  <version>0.0.1-SNAPSHOT</version>
+  <url>http://maven.apache.org</url>
+  <build>
+    <finalName>kato.demo.tomcat</finalName>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOB.jsp
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOB.jsp?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOB.jsp (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOB.jsp Thu May 28 15:44:27 2009
@@ -0,0 +1,60 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- 
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.    
+ -->
+<!-- 
+	Generates an ArrayIndexOutOfBoundsException.
+	Try in IBM's Java 5 & 6 VMs:
+		-Xdump:system:events=gpf+abort+throw,filter=java/lang/ArrayIndexOutOfBoundsException,priority=255
+ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>ArrayIndexOutOfBounds</title>
+</head>
+<body>
+<h1>OOB</h1>
+
+<%!
+	char[] oobArray= {'A','Z','E','R','T','Y'};
+%>
+
+Enter a number between 0 and <%= oobArray.length-1 %> and I'll print out a character.
+
+<form name="OOB" method="post" action="">
+<input type="text" name="index"/>
+<input type="submit" name="submit"/>
+
+</form>
+
+<%
+	String parameter = request.getParameter("index");
+	if (parameter != null) {
+		int index = Integer.parseInt(parameter);
+		
+		out.write("You entered \"" + parameter + "\".<br/>"+
+				"Well done, please accept this character: <big>"+
+				oobArray[index]+"</big>");
+		
+	}
+%>
+
+</body>
+</html>

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOM.jsp
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOM.jsp?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOM.jsp (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/OOM.jsp Thu May 28 15:44:27 2009
@@ -0,0 +1,80 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- 
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.    
+ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Out Of Memory</title>
+</head>
+<body>
+<h1><blink><font color="Red">WARNING!</font></blink></h1>
+Pressing the following button may kill your server, and will definitely cause it to 
+dump! Press once!
+<pre>
+JVM:
+<%
+	out.write(System.getProperty("java.vm.vendor")+", "+
+			System.getProperty("java.vm.name")+", "+			
+			System.getProperty("java.vm.version"));
+%>
+</pre>
+
+<form name="OOM" method="post" action="">
+<input type="submit" value="OOM" name="DoOOM"/>
+<input type="submit" value="StaticOOM" name="DoOOM"/>
+
+</form>
+<%@page import="java.util.HashMap" %>
+<%! static HashMap staticmap;
+	HashMap map;
+%>
+<%
+	String dumpType = request.getParameter("DoOOM");
+
+	if( "OOM".equals(dumpType)) {		
+		out.write("OOming "+System.getProperty("user.dir"));
+		out.flush();
+		
+		// HashMaps often cause problems.
+		map = new HashMap();
+		
+		long value = 0;
+		while (true) {
+			map.put(value, new byte[1048576]);
+			value++;
+		}
+	} else if( "StaticOOM".equals(dumpType)) {
+		out.write("Static OOming "+System.getProperty("user.dir"));
+		out.flush();
+		
+		// HashMaps often cause problems.
+
+		staticmap = new HashMap();
+		long value = 0;
+		while (true) {
+			staticmap.put(value, new byte[1048576]);
+			value++;
+		}
+	
+	}
+%>
+</body>
+</html>
\ No newline at end of file

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/WEB-INF/web.xml?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/WEB-INF/web.xml (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/WEB-INF/web.xml Thu May 28 15:44:27 2009
@@ -0,0 +1,7 @@
+<!DOCTYPE web-app PUBLIC
+ "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd" >
+
+<web-app>
+  <display-name>Archetype Created Web Application</display-name>
+</web-app>

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/deadlock.jsp
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/deadlock.jsp?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/deadlock.jsp (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/deadlock.jsp Thu May 28 15:44:27 2009
@@ -0,0 +1,98 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- 
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.    
+ -->
+<!--  
+  This JSP should be run twice. In the first grabs lock A before
+  waiting to be notified, then it tries to grab lock B.
+  In the second run it grabs lock B then notifies the first run before
+  trying to get lock A.
+  
+  If run properly, causes a deadlock to occur. 
+  This is a toxic JSP to have on anything except a J2EE server that is
+  purely for demonstration purposes. 
+-->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Deadlock</title>
+</head>
+<body>
+Press reload to create deadlock.
+Getting lock...
+<%! static Object handShake = new Object(); 
+    static Object lockA = new Object(), lockB = new Object();
+    static volatile int state = 0;
+%>
+<pre>
+<%
+out.flush();
+int localState = 0;
+synchronized(handShake) {
+	localState = state++;
+}
+
+if (localState == 0) {
+	out.write("Getting lock A\n");
+	out.flush();
+	synchronized(lockA) {
+		synchronized(handShake) {
+			out.write("Got lock A, waiting for handshake\n");
+			out.flush();
+			handShake.wait();
+		}
+		out.write("Getting lock B\n");
+		out.flush();
+
+		synchronized(lockB) {			
+			out.write("Got lock B\n");
+			out.flush();
+		}
+		out.write("Released lock B\n");
+		out.flush();
+	}
+	out.write("Released lock A\n");
+	out.flush();
+} else {
+	out.write("Getting lock b\n");
+	out.flush();
+	synchronized(lockB) {
+		synchronized(handShake) {
+			out.write("Got lock B, notifying handshake\n");
+			out.flush();
+			handShake.notify();
+		}
+		out.write("Getting lock A\n");
+		out.flush();
+
+		synchronized(lockA) {
+			out.write("Got lock A\n");
+			out.flush();
+		}
+		out.write("Released lock A\n");
+		out.flush();
+	}
+	out.write("Released lock B\n");
+	out.flush();
+}
+%>
+</pre>
+</body>
+</html>
\ No newline at end of file

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/hprofDump.jsp
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/hprofDump.jsp?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/hprofDump.jsp (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/hprofDump.jsp Thu May 28 15:44:27 2009
@@ -0,0 +1,81 @@
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<!-- 
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.    
+ -->
+<!-- 
+	Generates an hprof file using JMX. 
+	Do not place this on production servers.
+ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>HProf Dump</title>
+</head>
+<body>
+Generates an hprof file from the current heap state.
+<pre>
+JVM:
+<%
+	out.write(System.getProperty("java.vm.vendor") + ", "
+			+ System.getProperty("java.vm.name") + ", "
+			+ System.getProperty("java.vm.version"));
+%>
+</pre>
+
+<form name="Dump" method="post" action="">
+<input type="submit" value="hprof" name="Dump"/>
+</form>
+<%@page import="javax.management.*,java.lang.management.ManagementFactory,java.io.File" %>
+<%
+	String dumpType = request.getParameter("Dump");
+
+	if ("hprof".equals(dumpType)) {
+		MBeanServer mbeanServer = ManagementFactory
+				.getPlatformMBeanServer();
+		String fileName = System.getProperty("user.dir")+File.separatorChar+"hprofDump"+
+					System.currentTimeMillis()+".hprof";
+		
+		out.write("Generating hprof file \""+fileName+"\"");
+		out.flush();
+		
+		try {
+			mbeanServer
+					.invoke(
+							ObjectName
+									.getInstance("com.sun.management:type=HotSpotDiagnostic"),
+							"dumpHeap", new Object[] {
+									fileName, true },
+							new String[] { "java.lang.String",
+									"boolean" });
+		} catch (InstanceNotFoundException e) {
+			e.printStackTrace();
+		} catch (MalformedObjectNameException e) {
+			e.printStackTrace();
+		} catch (MBeanException e) {
+			e.printStackTrace();
+		} catch (ReflectionException e) {
+			e.printStackTrace();
+		} catch (NullPointerException e) {
+			e.printStackTrace();
+		}
+	}
+%>
+</body>
+</html>
\ No newline at end of file

Added: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/index.jsp?rev=779631&view=auto
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/index.jsp (added)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/kato.demo.tomcat/src/main/webapp/index.jsp Thu May 28 15:44:27 2009
@@ -0,0 +1,5 @@
+<html>
+<body>
+<h2>Hello World!</h2>
+</body>
+</html>

Modified: incubator/kato/branches/experimental/maven_restructure/org.apache.kato/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/branches/experimental/maven_restructure/org.apache.kato/pom.xml?rev=779631&r1=779630&r2=779631&view=diff
==============================================================================
--- incubator/kato/branches/experimental/maven_restructure/org.apache.kato/pom.xml (original)
+++ incubator/kato/branches/experimental/maven_restructure/org.apache.kato/pom.xml Thu May 28 15:44:27 2009
@@ -25,6 +25,8 @@
 		<module>plugins/kato.jdi.core.plugin</module>
 		<module>features/kato.feature</module>
 		<module>features/kato.jdi.feature</module>
+		<module>kato.api.vm</module>
+		<module>kato.demo.tomcat</module>
 		<!-- 
 		<module>plugins/kato.rtexplorer.plugin</module>
 		 -->