IRC log for #tomcat on 20090401

01:06.23*** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net)
03:29.38*** join/#tomcat eternal (n=eternal@d58-109-37-201.dsl.nsw.optusnet.com.au)
03:30.06eternalIs there a place that you can define where your JAVA_HOME is?
03:35.12*** join/#tomcat acidjnk (i=acid@pD950A4ED.dip0.t-ipconnect.de)
03:39.07*** join/#tomcat cool^tom (n=thomas@61.95.199.46)
03:39.18cool^tomHi
04:53.14karstensrageJAVA_HOME
05:13.54*** part/#tomcat masta (n=diz@unaffiliated/masta)
05:23.29*** part/#tomcat cool^tom (n=thomas@61.95.199.46)
05:45.22*** join/#tomcat dvayanu (n=another@ppp-93-104-113-185.dynamic.mnet-online.de)
05:53.44*** join/#tomcat carl_ (n=carl@static-213-115-142-194.sme.bredbandsbolaget.se)
05:54.21carl_hi guys, can somebody point me to some documentation on how to setup a vhost in tomcat?
05:55.08*** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net)
06:42.06pfncarl_, tomcat's docs spell it out
06:43.11carl_pfn, found it, after reading some more, thnx
07:18.03*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
07:49.18*** join/#tomcat AlanasAnikonis (n=ananas@c83-255-3-72.bredband.comhem.se)
07:50.05*** join/#tomcat shashi (n=shashi@122.181.1.158)
07:51.07AlanasAnikonishey, i just did a checkout from http://svn.apache.org/repos/asf/tomcat/trunk/ to verify a bug in the tomcat manager app
07:51.20AlanasAnikonisand a hardcoded variable is causing some trouble
07:52.42AlanasAnikonishttp://tomcat.apache.org/bugreport.html that irc link doesn't work for me, what's up with that btw?
08:14.32*** join/#tomcat oxi (n=oxi@dyn.144-85-208-035.dsl.vtx.ch)
08:18.20pfnyou need to use chatzilla or have the irc: protocol registered with your browser
08:19.08AlanasAnikonisirc.us.openprojects.net:6667 works for you?
08:19.46pfnnope
08:19.51AlanasAnikoniswon't even resolve
08:20.01pfnfile that as a bug report  :p
08:20.12AlanasAnikonishaha, well it IS a bug on the website
08:20.28AlanasAnikonisi wonder if the bugzilla has a website bug report category
08:20.50AlanasAnikonisis anyone here a committer to the tomcat svn?
08:21.21AlanasAnikonisi just joined the tomcat mailing list, the messages that are sent there look awful
08:21.21pfnis curious, what's hardcoded?
08:21.37AlanasAnikonisoh yea, i only pasted it in the ##java channel
08:21.40AlanasAnikonisso it's the manager app
08:21.51AlanasAnikonislet me get the details
08:22.31AlanasAnikonisjava/org/apache/catalina/manager/Constants.java has  public static final String XML_DECLARATION
08:22.49AlanasAnikonisi meant String XML_STYLE
08:22.57AlanasAnikonis"<?xml-stylesheet type=\"text/xsl\" href=\"/manager/xform.xsl\" ?>";
08:23.11AlanasAnikonisi need that to be something else than /manager
08:24.02AlanasAnikonismakes no sense really to have a hardcoded path to a webapp
08:24.14pfnindeed
08:24.18pfnwhy can't you use /manager anyway
08:24.49AlanasAnikoniswell that path is reserved for other purposes
08:24.55pfnuse another vhost then
08:24.58pfnor use the host-manager
08:25.06AlanasAnikonisi want the bug fixed :P
08:25.21AlanasAnikonisi can live with the bug for now, but i don't like it to be there
08:25.45pfnI think it is 100% set in stone that it will go there
08:25.49AlanasAnikonisor "hardcoded feature"
08:26.04AlanasAnikoniswell the manager webapp works under a different path very well
08:26.10AlanasAnikonisexcept when I use the XML status
08:26.34AlanasAnikonismeaning /manager/status?XML=true
08:26.53AlanasAnikonisthat's when it tries to load /manager/xform.xsl
08:27.18AlanasAnikonisif i have the webapp under, say /foobar/ then it still tries to access /manager
08:28.25AlanasAnikonisusing another vhost wouldn't solve anything :(
08:52.19*** join/#tomcat da_krowa (i=Miranda@chello089076200016.chello.pl)
09:15.31*** join/#tomcat choizz (n=hkj@host217-41-56-44.in-addr.btopenworld.com)
09:15.52choizzhi
09:16.51choizzi'm having resplication issues on tomcat 6.0.18 (centos) using primary/secondary replication, anyone have any experience on the subject?
09:43.26*** join/#tomcat timing (i=timing@fokdat.nl)
09:43.49timingHello!
09:44.20timingI have downloaded a webapp for tomcat and it contains an admin.war file
09:44.47timingbut when i try to go to /admin/ in my addressbar it says something about installing tomcat5.5-admin
09:45.01timingbut that's the generic tomcat admin, and i need to see the admin of that webapp
09:45.31timingrunning on java-7-icedtea and ubuntu feisty
09:45.39kjkoster5489apt-getted tomcat?
09:45.43timingyeah
09:45.55kjkoster5489It is broken. Please install tomcat from tomcat.apache.org
09:46.06timingo
09:46.14timingexactly with this problem?
09:46.35timingdo i still need 5.5?
09:46.44timingor do you recommend 6.x?
09:46.50kjkoster5489Get Tomcat 6 while you are at it.
09:46.54timingok
09:47.19timingaarch no deb packages
09:47.23kjkoster5489As for brokenness: http://java-monitor.com/forum/showthread.php?t=4  http://java-monitor.com/forum/showthread.php?t=134
09:47.27timingthanks
09:47.40kjkoster5489Debian packages for Java app servers are a pain.
09:47.51timingyeah probably
09:47.51kjkoster5489They cause more problems than they solve.
09:51.28kjkoster5489They are great for non-Java-app-server--software.
09:51.36kjkoster5489Just not for tomcat/jboss/gf
10:06.12timingkjkoster5489: nice thanks!!! works like a charm
10:07.01kjkoster5489glad to hear it\]
10:08.00*** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net)
10:18.12jimmy123WARNING: Channel key is registered, but has had no interest ops for the last 3000 ms.
10:18.26jimmy123that appears when i use the BackupManager for clustering
10:18.52jimmy123and then i start getting memberDisappeared entries :(
10:19.38*** join/#tomcat dvayanu_ (n=another@host-62-245-224-138.customer.m-online.net)
10:20.03*** join/#tomcat dvayanu__ (n=another@host-62-245-224-138.customer.m-online.net)
10:31.24*** part/#tomcat timing (i=timing@fokdat.nl)
10:36.55*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
11:04.02*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
11:08.40*** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net) [NETSPLIT VICTIM]
11:08.40*** join/#tomcat MHSL (i=Linux@cm18.eta6.maxonline.com.sg) [NETSPLIT VICTIM]
11:08.40*** join/#tomcat reisi (i=koivunej@tutor.cc.tut.fi) [NETSPLIT VICTIM]
11:21.20*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
11:33.35*** join/#tomcat timing (i=timing@fokdat.nl)
11:33.37timinghey
11:33.47kjkoster5489hi
11:33.57timinglooks like it's working
11:34.48timingthe web application I downloaded tells me i should check the application by going to localhost:8080/admin/statuscheck
11:35.03timingthat's indeed a webpage and does some checking
11:35.19timingbut going to localhost:8080/admin/ gives me 404
11:35.21timingwhy?
11:39.05kjkoster5489check ${tomcat}/logs/catalina.out
11:39.23kjkoster5489Standard tomcat or apt/yum/rpm one?
11:39.33timingthe binary from the website
11:39.39timingrunning with catalina.sh run
11:39.44kjkoster5489Excellent.
11:40.12kjkoster5489I never use the admin app. It is a vector for viruses and it does nothing you cannot do from the command line.
11:40.21kjkoster5489So I cannot help you with that app.
11:40.51timingno it's not the tomcat admin
11:41.01timingit happens to be a webapp with an admin
11:41.31timinglet's state the question like this:
11:42.19timingthe webapp i downloaded says in the docs that the page localhost:8080/shop/status should give me some info
11:42.25timingthat page indeed exists
11:42.32timingbut localhost:8080/shop/ gives me a 404
11:42.35timingwhy?
11:49.53kjkoster5489Did the app deploy properly?
11:50.07kjkoster5489There should be a line in catalina.out saying it has.
11:51.03timingApr 1, 2009 11:39:14 AM org.apache.catalina.startup.HostConfig deployWAR
11:51.03timingINFO: Deploying web application archive admin.war
11:51.06timinglooks fine?
11:51.13kjkoster5489Yeah. Any exceptions
11:51.15kjkoster5489?
11:51.16timingnope
11:51.36kjkoster5489Then I have nothing to go on.
11:52.28kjkoster5489Other parts of the app worked?
11:53.37timingnope only that part
11:54.41kjkoster5489Does the app have a custom log file?
11:54.58kjkoster5489You prarbly should refer to the app's support forums for this, though.
11:56.08timingyeah sending a mail now :-)
11:56.25timingyeah it has a custom logfile, but is not that verbose
11:56.41kjkoster5489No exceptions?
11:57.05*** join/#tomcat schone (n=prashant@ppp154-252.static.internode.on.net)
11:58.01timingyeah something about jdbc, but that shouldn't give me a 404 right?
11:58.12timingo and that error is 2 hours old btw
11:58.21timingso i think jdbc works already
11:58.35kjkoster5489*shrug* Can't tell from here.
11:59.04timingokay
11:59.07timingwell thanks anyway :-()
11:59.15timinguhm i meant this one: :-)
12:18.52*** join/#tomcat itamarjp (n=itamar@187-032-068-225.static.ctbctelecom.com.br)
12:36.20*** join/#tomcat eternal (n=eternal@d220-236-84-248.dsl.nsw.optusnet.com.au)
12:36.50eternalIs it possible to change the JAVA_HOME value? it is pointing to a directory i don't have
12:37.30kjkoster5489eternal: what shell are you using?
12:37.48kjkoster5489In bash it is "export JAVA_HOME=/the/right/dir/"
12:37.59eternali am using sabayon konsole
12:38.03kjkoster5489You have to point it so the ${JAVA_HOME}/bin/java works.
12:38.25kjkoster5489No idea. What does "echo ${SHELL}" give you?
12:39.06eternallocalhost bin # echo ${SHELL}
12:39.06eternal/bin/bash
12:43.52eternalok i got it now
12:43.53eternalty
12:48.02eternalexport JAVA_HOME=/usr/lib/jvm/sun-jdk-1.5
12:48.20eternalnow it might start up this time.
12:49.33eternalwoot
12:49.38kjkoster5489:)
12:54.28*** join/#tomcat doug8429 (n=dcarter@207.189.100.62)
12:54.49doug8429Is there anyone here that can answer a j_security_check question?
12:59.40*** part/#tomcat timing (i=timing@fokdat.nl)
13:05.33*** part/#tomcat doug8429 (n=dcarter@207.189.100.62)
13:08.42*** join/#tomcat anas (n=anas-ahm@a186-204.adsl.paltel.net)
13:18.26*** join/#tomcat yel (i=c06d320a@gateway/web/ajax/mibbit.com/x-1d7bccffbac37a5d)
13:40.10schoneis it it secure to include the mysql user name and pass inside a jsp page when trying to retrieve data
13:49.35*** join/#tomcat eternal (n=eternal@d220-236-84-248.dsl.nsw.optusnet.com.au)
13:50.07eternalhallo
13:50.27eternali think i am the noobest tomcat user ever
13:51.37eternalon setting a user to be avail to use the manager on main page of tomcat i chmod the file to 777 then edited it and  then set file back to 644 still can't use it to login
13:52.36eternalha oops had to reset server :P
14:14.39*** join/#tomcat wamty (n=marctw@94.187.88.119)
14:14.44wamtyhey, got a linux server with apache,tomcat and java. I changed something in a .jsp file and I cannot see the change, I've restarted tomcat and apache, should I recompile it?
14:16.03MHSLwamty, try to clear your tomcat work directory
14:18.54wamtyin ../tomcat4/work/ I have a 'localhost' directory? should I move that away?
14:20.15wamty?
14:21.51MHSLthere should be a directory for your webapp context under work
14:21.57MHSLlocalhost i mean
14:22.12MHSLyou can either move or delete that directory
14:23.50wamtygot a /var/tomcat4/webapps/ or /var/tomcat4/work/localhost/html or ../Admin..
14:23.57wamtylast 2 are in work/localhost/
14:25.07wamtyin /var/tomcat4/work/localhost/html/Admin I have - D1$jsp.class
14:25.13wamtyD1$jsp.java -  D1.jsp is the file I changed
14:26.33*** part/#tomcat revo22 (n=smouquet@94.124.128.204)
14:28.12wamtyany ideas?
14:28.39wamtywhat should I move?
14:29.30MHSLok, you can remove D1*
14:29.55*** join/#tomcat nick2009 (n=nick@192.118.0.113)
14:29.59nick2009hey, got a linux server with apache,tomcat and java. I changed something in a .jsp file and I cannot see the change, I've restarted tomcat and apache, should I recompile it?
14:30.59nick2009os redhat 9 tomcat version 4 somethimg, how do I check?
14:31.01nick2009sorry.
14:31.08MHSLare you wamty?
14:31.32MHSL<wamty> what should I move? <MHSL> ok, you can remove D1*
14:31.45nick2009nope
14:32.08nick2009hehe, which channel is that?
14:33.50*** join/#tomcat anas (n=anas-ahm@a193-111.adsl.paltel.net)
14:34.17MHSLhere
14:34.19MHSLanyway
14:34.27MHSLnick2009, pls check your tomcat work directory
14:34.40anasi wrote my proposal for "vales2 filters"
14:34.44MHSLnick2009, either remove or move the files you're trying to modify
14:34.50anasgive me your ideas
14:36.24anasi wrote my proposal for "valves 2 filters" project monitored by mark thomas
14:36.28anasfor gsoc
15:10.28*** join/#tomcat itamarjp (n=itamar@187-032-068-225.static.ctbctelecom.com.br)
15:48.38*** join/#tomcat oxi (n=oxi@dyn.144-85-208-035.dsl.vtx.ch)
16:08.53*** join/#tomcat ClaudioLago (n=claudio@189.71.86.145)
16:09.34*** part/#tomcat ClaudioLago (n=claudio@189.71.86.145)
16:15.52*** join/#tomcat karstensrage (n=chatzill@75-55-199-5.mobitv.com)
16:38.36*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
16:50.34*** join/#tomcat anas (n=anas-ahm@a193-111.adsl.paltel.net)
16:58.26*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
17:17.06*** join/#tomcat BerryMarmalade2 (n=fabio@host130-189-dynamic.51-79-r.retail.telecomitalia.it)
17:22.04*** join/#tomcat anas (n=anas-ahm@a193-111.adsl.paltel.net)
17:44.55*** join/#tomcat anas (n=anas-ahm@a193-111.adsl.paltel.net)
17:52.21*** join/#tomcat dvayanu (n=another@ppp-93-104-113-185.dynamic.mnet-online.de)
18:06.34*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
19:10.08*** join/#tomcat da_krowa (i=Miranda@chello089076200016.chello.pl)
19:18.50*** join/#tomcat pirroh (n=pirroh@fooshed.net)
19:19.21*** part/#tomcat pirroh (n=pirroh@fooshed.net)
19:30.36*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
19:55.21*** join/#tomcat tom17bombadil (n=tom@T265f.t.pppool.de)
20:37.49*** join/#tomcat BerryMarmalade2 (n=fabio@host130-189-dynamic.51-79-r.retail.telecomitalia.it)
21:53.47*** join/#tomcat rightsprocket (n=mrray@c-69-246-170-128.hsd1.fl.comcast.net)
22:09.25*** join/#tomcat mammut_ (n=mammut@212251165129.customer.cdi.no)
22:09.58*** join/#tomcat mammut- (n=mammut@212251165129.customer.cdi.no)
22:10.38mammut-ive been having a problem with deploying a war file
22:10.45mammut-in a way
22:11.03mammut-ive put the war file in the webapps , restarted tomcat and its extracted the project for me
22:11.34mammut-but when I go to the url it says that the resource is not available
22:44.19karstensragewhats the path set to in your web.xml
22:45.31mammut-if you mean sun-web.xml the path is the one im usin im my browser
22:45.44mammut-context-root
22:45.48mammut-tag
22:46.09mammut-im not sure what im looking for in web.xml if theres supposed to say something about path
22:47.38mammut-I can add that I can not find the project in the tomcat application manager list
22:48.58karstensragethen check catalina.out for errors deploying the webapp
22:54.16mammut-empty
22:54.54karstensragecompletely empty or it says your app deployed?
22:55.01mammut-completely empty
22:55.10karstensrageis tomcat even started?
22:55.14mammut-yes
22:55.38mammut-howelse can I go to the application manager
22:58.55mammut-the thing is that its permission is a bit strange
22:59.10mammut-prwx------
22:59.24mammut-not sure what that p means
22:59.57mammut-but the size of the file is 0 so id guess its empty
23:00.27karstensragewho is the file owner?
23:00.34mammut-root
23:00.44mammut-and im logged in as root too
23:00.44karstensragewhat is tomcat running as?
23:00.47karstensrageoh
23:00.48mammut-tomcat
23:00.55karstensragewell that could be a problem
23:04.38*** join/#tomcat bijoo_webdev (n=bijoo_we@c-98-204-53-61.hsd1.dc.comcast.net)
23:04.40pfntomcat doesn't use sun-web.xml
23:05.17mammut-om I just realised something
23:05.30mammut-ive created this project in netbeans , and thats is using glassfish
23:05.54mammut-thats the reason ?
23:06.11mammut-I thought exporting to war file was generic
23:06.32pfnit is, to an extent
23:49.24*** join/#tomcat MHSL (i=Linux@cm18.eta6.maxonline.com.sg)
23:55.58*** join/#tomcat vinse (n=vinse_@208.253.223.146)

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