Tag Info

New answers tagged

0

You need to configure the issuer value inside the server-config.xml configuration file and set it to the final deployment path. This is mentioned in the server configuration documentation but could probably be worded more clearly: https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Server-configuration Essentially, the Java servlet ...


0

A supported version of Tomcat7 is available via the add-on entitlement for JBoss. Red Hat has stated that there will not be a Tomcat7 in the RHEL6 base channels. https://access.redhat.com/site/solutions/128503 RHN login is required to view.


2

In practice, simply apache2ctl graceful will gracefully restart apache process allowing it to load a new configuration Here for example, lets say you have in production www.v1 and dev in www.v2 <VirtualHost *:80> ServerName www.example.com DocumentRoot /var/www/vhosts/example.com/www.v1 [...] </VirtualHost> <VirtualHost ...


1

The answer can be seen from this bugzilla entry of the apache tomcat project: https://issues.apache.org/bugzilla/show_bug.cgi?id=56363 Affected versions are 1.1.24 until 1.1.29 (the last officially at the moment). For the versions since 1.1.23 (which was linked against openssl 1.0.0g) you find a VERSIONS file inside of the windows binary packages you can ...


0

I realize this is an old thread, but I thought I would share what I found to fix this problem... I had been having the exact same issue with my context.xml file for my desktop version of tomcat getting clobbered every time that I would deploy a new copy of the war file for my application. The problem was due to the fact that I was making changes to this ...


0

You can't "enforce" UTF-8 encoding on post operations, you rather have the ability to convert requests to UTF-8 by creating a servlet filter, for this check these links: http://www.javaservletsjspweb.in/2009/05/character-encoding-filter-java-servlets.html#.U0CQ46JqSMg http://dertompson.com/2007/01/29/encoding-filter-for-java-web-applications/


0

I eventually copied all the libraries under dist/solrj-lib (I am running on Linux) to /usr/share/tomcat7/lib. That got rid of the 503 error, but in addition I had to change the permissions on the $SOLR_HOME directory and sub-items to be owned by user and group tomcat7 and I had to edit the solr.xml file so I was left with only <solr/>. It's quite a ...


0

Monit is a good tool for this. It will monitor services or server status like Tomcat (or hard drive space etc) and it will restart them, send you an email etc according to what you put in a configuration file, being more powerful and flexible than a Bash script (which you may prefer for simplicity).


2

I ran into this today. In my case the cause was a stale pid file. Tomcat started fine after doing a rm /var/run/tomcat6.pid.


0

Most likely, the permissions of the /var/run dir as on my machine are: drwxr-xr-x 24 root root 740 Mar 22 11:48 run So this folder is only writable by root. Your script is switching to user tomcat before starting the service, so this won't work. The script should make use of a tool like start-stop-daemon which is able to tee out the PID file as ...


2

Problem The problem with the standard Tomcat shutdown script is that it is simply not tough enough. When you are using your distro's service scripts to stop Tomcat you'll eventually simply be calling Tomcat's own shutdown script. CentOS is no different in this respect. For this reason you need to be familiar with what Tomcat's shutdown script can do for you ...


1

I would first recommend that you do a crash course in Java and Tomcat. I can give you all sort of tips but in the end, you need to understand what you are doing to correctly administer a server. That said, you can't tell the JVM that it can use more memory than your machine has available. If your Xmx is already above 10Gb, maybe you can increase it (if your ...



Top 50 recent answers are included