summaryrefslogtreecommitdiffstats
path: root/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example
diff options
context:
space:
mode:
authorhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 03:10:21 -0500
committerhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 03:10:21 -0500
commitc0b7206652b2852bc574694e7ba07ba1c2acdc00 (patch)
tree5cb95cb0e19e03610525903df46279df2c3b7eb1 /rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example
parentb6d3d6e668b793220f2d3af1bc3e828553dc3fe6 (diff)
delete app
Change-Id: Id4c572809969ebe89e946e88063eaed262cff3f2 Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example')
-rw-r--r--rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.properties.default23
-rw-r--r--rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.xml111
-rw-r--r--rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.txt25
-rw-r--r--rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.xml49
4 files changed, 0 insertions, 208 deletions
diff --git a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.properties.default b/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.properties.default
deleted file mode 100644
index 4e3f0460..00000000
--- a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.properties.default
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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.
-
-jkstatus.host=localhost
-jkstatus.port=2090
-jkstatus.username=manager
-jkstatus.password=tomcat
-jkstatus.url=http://${jkstatus.host}:${jkstatus.port}/jkstatus
-jkstatus.testlb=loadbalancer
-jkstatus.testworker=node01
-catalina.home=../../../../build/build \ No newline at end of file
diff --git a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.xml b/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.xml
deleted file mode 100644
index 7f4c1b4d..00000000
--- a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/jkstatus.xml
+++ /dev/null
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-<!-- @author Peter Rossbach -->
-
-<project name="status"
- default="status" basedir=".">
-
- <property name="profile" value=""/>
- <property file="jkstatus${profile}.properties"/>
- <property file="jkstatus${profile}.properties.default"/>
-
- <path id="jkstatus.path">
- <fileset dir="${catalina.home}/bin">
- <include name="commons-logging-api-*.jar"/>
- </fileset>
- <pathelement location="${catalina.home}/server/lib/catalina-ant.jar"/>
- <pathelement location="../dist/tomcat-jkstatus-ant.jar"/>
- <pathelement location="${catalina.home}/server/lib/tomcat-util.jar"/>
- </path>
-
- <taskdef resource="org/apache/jk/status/jkstatus.tasks">
- <classpath refid="jkstatus.path"/>
- </taskdef>
-
- <!--
- ########################################################################################################
- public
- ########################################################################################################
- -->
- <target name="status"
- depends="-status-modjk-access"
- description="got jk status" />
-
- <target name="reset"
- depends="-status-modjk-reset"
- description="reset jk status" />
-
- <!--
- ########################################################################################################
- private
- ########################################################################################################
- -->
- <target name="-status-modjk-access">
- <jkStatus url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- resultproperty="jkstatus.before"
- echo="on"
- failOnError="off"/>
- <echoproperties prefix="jkstatus" />
- <jkUpdateWorker url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- loadbalancer="${jkstatus.testlb}"
- worker="${jkstatus.testworker}"
- domain="d20"
- />
- <jkUpdateLoadbalancer url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- loadbalancer="${jkstatus.testlb}"
- method="Sessions"
- />
- <jkStatus url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- resultproperty="workerafter"
- failOnError="false"/>
- <echoproperties prefix="jkstatus.after" />
- </target>
-
- <target name="-status-modjk-reset">
- <jkStatus url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- resultproperty="jkstatus.before"
- failOnError="false"/>
- <echoproperties prefix="jkstatus.before" />
-
- <jkReset url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- loadbalancer="${jkstatus.testlb}"
- worker="${jkstatus.testworker}"
- />
-
- <jkStatus url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- resultproperty="jkstatus.after"
- failOnError="false"/>
- <echoproperties prefix="jkstatus.after" />
- </target>
-
-
-</project>
diff --git a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.txt b/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.txt
deleted file mode 100644
index 9fffb7dd..00000000
--- a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.txt
+++ /dev/null
@@ -1,25 +0,0 @@
- 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.
-
-How to use the show example:
-ant -f show.xml
-Configure mod_jk (httpd.conf and workers.properties):
-JkMount /jkstatus jkstatus
-
-worker.list=jkstatus
-worker.jkstatus.type=status
-
-Adjust jkstatus.properties.default:
-jkstatus.port (for example).
diff --git a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.xml b/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.xml
deleted file mode 100644
index 897745a9..00000000
--- a/rubbos/app/tomcat-connectors-1.2.32-src/jkstatus/example/show.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
-
-<project name="modjk-status"
- xmlns:jk="urn:org-apache-jk-status"
- default="status" basedir=".">
-
- <property name="profile" value=""/>
- <property file="jkstatus${profile}.properties"/>
- <property file="jkstatus.properties.default"/>
-
- <path id="jkstatus.classpath">
- <fileset dir="${catalina.home}/bin">
- <include name="commons-logging-api-*.jar"/>
- </fileset>
- <pathelement location="${catalina.home}/server/lib/catalina-ant.jar"/>
- <!--<pathelement location="${catalina.home}/server/lib/tomcat-jkstatus-ant.jar"/>-->
- <pathelement location="../dist/tomcat-jkstatus-ant.jar"/>
- <pathelement location="${catalina.home}/server/lib/tomcat-util.jar"/>
- </path>
-
- <typedef resource="org/apache/jk/status/antlib.xml"
- uri="urn:org-apache-jk-status" classpathref="jkstatus.classpath"/>
-
- <target name="status" >
- <jk:status url="${jkstatus.url}"
- username="${jkstatus.username}"
- password="${jkstatus.password}"
- resultproperty="worker"
- echo="off"
- failOnError="off"/>
- <echoproperties prefix="worker" />
- </target>
-</project>