Tag Info

New answers tagged

0

I think that you dont need redirect any. Can edit server.xml to create 2 connectors.... fe. <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" /> <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" ...


0

If not present. It's generated by mod_jk (tomcat module for apache - called also jakarta via Apache which runs Tomcat https://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s81 ) Using text editor Apache calls module mod_jk which is the tomcat itself Configure workers in Tomcat configuration file called workers.properties as in point # 4


1

I found this article which seems pretty similar to your problem: http://willwarren.com/2014/01/27/running-apache-tomcat-with-ssl-behind-amazon-elb/ Basically states on changing server.xml to this: <Connector port="8080" protocol="HTTP/1.1" proxyPort="443" scheme="https" secure="true" proxyName="myapp.example.com" ...


0

I ran into the problem that when starting a second application, the first one begins to crash. You did not mention any system specifications of your VPS. For me this sounds like you're running out of memory. Do you mean that when the application crashes, the JVM is not shown in the process list anymore? You should check the output of dmesg to see if the ...


1

I came across this same error recently. Our solution was to add: SSLProxyProtocol all -SSLv2 -SSLv3 This matches our SSLProtocol parameter in our ssl.conf file. We also had Tomcat setup to disable SSLv3 as well.


0

Finally able to solve this issue. I was using proxy-server which was causing the problem. Created an exception for my server IP (where the tomcat application resides), to not use proxy-server and ALL Worked!


0

If this is a Red Hat or similar system, have a look in /var/run/subsys/SERVICE or /var/lock/subsys/SERVICE (something like that; I don't have handy access to a machine right this minute). Delete that and it should start correctly. FWIW, this is also a common fault in init-scripts, where it doesn't touch this lock file at start-time. If the file doesn't ...


0

At the moment I'm using apache as reverse proxy and 5 jira instances. <VirtualHost *:80> ServerName jira1.example.net ProxyTimeout 300 ProxyRequests Off ProxyPreserveHost On <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / ...


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 ...


0

The problem was the mod_jk version. I compiled it from the latest version of Tomcat Connectors (1.2.40). Then I tried to compile it with a lower version of T. C. (1.2.35) and it worked.


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

You can install tomcat without dpkg. Also which folder you want. Some googling can help. After that make multipart conf in web.xml.


0

By default Tomcat logs are in /var/log/tomcat? and /var/lib/tomcat7/logs usually points to there. As root, you may check them by: tail -f /var/log/tomcat7/*.log /var/log/tomcat7/*.txt /var/log/tomcat7/*.out If you still have any issues, try finding them via: sudo lsof | grep -E "java.*(out|txt|log)$"


0

HTTP Status 403 (Access to the requested resource has been denied) can indicate that either you typed 3+ incorrect credentials (try another web-browser) or you've some problem with configuration. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation (locate tomcat-users.xml). That file must ...


0

As stated in the Tomcat Doc the startup.shshould not be adjusted but a setenv.sh be created which is expected in the directory "bin" of your tomcat installation. There you can use the shell commands as usual.


0

You can just change the target of the existing symbolic link under /tomcat/webapps using the command: ln -sf NEW_TARGET.war CURRENT.war


0

You can disable the session persistence via the context configuration as stated in Apache Tomcat Configuration Reference: Disable Session Persistence As documented above, every web application by default has standard manager implementation configured, and it performs session persistence across restarts. To disable this persistence feature, ...


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 ...


0

Maybe SELINUX is blocking the Tomcat process to start listening on port 54321. To check if this is the case, issue the command setenforce 0, restart tomcat, and re-try to connect. For more information: http://wiki.centos.org/HowTos/SELinux If it not SELINUX related, try to connect to localhost issuing the command telnet 127.0.0.1 54321. If the telnet opens, ...


0

If you are sure that the ip address is working in your server then check the configuration for the HTTP connector in conf/server.xml inside the tomcat directory, there you can modify the ip address and the port where tomcat will listen, or you can add a new connector: <Connector port="8030" protocol="HTTP/1.1" address="10.60.80.5" ...


0

To make your Solr with Tomcat working properly, you need to: Copy the SLF4j logging jars from <solr>/example/lib/ext/*.jar into Tomcat Lib (e.g. TOMCAT_HOME/lib, /usr/share/tomcat/lib) or Webapp Lib directory (e.g. TOMCAT_HOME/webapps/solr/WEB-INF/lib). These jars will set up SLF4J and log4j. For a Debian or Ubuntu server using the Tomcat package ...



Top 50 recent answers are included