Revert "[394281] PingThread of Tomcat/JBoss adapters follows redirects"

This reverts commit 470879a93c8b1da3c08bf99ad22fbf2813ce211d.
diff --git a/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/PingThread.java b/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/PingThread.java
index 9e5bcd4..60332e2 100644
--- a/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/PingThread.java
+++ b/plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/PingThread.java
@@ -84,7 +84,6 @@
 				Trace.trace(Trace.FINEST, "Ping: pinging " + count);
 				URL pingUrl = new URL(url);
 				URLConnection conn = pingUrl.openConnection();
-				((HttpURLConnection)conn).setInstanceFollowRedirects(false);
 				((HttpURLConnection)conn).getResponseCode();
 	
 				// ping worked - server is up
diff --git a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerActionDelegate.java b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerActionDelegate.java
index e02c394..1d3cfe8 100644
--- a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerActionDelegate.java
+++ b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/actions/RunOnServerActionDelegate.java
@@ -207,9 +207,7 @@
 			public Object getAdapter(Class adapter) {
 				if (Shell.class.equals(adapter))
 					return shell;
-				if (String.class.equals(adapter))
-					return "user";
- 				return null;
+				return null;
 			}
 		};
 		
diff --git a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/view/servers/RemoveModuleAction.java b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/view/servers/RemoveModuleAction.java
index 0048e68..71952c9 100644
--- a/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/view/servers/RemoveModuleAction.java
+++ b/plugins/org.eclipse.wst.server.ui/serverui/org/eclipse/wst/server/ui/internal/view/servers/RemoveModuleAction.java
@@ -118,8 +118,6 @@
 						public Object getAdapter(Class adapter) {
 							if (Shell.class.equals(adapter))
 								return shell;
-		                    if (String.class.equals(adapter))
-		                        return "user";
 							return null;
 						}
 					};