01:21.45 | *** join/#tomcat BW^- (~Miranda@5-15-168-222.residential.rdsnet.ro) |
01:21.46 | BW^- | I have a URI path unicode-urlencoding query, what's a suitable channel for addressing it? |
01:42.22 | nbf | [A |
01:44.21 | *** join/#tomcat geoffl (~chatzilla@c-76-30-199-88.hsd1.tx.comcast.net) |
01:49.51 | *** join/#tomcat geoffl (~chatzilla@c-76-30-199-88.hsd1.tx.comcast.net) |
03:13.38 | *** join/#tomcat awc737 (~awc737@2604:180:1::e9e7:263f) |
03:20.28 | *** join/#tomcat acidjnk22 (havenone@p4FDFC24E.dip0.t-ipconnect.de) |
03:34.59 | *** join/#tomcat geoffl (~chatzilla@c-76-30-199-88.hsd1.tx.comcast.net) |
03:51.38 | *** join/#tomcat sareuon (~chatzilla@36.37.238.129) |
04:53.57 | *** join/#tomcat _BJfreeman (~bjfree@149.sub-75-233-54.myvzw.com) |
05:41.43 | *** join/#tomcat mturk (~mturk@141-136-188-41.dsl.iskon.hr) |
05:41.43 | *** join/#tomcat mturk (~mturk@redhat/jboss/mturk) |
05:50.42 | *** join/#tomcat rjung (~chatzilla@pD9E8036D.dip0.t-ipconnect.de) |
06:05.56 | *** join/#tomcat papegaaij (~papegaaij@topicus-leeuwenbrug-33-deventer.xs4all.nl) |
06:25.11 | *** join/#tomcat chkal (~chkal@217.194.235.13) |
07:08.40 | *** join/#tomcat alcir (~alcir@fw.ftgm.it) |
08:52.42 | *** join/#tomcat melwyn (~cf@156-229.196-178.cust.bluewin.ch) |
08:55.00 | melwyn | hey folks.. basic question: if i stop the tomcat, remove the example.war file and restart the tomcat, the remaining folder "example" should be deleted, right? if i remove it with tomcat running, the folder "example" gets deleted. |
09:10.23 | *** part/#tomcat pirx_ (~akol@mlmfw1-ws.tactel.se) |
10:20.24 | *** join/#tomcat mturk (~mturk@141-136-188-41.dsl.iskon.hr) |
10:20.25 | *** join/#tomcat mturk (~mturk@redhat/jboss/mturk) |
11:28.45 | *** part/#tomcat melwyn (~cf@156-229.196-178.cust.bluewin.ch) |
11:46.54 | *** join/#tomcat rjung (~chatzilla@p508808EE.dip0.t-ipconnect.de) |
12:23.35 | *** join/#tomcat rjung (~chatzilla@p508808EE.dip0.t-ipconnect.de) |
12:46.10 | *** join/#tomcat Canna (4df2cae5@gateway/web/freenode/ip.77.242.202.229) |
13:17.39 | *** join/#tomcat Canna (4df2cae5@gateway/web/freenode/ip.77.242.202.229) |
14:02.22 | *** join/#tomcat rjung (~chatzilla@p508808EE.dip0.t-ipconnect.de) |
14:22.33 | *** join/#tomcat Aristide (~florian@ip-39.net-81-220-247.rev.numericable.fr) |
15:18.49 | *** join/#tomcat jieryn (~jieryn@jenkins/developer/jieryn) |
16:03.12 | *** join/#tomcat _BJfreeman (~bjfree@150.sub-75-196-75.myvzw.com) |
16:21.22 | *** join/#tomcat rjung (~chatzilla@pD9E8036D.dip0.t-ipconnect.de) |
16:57.58 | *** join/#tomcat robottinosino (~robottino@254.Red-81-43-133.staticIP.rima-tde.net) |
17:53.57 | *** join/#tomcat robottinosino (~robottino@254.Red-81-43-133.staticIP.rima-tde.net) |
18:54.27 | *** join/#tomcat hikot (~hiltontok@87-194-60-217.bethere.co.uk) |
19:03.19 | *** join/#tomcat bkfitz (~bkfitz@119.sub-70-193-14.myvzw.com) |
20:17.56 | *** join/#tomcat beber_ (~beber_@2a01:e35:2422:da50:941:20:1:136) |
20:17.58 | beber_ | Hi, |
20:18.43 | beber_ | I'm trying to use log4j instead of juli to be able to send log via syslog instead of flat file for centralisation purpose |
20:18.52 | beber_ | but at the moment this is not working |
20:20.22 | beber_ | I'm using java 1.7.0_17, tomcat 7.0.32, log4j 1.2.16 and commons-logging 1.1.1 |
20:20.43 | beber_ | neither log4j neither juli is logging anymore |
20:21.26 | beber_ | but I can see with strace that java does not read log4j.properties |
20:21.57 | beber_ | java is started like this : |
20:22.05 | beber_ | java -DJENKINS_HOME=/srv/jenkins -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/var/lib/tomcat-7-jenkins/conf/logging.properties -Dcatalina.base=/var/lib/tomcat-7-jenkins -Dcatalina.home=/usr/share/tomcat-7 -Djava.io.tmpdir=/srv/jenkins/tmp -classpath /usr/share/tomcat-7/bin/bootstrap.jar:/usr/share/tomcat-7/bin/tomcat-juli.jar:/usr/share/tomcat-7/lib/an |
20:22.05 | beber_ | notations-api.jar:/usr/share/tomcat-7/lib/catalina-ant.jar:/usr/share/tomcat-7/lib/catalina-ha.jar:/usr/share/tomcat-7/lib/catalina-tribes.jar:/usr/share/tomcat-7/lib/catalina.jar:/usr/share/tomcat-7/lib/jasper-el.jar:/usr/share/tomcat-7/lib/jasper.jar:/usr/share/tomcat-7/lib/tomcat-api.jar:/usr/share/tomcat-7/lib/tomcat-coyote.jar:/usr/share/tomcat-7/lib/tomcat-i18n-es.jar:/usr/share/tomcat-7/lib/tomcat- |
20:22.05 | beber_ | i18n-fr.jar:/usr/share/tomcat-7/lib/tomcat-i18n-ja.jar:/usr/share/tomcat-7/lib/tomcat-jdbc.jar:/usr/share/tomcat-7/lib/tomcat-util.jar:/usr/share/eclipse-ecj-3.7/lib/ecj.jar:/usr/share/tomcat-servlet-api-3.0/lib/el-api.jar:/usr/share/tomcat-servlet-api-3.0/lib/jsp-api.jar:/usr/share/tomcat-servlet-api-3.0/lib/servlet-api.jar:/usr/share/commons-logging/lib/commons-logging.jar:/usr/share/commons-logging/lib |
20:22.11 | beber_ | /commons-logging-api.jar:/usr/share/commons-logging/lib/commons-logging-adapters.jar:/usr/share/log4j/lib/log4j.jar org.apache.catalina.startup.Bootstrap start |
20:22.13 | beber_ | What am I missing ? |
20:22.16 | beber_ | how to debug this ? |
20:25.52 | whartung | did you follow this? http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j |
20:26.48 | beber_ | yes |
20:27.05 | beber_ | but I don't find this documentation really clear |
20:27.33 | whartung | what parts |
20:28.11 | beber_ | the missing part that tell how I should start java |
20:28.22 | beber_ | :) |
20:28.56 | whartung | eh? |
20:29.25 | beber_ | I imagine that I need to change something on the command line |
20:29.31 | whartung | no, not really |
20:29.38 | whartung | (mind Ive never done this myself) |
20:29.48 | whartung | but not according to the procedure |
20:29.59 | beber_ | exactly |
20:30.11 | beber_ | but I don't know how to debug it :/ |
20:38.12 | whartung | have you confirmed that you did each of the steps? |
20:38.19 | whartung | and checked your work> |
20:38.21 | whartung | ? |
20:41.04 | medthomas | beber_: You are following the Tomcat 6 but using Tomcat 7. They are broadly the same but there could be subtle differences. |
20:41.53 | medthomas | Also, why are you adding commons-logging JARs? Where in the Tomcat docs does it say to add them? |
20:42.03 | medthomas | (Hint - it doesn't) |
20:48.11 | beber_ | whartung> I'm used to check which some clean and simple things like strace and logs, not repeating the same exact thing twice or more |
20:48.23 | beber_ | medthomas> yes, I used doc related to 7.0 |
20:48.53 | beber_ | I used commons-logging as it was reported on some page related to tomcat and gentoo |
20:49.02 | beber_ | http://wiki.elvanor.net/index.php/Tomcat_administration#Internal_logging |
20:49.15 | beber_ | I can live without |
20:49.25 | beber_ | And I'd like to |
20:49.25 | whartung | but beber_ either the procedure is wrong, and you're SOL, or it's correct and you did it wrong. So what easier way to check hypothesis 2 than to confirm you follow the 7, simple steps? |
20:49.41 | beber_ | what does mean sol ? |
20:49.51 | *** join/#tomcat Quest (~syncsys@182.180.108.45) |
20:49.51 | whartung | "out of luck" |
20:49.56 | beber_ | thanks |
20:50.06 | Quest | just in case some one has experience with java. or has some vission. Is it possible to control mouse and keyboard events (by a web page made in jsp / servlets) of a computer that is running a java based desktop application? |
20:50.26 | beber_ | whartung> I can recheck of course |
20:50.43 | beber_ | I was more coming here to get some hint to debug it :) |
20:50.44 | whartung | that seems the most expeditious path to take |
21:07.46 | *** join/#tomcat Guest11567 (~franck@tibco-5.tibco.com) |
21:10.13 | *** join/#tomcat Quest (~syncsys@182.180.108.45) |
21:17.29 | Quest | <PROTECTED> |
21:33.02 | *** join/#tomcat Guest11567 (~franck@tibco-5.tibco.com) |
21:36.54 | *** join/#tomcat rjung (~chatzilla@pD9E8036D.dip0.t-ipconnect.de) |
21:38.06 | *** join/#tomcat ph8 (~ph8@griffin.orion-hosting.co.uk) |
22:03.47 | *** join/#tomcat Guest11567 (~franck@tibco-5.tibco.com) |
22:33.47 | *** join/#tomcat brucelee_ (~peter@69-12-252-50.dedicated.static.sonic.net) |
22:34.21 | brucelee_ | anyone know why i edit my tomcat's server.xml to 8443 but when i start up tomcat, it doesn't start up 8443. it's almost as if all changes i've done to server.xml is ignored |
22:34.36 | brucelee_ | how do i know if im even editting the right server.xml, i did a search on the entire disk, and theres only 1 server.xml |
22:34.50 | brucelee_ | i made sure i removed the config comments <!-- and --> |
22:35.14 | brucelee_ | doesn't even give me errors when starting up that the keystore is messed up or anything, it just bypasses 8443 connector port loading completely |
22:35.20 | brucelee_ | anyone have any ideas? |
22:35.50 | whartung | which tomcat which os? |
22:36.19 | brucelee_ | centos 6.4, tomcat v7 |
22:36.47 | whartung | how did you install tomcat? |
22:36.57 | whartung | where is server.xml? |
22:38.23 | brucelee_ | whartung: i basically just untarred it to a path |
22:38.34 | brucelee_ | its /usr/local/gear/apache-tomcat-7.0.35/ |
22:38.46 | brucelee_ | and the server.xml is inside the conf subdirectory of that path |
22:38.51 | whartung | right ok |
22:38.56 | brucelee_ | /usr/local/gear/apache-tomcat-7.0.35/conf/server.xml |
22:39.10 | whartung | and you start it by using bin/startup.sh? or … what? |
22:39.19 | brucelee_ | whartung: yeah exactly |
22:39.22 | brucelee_ | bin/startup.sh |
22:39.45 | whartung | so how did you stop it? |
22:40.03 | brucelee_ | when i stop it i use kill -9 <pid> |
22:40.04 | brucelee_ | :P |
22:40.13 | whartung | ok |
22:40.23 | brucelee_ | https://s3.amazonaws.com/uploads.hipchat.com/22670/122574/ty80tftm9rxmtyj/upload.png |
22:40.28 | brucelee_ | thats how my ps aux | grep java looks |
22:40.30 | whartung | there is also shutdown.sh, it's a bit more elegant |
22:40.36 | brucelee_ | whartung: ill use that next time |
22:40.50 | brucelee_ | i cant see how that would affect it not loading server.xml tho |
22:40.55 | whartung | thats what it looks like now? |
22:40.58 | brucelee_ | yeah |
22:40.59 | brucelee_ | right now |
22:41.04 | brucelee_ | i havent stopped it yet |
22:41.07 | whartung | kill it again :) |
22:41.14 | brucelee_ | ok let me kill it using kill -9 |
22:41.27 | brucelee_ | k killed |
22:41.46 | brucelee_ | ps aux | grep java doesnt return anything now |
22:43.06 | whartung | ok sec |
22:44.57 | brucelee_ | how my config looks : https://s3.amazonaws.com/uploads.hipchat.com/22670/122574/bkcx56bes3ios2j/upload.png |
22:45.07 | brucelee_ | i cut off the keystorepass part, but it ends gramatically correct :P |
22:45.09 | brucelee_ | with > |
22:45.32 | brucelee_ | thats the server.xml btw |
22:45.54 | whartung | so go to bin |
22:45.55 | whartung | and do |
22:45.58 | whartung | ./catalina.sh run |
22:46.04 | brucelee_ | ok |
22:46.05 | whartung | that'll spam the log to stdout |
22:46.12 | whartung | see if you see anything telling |
22:46.51 | brucelee_ | ahhh |
22:46.52 | brucelee_ | i see it |
22:47.22 | brucelee_ | keystore problem :P |
22:47.27 | whartung | you can just ^C to stop it |
22:47.30 | whartung | yea ok |
22:48.00 | brucelee_ | keystore permission is rw/r/r |
22:48.11 | brucelee_ | ohh i didnt supply an alias |
22:48.13 | brucelee_ | :/ |
22:48.23 | whartung | YOU FOOL! YOU'LL KILL US ALL! |
22:48.30 | brucelee_ | love you whartung :) |
22:49.55 | brucelee_ | keeps saying keystore was tampered with or password was incorrect |
22:50.14 | whartung | humbug |
22:50.28 | whartung | keystones are not my forte |
22:50.52 | whartung | k e y s t o r e s |
22:51.00 | whartung | autocorrect hates me |
22:51.58 | brucelee_ | hmm i was able to run this command earlier /usr/local/gear/jdk1.7.0_11/bin/keytool -list -keystore gearshost |
22:52.01 | brucelee_ | and it displayed something |
22:52.08 | brucelee_ | now it just gives me java.lang.Exception: keystore file does not exist: gearshost |
22:52.22 | brucelee_ | copied and paste straight from 'history' |
22:52.29 | whartung | is that the file name? not gearshots.jks or something? |
22:52.39 | brucelee_ | the filename is /root/.keystore |
22:53.05 | whartung | then don't specify the -keystore (assuming /root is your $HOME) |
22:53.32 | brucelee_ | weird |
22:53.41 | brucelee_ | now i cant even get in with the keystore password |
22:53.46 | brucelee_ | i pointed it to /root/.keystore |
22:54.26 | brucelee_ | hmm ill generate a new one |
22:55.07 | whartung | okeis |
22:56.45 | brucelee_ | im reading this doc but im still kind of confused |
22:56.53 | brucelee_ | i downloaded my cert from godaddy |
22:57.01 | whartung | welcome to keystores |
22:57.03 | brucelee_ | im not sure what format its in, how do i determine> |
22:57.04 | brucelee_ | ? |
22:57.13 | whartung | it's likely in DER |
22:57.19 | brucelee_ | and depending on what format it is, the only way it will work when importing into the keystore, is if its in JKS format right? |
22:57.22 | whartung | if you can see it in ascii it's DER (I think) |
22:57.34 | brucelee_ | whartung: ok |
22:57.50 | brucelee_ | and i can just import that file, as is, using keytool? |
22:58.01 | whartung | Unfortunately, keystone and cert stuff is like Perl…I understand it when I do it, but then I forget everything about it a week later. |
22:58.15 | brucelee_ | whartung: exactly my prob :( |
22:59.02 | whartung | http://support.godaddy.com/help/article/5239/generating-a-csr-and-installing-an-ssl-certificate-in-tomcat-4x5x6x |
22:59.10 | whartung | dunno if its' actually accurate :) |
23:19.00 | brucelee_ | thanks whartung |
23:19.07 | whartung | does it work? |
23:54.16 | *** join/#tomcat Quest (~syncsys@175.110.58.207) |