IRC log for #tomcat on 20120401

01:35.43*** join/#tomcat MHSL (MHSL@cm121.sigma136.maxonline.com.sg)
02:06.40*** join/#tomcat eichi_ (~eichi@p3EE03DA8.dip.t-dialin.net)
02:32.32*** join/#tomcat clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net)
02:46.52*** join/#tomcat clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net)
03:44.33*** join/#tomcat len (~quassel@184-97-179-224.mpls.qwest.net)
04:01.48*** join/#tomcat jasonb (~jbrittain@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:09.52*** join/#tomcat pguser7 (~eeiswerth@S010600c09fb1158c.ss.shawcable.net)
05:12.25pguser7When integrating httpd and tomcat, is it bad practice to do JkMount /* ajp13?  I only need to forward requests to a single worker.
05:32.47*** part/#tomcat pguser7 (~eeiswerth@S010600c09fb1158c.ss.shawcable.net)
06:49.16*** join/#tomcat adaro_ (~jkuperus@53518F8B.cm-6-2c.dynamic.ziggo.nl)
07:05.37*** join/#tomcat AJC_Z0 (~AJ_Z0@pdpc/supporter/professional/ajz0)
08:52.42*** join/#tomcat icarusfactor (~factor@74.195.96.67)
08:52.58*** join/#tomcat acidjnk22 (~havenone@p57B8D761.dip.t-dialin.net)
09:55.18*** join/#tomcat dorkmafia (~Adium@c-71-202-88-82.hsd1.ca.comcast.net)
09:56.00dorkmafiahow come when I use the command catalina.sh stop my server doesn't seem to completely shut down?
10:53.19*** join/#tomcat AndroUser (~androirc@78.56.181.49)
11:47.19*** join/#tomcat eichi_ (~eichi@p3EE03DA8.dip.t-dialin.net)
12:31.46*** join/#tomcat lmssch (~lmssch@dou45-2-82-235-228-142.fbx.proxad.net)
12:32.11*** part/#tomcat lmssch (~lmssch@dou45-2-82-235-228-142.fbx.proxad.net)
12:45.40*** join/#tomcat Andrea (~Andrea@host87-166-dynamic.14-87-r.retail.telecomitalia.it)
12:46.21AndreaV88hi, is there anyone?
13:40.12*** join/#tomcat BruceZu (~BruceZu@123.114.185.3)
13:56.28*** join/#tomcat LordDoskias (~chichiman@unaffiliated/lorddoskias)
13:57.19Led_Zeppelini am here
13:57.43LordDoskiasdo i need jdk for tomcat?
13:57.51LordDoskiasor JRE is sufficient?
13:59.28LordDoskiasi've installed tomcat6 from official debian repo, but when i try to start it here is what errors i'm getting: http://pastie.org/private/9qdtk1nug40t3ianty8rw - as a result tomcat is not listening
14:01.26syscwhat's in /usr/shar/tomcat6/shared/classes?
14:01.49syscshares*
14:01.52LordDoskiasit doesn't exist
14:01.53syscshared** wow
14:02.23syscmkdir -p /usr/share/tomcat6/shared/classes
14:02.46LordDoskiasbut it is going to be empty then
14:02.55syscThat's fine
14:04.00LordDoskiasok, now it started without error but i cannot see it binding to 8080 in netstat -ntlp
14:04.50syscAre you sure it's running? ps aux | grep tomcat6
14:05.17LordDoskiastomcat6   3605  0.1  1.1 258976 12448 ?        Sl   14:03   0:00 /usr/lib/jvm/java-6-openjdk/jre/bin/java -Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath /usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6 -Dcatalin
14:05.17LordDoskiasa.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tomcat6-tmp org.apache.catalina.startup.Bootstrap start
14:05.49sysclooks good
14:06.03syschttp://host:8080
14:06.24LordDoskiasFirefox can't establish a connection to the server at xxxx
14:06.38sysccheck your server.xml
14:06.49LordDoskiasthat's the port, it is essentially the default config
14:06.52syscshould be using port 8080 by default
14:07.10LordDoskias<Connector port="8080" protocol="HTTP/1.1"
14:07.11LordDoskias<PROTECTED>
14:07.11LordDoskias<PROTECTED>
14:07.11LordDoskias<PROTECTED>
14:08.28LordDoskiasmystery
14:09.47syscanything in /var/log/messages about not being able to bind to port 8080 or /var/log/tomcat6/catalina.out ?
14:10.43LordDoskiasnope ;\
14:11.32syscI'm sure it's something simple...
14:11.46LordDoskiasbut it doesn't give any clues, no errors :(
14:14.58syscrestart it and tail -f /var/log/tomcat6/catlina.out and watch the output in real-time
14:15.08LordDoskiasthat's what i;ve been doing
14:15.19LordDoskiasafter i created the missing classess directory it has been silent
14:16.21syscnothing else is using port 8080 ?
14:16.26LordDoskiasah, ok
14:16.28LordDoskiasi found something
14:16.42syscoh? what's that
14:17.45LordDoskiashttp://pastie.org/private/bozf6n8w8l9hd72ln1mq
14:17.56LordDoskiasbut my configuration doesn't reside there it is in /etc/tomcat6
14:18.07LordDoskiasshouldn't this been taken care of by the debian package manager
14:18.39LordDoskiasmaybe if i make conf a symlink to /etc/tomcat6?
14:18.46syscI would think so, I run ubuntu-server and it sets the "correct" environment
14:19.10LordDoskiasok, second try
14:19.11syscYou should create a symlink, or you could just set your CATALINA_HOME environment to be what you want
14:19.19syscwhich is /etc/tomcat6
14:19.50LordDoskiasWARNING: Problem with directory [/usr/share/tomcat6/server/classes], exists: [false], isDirectory: [false], canRead: [false]
14:20.36LordDoskiasbut my server dir is not there it is in /var/lib/tomcat6
14:20.38LordDoskiaswtfffffffff ;(
14:21.06syscstop tomcat
14:21.26LordDoskiasit is stopped
14:21.38syscif you're going to use that script to start tomcat then fix the script so it's using the correct locations
14:22.15LordDoskias# Directory where the Tomcat 6 binary distribution resides
14:22.15LordDoskiasCATALINA_HOME=/usr/share/tomcat6
14:22.28LordDoskiasso yeah - my binaries ARE there BUT my conf files aren't there ;\
14:22.47LordDoskias# Directory for per-instance configuration files and webapps
14:22.47LordDoskiasCATALINA_BASE=/var/lib/$NAME
14:22.53LordDoskiasthis is correct
14:23.17syscchange catalina_home to /etc/tomcat6 or move your configs to /usr/share/tomcat6
14:23.31LordDoskiasoh
14:23.34LordDoskiasit is working now i think
14:23.54LordDoskiasIt works !
14:23.54LordDoskiasIf you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!
14:24.01LordDoskiasfuck me sidesway, it worked... magically
14:24.08syscinteresting
14:25.03LordDoskiasand then stopped after installing tomcat6-admin and restarting
14:26.19LordDoskiashmz, something is happening with this script because it doesn't want to start tomcat
14:52.45*** join/#tomcat dvayanu (~another@pD9F76EB3.dip.t-dialin.net)
16:46.58*** part/#tomcat anildigital (~anildigit@unaffiliated/anildigital)
18:30.50*** join/#tomcat LordDoskias (~chichiman@unaffiliated/lorddoskias)
18:31.41LordDoskiasI've been trying to run tomcat6/7 the whole day without any success. Basically I have a debian squeeze and I want to run a simple tomcat but I observed that when I do catalina.sh start it seems tomcat hangs on boot. No error, no anything it starts booting and hangs
18:32.16LordDoskiasI've tried both with openjdk and sun to no avail. I've tried the tomcat6 from the squeeze repo, the latest stable 6 from tomcat's website and also version 7
18:33.21LordDoskiasi've run out of ideas as to how I can debug this
18:39.21syscWhat exactly is not working?
18:41.12LordDoskiaswhen i start the server
18:41.21LordDoskiasit just "stays" at the starting sequence
18:41.41LordDoskiasmight be a problem because i;m running inside an openvz container
18:43.50*** join/#tomcat rythmic (~kaei01@h198n3-raas-a13.ias.bredband.telia.com)
18:47.38*** join/#tomcat flaguy48 (~gmallard@user-0c6s350.cable.mindspring.com)
18:48.59syscIt worked fine earlier?
18:49.04syscDid you try deploying an app ?
18:49.42*** join/#tomcat hjb (~hjb@unaffiliated/hjb)
18:50.16syscI mean, at what point did it break?
18:50.32sysc<LordDoskias> it is working now i think
18:50.32sysc<LordDoskias> It works !
18:50.32sysc<LordDoskias> If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!
18:50.32sysc<LordDoskias> fuck me sidesway, it worked... magically
18:50.32sysc<sysc> interesting
18:50.39*** join/#tomcat adaro_ (~jkuperus@53518F8B.cm-6-2c.dynamic.ziggo.nl)
18:51.07LordDoskiassysc, i think i might have hit an openvz bug because I have similar behavior to this: http://forum.proxmox.com/archive/index.php/t-6998.html
18:51.24LordDoskiassysc, i thought it worked once
18:51.41LordDoskiasbut then it couldn't actually deploy the contexts and then when i stoped/started it it wouldn't work
18:52.52syscahh
18:53.18LordDoskiasit's not the first time i've run tomcat but usually it worked outside of the box
18:53.30LordDoskiasbut on this particular container
18:54.19LordDoskiasi guess i will just wait for the admin to show and ask him to give a 2nd cpu to the container and i will see whether this will resolve the issue. if it does -> it is a bug in the PVE kernel
19:00.04*** join/#tomcat dorkmafia (~Adium@c-71-202-88-82.hsd1.ca.comcast.net)
19:00.35*** join/#tomcat clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net)
19:53.54*** join/#tomcat dvayanu_ (~another@pD9F77F2B.dip.t-dialin.net)
20:10.51*** join/#tomcat clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net)
21:23.27*** join/#tomcat eichi_ (~eichi@p3EE03DA8.dip.t-dialin.net)
22:16.17*** join/#tomcat Foo_1 (~Foo@201.254.184.6)
23:12.37*** join/#tomcat adaro_ (~jkuperus@53518F8B.cm-6-2c.dynamic.ziggo.nl)

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