Unexpanded WAR and FileNotFoundException: META-INF/MANIFEST.MF

2014-07-23 Thread Арсений Зинченко
Hi. We have Tomcat with: Host name=localhost appBase=webapps unpackWARs=false autoDeploy=false deployOnStartup=true While startup I got ERROR in log: 14-07-22 15:13:01,551+0100 289 INFO [com.***.listener.PropertiesConfigListener]

Re: Unexpanded WAR and FileNotFoundException: META-INF/MANIFEST.MF

2014-07-23 Thread Арсений Зинченко
Hi, Chris. Thanks for replay. Biggest problem is that I'm not our application developer . 2014-07-23 17:26 GMT+03:00 Christopher Schultz ch...@christopherschultz.net : -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 7/23/14, 10:14 AM, Арсений Зинченко wrote: We have Tomcat

Tomcat autodeploy doesn't return actual files via HTTP

2014-06-03 Thread Арсений Зинченко
Hi. Faced with little bit odd behavior of Tomcat 7 Java 1.6. Old file is: $ curl http://localhost:8084First file I mean - *war-file* contains only one index.jsp page with text First page: $ jar tf ../app-application/APP.war META-INF/ META-INF/MANIFEST.MF index.jsp Tomcat's server.xml has

Tomcat 5.5 vs 7.0 SSL

2014-06-02 Thread Арсений Зинченко
Hi. Faced with very odd behavior of Tomcat 7... Have two instances on same box - Tomcat 5.5 and Tomcat 7. Both have same configuration - first from 5.5: Connector port=${port.https} maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75

CATALINA_PID != real PID

2014-05-23 Thread Арсений Зинченко
Hi, guys. I set: $ export CATALINA_PID=$CATALINA_HOME/conf/catalina.pid Started *Tomcat*: $ ./bin/startup.shUsing CATALINA_BASE: /home/tomcats/apache-tomcat-7.0.53Using CATALINA_HOME: /home/tomcats/apache-tomcat-7.0.53Using CATALINA_TMPDIR: /home/tomcats/apache-tomcat-7.0.53/tempUsing

Re: CATALINA_PID != real PID

2014-05-23 Thread Арсений Зинченко
Hi, Leon. Thanks for replay. Don't know why - but now it works good :-)

Re: where find documentation

2014-05-16 Thread Арсений Зинченко
I used this one: http://wiki.metawerx.net/wiki/Web.xml 2014-05-15 16:05 GMT+03:00 Francesco Viscomi fvisc...@gmail.com: Hi all, i'm try to find a documentation that describe every tag inside the web.xml file, but i wasn't able to find anything about that on

Re: How to monitor performance of tomcat

2014-04-08 Thread Арсений Зинченко
Hi. We use JavaMelody for moment performance checks on test box and Zabbix monitoring system to have whole history. Zabbix can use JMX connection to Tomcat instance and have set of included teamplates, for example - number of threads, current memory usage, gzip usage and so on. Main virtue of

Tomcat log4j vs MySQL

2014-04-07 Thread Арсений Зинченко
Hi. Question are not exactly about Tomcat - but I hope somebody can help with it. So - we have Tomcat running. Apllication in it use log4j to write logs. log4j configured to use syslogd daemon and syslogd uses MySQL to store logs. Problem is that when we have any error in log - it writes it

Add certificate without Tomcat restart

2014-03-03 Thread Арсений Зинченко
Hi. We have two-side authentification on our Tomcat: keystoreFile=/home/someuser/apache-tomcat-5.5.23/conf/.ssl/somealias.jks keyAlias=somealias keystorePass=somepass truststoreFile=/home/someuser/apache-tomcat-5.5.23/conf/.ssl/trustcacerts.jks

Using different SSL-connector settings for various Context

2014-02-04 Thread Арсений Зинченко
Hi. Task is - have ability to use HTTP/HTTPS without clientAuth for ROOT, but enable two-factor auth (clientAuth=true and using trustedstore.jks) for other Context. Can somebody please any tips?

Re: Using different SSL-connector settings for various Context

2014-02-04 Thread Арсений Зинченко
don't see any possibility to make with any other Context optionshttp://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Context_Parameters... 2014-02-04 André Warnier a...@ice-sa.com: Арсений Зинченко wrote: Hi. Task is - have ability to use HTTP/HTTPS without clientAuth for ROOT

Re: Using different SSL-connector settings for various Context

2014-02-04 Thread Арсений Зинченко
easier to read that way. See below. 2014-02-04 André Warnier a...@ice-sa.com: Арсений Зинченко wrote: Hi. Task is - have ability to use HTTP/HTTPS without clientAuth for ROOT, but enable two-factor auth (clientAuth=true and using trustedstore.jks) for other Context. Can somebody

Tomcat SSL: two issues

2014-01-31 Thread Арсений Зинченко
Hi, people. We have Tomcat with two factor authentication when access to /some/pagerequested. Auth configured with JDBCRealm Oracle database: Realm className=org.apache.catalina.realm.JDBCRealm driverName=oracle.jdbc.driver.OracleDriver ... SSL-connector: Connector

Re: Tomcat SSL: two issues

2014-01-31 Thread Арсений Зинченко
with Chrome browser. P.S. Sorry for errors\typos and thanks for tips :-) 2014-01-31 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 1/31/14, 5:15 AM, Арсений Зинченко wrote: We have Tomcat with two factor authentication when

Re: ssl without keystorePass in open text in server.xml

2014-01-30 Thread Арсений Зинченко
Why are plain text passwords in the config files? Because there is no good way to secure them. When Tomcat needs to connect to a database, it needs the original password. While the password could be encoded, there still needs to be a mechanism to decode it. And since the source to Tomcat is freely

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Арсений Зинченко
another memory perametrs. So, if I correctly understood - for me better solution will be: 1) set CATALINA_OPTS with Xmx4G etc - in /bin/setenv.bat; 2) set JAVA_OPTS with Xmx1G etc - as system variable. Yep? 2014/1/28 André Warnier a...@ice-sa.com Арсений Зинченко wrote: OK, thanks - I'll

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-28 Thread Арсений Зинченко
Thanks for your replay, Neven. Eventually - I decided to heed advices and remove JAVA_OPTS at all. So - now using only CATALINA_OPTS in /bin/setenv.bat. 2014/1/28 Neven Cvetkovic neven.cvetko...@gmail.com On Tue, Jan 28, 2014 at 4:00 AM, Арсений Зинченко setev...@gmail.com wrote: About

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
running as a service and that’s going to be a bit different No, Tomcat started via command line (rather - from .bat script wich call %catalina_home%/bin/startup.bat). 2014/1/27 Daniel Mikusa dmik...@gopivotal.com On Jan 27, 2014, at 9:21 AM, Арсений Зинченко setev...@gmail.com wrote: Hi. I'm

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
be used JAVA_OPTS too? https://plus.google.com/u/0/113253806461878935497?prsrc=4 2014/1/27 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Арсений, On 1/27/14, 9:21 AM, Арсений Зинченко wrote: We have a little dispute with my colleague

JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
Hi. I'm sorry for so kindly question - but needs experts advice... We have a little dispute with my colleague about using this variables. So: have Windows-box machine. On it - runing few different Java-application, including Tomcat. Needs to set memory for Tomcat other, than for all other

Re: JAVA_OPTS vs CATALINA_OPTS

2014-01-27 Thread Арсений Зинченко
MESSAGE- Hash: SHA256 Арсений, On 1/27/14, 10:58 AM, Арсений Зинченко wrote: Thanks, Christopher. OK, what about next: Set JAVA_OPTS as system variable (for all other applications); and create setenv.bat in /bin/ directory with CATALINA_OPTS whith Xmx/Xms for Tomcat

Tomcat JBDCRealm with Oracle DB

2013-12-16 Thread Арсений Зинченко
Hi. I configured two JDBCRealm's - for MySQL and Oracle databases. Both DB have same tables with same content: mysql show tables; +--+ | Tables_in_tmc_access | +--+ | user_roles | | users| +--+ mysql desc

Re: Tomcat JBDCRealm with Oracle DB

2013-12-16 Thread Арсений Зинченко
No errors, but I already found problem cause - forgot run `commit` in SQLPLUS after added rows with usernamerole. :-( Thanks for replay. 2013/12/16 André Warnier a...@ice-sa.com Арсений Зинченко wrote: Hi. I configured two JDBCRealm's - for MySQL and Oracle databases. Both DB have same