archive-es.com » ES » E » EPPA.ES

Total: 100

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Apache Tomcat 7 (7.0.22) - Additional Components
    JSP 2 2 Javadocs EL 2 2 Javadocs JK 1 2 Documentation Apache Tomcat Development Building Changelog Status Developers Architecture Functional Specs Additional Components Table of Contents Introduction Downloading Building Components list Full commons logging implementation Web Services support JSR 109 JMX Remote Lifecycle Listener Introduction A number of additional components may be used with Apache Tomcat These components may be built by users should they need them or they can be downloaded from one of the mirrors Downloading To download the extras components open the Tomcat download page and select browse from the Quick Navigation Links The extras components can be found in bin extras Building The additional components are built using the extras target of the standard Tomcat Ant script which is present in the source bundle of Tomcat The build process is the following Follow the build instructions to build a Tomcat binary from the source bundle note it will be used by the build process of the additional components but does not need to be actually used later on Execute the command ant extras to run the build script The additional components JARs will be placed in the output extras folder Refer to the documentation below about the usage of these JARs Components list Full commons logging implementation Tomcat uses a package renamed commons logging API implementation which is hardcoded to use the java util logging API The commons logging additional component builds a full fledged package renamed commons logging implementation which can be used to replace the implementation provided with Tomcat See the logging page for usage instructions Web Services support JSR 109 Tomcat provides factories for JSR 109 which may be used to resolve web services references Place the generated catalina ws jar as well as jaxrpc jar and wsdl4j jar or another implementation

    Original URL path: http://ticket.eppa.es/docs/extras.html (2015-09-25)
    Open archived version from archive


  • Apache Tomcat 7 (7.0.22) - Apache Tomcat - Using Tomcat libraries with Maven
    26 Additional Components 27 Mavenized 28 Security Considerations 29 Windows Service 30 Windows Authentication 31 Tomcat s JDBC Pool Reference Release Notes Configuration Tomcat Javadocs Servlet Javadocs JSP 2 2 Javadocs EL 2 2 Javadocs JK 1 2 Documentation Apache Tomcat Development Building Changelog Status Developers Architecture Functional Specs Apache Tomcat Using Tomcat libraries with Maven Table of Contents Using Tomcat libraries With Maven Tomcat Snapshots Tomcat Releases Using Tomcat

    Original URL path: http://ticket.eppa.es/docs/maven-jars.html (2015-09-25)
    Open archived version from archive

  • Apache Tomcat 7 (7.0.22) - Windows service HOW-TO
    the service if running Command line parameters Each command parameter is prefixed with If the command line is prefixed with then it s value will be appended to the existing option If the environment variable with the same name as command line parameter but prefixed with PR exists it will take precedence For example set PR CLASSPATH xx jar is equivalent to providing Classpath xx jar as command line parameter Note PR DEPENDSON PR ENVIRONMENT PR JVMOPTIONS PR JVMMS PR JVMMX PR JVMSS PR STARTPARAMS PR STOPPARAMS and PR STOPTIMEOUT will not work until this bug is fixed DAEMON 49 ParameterName Default Description Description Service name description maximum 1024 characters DisplayName ServiceName Service display name Install procrun exe RS ServiceName Install image Startup manual Service startup mode can be either auto or manual DependsOn List of services that this service depend on Dependent services are separated using either or characters Environment List of environment variables that will be provided to the service in the form key value They are separated using either or characters User User account used for running executable It is used only for StartMode java or exe and enables running applications as service under account without LogonAsService privilege Password Password for user account set by User parameter JavaHome JAVA HOME Set a different JAVA HOME than defined by JAVA HOME environment variable Jvm auto Use either auto or specify the full path to the jvm dll You can use the environment variable expansion here JvmOptions Xrs List of options in the form of D or X that will be passed to the JVM The options are separated using either or characters Classpath Set the Java classpath JvmMs Initial memory pool size in MB JvmMx Maximum memory pool size in MB JvmSs Thread stack size in KB StartImage Executable that will be run StartPath Working path for the start image executable StartClass Class that will be used for startup StartParams List of parameters that will be passed to either StartImage or StartClass Parameters are separated using either or character StartMethod Main Method name if differs then main StartMode executable Can one of jvm java or exe StopImage Executable that will be run on Stop service signal StopPath Working path for the stop image executable StopClass Class that will be used on Stop service signal StopParams List of parameters that will be passed to either StopImage or StopClass Parameters are separated using either or character StopMethod Main Method name if differs then main StopMode executable Can one of jvm java or exe StopTimeout No Timeout Defines the timeout in seconds that procrun waits for service to exit gracefully LogPath working path Defines the path for logging LogPrefix jakarta service Defines the service log filename LogLevel INFO Defines the logging level and can be either error info warn or debug StdOutput Redirected stdout filename StdError Redirected stderr filename Installing services The safest way to manually install the service is to use the provided service bat script Administrator privileges are required

    Original URL path: http://ticket.eppa.es/docs/windows-service-howto.html (2015-09-25)
    Open archived version from archive

  • Apache Tomcat 7 (7.0.22) - Windows Authentication How-To
    the Tomcat server In this how to this user is called tc01 and has a password of tc01pass Map the service principal name SPN to the user account SPNs take the form service class host port service name The SPN used in this how to is HTTP win tc01 dev local To map the user to the SPN run the following setspn A HTTP win tc01 dev local tc01 Generate the keytab file that the Tomcat server will use to authenticate itself to the domain controller This file contains the Tomcat private key for the service provider account and should be protected accordingly To generate the file run the following command all on a single line ktpass out c tomcat keytab mapuser tc01 DEV LOCAL princ HTTP win tc01 dev local DEV LOCAL pass tc01pass kvno 0 Create a domain user to be used on the client In this how to the domain user is test with a password of testpass The above steps have been tested on a domain controller running Windows Server 2008 R2 64 bit Standard using the Windows Server 2003 functional level for both the forest and the domain Tomcat instance These steps assume that Tomcat and a Java 6 JDK JRE have already been installed and configured and that Tomcat is running as the tc01 DEV LOCAL user The steps to configure the Tomcat instance for Windows authentication are as follows Copy the tomcat keytab file created on the domain controller to CATALINA BASE conf tomcat keytab Create the kerberos configuration file CATALINA BASE conf krb5 ini The file used in this how to contained libdefaults default realm DEV LOCAL default keytab name FILE c apache tomcat 7 0 x conf tomcat keytab default tkt enctypes rc4 hmac aes256 cts hmac sha1 96 aes128 cts hmac sha1 96 default tgs enctypes rc4 hmac aes256 cts hmac sha1 96 aes128 cts hmac sha1 96 forwardable true realms DEV LOCAL kdc win dc01 dev local 88 domain realm dev local DEV LOCAL dev local DEV LOCAL The location of this file can be changed by setting the java security krb5 conf systm property Create the JAAS login configuration file CATALINA BASE conf jaas conf The file used in this how to contained com sun security jgss krb5 initiate com sun security auth module Krb5LoginModule required doNotPrompt true principal HTTP win tc01 dev local DEV LOCAL useKeyTab true keyTab c apache tomcat 7 0 x conf tomcat keytab storeKey true com sun security jgss krb5 accept com sun security auth module Krb5LoginModule required doNotPrompt true principal HTTP win tc01 dev local DEV LOCAL useKeyTab true keyTab c apache tomcat 7 0 x conf tomcat keytab storeKey true The location of this file can be changed by setting the java security auth login config system property The LoginModule used is a JVM specific one so ensure that the LoginModule specified matches the JVM being used The name of the login configuration must match the value used by the authentication

    Original URL path: http://ticket.eppa.es/docs/windows-auth-howto.html (2015-09-25)
    Open archived version from archive

  • Apache Tomcat 7 (7.0.22) - The Tomcat JDBC Connection Pool
    SELECT 1 mysql select 1 from dual oracle SELECT 1 MS Sql Server validatorClassName String The name of a class which implements the org apache tomcat jdbc pool Validator interface and provides a no arg constructor may be implicit If specified the class will be used to create a Validator instance which is then used instead of any validation query to validate connections The default value is null An example value is com mycompany project SimpleValidator timeBetweenEvictionRunsMillis int The number of milliseconds to sleep between runs of the idle connection validation cleaner thread This value should not be set under 1 second It dictates how often we check for idle abandoned connections and how often we validate idle connections The default value is 5000 5 seconds numTestsPerEvictionRun int Property not used in tomcat jdbc pool minEvictableIdleTimeMillis int The minimum amount of time an object may sit idle in the pool before it is eligible for eviction The default value is 60000 60 seconds accessToUnderlyingConnectionAllowed boolean Property not used Access can be achieved by calling unwrap on the pooled connection see javax sql DataSource interface or call getConnection through reflection or or cast the object as javax sql PooledConnection removeAbandoned boolean Flag to remove abandoned connections if they exceed the removeAbandonedTimout If set to true a connection is considered abandoned and eligible for removal if it has been in use longer than the removeAbandonedTimeout Setting this to true can recover db connections from applications that fail to close a connection See also logAbandoned The default value is false removeAbandonedTimeout int Timeout in seconds before an abandoned in use connection can be removed The default value is 60 60 seconds The value should be set to the longest running query your applications might have logAbandoned boolean Flag to log stack traces for application code which abandoned a Connection Logging of abandoned Connections adds overhead for every Connection borrow because a stack trace has to be generated The default value is false connectionProperties String The connection properties that will be sent to our JDBC driver when establishing new connections Format of the string must be propertyName property NOTE The user and password properties will be passed explicitly so they do not need to be included here The default value is null poolPreparedStatements boolean Property not used The default value is false maxOpenPreparedStatements int Property not used The default value is false Tomcat JDBC Enhanced Attributes Attribute Description initSQL String A custom query to be run when a connection is first created The default value is null jdbcInterceptors String A semicolon separated list of classnames extending org apache tomcat jdbc pool JdbcInterceptor class These interceptors will be inserted as an interceptor into the chain of operations on a java sql Connection object The default value is null Predefined interceptors org apache tomcat jdbc pool interceptor ConnectionState keeps track of auto commit read only catalog and transaction isolation level org apache tomcat jdbc pool interceptor StatementFinalizer keeps track of opened statements and closes them when the connection is returned to the pool validationInterval long avoid excess validation only run validation at most at this frequency time in milliseconds If a connection is due for validation but has been validated previously within this interval it will not be validated again The default value is 30000 30 seconds jmxEnabled boolean Register the pool with JMX or not The default value is true fairQueue boolean Set to true if you wish that calls to getConnection should be treated fairly in a true FIFO fashion This uses the org apache tomcat jdbc pool FairBlockingQueue implementation for the list of the idle connections The default value is true This flag is required when you want to use asynchronous connection retrieval Setting this flag ensures that threads receive connections in the order they arrive During performance tests there is a very large difference in how locks and lock waiting is implemented When fairQueue true there is a decision making process based on what operating system the system is running If the system is running on Linux property os name Linux To disable this Linux specific behavior and still use the fair queue simply add the property org apache tomcat jdbc pool FairBlockingQueue ignoreOS true to your system properties before the connection pool classes are loaded abandonWhenPercentageFull int Connections that have been abandoned timed out wont get closed and reported up unless the number of connections in use are above the percentage defined by abandonWhenPercentageFull The value should be between 0 100 The default value is 0 which implies that connections are eligible for closure as soon as removeAbandonedTimeout has been reached maxAge long Time in milliseconds to keep this connection When a connection is returned to the pool the pool will check to see if the now time when connected maxAge has been reached and if so it closes the connection rather than returning it to the pool The default value is 0 which implies that connections will be left open and no age check will be done upon returning the connection to the pool useEquals boolean Set to true if you wish the ProxyConnection class to use String equals and set to false when you wish to use when comparing method names This property does not apply to added interceptors as those are configured individually The default value is true suspectTimeout int Timeout value in seconds Default value is 0 Similar to to the removeAbandonedTimeout value but instead of treating the connection as abandoned and potentially closing the connection this simply logs the warning if logAbandoned is set to true If this value is equal or less than 0 no suspect checking will be performed Suspect checking only takes place if the timeout value is larger than 0 and the connection was not abandoned or if abandon check is disabled If a connection is suspect a WARN message gets logged and a JMX notification gets sent once alternateUsernameAllowed boolean By default the jdbc pool will ignore the DataSource getConnection username

    Original URL path: http://ticket.eppa.es/docs/jdbc-pool.html (2015-09-25)
    Open archived version from archive

  • API docs
    The Servlet Javadoc is not installed by default Download and install the fulldocs package to get it You can also access the javadoc online in the Tomcat documentation bundle

    Original URL path: http://ticket.eppa.es/docs/servletapi/index.html (2015-09-25)
    Open archived version from archive

  • API docs
    The JSP Javadoc is not installed by default Download and install the fulldocs package to get it You can also access the javadoc online in the Tomcat documentation bundle

    Original URL path: http://ticket.eppa.es/docs/jspapi/index.html (2015-09-25)
    Open archived version from archive

  • API docs
    The EL Javadoc is not installed by default Download and install the fulldocs package to get it You can also access the javadoc online in the Tomcat documentation bundle

    Original URL path: http://ticket.eppa.es/docs/elapi/index.html (2015-09-25)
    Open archived version from archive