IRC log for #tomcat on 20101105

00:17.36*** join/#tomcat factor (~factor@r74-195-220-23.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
00:20.54*** join/#tomcat factor (~factor@r74-195-220-23.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
01:27.50*** join/#tomcat dvayanu (~another@p5793D4B6.dip.t-dialin.net)
01:35.47*** join/#tomcat dmb (~dmb@unaffiliated/dmb)
01:43.59*** join/#tomcat karstensrage (~karstensr@c-24-4-116-211.hsd1.ca.comcast.net)
02:52.53*** join/#tomcat MaxBube (~mbubenick@190.244.68.179)
04:35.43*** join/#tomcat jasonb (~jasonb@38.110.32.2)
04:50.17*** join/#tomcat alpha255 (~thomas@72.1.148.50)
05:23.28*** join/#tomcat Boohemian_ (~Boohemian@209-6-67-222.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)
06:56.46*** join/#tomcat dvayanu (~another@p5793D4B6.dip.t-dialin.net)
06:57.48*** join/#tomcat }ls{ (~}ls{@p5DD1D77F.dip.t-dialin.net)
07:09.56*** join/#tomcat adaro (~jelmerkup@53518F8B.cm-6-2c.dynamic.ziggo.nl)
07:12.51adarosuppose i have two sites, www.one.com and www.two.com, i have a ssl certificate for one.com but not for two dot.com and i want to redirect https://www.two.com to https://www.one.com that is not possible right
07:13.12adarobecause it will do the handshake before even giving me a chance to send the redirect
07:54.33*** join/#tomcat Mikjaer (~Mikjaer@212.130.29.45)
07:54.53MikjaerUsing java version 1.6.0_20 (Sun), Tomcat 5.5 (dont know how to get it more precise), Debian Linux 2.6.26-2-686 , i can't get the Tomcat server to log Standardoutput and Standarderror, anybody know how i enable this?
07:58.55*** join/#tomcat Mikjaer (~Mikjaer@212.130.29.45)
08:35.19*** join/#tomcat ExtraSpice (~XtraSpice@88.118.33.48)
08:39.51*** join/#tomcat Kedare (~Kedare@scuderia.internet-fr.net)
10:26.00*** join/#tomcat drindt (~drindt@p4FDC3395.dip.t-dialin.net)
10:33.58*** join/#tomcat }ls{ (~}ls{@p5DD1D77F.dip.t-dialin.net)
10:40.54*** join/#tomcat Boohemian (~Boohemian@209-6-67-222.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)
10:45.07*** join/#tomcat dvayanu (~another@ds87-230-56-22.dedicated.hosteurope.de)
10:52.59*** part/#tomcat dvayanu (~another@ds87-230-56-22.dedicated.hosteurope.de)
11:01.26flashn_I have some issues grabbing a heap dump on a tomcat5.5 running on windows
11:01.58flashn_I have tried all kinds of things: -XX:HeapDumpOnCtrlBreak -XX:HeapDumpPath=foo
11:02.03flashn_but it only gives me a thread dump
11:39.09*** join/#tomcat Boohemian (~Boohemian@209-6-67-222.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)
11:41.47*** join/#tomcat tijnie (~tijn@84-53-74-236.adsl.unet.nl)
12:15.39*** join/#tomcat clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net)
12:22.43MikjaerHow do i get Tomcat to log stdout and stderr?
12:23.45*** join/#tomcat jasonb (~jasonb@38.101.196.246)
12:42.54*** join/#tomcat randrewj (~u1@dyn-128-59-53-67.dyn.columbia.edu)
12:49.57*** join/#tomcat dvayanu (~another@ds87-230-56-22.dedicated.hosteurope.de)
13:56.35*** join/#tomcat schmolly159 (~schmolly1@76.79.50.2)
14:09.18*** join/#tomcat batkinson (~batkinson@batkinson.dbas.usm.maine.edu)
14:13.04*** join/#tomcat clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net)
14:16.50*** join/#tomcat iredux (~michaelg@mail2.creditcards.com)
14:24.27*** join/#tomcat rmrfslash (~quassel@140.247.89.18)
14:42.55*** join/#tomcat DestinyAwaits (~DestinyAw@unaffiliated/destinyawaits)
14:43.45DestinyAwaitsHow can i can my application using http://www.anyname.com
14:44.10DestinyAwaitss/can/call
14:54.48*** join/#tomcat epapi (~epapi@outgoing.txt.it)
15:13.24*** join/#tomcat jasonb (~jasonb@38.101.196.246)
15:42.25*** join/#tomcat minerale (~minerale@about/cooking/alfredo/Minerale)
15:49.02*** join/#tomcat jasonb (~jasonb@38.101.196.246)
16:32.56*** join/#tomcat jasonb (~jasonb@38.101.196.246)
16:35.02*** join/#tomcat karstensrage (~karstensr@c-24-4-116-211.hsd1.ca.comcast.net)
16:42.24*** join/#tomcat user01 (~user01@dslb-188-103-165-009.pools.arcor-ip.net)
16:49.16*** join/#tomcat calavera (~calavera_@enginey-9.border1.sfo002.pnap.net)
17:24.56*** join/#tomcat batkinson1 (~batkinson@batkinson.dbas.usm.maine.edu)
17:36.18*** join/#tomcat soloslinger (soloslinge@72.20.4.250)
17:39.27*** join/#tomcat relachs8 (~relachs@g226251207.adsl.alicedsl.de)
17:45.15*** join/#tomcat gabriel9 (~gabriel9@93.157.192.28)
17:47.50gabriel9question: why there is two versions of tomcat(stable)?
17:49.43gabriel9my java version java version "1.6.0_22"  OS ArchLinux 64bit, tomcat 5.5.31-2
17:49.45gabriel9:)
18:13.42*** join/#tomcat acidjnk (acid@50-229-103-86.dynamic.dsl.tng.de)
18:23.34*** part/#tomcat johan_bouveng (gpy@193.138.219.74)
18:34.20AJC_Z0Because there are two branches of code which are maintained to provide stable releases. This is quite typical in software development and release cycles
18:39.11*** join/#tomcat gsolosliner (soloslinge@72.20.4.250)
18:41.12*** join/#tomcat soloslinger (soloslinge@72.20.4.250)
18:50.33*** join/#tomcat relachs9 (~relachs@g225197230.adsl.alicedsl.de)
18:51.02*** join/#tomcat Boohemian (~Boohemian@wrls-249-67-110.wrls-client.fas.harvard.edu)
19:22.36gabriel9ok, thanx
20:15.00*** join/#tomcat calavera (~calavera_@enginey-9.border1.sfo002.pnap.net)
20:18.47*** join/#tomcat dvayanu (~another@p578E92BD.dip.t-dialin.net)
20:59.01*** join/#tomcat adaro (~jelmerkup@53518F8B.cm-6-2c.dynamic.ziggo.nl)
21:05.13*** join/#tomcat bowen (~kevin@saturating.motorcar.volia.net)
21:08.30bowenHi, anybody know how to fix follow mistake: "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" than I run java Wsdl2Java https://localhost:443?wsdl?
21:17.39puffMikjaer: Reconfigure log4j.
21:18.52Mikjaerhow do i do that on Debian? im using tomcat 5.5
21:19.07Mikjaerand sun java 1.6.0_20
21:19.18puffMikjaer: tomcat 5.5 uses java.logging as the default implementation.
21:19.21puffhttp://wiki.apache.org/tomcat/FAQ/Logging
21:20.49Mikjaerso catalina.out should be active by default?
21:20.52puffMikjaer: actually, this may be easier for you: http://www.mulesoft.com/tomcat-logging
21:20.55puffMikjaer: Yes.
21:21.16puffMikjaer: by default, tomcat logs to catalina.out, and each webapp logs to a webapp-specific log file.
21:21.25Mikjaerthe problem here is that my boss did half of the installation, and when he could'nt figure out what to do he gave it to me and said "Its broken" :s
21:22.22Mikjaerso somehow he disaled the .out functionallity ... any idea what he can have done and what to do to undo it?
21:22.25puffHee.... yah, that happens.
21:22.57puffWell, checkthis http://darksleep.com/notablog/articles/Tomcat_Admin_Cheatsheet
21:23.15puffAmong other things, that page lists various standard log config variables.
21:23.46puffThough it doesn't really get into commons logging, java.logging, JULI, log4j, etc.
21:24.13puffBut, I'd stay step 1, check that cheat sheet for log-related stuff, check your log values, etc.
21:24.35puffAlso, btw, it's not *that* hard to install tomcat, you might be better off starting from scratch.
21:24.46puffIn fact I'd suggest you *are* better off starting from scratch.
21:24.51Mikjaeri considered that
21:25.01Mikjaerthe catalina.out file is not even created on the machine
21:25.02puffUnforunately, I must go off and do things in real life right now, or I'd talk you through it.
21:25.09puffMikjaer: Is tomcat started?
21:25.14Mikjaeryea its running
21:25.19puffHm.
21:25.42puffUnfortunately, there's any number of ways to make that happen, so...
21:25.48Mikjaer:)
21:25.55Mikjaerso reinstall it is
21:26.31puffProbably... hang on a sec whiel I do a quick google.
21:27.05puffLook for conf/logging.properties, see if it sheds any light on it.
21:27.40puffInteresting... this post http://stackoverflow.com/questions/3491574/there-is-no-catalina-out
21:28.06puffIt points out that the redirect into catalina.out happens in catalina.sh, so maybe make sure your boss didn't comment that out.
21:28.24Mikjaeroh
21:28.35Mikjaernow where talking shellscript ... then i know how to play :P
21:29.58Mikjaerwhen i run catalina.sh from the command prompt it tells me that java_home and jre_home is not set .. might the be the problem?
21:30.14puffDoh, wait...
21:30.23puffDebian... I wouldn't be surprised at all if they route the logs into /var/log.
21:30.53puffMikjaer: You might want to go to that cheatsheet page and look it over... also maybe read the associated jumpstartpage.
21:31.01Mikjaereverything else is scateret around the filesystem ...
21:31.08Mikjaeri will do that :)
21:31.10puffMikjaer: I wrote it for competent admins who were new to tomcat.
21:31.16puffMikjaer:  sudo dokg -L tomcatpacakge
21:31.24puffMikjaer: See if it puts anything in /var/log.
21:31.48puffMikjaer: Basically, tomcat needs to know where to find the JVM and related files, so it needs java_home (for the JDK) or jre_home.
21:32.01puffMikjaer: If you need to use JSP pages, you need the full JDK.
21:32.31puffMikjaer: Because tomcat's JSP compiler compiles the JSP page source to java source, and then uses javac from the JDK to compile that java source.
21:32.37Mikjaerwe have a hello world jsp file running
21:32.42puffCool, so you have a JSP.
21:32.49puffEr, JDK.
21:33.11puffrunning catalina.sh directly gets you that result because you don't have an environemnt variable for JAVA_HOME.
21:33.32puffFor that matter, since it's a debian package, I'm guessing you're using /etc/init.d/tomcat to do stuff, so check that.
21:33.36Mikjaerwell i think i might have to reinstall it .. i have no idea whats running here
21:33.38puffE.g. see what scripts that's invoking, etc.
21:33.52puffMikjaer: I'm heavily leaning towards:  debian is doing it The Debian Way.
21:34.14puffMikjaer: Which probably the source of all of the confusion.  Note that I like debian, a lot, but this is a bit of a pain in the ass factor, here.
21:34.20Mikjaeractually ive been thinking about asking in #debian as well
21:34.38Mikjaeryea i agree with you there, no hard feelings on that one
21:34.45puffMikjaer: Because debian has only recently started supporting tomcat, and there vast majority of the stuff online about it predates that.
21:35.17Mikjaerand my boss is pretty bad at linux generally
21:35.21Mikjaerso he might have used an old guide
21:35.28puffSo, the problem you're having is no catalina.out... are you looking in /var/log/tomcat5?
21:35.44Mikjaerit /var/log/tomcat5.5 but yes
21:35.48puffRight.
21:35.50Mikjaertheres nothing but some access logs
21:36.57Mikjaerlooks like it skips catalina.sh and starts tomcat itself
21:36.58Mikjaer<PROTECTED>
21:36.58Mikjaer<PROTECTED>
21:36.58Mikjaer<PROTECTED>
21:37.49Mikjaeromg
21:37.51Mikjaeri found it
21:38.05Mikjaerits flooding my syslog :-S
21:38.44Mikjaerpuff, thanks dude ..
21:38.55Mikjaerand i can't even blaime it on the chief :-/
21:39.00puffRigt, I was about to suggest that.
21:39.06puffWas reading through this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=402879
21:39.33puffThere really oughta be a page somewhere that details the differences between standard tomcat and debian tomcat.
21:40.48Mikjaerbut you need to know both the vanilla version and the debian version for that
21:41.24puffSure.
21:41.42puffBut at least it'd be a start, instead of cryptic, undocumented differences :-).
21:41.53Mikjaerindeed
21:42.05Mikjaeri think im gonna do a writeup on it when we go production
21:42.41Mikjaerthis is a development server ... we have been running on windows so far, then i told the management that we'd probably get better performance by switching to linux
21:42.54puffhttps://help.ubuntu.com/10.04/serverguide/C/tomcat.html
21:42.58Mikjaerwhen i said that there was no stepping back ... now everythings beeing change to linux
21:43.00puffYup.
21:43.19puffNot to mention, it's a very, very good idea to develop on the same OS as you're deploying on.
21:43.41puffAlso, you might find this useful http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/
21:43.43Mikjaerim not sure ill manage to get them to change the workstations
21:46.36puffAh as long as you're deploying to a linux install during development, you should catch most of the gotchas.
21:48.13Mikjaerthats my bet as well
21:50.07puffgotta AFK, good luck!
22:07.48jMCgOh lookit. I can disable the shutdown port thingie. Cool.
22:23.37*** join/#tomcat wad (~wad@173-14-233-73-Utah.hfc.comcastbusiness.net)
22:23.57wadIf I deploy a new version of a .war, do I need to bounce tomcat to get it to see it?
22:49.05*** join/#tomcat dvayanu (~another@p578E92BD.dip.t-dialin.net)
22:55.22*** join/#tomcat jasonb (~jasonb@38.110.32.2)
23:11.12*** join/#tomcat jamal (~jamal@41.140.157.33)
23:11.24jamalhello
23:12.07jamaliam having problem activating ssl on tomcat 6 (ubuntu)
23:13.15jamaljava version "1.6.0_20"
23:13.28jamaltomcat 6.0.29
23:13.53jamalin my server.xml i have
23:13.54jamal<Connector port = "8443"
23:13.55jamal<PROTECTED>
23:13.55jamal<PROTECTED>
23:13.55jamal<PROTECTED>
23:13.55jamal<PROTECTED>
23:13.58jamal<PROTECTED>
23:14.00jamal<PROTECTED>
23:14.02jamal<PROTECTED>
23:14.40jamali can just access to tomcat using http://localhost:8443/
23:14.54jamalbut not in httpS://localhost:8443/
23:15.12jamalthanks :)
23:26.26jamalping
23:26.31jamal./ping
23:27.39jamalasmlscvsnvsvslmdvms
23:27.40jamalsdv
23:27.41jamalsd
23:27.42jamalvdv
23:27.44jamalssd
23:27.44jamalvs
23:27.45jamaldvsd
23:27.46jamalvsd
23:27.46jamalvsdv
23:27.48jamalsds
23:27.50jamald
23:27.52jamaldsvslmùvsmùvsùmdvksùmdv
23:28.06jamal:)
23:28.18jamalhello
23:28.21jamalany one
23:28.25jamalwaohh

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