Tag Info

Hot answers tagged

2

Tomcat 8 and 7 uses the Jasper 2 JSP Engine. One of changes was made in this version is: Background JSP compilation If you make a change to a JSP page which had already been compiled Jasper 2 can recompile that page in the background. The previously compiled JSP page will still be available to serve requests. Once the new page has been compiled ...


2

I see these in catalina.out for Tomcat 8; might be a matter of parsing this file for the right strings: 12-Mar-2015 11:20:11.411 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /app/java/jdk1.7.0_75/jre 12-Mar-2015 11:20:11.412 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: ...


1

This is certainly possible, but you'll use three different Tomcat containers. Each product can be run standalone. IIRC, something like this /.../crowd/bin/start_crowd.sh /.../jira/bin/start-jira.sh /.../confluence/bin/start-confluence.sh And you'll want, say, Apache httpd operating as a reverse-proxy. So /crowd points to your crowd port, /jira points to ...


1

FarmWarDeployer can be configured at host level cluster only. Cluster settings move into the <Host>...</Host>. It work for me. https://tomcat.apache.org/tomcat-7.0-doc/config/cluster-deployer.html


1

You can create your own Debian package and host it in your own repository. Projects like FPM (https://github.com/jordansissel/fpm) help a lot here. Another option is to retrieve the Solr tarball from the project website and manage a series of exec statements to extract it into the webapps directory in your Tomcat install.


1

The simplest way is to define exec, for example: exec { "solr-download": command => "/usr/bin/wget http://archive.apache.org/dist/lucene/solr/4.9.1/solr-4.9.1.tgz && /bin/tar -xf solr-4.9.1.tgz" cwd => "/opt", creates => "/opt/solr-4.9.1.tgz", } Or it can be implemented in classes as below (see: solr module): class solr ( ...


1

It seems that the catalina_base attribute it incorrect, i.e., the CATALINA_HOME has been defined instead of CATALINA_BASE. Change it to /var/lib/tomcat7 and run puppet again.


1

You have GC logging turned on, and it appears GC is working well. [ParNew: 1398632K->345K(1747648K), 0.0062240 secs] Indicates that about 1.2 GB of new objects were cleaned in less than 1/100th of a second. If this is occurring once every second, an application is creating a lot of short lived objects. Check the time stamps and see how often this ...



Only top voted, non community-wiki answers of a minimum length are eligible