IRC log for #tomcat on 20130523

01:21.45*** join/#tomcat BW^- (~Miranda@5-15-168-222.residential.rdsnet.ro)
01:21.46BW^-I have a URI  path unicode-urlencoding query, what's a suitable channel for addressing it?
01:42.22nbf[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.00melwynhey 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.58beber_Hi,
20:18.43beber_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.52beber_but at the moment this is not working
20:20.22beber_I'm using java 1.7.0_17, tomcat 7.0.32, log4j 1.2.16 and commons-logging 1.1.1
20:20.43beber_neither log4j neither juli is logging anymore
20:21.26beber_but I can see with strace that java does not read log4j.properties
20:21.57beber_java is started like this :
20:22.05beber_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.05beber_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.05beber_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.11beber_/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.13beber_What am I missing ?
20:22.16beber_how to debug this ?
20:25.52whartungdid you follow this? http://tomcat.apache.org/tomcat-6.0-doc/logging.html#Using_Log4j
20:26.48beber_yes
20:27.05beber_but I don't find this documentation really clear
20:27.33whartungwhat parts
20:28.11beber_the missing part that tell how I should start java
20:28.22beber_:)
20:28.56whartungeh?
20:29.25beber_I imagine that I need to change something on the command line
20:29.31whartungno, not really
20:29.38whartung(mind Ive never done this myself)
20:29.48whartungbut not according to the procedure
20:29.59beber_exactly
20:30.11beber_but I don't know how to debug it :/
20:38.12whartunghave you confirmed that you did each of the steps?
20:38.19whartungand checked your work>
20:38.21whartung?
20:41.04medthomasbeber_: You are following the Tomcat 6 but using Tomcat 7. They are broadly the same but there could be subtle differences.
20:41.53medthomasAlso, why are you adding commons-logging JARs? Where in the Tomcat docs does it say to add them?
20:42.03medthomas(Hint - it doesn't)
20:48.11beber_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.23beber_medthomas> yes, I used doc related to 7.0
20:48.53beber_I used commons-logging as it was reported on some page related to tomcat and gentoo
20:49.02beber_http://wiki.elvanor.net/index.php/Tomcat_administration#Internal_logging
20:49.15beber_I can live without
20:49.25beber_And I'd like to
20:49.25whartungbut 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.41beber_what does mean sol ?
20:49.51*** join/#tomcat Quest (~syncsys@182.180.108.45)
20:49.51whartung"out of luck"
20:49.56beber_thanks
20:50.06Questjust 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.26beber_whartung> I can recheck of course
20:50.43beber_I was more coming here to get some hint to debug it :)
20:50.44whartungthat 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.29Quest<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.21brucelee_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.36brucelee_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.50brucelee_i made sure i removed the config comments <!-- and -->
22:35.14brucelee_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.20brucelee_anyone have any ideas?
22:35.50whartungwhich tomcat which os?
22:36.19brucelee_centos 6.4, tomcat v7
22:36.47whartunghow did you install tomcat?
22:36.57whartungwhere is server.xml?
22:38.23brucelee_whartung: i basically just untarred it to a path
22:38.34brucelee_its /usr/local/gear/apache-tomcat-7.0.35/
22:38.46brucelee_and the server.xml is inside the conf subdirectory of that path
22:38.51whartungright ok
22:38.56brucelee_/usr/local/gear/apache-tomcat-7.0.35/conf/server.xml
22:39.10whartungand you start it by using bin/startup.sh? or … what?
22:39.19brucelee_whartung: yeah exactly
22:39.22brucelee_bin/startup.sh
22:39.45whartungso how did you stop it?
22:40.03brucelee_when i stop it i use kill -9 <pid>
22:40.04brucelee_:P
22:40.13whartungok
22:40.23brucelee_https://s3.amazonaws.com/uploads.hipchat.com/22670/122574/ty80tftm9rxmtyj/upload.png
22:40.28brucelee_thats how my ps aux | grep java looks
22:40.30whartungthere is also shutdown.sh, it's a bit more elegant
22:40.36brucelee_whartung: ill use that next time
22:40.50brucelee_i cant see how that would affect it not loading server.xml tho
22:40.55whartungthats what it looks like now?
22:40.58brucelee_yeah
22:40.59brucelee_right now
22:41.04brucelee_i havent stopped it yet
22:41.07whartungkill it again :)
22:41.14brucelee_ok let me kill it using kill -9
22:41.27brucelee_k killed
22:41.46brucelee_ps aux | grep java doesnt return anything now
22:43.06whartungok sec
22:44.57brucelee_how my config looks : https://s3.amazonaws.com/uploads.hipchat.com/22670/122574/bkcx56bes3ios2j/upload.png
22:45.07brucelee_i cut off the keystorepass part, but it ends gramatically correct :P
22:45.09brucelee_with >
22:45.32brucelee_thats the server.xml btw
22:45.54whartungso go to bin
22:45.55whartungand do
22:45.58whartung./catalina.sh run
22:46.04brucelee_ok
22:46.05whartungthat'll spam the log to stdout
22:46.12whartungsee if you see anything telling
22:46.51brucelee_ahhh
22:46.52brucelee_i see it
22:47.22brucelee_keystore problem :P
22:47.27whartungyou can just ^C to stop it
22:47.30whartungyea ok
22:48.00brucelee_keystore permission is rw/r/r
22:48.11brucelee_ohh i didnt supply an alias
22:48.13brucelee_:/
22:48.23whartungYOU FOOL! YOU'LL KILL US ALL!
22:48.30brucelee_love you whartung  :)
22:49.55brucelee_keeps saying keystore was tampered with or password was incorrect
22:50.14whartunghumbug
22:50.28whartungkeystones are not my forte
22:50.52whartungk e y s t o r e s
22:51.00whartungautocorrect hates me
22:51.58brucelee_hmm i was able to run this command earlier /usr/local/gear/jdk1.7.0_11/bin/keytool -list -keystore gearshost
22:52.01brucelee_and it displayed something
22:52.08brucelee_now it just gives me java.lang.Exception: keystore file does not exist: gearshost
22:52.22brucelee_copied and paste straight from 'history'
22:52.29whartungis that the file name? not gearshots.jks or something?
22:52.39brucelee_the filename is /root/.keystore
22:53.05whartungthen don't specify the -keystore (assuming /root is your $HOME)
22:53.32brucelee_weird
22:53.41brucelee_now i cant even get in with the keystore password
22:53.46brucelee_i pointed it to /root/.keystore
22:54.26brucelee_hmm ill generate a new one
22:55.07whartungokeis
22:56.45brucelee_im reading this doc but im still kind of confused
22:56.53brucelee_i downloaded my cert from godaddy
22:57.01whartungwelcome to keystores
22:57.03brucelee_im not sure what format its in, how do i determine>
22:57.04brucelee_?
22:57.13whartungit's likely in DER
22:57.19brucelee_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.22whartungif you can see it in ascii it's DER (I think)
22:57.34brucelee_whartung: ok
22:57.50brucelee_and i can just import that file, as is, using keytool?
22:58.01whartungUnfortunately, 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.15brucelee_whartung: exactly my prob :(
22:59.02whartunghttp://support.godaddy.com/help/article/5239/generating-a-csr-and-installing-an-ssl-certificate-in-tomcat-4x5x6x
22:59.10whartungdunno if its' actually accurate :)
23:19.00brucelee_thanks whartung
23:19.07whartungdoes it work?
23:54.16*** join/#tomcat Quest (~syncsys@175.110.58.207)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.