mirror of https://github.com/apache/archiva.git
remove not anymore needed tomcat6 conf directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1333931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bb34783b26
commit
d34115bd8a
|
@ -1,30 +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.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<Context path="/archiva"
|
|
||||||
docBase="${catalina.base}/webapps/archiva">
|
|
||||||
|
|
||||||
<Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"
|
|
||||||
username="sa"
|
|
||||||
password=""
|
|
||||||
driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
|
|
||||||
url="jdbc:derby:target/database/users;create=true"
|
|
||||||
/>
|
|
||||||
</Context>
|
|
|
@ -1,7 +0,0 @@
|
||||||
grant {
|
|
||||||
permission java.security.AllPermission;
|
|
||||||
};
|
|
||||||
|
|
||||||
grant codeBase "file:${catalina.home}/lib/tomcat-juli.jar" {
|
|
||||||
permission java.lang.RuntimePermission "setContextClassLoader";
|
|
||||||
};
|
|
|
@ -1,81 +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.
|
|
||||||
|
|
||||||
#
|
|
||||||
# List of comma-separated packages that start with or equal this string
|
|
||||||
# will cause a security exception to be thrown when
|
|
||||||
# passed to checkPackageAccess unless the
|
|
||||||
# corresponding RuntimePermission ("accessClassInPackage."+package) has
|
|
||||||
# been granted.
|
|
||||||
package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
|
|
||||||
#
|
|
||||||
# List of comma-separated packages that start with or equal this string
|
|
||||||
# will cause a security exception to be thrown when
|
|
||||||
# passed to checkPackageDefinition unless the
|
|
||||||
# corresponding RuntimePermission ("defineClassInPackage."+package) has
|
|
||||||
# been granted.
|
|
||||||
#
|
|
||||||
# by default, no packages are restricted for definition, and none of
|
|
||||||
# the class loaders supplied with the JDK call checkPackageDefinition.
|
|
||||||
#
|
|
||||||
package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
|
|
||||||
|
|
||||||
#
|
|
||||||
#
|
|
||||||
# List of comma-separated paths defining the contents of the "common"
|
|
||||||
# classloader. Prefixes should be used to define what is the repository type.
|
|
||||||
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
|
|
||||||
# If left as blank,the JVM system loader will be used as Catalina's "common"
|
|
||||||
# loader.
|
|
||||||
# Examples:
|
|
||||||
# "foo": Add this folder as a class repository
|
|
||||||
# "foo/*.jar": Add all the JARs of the specified folder as class
|
|
||||||
# repositories
|
|
||||||
# "foo/bar.jar": Add bar.jar as a class repository
|
|
||||||
common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar
|
|
||||||
|
|
||||||
#
|
|
||||||
# List of comma-separated paths defining the contents of the "server"
|
|
||||||
# classloader. Prefixes should be used to define what is the repository type.
|
|
||||||
# Path may be relative to the CATALINA_HOME or CATALINA_BASE path or absolute.
|
|
||||||
# If left as blank, the "common" loader will be used as Catalina's "server"
|
|
||||||
# loader.
|
|
||||||
# Examples:
|
|
||||||
# "foo": Add this folder as a class repository
|
|
||||||
# "foo/*.jar": Add all the JARs of the specified folder as class
|
|
||||||
# repositories
|
|
||||||
# "foo/bar.jar": Add bar.jar as a class repository
|
|
||||||
server.loader=
|
|
||||||
|
|
||||||
#
|
|
||||||
# List of comma-separated paths defining the contents of the "shared"
|
|
||||||
# classloader. Prefixes should be used to define what is the repository type.
|
|
||||||
# Path may be relative to the CATALINA_BASE path or absolute. If left as blank,
|
|
||||||
# the "common" loader will be used as Catalina's "shared" loader.
|
|
||||||
# Examples:
|
|
||||||
# "foo": Add this folder as a class repository
|
|
||||||
# "foo/*.jar": Add all the JARs of the specified folder as class
|
|
||||||
# repositories
|
|
||||||
# "foo/bar.jar": Add bar.jar as a class repository
|
|
||||||
# Please note that for single jars, e.g. bar.jar, you need the URL form
|
|
||||||
# starting with file:.
|
|
||||||
shared.loader=
|
|
||||||
|
|
||||||
#
|
|
||||||
# String cache configuration.
|
|
||||||
tomcat.util.buf.StringCache.byte.enabled=true
|
|
||||||
#tomcat.util.buf.StringCache.char.enabled=true
|
|
||||||
#tomcat.util.buf.StringCache.trainThreshold=500000
|
|
||||||
#tomcat.util.buf.StringCache.cacheSize=5000
|
|
|
@ -1,35 +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.
|
|
||||||
-->
|
|
||||||
<!-- The contents of this file will be loaded for each web application -->
|
|
||||||
<Context>
|
|
||||||
|
|
||||||
<!-- Default set of monitored resources -->
|
|
||||||
<WatchedResource>WEB-INF/web.xml</WatchedResource>
|
|
||||||
|
|
||||||
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
|
|
||||||
<!--
|
|
||||||
<Manager pathname="" />
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment this to enable Comet connection tacking (provides events
|
|
||||||
on session expiration as well as webapp lifecycle) -->
|
|
||||||
<!--
|
|
||||||
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
|
|
||||||
-->
|
|
||||||
|
|
||||||
</Context>
|
|
|
@ -1,46 +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.
|
|
||||||
|
|
||||||
handlers = java.util.logging.ConsoleHandler
|
|
||||||
|
|
||||||
############################################################
|
|
||||||
# Handler specific properties.
|
|
||||||
# Describes specific configuration info for Handlers.
|
|
||||||
############################################################
|
|
||||||
|
|
||||||
java.util.logging.ConsoleHandler.level = FINE
|
|
||||||
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
|
|
||||||
|
|
||||||
############################################################
|
|
||||||
# Facility specific properties.
|
|
||||||
# Provides extra control for each logger.
|
|
||||||
############################################################
|
|
||||||
|
|
||||||
org.apache.catalina.level = @catalina.logging.level@
|
|
||||||
org.apache.catalina.startup.HostConfig.level = INFO
|
|
||||||
org.apache.catalina.session.ManagerBase.level = INFO
|
|
||||||
|
|
||||||
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = INFO
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = java.util.logging.ConsoleHandler
|
|
||||||
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level = INFO
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].handlers = java.util.logging.ConsoleHandler
|
|
||||||
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].level = INFO
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin].handlers = java.util.logging.ConsoleHandler
|
|
||||||
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level = INFO
|
|
||||||
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].handlers = java.util.logging.ConsoleHandler
|
|
|
@ -1,68 +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.
|
|
||||||
-->
|
|
||||||
<!-- Note: A "Server" is not itself a "Container", so you may not
|
|
||||||
define subcomponents such as "Valves" at this level.
|
|
||||||
Documentation at /docs/config/server.html
|
|
||||||
-->
|
|
||||||
<Server port="9695" shutdown="SHUTDOWN">
|
|
||||||
|
|
||||||
<!--APR library loader. Documentation at /docs/apr.html -->
|
|
||||||
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
|
|
||||||
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
|
|
||||||
<Listener className="org.apache.catalina.core.JasperListener" />
|
|
||||||
<!-- Prevent memory leaks due to use of particular java/javax APIs-->
|
|
||||||
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
|
|
||||||
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
|
|
||||||
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
|
|
||||||
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
|
|
||||||
|
|
||||||
<!-- Global JNDI resources
|
|
||||||
Documentation at /docs/jndi-resources-howto.html
|
|
||||||
-->
|
|
||||||
<GlobalNamingResources>
|
|
||||||
<!-- Editable user database that can also be used by
|
|
||||||
UserDatabaseRealm to authenticate users
|
|
||||||
-->
|
|
||||||
<Resource name="UserDatabase" auth="Container"
|
|
||||||
type="org.apache.catalina.UserDatabase"
|
|
||||||
description="User database that can be updated and saved"
|
|
||||||
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
|
|
||||||
pathname="conf/tomcat-users.xml" />
|
|
||||||
</GlobalNamingResources>
|
|
||||||
|
|
||||||
<Service name="Catalina">
|
|
||||||
|
|
||||||
<Connector port="9696" protocol="HTTP/1.1"
|
|
||||||
connectionTimeout="20000"
|
|
||||||
redirectPort="8443" />
|
|
||||||
|
|
||||||
<Engine name="Catalina" defaultHost="localhost">
|
|
||||||
|
|
||||||
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
|
|
||||||
resourceName="UserDatabase"/>
|
|
||||||
<Valve className="org.apache.catalina.valves.AccessLogValve"
|
|
||||||
resolveHosts="false" pattern="%t-m:%m-url:%U-%q-%Dms"/>
|
|
||||||
|
|
||||||
<Host name="localhost" appBase="webapps"
|
|
||||||
unpackWARs="true" autoDeploy="true"
|
|
||||||
xmlValidation="false" xmlNamespaceAware="false">
|
|
||||||
|
|
||||||
</Host>
|
|
||||||
</Engine>
|
|
||||||
</Service>
|
|
||||||
</Server>
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue