IRC log for #tomcat on 20100412

00:14.45*** join/#tomcat rmrfslash (~quassel@pool-173-48-171-124.bstnma.fios.verizon.net)
00:33.56*** join/#tomcat rmrfslash (~quassel@pool-173-48-171-124.bstnma.fios.verizon.net)
04:26.58*** join/#tomcat jasonb (~jasonb@m385336d0.tmodns.net)
05:05.00*** join/#tomcat factor (~factor@ip70-177-95-241.ok.ok.cox.net)
05:14.41*** join/#tomcat juhanic (~juhani@60.32.133.198)
05:40.19*** join/#tomcat mck182 (~quassel@eduroam-118.vsb.cz)
05:52.57*** join/#tomcat mage_ (~mage@bccm-it.vub.ac.be)
06:06.01*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
06:22.20*** join/#tomcat jumic (~micheju@f050192116.adsl.alicedsl.de)
07:04.39*** join/#tomcat kasun (~kasun@202.129.234.209)
07:07.59*** join/#tomcat kasun_ (~kasun@202.129.234.209)
07:09.59*** join/#tomcat cga (~cga@193.42.200.132)
07:37.10*** join/#tomcat dvayanu (~another@ds87-230-56-22.dedicated.hosteurope.de)
08:01.53*** join/#tomcat 36DAAHK72 (~mike@chello212186208251.11.vie.surfer.at)
08:05.45*** join/#tomcat mattock (~samuli@dyn55-11.yok.fi)
08:24.11*** join/#tomcat schmidt (lsc@beerhazard.se)
08:29.36*** join/#tomcat factor (~factor@ip70-177-95-241.ok.ok.cox.net)
09:06.17*** join/#tomcat mck182 (~quassel@eduroam-118.vsb.cz)
09:12.34*** join/#tomcat fuleo (~fuleo@bb220-255-196-252.singnet.com.sg)
09:23.52*** join/#tomcat Utopic (~Blau@213.148.194.16)
09:24.01Utopichi all
09:26.20UtopicI'm using Tomcat 5.5.28 and sun-java jdk 1.6.12 in a Linux box
09:27.00UtopicI did some webservices before, but the one I'm coding now do not expose it's services. the difference is that now I've included a build.xml file to buil it using ant
09:28.03Utopicthe build.xml file is there as it's required by UNO-OpenOffice components
09:28.45Utopichow can I get the services exposed? anyone has coded a WS using UNO?
09:31.03UtopicI'm using eclipse
09:31.42*** join/#tomcat IceFacesIsAFix (~IceFacesI@xdsl-89-0-145-65.netcologne.de)
09:32.16asydnot the better place to ask such question
09:34.52Utopicwhere should I ask?
09:35.45asyd#java (or ##java, I don't remember) is probably a better one
09:36.21Utopicok, thanks
09:40.09factortrying to figure out how to embed a webform in opencms , anyone done this before.
09:40.34factorwhen I include the file it just renders the xml file and not the html form content.
09:40.51factorso I just get text of the variables and no html
10:26.32*** join/#tomcat TTT (~TTT@217.146.104.84)
10:28.01TTTok, tomcat 6.0.18, java 6, windows (not that it matters). I want to configure MySQL datasources as a resource. It works fine with <Resource> tag, but I want to set some properties on the connection. How do I do that?
10:36.20*** join/#tomcat markkram (~markkram@62.211.75.167)
10:38.30markkramtomcat 5.5.25, java 5.5, system linux 2.6.18, is possibile authenticate tomcat via apache ?
10:39.11markkramfor use getRemoteUser() and isUserInRole()
10:49.53factortomcat user db kinda sucks
10:50.07factoryou have to restart when you add , duno about auth.
10:53.37factorfigured out the opencms reg , had  figuring out structured page metadata
10:53.50factorso I can blend it in with my template.
12:04.29*** join/#tomcat loddafnir1 (~mike@pdc.aic.at)
12:06.43markkramfactor: ?
12:20.00*** join/#tomcat LzrdKing (~umop-apis@unaffiliated/lzrdking)
12:43.09*** join/#tomcat fzzzt (~Josh@rrdhcp18-75.redrover.cornell.edu)
12:51.03fzzztHello, tomcat 6.0.24. I want to log the build number, stored in manifest.mf. Is there an easy way to access this?
12:51.48*** join/#tomcat Utopic (~Blau@213.148.194.16)
13:01.55*** join/#tomcat gwadaboug (~gwadaboug@LAubervilliers-153-53-7-143.w217-128.abo.wanadoo.fr)
13:02.04gwadaboughi roo
13:02.07gwadaboug*room
13:02.31gwadabougi'm working on a tomcat project,
13:02.55gwadabougand i wan't create a build.xml for Ant
13:03.17gwadabougand i want use ivy for dependance.
13:03.47gwadabougbut my probleme is, i wan't create a personal repository
13:03.59gwadabougcan somebody explain me how to do
13:04.12gwadabougi've download archiva
13:04.20gwadabougbut i don't understand
13:04.21gwadaboug:s
13:05.00gwadabougand when i search on the web, i don't find help i need :s
13:05.27*** join/#tomcat batkinson (~batkinson@batkinson.dbas.usm.maine.edu)
13:16.34fzzztnm figured it out!
13:23.22*** join/#tomcat jumic (~micheju@f051028236.adsl.alicedsl.de)
13:26.59markkramtomcat 5.5.25, java 5.5, system linux 2.6.18, is possibile authenticate tomcat via apache ?
13:27.12markkramfor use getRemoteUser() and isUserInRole()
13:30.51*** join/#tomcat randrewj (~u1@dyn-128-59-53-67.dyn.columbia.edu)
13:40.51*** part/#tomcat fzzzt (~Josh@rrdhcp18-75.redrover.cornell.edu)
13:46.19*** join/#tomcat rmrfslash (~quassel@140.247.89.18)
13:47.59*** part/#tomcat Utopic (~Blau@213.148.194.16)
13:50.42*** join/#tomcat pajaro (~franki@161.215.17.95.dynamic.jazztel.es)
13:50.46pajarohi
13:51.56pajaroi am having issues with tomcat using arabic characters. I've been checking everything for ours. The string gets sent properly escaped %__%__%__ in POST data, but tomcat converts it to ???
13:52.08pajaroEveryting is UTF-8 and latin characters work fine
13:53.01pajaroi am using netbeans on os x
13:55.48pajaroi use tomcat 6.0.26, java 1.6 and os x 10.5
14:00.58*** join/#tomcat konadr (~rodyon@unaffiliated/konadr)
14:03.22konadrHi all, I'm running tomcat 6.0.18 on centos5 x64 with java 1.6.0_07 . I seem to have an issue when running multiple tomcats with the AJP port defined in each config, if one port is taken the application won't fail to start but will increment to the next available port. Is there a way to disable that increment on tomcat startup?
14:20.35pajarook, my problem is OS X related, since in a Linux server everything works fine. Do you know how can i enable arabic support for java in os x?
14:27.33*** join/#tomcat kontinuity (~Adium@122.181.8.86)
14:27.38kontinuityhi all
14:29.16kontinuitywhen I send a 500 document back, Tomcat converts it into an html
14:29.33kontinuityI am trying to send back an XML response with http error code 500
14:29.46kontinuityhow do I not let Tomcat wrap it into html?
14:30.14pajarohave you tried using a custom error handler?
14:30.26kontinuityactually is that necessary?
14:30.45pajaroi don't know, i am realatively new to tomcat
14:30.58pajarobut it is what i would try in your case
14:31.12kontinuitypajaro: oh ok but I am guessing its much simpler than that
14:31.43pajaroi mean doing something like : <error-page>
14:31.43pajaro<PROTECTED>
14:31.43pajaro<PROTECTED>
14:31.43pajaro<PROTECTED>
14:31.57pajarooh, i see
14:32.09pajaroyou are creating the apge
14:32.21pajaroit is not an actual error
14:33.37kontinuityyeah
14:33.49pajarowell, in that case i would check the HTTP protocol definition to see what it says about error 500 pages
14:34.14pajaromaybe they are forced to be html
14:38.10kontinuitynot necessarily
14:49.57*** join/#tomcat LzrdKing (~umop-apis@unaffiliated/lzrdking)
15:01.02*** join/#tomcat JeffATL (~no@108.107.86.85)
15:01.53JeffATLam crafting new web.xml and context.xml files for porting a tomcat 5.0 app to 6.0.20.  unsure about "data source resource factories."  old config says "org.apache.naming.factory.BeanFactory"; http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html talks of org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory - should i switch things to use the latter?
15:02.03JeffATLit seems as though the reference is to something that is part of the platform, not part of the app - if that is the case, is there a way i can tell if that ...BeanFactory thing is even present?
15:02.30konadrHi all, I'm running tomcat 6.0.18 on centos5 x64 with java 1.6.0_07 . I seem to have an issue when running multiple tomcats with the AJP port defined in each config, if one port is taken the application won't fail to start but will increment to the next available port. Is there a way to disable that increment on tomcat startup?
15:03.49*** join/#tomcat roundyz (~roundyz@cpc1-wolv9-0-0-cust238.wolv.cable.virginmedia.com)
15:03.52roundyzhello
15:06.06roundyzmy tomcat version is 6.0.21-r1, my java version is 1.6.0_18
15:06.19roundyzand my os is gentoo linux
15:06.45roundyzhow do i get tomcat to read my source files when it fails?
15:06.56JeffATLroundyz: "source files"?
15:06.58roundyzie, how do I attach source to it?
15:07.06roundyzhello JeffATL
15:08.36roundyzSo when tomcat runs my class file from within a deployed jar file, and something goes wrong, in the log it says NUll pointer exception  GraphController.getHeight(Unknown Source)
15:09.28roundyzhow to I get it to 'know' my source? like this one java.lang.reflect.Method.invoke(Method.java:597)
15:28.22*** join/#tomcat kasun (~kasun@202.129.233.201)
15:29.48JeffATLroundyz: hm, i can't help you there - i'm rather java-stupid
15:31.12*** join/#tomcat prgrmr (~prgrmr@unaffiliated/prgrmr)
15:36.34factoryou have to compile java source, but source can work in a jsp inside the <% %> arrows
15:37.29roundyzI have the source compiled.
15:37.39factorinto a class
15:37.48roundyzand deployed with the class files in  a jar file inside of my lib filder.
15:37.51roundyz*folder.
15:37.55factorok
15:38.10factoris the jar file in your classpath?
15:38.32roundyzthe stack trace picks up the standard java class line numbers (so the src is atached to thet) but it wont pick up mine.
15:38.34factoryou can have a lib folder but the jvm has to know where your lib folder is
15:38.37roundyzI'm using ant to deploy
15:38.48roundyzfactor: let me see
15:39.09factorI think you can put it in tomcats main lib dir for a test
15:40.11roundyzfactor: good thinking
15:40.17factornp
15:40.20roundyzenv dosn't bring up a classpath
15:40.39factoryou may have access to it dont know if you started it under the same env
15:40.59roundyzjava is messed up on gentoo
15:41.00factoryou need to put a class path in the .bashrc for the jvm
15:41.53*** join/#tomcat km (~km@dsl081-072-059.sfo1.dsl.speakeasy.net)
15:42.09roundyzI have JAVA_HOME and JDK_HOME
15:42.40roundyzthey point to my jdk in /usr/lib/jvm
15:42.41roundyzls
15:42.44roundyzwoops
15:46.32roundyzits not picking it up when I copy the jar to /usr/share/tomcat-6/lib
15:46.43factorhumm
15:46.59factorwhat user is the JVM running under
15:47.09factoryou can addin the class path.
15:47.12factorexport
15:47.21roundyzok 1 sec
15:48.17roundyzis classpath like CLASSPATH=""
15:48.19roundyz?
15:48.23factoryes
15:48.35factorhold on will show you mine
15:49.01roundyz<PROTECTED>
15:49.06roundyzhows that look?
15:49.39factor<PROTECTED>
15:49.40factor/usr/share/tomcat6/lib/*:/usr/lib/jvm/java-6-sun/jre/lib/*:/usr/share/tomcat6/webapps/magnolia-bundled-webapp-4.3/WEB-INF/lib/*
15:50.17factorexport CLASSPATH=/usr/share/tomcat6/lib/*:$JAVA_HOME/jre/lib/*:/usr/share/tomcat6/webapps/magnolia-bundled-webapp-4.3/WEB-INF/lib/*
15:50.38factoralthough I dont use magnolia right now :) could not get it to work right
15:50.41factorI use opencms.
15:51.05roundyzsorry are they other servelt containers?
15:51.09roundyzI'm new to this.
15:51.13factorsame here
15:51.51roundyzyour doin better than me
15:52.47factorbeen working out the bugs for a month
15:52.58factorIPV4 is an issue on debian at least.
15:53.12factordebian is setup for ipv6
15:53.20factorjava wont detect it automatically
15:54.16roundyzint he web.xml file (tomcats not mine) there is classpath option there, should this be in mine do you think?
15:54.17factor/etc/sysctl.d/bindv6only.conf   and change the tag inside to 1 and not 0 so it forces debian back to ipv4
15:54.31roundyzyou use ipv6?
15:54.36factornot now
15:58.41*** join/#tomcat srini (~hi_umeetm@124.123.157.106)
15:58.45sriniHi
16:00.03sriniI am taken the binaries of tomcat6 from the apache site and trying to login with the default user name and password from conf/tomcat-users.xml file. But i am not able to login and getting authentication error. I have installed jdk 5 on my machine
16:00.08sriniCan anybody suggest me on this..
16:01.06factorit does not have a default
16:01.12roundyzypu need to set a user as admin role?
16:01.13factoryou have to add it and restart the server
16:18.53*** join/#tomcat mck182 (~quassel@ip-2-53.hlucinnet.cz)
16:19.47*** join/#tomcat acidjnk (acid@pD9508424.dip0.t-ipconnect.de)
16:31.08*** join/#tomcat markkram (~markkram@62.211.75.167)
16:40.01*** join/#tomcat km (~km@dsl081-072-059.sfo1.dsl.speakeasy.net)
16:47.04*** join/#tomcat markkram (~markkram@62.211.75.167)
16:50.00*** join/#tomcat calavera (~calavera@94.Red-88-6-168.staticIP.rima-tde.net)
16:54.29sriniI have my configuration tomcat-users.xml file set as:
16:54.39srini<PROTECTED>
16:54.39srini<PROTECTED>
16:54.39srini<PROTECTED>
16:54.39srini<PROTECTED>
16:54.39srini<PROTECTED>
16:54.39srini<PROTECTED>
16:54.39srini<PROTECTED>
16:54.52asydtwo user tomcat?!
16:55.23sriniasyd: Is it the problem ...? Anyway I will check it once..
16:55.32asyddo you really think it can work?
16:56.12roundyzsure ;)
16:57.05sriniasyd: Your query is right.Changing one of the user name worked fine. Thankyou.
17:02.07*** join/#tomcat acidjnk (acid@pD950B07F.dip0.t-ipconnect.de)
17:29.19*** join/#tomcat fruitwerks (~hocake@cpe-24-242-35-65.hot.res.rr.com)
17:30.22*** join/#tomcat uebera|| (~user@unaffiliated/ueberall)
17:30.56*** join/#tomcat uebera|| (~user@subjektzentrisch.de)
17:33.13fruitwerksany known issues with running tomcat 6 inside an openvz?
17:34.29*** join/#tomcat uebera|| (~user@unaffiliated/ueberall)
17:35.15*** join/#tomcat uebera|| (~user@subjektzentrisch.de)
17:37.16*** join/#tomcat uebera|| (~user@unaffiliated/ueberall)
17:39.24fruitwerksahh the app needed more ram :/
17:42.54*** join/#tomcat rmrfslash (~quassel@140.247.89.18)
17:55.03factorvm ram?
18:20.25*** join/#tomcat JohnBat26 (~Eugene@89.175.77.201)
18:21.31*** join/#tomcat wyvern` (~wyvern@64.244.66.2)
18:58.19*** part/#tomcat randrewj (~u1@dyn-128-59-53-67.dyn.columbia.edu)
19:01.43*** join/#tomcat fuleo (~fuleo@bb220-255-196-252.singnet.com.sg)
19:16.16*** join/#tomcat dvayanu (~another@p578E8AF1.dip.t-dialin.net)
19:17.18*** join/#tomcat jasonb (~jasonb@m320e36d0.tmodns.net)
19:32.54*** join/#tomcat IceFacesIsAFix (~IceFacesI@xdsl-89-0-145-65.netcologne.de)
19:39.33*** join/#tomcat calavera (~calavera@94.Red-88-6-168.staticIP.rima-tde.net)
20:39.33*** join/#tomcat Chaos88 (~Chaos@host216-154-dynamic.52-79-r.retail.telecomitalia.it)
20:39.40Chaos88Hello
20:40.46Chaos88I'm using fedora 12, and i've just installed tomcat6 from repository... if i go to localhost:8080 it seems all good... but when i try load my jsp files... error 404 ... could someone help me?
20:44.17*** join/#tomcat jasonb (~jasonb@m720e36d0.tmodns.net)
20:45.18factorChaos88, have you tried the examples
20:45.35Chaos88yes it works with examples
20:45.51factorok, do you have any special jar files that need to be accessed
20:46.01factoror network access
20:46.26factorFor your jsp that req. special classes you need it in your class path
20:46.44factoras the user the tomcat is running under type echo $CLASSPATH
20:47.55Chaos88mmmmh
20:48.27Chaos88i have a simple jsp file with no classes... i put it in webapps... then?
20:48.39Chaos88sorry but i don't understand at all english
20:49.11factorwell it will need access to the default classes if any
20:49.21factorwhat is your classpath right now?
20:49.30factoras the user the tomcat is running under
20:50.13Chaos88how can i know classpath?
20:50.59factorecho $CLASSPATH
20:51.08factortype that on the command line of the tomcat user
20:51.23factorps aux|grep tomcat to find out what user tomcat is running under
20:52.14Chaos88i try
20:52.50factorbut yes that is a common problem.
20:53.05factoralso you need your OS to be set to ipv4 which I think your is
20:53.07Chaos88echo $CLASSPATH ... no output
20:53.13factorhumm what OS
20:53.37Chaos88fedora 12
20:53.41factorhumm
20:53.46factorshould work
20:53.53factormeans you have no class path
20:54.27Chaos88i've installed tomcat6*
20:54.28factoryou will have to set it and add in your tomcat lib classpath
20:54.34factorright but not the classpath
20:54.42factorwill need to be added to your .bashrc
20:54.45Chaos88ok
20:54.53factorjava sucks that way
20:55.06factorits a common problem
20:55.25Chaos88i've added it last time:
20:55.26Chaos88#JAVA
20:55.26Chaos88JAVA_HOME=/usr/lib/jvm/jre-1.6.0-openjdk/bin/java
20:55.42Chaos88is it good?
20:55.49factoryes
20:56.05factorthat is for binaries
20:56.08factornow for libs
20:56.15factorwhich is what classpath is for
20:57.00Chaos88so don't tell me that i'm annoying you... could you tell me an example?
20:57.10factorhole on
20:58.35factor<PROTECTED>
20:58.35factor/usr/share/tomcat6/lib/*:/usr/lib/jvm/java-6-sun/jre/lib/*:
20:58.56factorexport $CLASSPATH=/usr/share/tomcat6/lib/*:/usr/lib/jvm/java-6-sun/jre/lib/*
20:59.03factorthat is mine
20:59.10factoryours may be different
20:59.20factorthe export line will set it
21:00.04Chaos88ok
21:02.16Chaos88<PROTECTED>
21:02.16Chaos88export $CLASSPATH=/usr/share/tomcat6/lib/*:/usr/lib/jvm/java-1.6.0-openjdk/lib*
21:02.20Chaos88correct?
21:02.48factorlooks good from here
21:02.48Chaos88there isn't a final /
21:03.11Chaos88now reboot or it's ok?
21:03.50factorhumm just log out and back in
21:03.57factoror shutdown the service and start back up
21:04.07factorno need to reboot boot but that is an option
21:04.18Chaos88ok logout :p
21:05.04*** join/#tomcat Chaos88 (~Chaos@host216-154-dynamic.52-79-r.retail.telecomitalia.it)
21:05.08Chaos88pray for me :D
21:05.14factorwill do
21:06.31Chaos88my webapps dir... is not writable
21:06.38Chaos88is it normal?
21:08.22factordunno
21:08.38Chaos88so man
21:08.49factorfedora is high security type os
21:08.53Chaos88probably i will love you :D
21:09.04Chaos88my exercise works!
21:09.13factornice
21:09.23Chaos88you from? :D
21:10.18factoroklahoma
21:10.26Chaos88me Italy :)
21:11.14Chaos88so you know durant? xD I love nba :P
21:11.30factordurant ok, I have been there.
21:11.31Chaos88anyway thanks a lot!!
21:11.38factorhappy Yuris day.
21:11.40factor:)
21:11.59Chaos88Bye bye thanks again!
21:12.03factornp
21:13.21*** part/#tomcat fruitwerks (~hocake@cpe-24-242-35-65.hot.res.rr.com)
22:46.03*** join/#tomcat dvayanu (~another@p578E8AF1.dip.t-dialin.net)
23:47.53*** join/#tomcat Viss (~wtf@ip68-6-158-69.sd.sd.cox.net)

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