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.11 | quannum | hi 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.21 | jasonb | quannum: 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.08 | jasonb | quannum: 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.33 | quannum | jasonb: debs are preferable. where can i see your packages? |
00:26.32 | jasonb | quannum: 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.33 | jasonb | How to install Sun java 1.6 on Debian Lenny, How to install Tomcat from Squeeze |
00:26.33 | jasonb | http://www.waltercedric.com/component/content/article/1634.html |
00:32.36 | jasonb | quannum: 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.17 | quannum | jasonb: ah cool, I'd read that post already (thanks!). I'll try the squeeze package and see how we go. |
00:35.37 | jasonb | quannum: 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.38 | quannum | jasonb: 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.09 | quannum | fwiw 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.28 | factor | Been working with opencms, pretty nice cms |
07:37.40 | factor | anyone 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.40 | factor | opencms 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.05 | Eanst | hello |
08:38.10 | Eanst | i need help, i'm a ernst |
08:38.18 | Eanst | oder könnts ihr deutsch? |
08:39.08 | Eanst | Vampires preay at night! |
08:39.15 | Eanst | Nancy without the n |
08:39.16 | *** join/#tomcat ernstl` (~5472b474@gateway/web/freenode/x-itglcbpolxwvocid) |
08:39.17 | Eanst | what is that? |
08:39.37 | ernstl` | Hi ppl. |
08:39.45 | ernstl` | Good Morning to evryone. |
08:39.52 | Eanst | sers |
08:40.31 | kjkoster5489 | morning |
08:40.46 | *** part/#tomcat s_n (~s1m0n@silent.expro.pl) |
08:40.51 | Eanst | noobs |
08:40.55 | Eanst | it's black and cyan |
08:41.06 | mYn4m31513d4v1d3 | What do you mean? |
08:41.23 | Eanst | you wasn't here when i asked the quetschion |
08:41.54 | mYn4m31513d4v1d3 | Ask it a second time, pls. |
08:42.27 | Eanst | Vampires preay at night! |
08:42.30 | Eanst | Nancy without the n |
08:42.37 | Eanst | whats the colors? |
08:42.52 | mYn4m31513d4v1d3 | sd |
08:42.52 | mYn4m31513d4v1d3 | f |
08:42.52 | mYn4m31513d4v1d3 | s |
08:42.52 | mYn4m31513d4v1d3 | fsd |
08:42.53 | mYn4m31513d4v1d3 | f |
08:42.53 | mYn4m31513d4v1d3 | sd |
08:42.53 | mYn4m31513d4v1d3 | fds |
08:42.53 | mYn4m31513d4v1d3 | f |
08:42.54 | mYn4m31513d4v1d3 | sdf |
08:42.54 | mYn4m31513d4v1d3 | sd |
08:42.59 | Eanst | DO NOT SPAM |
08:43.18 | mYn4m31513d4v1d3 | Sorry for the spam. |
08:43.34 | ThaPulp | mumbles something about pot and ketle |
08:45.12 | Eanst | slaps mYn4m31513d4v1d3 around a bit with |
08:45.17 | Eanst | -.- |
08:45.20 | Eanst | .________________________________. |
08:45.25 | mYn4m31513d4v1d3 | With what? |
08:45.28 | Eanst | With you |
08:45.33 | Eanst | xD |
08:46.07 | Eanst | i need examples for tomcat!!! |
08:46.07 | mYn4m31513d4v1d3 | Åu andan itibaren Türkçe olarak converse gör. |
08:46.15 | Eanst | WTF |
08:46.33 | mYn4m31513d4v1d3 | Ben Ä°ngilizce bilmiyorum. |
08:46.43 | Eanst | Von nun an Konversation in türkischer Sprache. |
08:47.00 | Eanst | er hat geschrieben: Ich spreche kein Englisch |
08:47.09 | mYn4m31513d4v1d3 | kjkoster5489: Türkçe biliyor musun? |
08:47.18 | Eanst | durch 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.27 | gmcdonald | nice |
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.55 | suuuper | hi |
09:21.06 | suuuper | i use apache with mod_proxy_ajp that proxies all request to two tomcat that are in Backend |
09:21.06 | suuuper | Is there a way to set the max size of upload file? |
09:23.28 | suuuper | If i try to upload a file that is 2gb large, it tells me that th size is excessive |
09:24.04 | suuuper | after the entire upload is finished |
09:24.49 | suuuper | is there a way to limit the max upload in advance? |
09:25.10 | Rulf_Holz | Le 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.30 | iguanna | if 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.31 | hrad | could 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.28 | ThaPulp | I 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.29 | ThaPulp | I 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.31 | ThaPulp | I 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.33 | ThaPulp | Ok the questions: |
10:54.35 | ThaPulp | I 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.36 | ThaPulp | Is there a way to input some kind of wildcards in the usernames or something? |
10:54.38 | ThaPulp | For 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.15 | dassouki | i have tomcat installed on ubuntu server .. http://www.transpotools.com:8180 |
12:20.27 | dassouki | however ic an't find the proper catalina directory |
12:20.31 | dassouki | second i get java_home errors |
12:29.34 | kjkoster5489_ | dassouki: use the normal tomcat from apache.org |
12:33.11 | dassouki | kjkoster5489_: as in download and compile it |
12:33.28 | kjkoster5489_ | No, as in download the binary zip and unzip it. |
12:33.55 | kjkoster5489_ | The ubuntu package is experts-only and changes a *lot* of stuff in unexpected ways. |
12:34.18 | dassouki | kjkoster5489_: oooh thanks, and i should go with 5.5 if i want to do a war .. correct? |
12:34.50 | kjkoster5489_ | No, just use 6.0.26 which is the newest. Unless you have reason to go with older version. |
12:35.31 | dassouki | core or deployer |
12:36.02 | kjkoster5489_ | Core. |
12:36.59 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
12:41.10 | dassouki | awesome unzipped now reading the readme file |
12:41.55 | dassouki | ah so i'm assumign to start it .. sh bin/startup.sh |
12:43.15 | kjkoster5489_ | What I do si: |
12:43.18 | kjkoster5489_ | is: |
12:43.22 | kjkoster5489_ | cd apache*/bin |
12:43.25 | kjkoster5489_ | chmod 755 *.sh |
12:43.36 | kjkoster5489_ | ./catalina.sh run |
12:43.55 | kjkoster5489_ | run to stay on the terminal, start for daemon operation. |
12:44.12 | kjkoster5489_ | 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.23 | dassouki_ | 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.26 | dassouki_ | d |
12:48.52 | kjkoster5489 | You can reuse the initd script from the Debian package. |
12:49.03 | kjkoster5489 | Or clone one of your own initd scripts. |
12:50.23 | dassouki | and i'll put my war files in webapps ? |
12:56.39 | *** join/#tomcat MaxVandervelde (~Maxpower5@198.36.218.162) |
12:59.27 | dassouki | that didn't work |
12:59.35 | cofeineSunshine | hello |
12:59.58 | cofeineSunshine | i'm trying to run tomcat applications with oracle UCP - universal connection pool |
13:00.04 | cofeineSunshine | i make it working |
13:00.05 | LzrdKing | is cofeine coffee with extra caffeine? |
13:00.15 | cofeineSunshine | but i have issue |
13:00.34 | cofeineSunshine | my linux workstation loads goes up to 5! |
13:00.54 | cofeineSunshine | when connection pool is initialized and 1 connection is taken from it |
13:01.13 | cofeineSunshine | application is very simple, so it look like problem is in configuration OR in UCP itself |
13:01.25 | cofeineSunshine | has anybody experienced similiar problems? |
13:02.55 | dassouki | restarting tomcat didn't make it work either |
13:03.29 | cofeineSunshine | LzrdKing: :) no |
13:03.44 | dassouki | i have it installed as .. $tomcat/webapps/my_app/my_app.war |
13:03.59 | dassouki | and 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.53 | dassouki | so i can see the examples fine, i've added myelf to tomcat-users.xml ... but is till can't see /maanager |
13:18.37 | dassouki | actually now i get a status 500 ugh on my examples |
13:24.33 | dassouki | any 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.07 | kjkoster5489 | dassouki: default port of tomcat is 8080 |
13:34.52 | dassouki | kjkoster5489: i changed it to 8180 |
13:35.15 | dassouki | i just unzipped tomcat deployer, and now trying to figure out how to deploy my war file |
13:36.05 | dassouki | i also created my user which the manager doesn't seem to get |
13:38.12 | kjkoster5489 | Just drop the WAR into ${tomcat}/webapps. |
13:38.27 | kjkoster5489 | manager app I never use. |
13:38.33 | dassouki | http://97.107.136.148:8180/geoserver/ |
13:38.53 | kjkoster5489 | Look at the outpout on the terminal or in catalina.out |
13:39.04 | kjkoster5489 | (that url times out) |
13:39.25 | dassouki | if you take geoserver out |
13:39.31 | dassouki | it takes you to the default tomcat |
13:39.34 | dassouki | http://97.107.136.148:8180/ |
13:39.42 | kjkoster5489 | (that url times out) |
13:40.04 | kjkoster5489 | Pastebin any exceptions in catalina.out |
13:41.10 | dassouki | logs/ is empty |
13:44.53 | kjkoster5489 | Is Tomcat even running? |
13:45.02 | kjkoster5489 | How did you start it? |
13:45.17 | kjkoster5489 | Are you 100% sure that you killed the packaged tomcat? |
13:46.41 | dassouki | kjkoster5489: i put a message for you on top http://transpotools.com:8180/ |
13:46.54 | dassouki | i opened it from different browsers and i can see it |
13:47.41 | kjkoster5489 | I cannot. |
13:47.48 | kjkoster5489 | It times out. |
13:47.49 | *** join/#tomcat randrewj (~raj-user@180.sub-75-236-140.myvzw.com) |
13:47.50 | kjkoster5489 | Firewall. |
13:49.30 | dassouki | so i unzipped my tomcat into /var/tomcat. I then changed the server config .xml to 8180 |
13:49.36 | dassouki | i then pasted my app into webapps |
13:49.42 | dassouki | adn i can't see it |
13:52.17 | kjkoster5489 | If catalina.out is empty you did not start tomcat |
13:52.24 | kjkoster5489 | Or you started the old one, maybe. |
13:52.30 | kjkoster5489 | I have yet to see that fail. |
13:52.43 | dassouki | where is catalina.out is it in tomcat/logs |
14:00.51 | kjkoster5489 | Yes |
14:06.10 | dassouki | kjkoster5489: http://pastie.org/907441 |
14:06.37 | kjkoster5489 | It deployed geoserver-2.0.1 fine. |
14:07.03 | kjkoster5489 | Have you tried http://97.107.136.148:8180/geoserver-2.0.1/ ? |
14:08.07 | *** join/#tomcat Yuri_Harrison (~Pergunte@unaffiliated/pscicodelixhat) |
14:08.33 | dassouki | kjkoster5489: yes |
14:08.35 | dassouki | didn't work |
14:08.58 | kjkoster5489 | Define "didn't work". |
14:09.37 | dassouki | kjkoster5489: i get the tomcat 404 standard error |
14:09.50 | dassouki | description The requested resource (/geoserver/) is not available. |
14:09.55 | kjkoster5489 | Hmm. |
14:09.59 | kjkoster5489 | Strange. |
14:10.14 | Yuri_Harrison | hi...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.39 | Yuri_Harrison | someone can tell me how to solve this problem? |
14:13.05 | *** join/#tomcat jasonb (~jasonb@m310e36d0.tmodns.net) |
14:17.03 | dassouki | kjkoster5489: it works now i'm an idiot |
14:17.03 | dassouki | lol |
14:17.09 | dassouki | i didn't deploy to webapps/ |
14:17.17 | dassouki | i deployed to webapps/my_app which is wrong |
14:21.52 | Yuri_Harrison | someone? |
14:22.31 | *** join/#tomcat rmrfslash (~quassel@140.247.89.22) |
14:23.14 | dassouki | check your conf/servers.xml |
14:23.19 | dassouki | and 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.03 | orev | I'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.22 | Peregrin0 | how to i can have access to tomcat remote via? |
14:51.46 | Peregrin0 | i have access remotly already (localhost) |
14:54.32 | *** join/#tomcat monk12 (~a@65.199.31.2) |
14:54.58 | monk12 | hello 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.21 | monk12 | like 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.49 | orev | monk12: 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.00 | monk12 | orev: thanks that helped out alot. |
16:39.02 | monk12 | another 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.53 | monk12 | I 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.24 | xh | hi! is there a way to get Tomcat to print for each request all the attached request attributes and request parameters? |
16:59.03 | monk12 | like actual code to loop in a jsp file and spit out param values? |
16:59.52 | xh | monk12: yes, exactly; i don't want to write it by hand - this is kind of.. stupid; |
17:00.14 | monk12 | http://paste.org/pastebin/view/17128 |
17:00.21 | monk12 | i used something like that yesterday |
17:01.51 | *** join/#tomcat calavera_ (~calavera@83.50.67.42) |
17:01.51 | xh | monk12: 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.59 | monk12 | ouch, I dunno. |
17:04.20 | xh | monk12: 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.45 | rrowell | is 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.52 | monk12 | http://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.00 | monk12 | best i can do |
17:06.31 | randrewj1 | xh: see RequestDumperFilter, it's a sample filter included w/tomcat examples |
17:07.20 | xh | rrowell: you'll probably need to create your own wrapper for Session |
17:08.22 | xh | monk12: cool! thanks a ton! just what I was looking for! :) |
17:09.14 | randrewj1 | rrowell: maybe http://tomcat-configure.blogspot.com/2009/01/tomcat-session-listener-example.html |
17:10.32 | rrowell | ty! |
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.33 | flashboss1 | hi |
17:20.35 | flashboss1 | how are you? |
17:22.30 | flashboss1 | does tomcat extract the 'http-equiv' metadata? If yes how and where? |
17:26.16 | xh | now, another question is how to get tomcat to log everything on stdout/stderr instead of file? |
17:41.42 | monk12 | Is 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.59 | monk12 | connecting to 1st Resource also gives same error. taking 2nd Resource out, causes error to stop if (just using Resource 1 in jsp) |
17:42.48 | xh | ..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.19 | monk12 | my Context/Resource xml node is under /Server/Service/Engine/Host |
17:50.24 | Yuri_Harrison | hello how do I start tomcat in a virtual ip |
17:50.45 | Yuri_Harrison | for 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.31 | Peregrin0 | somebody? |
18:12.55 | *** join/#tomcat brendanck (~bck@apex.cs.tcd.ie) |
18:13.06 | LzrdKing | somebody 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.10 | hrad | iguanna, 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.12 | hrad | hence you can have more tomcat instances running under the same port |
18:23.34 | hrad | but different IP within one network adapter |
18:25.56 | hrad | with this script http://pastebin.com/De7b3yue you can create how much aliases you want |
18:26.52 | hrad | and don't forget to change the shutdown port number, when running more instances |
18:33.19 | hrad | Yuri_Harrison |
18:41.15 | Yuri_Harrison | hrad: hey, I iniate tomcat and it dont show anything in browser |
18:43.05 | hrad | look, 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.22 | hrad | you should change |
18:44.34 | hrad | to 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.56 | hrad | and point 192.168.0.12 to let say "twelve" |
18:45.15 | hrad | and set <Engine name="Catalina" defaultHost="twelve"> |
18:45.28 | hrad | and <Host name="twelve" appBase="webapps" |
18:45.42 | *** part/#tomcat egyn (~egyn@c-93a670d5.1610-15-64736c11.cust.bredbandsbolaget.se) |
18:45.56 | hrad | you gotta play with it... |
18:46.21 | flashboss1 | does tomcat extract the 'http-equiv' metadata? If yes how and where? |
18:47.16 | Yuri_Harrison | hrad: can help with this second problem, I iniate tomcat and it dont show anything in browser |
18:47.49 | hrad | did you do what I just said ? |
18:47.57 | hrad | the hostname thing |
18:49.25 | *** join/#tomcat jasonb (~jasonb@m5f0e36d0.tmodns.net) |
18:50.32 | hrad | then 192.168.0.12:8080 or twelve:8080 must work, if tomcat started |
18:50.38 | Yuri_Harrison | hrad: I dont want want to bind another ip anymore |
18:50.52 | Yuri_Harrison | hrad: it dont show anything |
18:51.00 | factor | java cms's pretty much suck |
18:51.10 | *** join/#tomcat puskar (~puskar@PUSKAR.ES.ITS.NYU.EDU) |
18:51.13 | factor | most are very limited, such a pain |
18:52.59 | Yuri_Harrison | hrad: 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.44 | hrad | Yuri_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.38 | hrad | Yuri_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.33 | rrowell | i 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.20 | LzrdKing | there were an ODD number of SANDWICH cookies in this bag! that's so wrong |
20:13.52 | rrowell | nm, upgraded from 6.0.14 to 6.0.26 and it works now |
20:18.58 | rrowell | or it did momentarilly anyway... this is insane? |
20:19.46 | factor | getting 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.06 | rrowell | is there any way to have the servlet log what listeners it finds in the web.xml file? |
20:26.37 | flashboss1 | does tomcat extract the 'http-equiv' metadata? If yes how and where? |
20:32.56 | rrowell | has 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.13 | gregcoit | HI. 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.17 | rrowell | I've seen the "Content is not allowed in prolog" before, the XML file had characters before the root tag.. IE " <root>..." |
21:43.31 | rrowell | gregcoit, that was for you BTW |
21:44.19 | gregcoit | rrowell: kk - thanks |
21:44.34 | gregcoit | rrowell: any idea what xml file to check? |
21:52.09 | gregcoit | rrowell: 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.45 | Yuri_Harrison | hello, I'm having problem when I try startup.sh it return a message: The BASEDIR environment variable is not defined correctly |
22:57.48 | Yuri_Harrison | This environment variable is needed to run this program |
22:58.08 | Yuri_Harrison | apache-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.57 | Yuri_Harrison | rafaelliu: can help me this? |
22:58.58 | Lenhix | Well guys, time to go home and "rest" XD. C u latah |
22:59.09 | Yuri_Harrison | apache-tomcat-6.0.29 is instaled at /opt |
22:59.16 | Yuri_Harrison | This environment variable is needed to run this program |
22:59.24 | Yuri_Harrison | hello, I'm having problem when I try startup.sh it return a message: The BASEDIR environment variable is not defined correctly |
23:36.23 | cofeineSunshine | hello, 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.57 | cofeineSunshine | found: The resource factory will create a new instance of the appropriate bean class every time a lookup() for this entry is made. |