IRC log for #tomcat on 20100407

00:06.04*** join/#tomcat rmrfslash (~quassel@pool-173-48-171-124.bstnma.fios.verizon.net)
00:14.51*** join/#tomcat quannum (~cb274039@gateway/web/freenode/x-ezfthtfmdvjvfrlk)
00:18.05*** join/#tomcat calavera_ (~calavera@83.50.67.42)
00:19.11quannumhi guys, i'm running Apache Tomcat/6.0.18 with sun java 1.6.0_14-b08 on ubuntu 8.10 and seeing terrible performance. I'm seeing 3 tomcat processes start by jsvc, and arguments include -Xms128m -Xmx1024m -XX:MaxPermSize=256m. It's running on a 1gig, 1 core VPS and I have 3 webapps - jira, confluence and hudson. any pointers on where i shoud start diagnosing problems?
00:22.21jasonbquannum: I think Confluence is pretty resource needy.. but even so, you should run a newer version of Tomcat.  I strongly suggest version 6.0.26.
00:23.08jasonbquannum: I fixed up the newest Debian/Ubuntu tomcat6 package in some ways, and it has 6.0.24.. that would work a lot better for you if you really must install it via a deb package.
00:25.33quannumjasonb: debs are preferable. where can i see your packages?
00:26.32jasonbquannum: The 6.0.24 one is in Debian Squeeze, testing I believe..  Go to this page and scroll down to see how to install it..
00:26.33jasonbHow to install Sun java 1.6 on Debian Lenny, How to install Tomcat from Squeeze
00:26.33jasonbhttp://www.waltercedric.com/component/content/article/1634.html
00:32.36jasonbquannum: Also, here's my blog post about what I changed (and helped change): http://blogs.mulesoft.org/a-better-tomcat-for-ubuntu-and-debian/
00:34.17quannumjasonb: ah cool, I'd read that post already (thanks!). I'll try the squeeze package and see how we go.
00:35.37jasonbquannum: You're quite welcome.  Again, Confluence may end up making things run slower due to being more resource needy, potentially even with a newer Tomcat.  But, if the problem is memory leaks, then a newer Tomcat will almost certainly help you.
00:59.22*** join/#tomcat batboyz (~9212ad47@gateway/web/freenode/x-dczfsbcwczrgmpgx)
01:29.50*** join/#tomcat karstensrage (~karstensr@c-71-202-243-186.hsd1.ca.comcast.net)
01:36.00*** join/#tomcat juhanic (~juhani@60.32.133.198)
02:05.38quannumjasonb: upgrade went well, and - if i don't start jira - the apps run well too. jira is polluting the logs on startup so i presume something is misconfigured. thanks for your help.
02:06.09quannumfwiw those squeeze packages install cleanly on ubuntu 8.10, if you weren't already aware
03:23.21*** join/#tomcat progre55 (~icky@stock-zit1.151.cust.blixtvik.net)
03:58.47*** join/#tomcat factor (~factor@ip70-177-95-241.ok.ok.cox.net)
04:12.40*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:35.13*** join/#tomcat egyn (~egyn@c-93a670d5.1610-15-64736c11.cust.bredbandsbolaget.se)
05:40.38*** join/#tomcat mattock (~samuli@dyn55-11.yok.fi)
06:09.13*** join/#tomcat kasun (~kasun@202.129.234.201)
06:24.32*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
07:05.08*** join/#tomcat skt (~mahiti@122.166.105.215)
07:15.08*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
07:19.32*** join/#tomcat kjkoster5489 (~kjkoster@193.79.224.62)
07:27.00*** join/#tomcat VaNNi (~VaNNi___@38.98.61.142)
07:37.28factorBeen working with opencms, pretty nice cms
07:37.40factoranyone else use it?
07:46.06*** join/#tomcat ThaPulp (~me@82-169-227-106.ip.telfort.nl)
07:48.44*** join/#tomcat loddafnir1 (~mike@chello212186208251.11.vie.surfer.at)
07:56.40factoropencms need a lot of default templates to choose from but the admin mode is good overall.
08:09.22*** join/#tomcat cofeineSunshine (~justinas@kas.tavatievs.eu)
08:15.04*** join/#tomcat jumic (~micheju@f051050215.adsl.alicedsl.de)
08:35.41*** join/#tomcat dvayanu (~another@ds87-230-56-22.dedicated.hosteurope.de)
08:37.55*** join/#tomcat Eanst (~5472b474@gateway/web/freenode/x-qzwchttuillnylaa)
08:38.05Eansthello
08:38.10Eansti need help, i'm a ernst
08:38.18Eanstoder könnts ihr deutsch?
08:39.08EanstVampires preay at night!
08:39.15EanstNancy without the n
08:39.16*** join/#tomcat ernstl` (~5472b474@gateway/web/freenode/x-itglcbpolxwvocid)
08:39.17Eanstwhat is that?
08:39.37ernstl`Hi ppl.
08:39.45ernstl`Good Morning to evryone.
08:39.52Eanstsers
08:40.31kjkoster5489morning
08:40.46*** part/#tomcat s_n (~s1m0n@silent.expro.pl)
08:40.51Eanstnoobs
08:40.55Eanstit's black and cyan
08:41.06mYn4m31513d4v1d3What do you mean?
08:41.23Eanstyou wasn't here when i asked the quetschion
08:41.54mYn4m31513d4v1d3Ask it a second time, pls.
08:42.27EanstVampires preay at night!
08:42.30EanstNancy without the n
08:42.37Eanstwhats the colors?
08:42.52mYn4m31513d4v1d3sd
08:42.52mYn4m31513d4v1d3f
08:42.52mYn4m31513d4v1d3s
08:42.52mYn4m31513d4v1d3fsd
08:42.53mYn4m31513d4v1d3f
08:42.53mYn4m31513d4v1d3sd
08:42.53mYn4m31513d4v1d3fds
08:42.53mYn4m31513d4v1d3f
08:42.54mYn4m31513d4v1d3sdf
08:42.54mYn4m31513d4v1d3sd
08:42.59EanstDO NOT SPAM
08:43.18mYn4m31513d4v1d3Sorry for the spam.
08:43.34ThaPulpmumbles something about pot and ketle
08:45.12Eanstslaps mYn4m31513d4v1d3 around a bit with
08:45.17Eanst-.-
08:45.20Eanst.________________________________.
08:45.25mYn4m31513d4v1d3With what?
08:45.28EanstWith you
08:45.33EanstxD
08:46.07Eansti need examples for tomcat!!!
08:46.07mYn4m31513d4v1d3Şu andan itibaren Türkçe olarak converse gör.
08:46.15EanstWTF
08:46.33mYn4m31513d4v1d3Ben Ä°ngilizce bilmiyorum.
08:46.43EanstVon nun an Konversation in türkischer Sprache.
08:47.00Eanster hat geschrieben: Ich spreche kein Englisch
08:47.09mYn4m31513d4v1d3kjkoster5489: Türkçe biliyor musun?
08:47.18Eanstdurch den monsun
08:52.09*** join/#tomcat grandmoun (~piliman@encyclo014701-1-4.clients.easynet.fr)
08:52.29*** join/#tomcat The_Thing (~illogical@wikipedia/The-Thing-That-Should-Not-Be)
08:58.27gmcdonaldnice
09:01.10*** part/#tomcat The_Thing (~illogical@wikipedia/The-Thing-That-Should-Not-Be)
09:02.00*** join/#tomcat udp11 (~MARIN@cpe-94-253-247-25.st.cable.xnet.hr)
09:02.12*** part/#tomcat udp11 (~MARIN@cpe-94-253-247-25.st.cable.xnet.hr)
09:09.31*** join/#tomcat suuuper (~suuuper@ns.babel.it)
09:09.55suuuperhi
09:21.06suuuperi use apache with mod_proxy_ajp that proxies all request to two tomcat that are in Backend
09:21.06suuuperIs there a way to set the max size of upload file?
09:23.28suuuperIf i try to upload a file that is 2gb large, it tells me that th size is excessive
09:24.04suuuperafter the entire upload is finished
09:24.49suuuperis there a way to limit the max upload in advance?
09:25.10Rulf_HolzLe chat dans une langue est le français.
10:10.33*** join/#tomcat karstensrage_alt (~karstensr@c-71-202-243-186.hsd1.ca.comcast.net)
10:12.36*** join/#tomcat iguanna (~david@83.44.130.245)
10:25.35*** join/#tomcat mturk (~mturk@93-138-163-240.adsl.net.t-com.hr)
10:27.37*** join/#tomcat mturk (~mturk@93-138-163-240.adsl.net.t-com.hr)
10:30.27*** join/#tomcat mturk (~mturk@93-138-163-240.adsl.net.t-com.hr)
10:46.02*** join/#tomcat cga (~cga@193.42.200.132)
10:46.41*** join/#tomcat hrad (~a@78-136-157-143.client.ufon.cz)
10:49.30iguannaif I have installed tomcat-apache, I have got installed apache as well? So I could configure my webapp to be serve through apache instead of tomcat, I hope I am not confusing things
10:49.31hradcould please anybody explain to me, when custom class loader in context file is used and the context is being initialized and started, how is it then with with webapp class loader and the custom classloader ?
10:49.38*** join/#tomcat mturk (~mturk@93-138-163-240.adsl.net.t-com.hr)
10:54.28ThaPulpI have a question. If I'm not mistaking I'm using tomcat 6.0.20 with JRE 1.5.0_20 on a windows XP machine
10:54.29ThaPulpI want to enable SSL with an optional client certificate and have this enabled (clientAuth="want"). The problem is that request.getRemoteUser() returns null and I want the client certificate DN (if one is used ofcourse).
10:54.31ThaPulpI have found out that adding (among others) a auth-constraint to the webapp web.xml gives me the client certificate DN as the request.getRemoteUser(). The problem with this approach is that if I don't use a client certificate or one that isn't in my realm tomcat returns an error. Specifying an error page (401) works only partially, because that doesn't give me the client certificate DN either.
10:54.33ThaPulpOk the questions:
10:54.35ThaPulpI have the feeling I'm missing something that I can configure to pass on the client certificate DN. Is this true and if so what?
10:54.36ThaPulpIs there a way to input some kind of wildcards in the usernames or something?
10:54.38ThaPulpFor any of the above goes some pointers are appreciated as well :)
11:17.37*** join/#tomcat kjkoster5489_ (~kjkoster@unl201395.nl.customer.alter.net)
12:19.57*** join/#tomcat dassouki (~dassouki@li97-148.members.linode.com)
12:20.15dassoukii have tomcat installed on ubuntu server .. http://www.transpotools.com:8180
12:20.27dassoukihowever ic an't find the proper catalina directory
12:20.31dassoukisecond i get java_home errors
12:29.34kjkoster5489_dassouki: use the normal tomcat from apache.org
12:33.11dassoukikjkoster5489_: as in download and compile it
12:33.28kjkoster5489_No, as in download the binary zip and unzip it.
12:33.55kjkoster5489_The ubuntu package is experts-only and changes a *lot* of stuff in unexpected ways.
12:34.18dassoukikjkoster5489_: oooh thanks, and i should go with 5.5 if i want to do a war .. correct?
12:34.50kjkoster5489_No, just use 6.0.26 which is the newest. Unless you have reason to go with older version.
12:35.31dassoukicore or deployer
12:36.02kjkoster5489_Core.
12:36.59*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
12:41.10dassoukiawesome unzipped now reading the readme file
12:41.55dassoukiah so i'm assumign to start it .. sh bin/startup.sh
12:43.15kjkoster5489_What I do si:
12:43.18kjkoster5489_is:
12:43.22kjkoster5489_cd apache*/bin
12:43.25kjkoster5489_chmod 755 *.sh
12:43.36kjkoster5489_./catalina.sh run
12:43.55kjkoster5489_run to stay on the terminal, start for daemon operation.
12:44.12kjkoster5489_Change port in ${tomcat}/conf/server.xml
12:45.22*** join/#tomcat kjkoster5489 (~kjkoster@unl201395.nl.customer.alter.net)
12:47.58*** join/#tomcat dassouki_ (~dassouki@li97-148.members.linode.com)
12:48.23dassouki_kjkoster5489: got disconnected, is tehre a wayto run it in the background when my server restarts ? and that i can have it part of /etc/init.ed
12:48.26dassouki_d
12:48.52kjkoster5489You can reuse the initd script from the Debian package.
12:49.03kjkoster5489Or clone one of your own initd scripts.
12:50.23dassoukiand i'll put my war files in webapps ?
12:56.39*** join/#tomcat MaxVandervelde (~Maxpower5@198.36.218.162)
12:59.27dassoukithat didn't work
12:59.35cofeineSunshinehello
12:59.58cofeineSunshinei'm trying to run tomcat applications with oracle UCP - universal connection pool
13:00.04cofeineSunshinei make it working
13:00.05LzrdKingis cofeine coffee with extra caffeine?
13:00.15cofeineSunshinebut i have issue
13:00.34cofeineSunshinemy linux workstation loads goes up to 5!
13:00.54cofeineSunshinewhen connection pool is initialized and 1 connection is taken from it
13:01.13cofeineSunshineapplication is very simple, so it look like problem is in configuration OR in UCP itself
13:01.25cofeineSunshinehas anybody experienced similiar problems?
13:02.55dassoukirestarting tomcat didn't make it work either
13:03.29cofeineSunshineLzrdKing: :) no
13:03.44dassoukii have it installed as .. $tomcat/webapps/my_app/my_app.war
13:03.59dassoukiand to load it, mysite:8180/my_app
13:04.56*** join/#tomcat mck182 (~quassel@ip-2-53.hlucinnet.cz)
13:08.16*** join/#tomcat grandmoun (~piliman@encyclo014701-1-4.clients.easynet.fr)
13:17.53dassoukiso i can see the examples fine, i've added myelf to tomcat-users.xml ... but is till can't see /maanager
13:18.37dassoukiactually now i get a status 500 ugh on my examples
13:24.33dassoukiany ideas on what i could be doing wrong
13:29.42*** join/#tomcat kjkoster5489 (~kjkoster@unl201395.nl.customer.alter.net)
13:33.35*** join/#tomcat dassouki (~dassouki@li97-148.members.linode.com)
13:34.07kjkoster5489dassouki: default port of tomcat is 8080
13:34.52dassoukikjkoster5489: i changed it to 8180
13:35.15dassoukii just unzipped tomcat deployer, and now trying to figure out how to deploy my war file
13:36.05dassoukii also created my user which the manager doesn't seem to get
13:38.12kjkoster5489Just drop the WAR into ${tomcat}/webapps.
13:38.27kjkoster5489manager app I never use.
13:38.33dassoukihttp://97.107.136.148:8180/geoserver/
13:38.53kjkoster5489Look at the outpout on the terminal or in catalina.out
13:39.04kjkoster5489(that url times out)
13:39.25dassoukiif you take geoserver out
13:39.31dassoukiit takes you to the default tomcat
13:39.34dassoukihttp://97.107.136.148:8180/
13:39.42kjkoster5489(that url times out)
13:40.04kjkoster5489Pastebin any exceptions in catalina.out
13:41.10dassoukilogs/ is empty
13:44.53kjkoster5489Is Tomcat even running?
13:45.02kjkoster5489How did you start it?
13:45.17kjkoster5489Are you 100% sure that you killed the packaged tomcat?
13:46.41dassoukikjkoster5489: i put a message for you on top http://transpotools.com:8180/
13:46.54dassoukii opened it from different browsers and i can see it
13:47.41kjkoster5489I cannot.
13:47.48kjkoster5489It times out.
13:47.49*** join/#tomcat randrewj (~raj-user@180.sub-75-236-140.myvzw.com)
13:47.50kjkoster5489Firewall.
13:49.30dassoukiso i unzipped my tomcat into /var/tomcat. I then changed the server config .xml to 8180
13:49.36dassoukii then pasted my app into webapps
13:49.42dassoukiadn i can't see it
13:52.17kjkoster5489If catalina.out is empty you did not start tomcat
13:52.24kjkoster5489Or you started the old one, maybe.
13:52.30kjkoster5489I have yet to see that fail.
13:52.43dassoukiwhere is catalina.out is it in tomcat/logs
14:00.51kjkoster5489Yes
14:06.10dassoukikjkoster5489: http://pastie.org/907441
14:06.37kjkoster5489It deployed geoserver-2.0.1 fine.
14:07.03kjkoster5489Have you tried http://97.107.136.148:8180/geoserver-2.0.1/ ?
14:08.07*** join/#tomcat Yuri_Harrison (~Pergunte@unaffiliated/pscicodelixhat)
14:08.33dassoukikjkoster5489: yes
14:08.35dassoukididn't work
14:08.58kjkoster5489Define "didn't work".
14:09.37dassoukikjkoster5489: i get the tomcat 404 standard error
14:09.50dassoukidescription The requested resource (/geoserver/) is not available.
14:09.55kjkoster5489Hmm.
14:09.59kjkoster5489Strange.
14:10.14Yuri_Harrisonhi...I have installed tomcat in my rhel, and I start it, but I didnt get any connection in 8080...I'm allready have 5 instances of jboss running in sub-interfaces(virtual ips) and Already running apache...
14:10.39Yuri_Harrisonsomeone can tell me how to solve this problem?
14:13.05*** join/#tomcat jasonb (~jasonb@m310e36d0.tmodns.net)
14:17.03dassoukikjkoster5489: it works now i'm an idiot
14:17.03dassoukilol
14:17.09dassoukii didn't deploy to webapps/
14:17.17dassoukii deployed to webapps/my_app which is wrong
14:21.52Yuri_Harrisonsomeone?
14:22.31*** join/#tomcat rmrfslash (~quassel@140.247.89.22)
14:23.14dassoukicheck your conf/servers.xml
14:23.19dassoukiand which port is runnign under
14:31.41*** join/#tomcat kasun (~kasun@123.231.64.242)
14:34.27*** join/#tomcat jasonb_ (~jasonb@m1f0e36d0.tmodns.net)
14:40.12*** join/#tomcat orev (~orev@66.159.161.75)
14:45.03orevI'm looking into options for session replication between 4 nodes in a tomcat 6.0.18 cluster.  I've read the cluster howto on apache.org, but that warns about performance in "large clusters".  I'm undoubtedly going to get pushback about additional overhead of the replication because of that warning, so is that a good solution for my size cluster?  are there better ways to handle the replication?
14:45.08*** part/#tomcat dassouki (~dassouki@li97-148.members.linode.com)
14:48.50*** join/#tomcat jumic (~micheju@g227092217.adsl.alicedsl.de)
14:50.54*** join/#tomcat Peregrin0 (~chatzilla@adsl-211-246.tricom.net)
14:51.22Peregrin0how to i can have access to tomcat remote via?
14:51.46Peregrin0i have access remotly already  (localhost)
14:54.32*** join/#tomcat monk12 (~a@65.199.31.2)
14:54.58monk12hello all, im curious. after i do 'catalina.sh start' how will i know it is in process of starting and no server error occured?
14:55.21monk12like pretend it takes our server 20s to start up... how will i know after issueing that command that it is starting up during those 20s.
14:55.49orevmonk12: watch the catalina.out log file
15:00.52*** part/#tomcat ThaPulp (~me@82-169-227-106.ip.telfort.nl)
15:01.31*** join/#tomcat randrewj1 (~raj-user@31.sub-75-195-188.myvzw.com)
15:15.05*** join/#tomcat jasonb_ (~jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net)
15:43.05*** join/#tomcat km (~km@65.115.85.246)
15:54.24*** join/#tomcat MaxVandervelde (~Maxpower5@198.36.218.162)
16:07.02*** join/#tomcat calavera_ (~calavera@83.50.67.42)
16:18.28*** join/#tomcat egyn (~egyn@c-93a670d5.1610-15-64736c11.cust.bredbandsbolaget.se)
16:37.00monk12orev: thanks that helped out alot.
16:39.02monk12another quick question: for the <Context> docBase/path in server.xml, can i do <Context docBase="mainfolder" path=""> to setup main virtual mapping and also a <Context docBase="mainfolder/projects/class_signup" path="signup">  like a virtual path mapping inside of another folder already setup with Context?
16:52.46*** join/#tomcat acidjnk (acid@pD950A0AB.dip0.t-ipconnect.de)
16:55.40*** join/#tomcat xh (~xh@ll-2.209.223.85.sovam.net.ua)
16:56.53monk12I decided to move the <Resource/> into 1 <Context> node for now... Is it allowed to have to named resources for jdbc like so? like <Context...> <Resource name="jdbc/dev" .../> <Resource name="jdbc/prod"..../> and use names in my jsp's accordingly? I am getting an error "Name dev is not bound in this Context"
16:57.24xhhi! is there a way to get Tomcat to print for each request all the attached request attributes and request parameters?
16:59.03monk12like actual code to loop in a jsp file and spit out param values?
16:59.52xhmonk12: yes, exactly; i don't want to write it by hand - this is kind of.. stupid;
17:00.14monk12http://paste.org/pastebin/view/17128
17:00.21monk12i used something like that yesterday
17:01.51*** join/#tomcat calavera_ (~calavera@83.50.67.42)
17:01.51xhmonk12: thanks! but this is not exactly what i was looking for; can i get tomcat to do this for me? for both parameters and attributes? i have got thousands of jsp's and servlets...
17:02.59monk12ouch, I dunno.
17:04.20xhmonk12: before i start writing code to hook into the project i though i'd better ask here, expecting that there might be some 'high-level' solution at the tomcat level; after working with django this is almost implied that the server would be able to do this..
17:04.37*** join/#tomcat rrowell (~richard@gk2.bowmansystems.com)
17:05.45rrowellis there any way to "hook" the session expiration?  Somehow occasionally the session gets "lost" long before it should time out, so I would like to log any time a session is created or invalidated
17:05.52monk12http://robobruin.blogspot.com/2007/09/logging-request-and-response-headers-in.html google some stuff like "tomcat log each request" or "tomcat run code before each request"
17:06.00monk12best i can do
17:06.31randrewj1xh: see RequestDumperFilter, it's a sample filter included w/tomcat examples
17:07.20xhrrowell: you'll probably need to create your own wrapper for Session
17:08.22xhmonk12: cool! thanks a ton! just what I was looking for! :)
17:09.14randrewj1rrowell: maybe http://tomcat-configure.blogspot.com/2009/01/tomcat-session-listener-example.html
17:10.32rrowellty!
17:11.04*** join/#tomcat loddafnir1 (~mike@chello212186208251.11.vie.surfer.at)
17:17.54*** join/#tomcat jasonb (~jasonb@m5f0e36d0.tmodns.net)
17:20.25*** join/#tomcat flashboss1 (~Adium@adsl-ull-42-30.47-151.net24.it)
17:20.33flashboss1hi
17:20.35flashboss1how are you?
17:22.30flashboss1does tomcat extract the 'http-equiv' metadata? If yes how and where?
17:26.16xhnow, another question is how to get tomcat to log everything on stdout/stderr instead of file?
17:41.42monk12Is it alright to have many Resources under Context in server.xml? i am getting a "Name jdbc is not bound in this Context" ... the 2 names are "jdbc/prod" and "jdbc/dev" so not sure what causing issue
17:41.59monk12connecting to 1st Resource also gives same error.  taking 2nd Resource out, causes error to stop if (just using Resource 1 in jsp)
17:42.48xh..hm, after having uncommented both AccessLogValve and RequestDumperValve in server.xml i now get all the request debug info right to the tomcat console, this is great!.. )
17:43.19monk12my Context/Resource xml node is under /Server/Service/Engine/Host
17:50.24Yuri_Harrisonhello how do I start tomcat in a virtual ip
17:50.45Yuri_Harrisonfor example eth0:6
17:58.26*** join/#tomcat Peregrin0 (~chatzilla@adsl-211-246.tricom.net)
18:06.28*** join/#tomcat cofeineSunshine (~justinas@kas.tavatievs.eu)
18:10.31Peregrin0somebody?
18:12.55*** join/#tomcat brendanck (~bck@apex.cs.tcd.ie)
18:13.06LzrdKingsomebody just left
18:13.23*** join/#tomcat dvayanu (~another@p578E9559.dip.t-dialin.net)
18:13.27*** part/#tomcat brendanck (~bck@apex.cs.tcd.ie)
18:22.10hradiguanna, Yuri_Harrison it's called NIC alias, you just create these aliases with specific IPs and bind particular connectors to them in server.xml
18:23.12hradhence you can have more tomcat instances running under the same port
18:23.34hradbut different IP within one network adapter
18:25.56hradwith this script http://pastebin.com/De7b3yue you can create how much aliases you want
18:26.52hradand don't forget to change the shutdown port number, when running more instances
18:33.19hradYuri_Harrison
18:41.15Yuri_Harrisonhrad: hey, I iniate tomcat and it dont show anything in browser
18:43.05hradlook, if you already have the alias, say 192.168.0.12. ... then if you set up Connectors in server.xml to this IP address, it's the same, as you would let it be in default setting...this alias IP is the same as non-alias IP
18:44.22hradyou should change
18:44.34hradto hostnames in /etc/hosts
18:44.39*** join/#tomcat egyn (~egyn@c-93a670d5.1610-15-64736c11.cust.bredbandsbolaget.se)
18:44.53*** join/#tomcat chetan- (freetibet@lando.pixelcop.org)
18:44.56hradand point 192.168.0.12 to let say "twelve"
18:45.15hradand set <Engine name="Catalina" defaultHost="twelve">
18:45.28hradand <Host name="twelve"  appBase="webapps"
18:45.42*** part/#tomcat egyn (~egyn@c-93a670d5.1610-15-64736c11.cust.bredbandsbolaget.se)
18:45.56hradyou gotta play with it...
18:46.21flashboss1does tomcat extract the 'http-equiv' metadata? If yes how and where?
18:47.16Yuri_Harrisonhrad: can help with this second problem, I iniate tomcat and it dont show anything in browser
18:47.49hraddid you do what I just said ?
18:47.57hradthe hostname thing
18:49.25*** join/#tomcat jasonb (~jasonb@m5f0e36d0.tmodns.net)
18:50.32hradthen 192.168.0.12:8080 or twelve:8080  must work, if tomcat started
18:50.38Yuri_Harrisonhrad: I dont want want to bind another ip anymore
18:50.52Yuri_Harrisonhrad: it dont show anything
18:51.00factorjava cms's pretty much suck
18:51.10*** join/#tomcat puskar (~puskar@PUSKAR.ES.ITS.NYU.EDU)
18:51.13factormost are very limited, such a pain
18:52.59Yuri_Harrisonhrad: int dont give any erro in browser but show only a blanc page
18:53.13*** part/#tomcat randrewj1 (~raj-user@31.sub-75-195-188.myvzw.com)
18:54.44hradYuri_Harrison, and are you running an instance ($CATALINA_BASE) or you just trying to run tomcat the usual way just with an IP alias ?
18:57.38hradYuri_Harrison, if you're getting blank page, it works...the context setting must be wrong or something....I have to go now
19:06.41*** join/#tomcat cofeineSunshine (~justinas@kas.tavatievs.eu)
19:26.44*** join/#tomcat jasonb (~jasonb@m5f0e36d0.tmodns.net)
19:34.48*** join/#tomcat Lenhix (~lenho@190.146.247.120)
19:39.56*** join/#tomcat Alagar (~Administr@122.164.39.167)
19:44.12*** join/#tomcat dvayanu (~another@p578E9559.dip.t-dialin.net)
20:01.33rrowelli have created a HttpSessionListener and added a listener-class entry for it in the listeners section of the web.xml, but it does not appear that tomcat is calling it, is there any more I need to do?
20:10.20LzrdKingthere were an ODD number of SANDWICH cookies in this bag! that's so wrong
20:13.52rrowellnm, upgraded from 6.0.14 to 6.0.26 and it works now
20:18.58rrowellor it did momentarilly anyway... this is insane?
20:19.46factorgetting opencms down a java cms's have a ways to go though.
20:21.01*** join/#tomcat kasun (~kasun@123.231.64.242)
20:24.06rrowellis there any way to have the servlet log what listeners it finds in the web.xml file?
20:26.37flashboss1does tomcat extract the 'http-equiv' metadata? If yes how and where?
20:32.56rrowellhas anyone used a HttpSessionListener successfully with tomcat?
20:49.24*** join/#tomcat cofeineSunshine (~justinas@kas.tavatievs.eu)
20:54.42*** join/#tomcat cofeineSunshine (~justinas@kas.tavatievs.eu)
20:58.46*** join/#tomcat cofeineSunshine (~justinas@kas.tavatievs.eu)
21:17.32*** join/#tomcat MaxVandervelde (~Maxpower5@c-76-17-206-72.hsd1.mn.comcast.net)
21:22.25*** join/#tomcat jasonb (~jasonb@m1f0e36d0.tmodns.net)
21:23.05*** join/#tomcat gregcoit (~greg@72.26.202.52)
21:27.06*** join/#tomcat acidjnk (acid@pD950A0AB.dip0.t-ipconnect.de)
21:27.13gregcoitHI.  How do I debug this error: http://pastebin.com/N0WM5BcY  (tomcat 6.0.18-0ubuntu6.2 on jaunty with apache-solr 1.4)
21:38.12*** part/#tomcat orev (~orev@66.159.161.75)
21:38.48*** join/#tomcat dvayanu (~another@p578E9559.dip.t-dialin.net)
21:43.17rrowellI've seen the "Content is not allowed in prolog" before, the XML file had characters before the root tag.. IE "   <root>..."
21:43.31rrowellgregcoit, that was for you BTW
21:44.19gregcoitrrowell: kk - thanks
21:44.34gregcoitrrowell: any idea what xml file to check?
21:52.09gregcoitrrowell: nm, it was server.xml - left out a <
22:01.17*** part/#tomcat gregcoit (~greg@72.26.202.52)
22:04.55*** join/#tomcat jasonb (~jasonb@m1f0e36d0.tmodns.net)
22:13.01*** join/#tomcat rmrfslash (~quassel@pool-173-48-171-124.bstnma.fios.verizon.net)
22:57.45Yuri_Harrisonhello, I'm having problem when I try startup.sh it return a message: The BASEDIR environment variable is not defined correctly
22:57.48Yuri_HarrisonThis environment variable is needed to run this program
22:58.08Yuri_Harrisonapache-tomcat-6.0.29 is instaled at /opt
22:58.39*** join/#tomcat rafaelliu (~rafael@201.47.151.118.dynamic.adsl.gvt.net.br)
22:58.57Yuri_Harrisonrafaelliu: can help me this?
22:58.58LenhixWell guys, time to go home and "rest" XD. C u latah
22:59.09Yuri_Harrisonapache-tomcat-6.0.29 is instaled at /opt
22:59.16Yuri_HarrisonThis environment variable is needed to run this program
22:59.24Yuri_Harrisonhello, I'm having problem when I try startup.sh it return a message: The BASEDIR environment variable is not defined correctly
23:36.23cofeineSunshinehello, have a question about tomcat and JNDI. I have defines global JNDI resource in server.xml. So every time when I do lookup for that resource i get the same object? or every lookup it creates new object from factory
23:39.57cofeineSunshinefound: The resource factory will create a new instance of the appropriate bean class every time a lookup() for this entry is made.

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