It's your team's responsibility to verify that you can satisfy every external dependency of your application after the migration. It isn't feasible to document every possible external dependency in this guide. Where can I find the JDBC driver JAR file?įor more information, see JNDI Datasource HOW-TO in the Tomcat documentation.What is the connection pool configuration?.For each datasource, document the following information: Datasourcesĭatasources are JNDI resources with the type attribute set to. In server.xml files, JNDI resources will be described by the elements inside the element. In context.xml files, JNDI resources will be described by the elements inside the top-level element. xml files found in $CATALINA_BASE/conf// directories. Inspect the $CATALINA_BASE/conf/context.xml and $CATALINA_BASE/conf/server.xml files as well as the. Some such resources may require migration or reconfiguration. Inventory external resourcesĮxternal resources, such as data sources, JMS message brokers, and others are injected via Java Naming and Directory Interface (JNDI). To obtain the current version used by Azure App Service, download Tomcat 9, depending on which version you plan to use in Azure App Service. To obtain your current Tomcat version, sign in to your production server and run the following command: $/bin/version.sh Download Java 11, 17, and all future LTS versions.These binaries are available for free download at the following sites: For Java 11, 17, and all future LTS releases of Java, App Service provides the Microsoft Build of OpenJDK. On Azure App Service, the binaries for Java 8 are provided from Eclipse Temurin. To obtain your current Java version, sign in to your production server and run the following command: java -version * Use generated code as a replacement for configuration files.This validation is especially important if your current server is running on an unsupported JDK (such as Oracle JDK or IBM OpenJ9). Protected String generatedCodePackage = "catalinaembedded" Protected String generatedCodeLocationParameter = null Protected File generatedCodeLocation = null * Generate Tomcat embedded code from configuration files. Protected boolean useShutdownHook = true īoolean. * The server component we are starting or stopping. Protected ClassLoader parentClassLoader = * The shared extensions class loader for this server. Protected String configFile = SERVER_XML * Pathname to the server configuration file. Public static final String SERVER_XML = "conf/server.xml" Protected static final StringManager sm = * stop - Stop the currently running instance of Catalina. * interpreted as relative to the directory pathname specified by the If a relative path is specified, it will be * -config - Set the pathname of the configuration file * Startup/Shutdown shell program for Catalina. * See the License for the specific language governing permissions and * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * distributed under the License is distributed on an "AS IS" BASIS, * Unless required by applicable law or agreed to in writing, software * (the "License") you may not use this file except in compliance with * The ASF licenses this file to You under the Apache License, Version 2.0 * this work for additional information regarding copyright ownership. * Licensed to the Apache Software Foundation (ASF) under one or more Catalina Class sm Field SERVER_XML Field await Field configFile Field parentClassLoader Field server Field useShutdownHook Field shutdownHook Field useNaming Field loaded Field throwOnInitFailure Field generateCode Field generatedCodeLocation Field generatedCodeLocationParameter Field generatedCodePackage Field useGeneratedCode Field Catalina Method setConfigFile Method getConfigFile Method setUseShutdownHook Method getUseShutdownHook Method getGenerateCode Method setGenerateCode Method getUseGeneratedCode Method setUseGeneratedCode Method getGeneratedCodeLocation Method setGeneratedCodeLocation Method getGeneratedCodePackage Method setGeneratedCodePackage Method getThrowOnInitFailure Method setThrowOnInitFailure Method setParentClassLoader Method getParentClassLoader Method setServer Method getServer Method isUseNaming Method setUseNaming Method setAwait Method isAwait Method arguments Method configFile Method createStartDigester Method addClusterRuleSet Method createStopDigester Method parseServerXml Method stopServer Method stopServer Method load Method load Method start Method stop Method await Method usage Method initStreams Method initNaming Method generateLoader Method generateClassHeader Method generateClassFooter Method ServerXml Interface load Method CatalinaShutdownHook Class run Method log Field SetParentClassLoaderRule Class SetParentClassLoaderRule Method parentClassLoader Field begin Method
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |