00:18.14 | *** join/#tomcat ibot (i=ibot@rikers.org) |
00:18.14 | *** topic/#tomcat is Stable versions: 6.0.20, 5.5.28, 4.1.40. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question including your TC, Java, & OS versions, then wait; check back often for answers.. Use mod_proxy_ajp, not mod_jk |
00:32.10 | jasonb | For those of you who have asked me in the past if I have a blog, and got a no answer, things change: |
00:32.11 | jasonb | http://blogs.mulesoft.org/2009/09/dont-you-have-a-blog/ |
00:32.57 | *** part/#tomcat wyvern` (n=wyvern@64.244.66.2) |
01:36.05 | *** join/#tomcat benn_d_ (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
01:41.40 | *** join/#tomcat l3v0n_ (n=l3v0n@p54BD60F3.dip.t-dialin.net) |
01:46.42 | *** join/#tomcat benn_d_ (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
02:10.44 | *** join/#tomcat karstensrage (n=karstens@c-71-202-243-186.hsd1.ca.comcast.net) |
03:04.50 | *** join/#tomcat benn_d_ (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
03:37.12 | *** join/#tomcat orionheroku (n=orionher@dsl081-064-072.sfo1.dsl.speakeasy.net) |
03:54.23 | *** join/#tomcat acidjnk (i=acid@pD950A3C0.dip0.t-ipconnect.de) |
04:24.36 | *** join/#tomcat bhagat (n=bhagat@218.248.24.18) |
04:44.32 | *** join/#tomcat McGo (n=McGo@dyndsl-091-096-088-094.ewe-ip-backbone.de) |
05:39.20 | *** join/#tomcat shashi_ (n=shashi@122.181.1.158) |
05:41.45 | *** join/#tomcat McGo (n=McGo@dyndsl-091-096-101-055.ewe-ip-backbone.de) |
05:49.15 | *** join/#tomcat jasonb (n=jasonb@m410436d0.tmodns.net) |
06:07.34 | *** join/#tomcat bhagat_ (n=bhagat@203.129.255.188) |
06:15.29 | *** join/#tomcat jjg (n=jjg@98.207.87.211) |
06:37.40 | *** join/#tomcat orionheroku (n=orionher@c-67-180-210-117.hsd1.ca.comcast.net) |
06:48.43 | *** join/#tomcat dvayanu (n=another@ppp-88-217-62-129.dynamic.mnet-online.de) |
07:10.19 | *** join/#tomcat magentar (n=magentar@p4FC8474C.dip.t-dialin.net) |
07:21.16 | *** join/#tomcat pitanga (n=pitanga@fsf/member/pitanga) |
08:08.06 | *** join/#tomcat orionheroku (n=orionher@c-67-180-210-117.hsd1.ca.comcast.net) |
08:38.32 | *** join/#tomcat Jiyu_ (n=jiyu@m56s07.vlinux.de) |
09:03.18 | *** join/#tomcat shashi (n=shashi@122.181.1.158) |
09:10.09 | *** join/#tomcat internat (n=nf@123-243-184-161.static.tpgi.com.au) |
09:16.06 | *** join/#tomcat pitanga (n=pitanga@fsf/member/pitanga) |
09:45.10 | *** join/#tomcat frinux (i=52e07397@gateway/web/freenode/x-lpruqetknlthrdji) |
09:56.53 | frinux | hi |
09:57.05 | frinux | I'm trying to install Liferay on a freshly installed tomcat server, but even if I added the dependencies, I get the error : java.lang.NoClassDefFoundError: Ljavax/transaction/TransactionManager; |
09:57.15 | frinux | What lib do I need? |
09:59.39 | *** join/#tomcat bhushanvmishra (n=bhushanv@202.46.197.70) |
10:04.51 | bhushanvmishra | how can i monitor dbconnection pool |
10:12.50 | bhushanvmishra | <PROTECTED> |
10:32.37 | *** join/#tomcat dvayanu (n=another@93.104.234.130) |
11:06.03 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.87.135) |
11:15.14 | *** join/#tomcat sven_eisenhauer (i=d95b9a28@gateway/web/freenode/x-brmomvdxizsusrjc) |
11:15.30 | sven_eisenhauer | hello |
11:16.14 | sven_eisenhauer | I have a question about using Comet technology |
11:17.31 | sven_eisenhauer | i'm using tomcat 6.0.18, Java 1.6.11 and windows xp sp3 |
11:19.09 | sven_eisenhauer | my problem: i get a nullpointerexception when an external thread wants to flush a httpservletresponse |
11:35.01 | sven_eisenhauer | i think the reason is, that the session became invalid |
11:36.03 | sven_eisenhauer | so my question: how can I check in an external thread if the httpservletresponse is still writable? |
11:36.49 | sven_eisenhauer | the structure of the servlet is similar to the ChatServlet of the tomcat documentation |
11:46.46 | bhushanvmishra | how can i monitor dbconnection pool? |
12:05.12 | *** join/#tomcat McGo (n=McGo@dyndsl-091-096-088-094.ewe-ip-backbone.de) |
12:40.09 | *** join/#tomcat benn_d_ (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
13:04.38 | *** join/#tomcat apelW (n=metaltux@62.209.163.98) |
13:12.50 | *** join/#tomcat niraj (n=niraj@unaffiliated/niraj) |
13:14.33 | niraj | is there a way i can get my web app to load a database driver (specified in meta-inf/context.xml) from a jar in its web-inf/lib instead of the server's lib directory? |
13:34.00 | *** join/#tomcat dvayanu (n=another@ppp-88-217-62-129.dynamic.mnet-online.de) |
13:55.29 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:15.39 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:17.04 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:18.26 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:20.11 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:21.47 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:22.19 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:23.44 | *** join/#tomcat acarbs12 (n=acarbone@173-9-89-1-NewEngland.hfc.comcastbusiness.net) |
14:24.08 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:26.31 | *** join/#tomcat acidjnk (i=acid@pD950A3C0.dip0.t-ipconnect.de) |
14:29.21 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:30.41 | *** join/#tomcat jayme_sc_usp (n=jayme@nat-proaluno.ifsc.usp.br) |
14:32.27 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:33.35 | *** join/#tomcat jaymeproni (n=jayme@nat-proaluno.ifsc.usp.br) |
14:39.24 | *** join/#tomcat Moorea (n=cherif@41.227.199.103) |
14:39.30 | Moorea | Hi guys |
14:40.14 | Moorea | 2 tomcat installed in the same pc do they necessarly cause a conflict ? |
14:51.46 | *** join/#tomcat lawful_evil (n=g@w005.z209031033.sjc-ca.dsl.cnc.net) |
15:14.25 | *** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
15:32.05 | *** join/#tomcat benn_d_ (n=benn_d@98.223.227.38) |
15:39.10 | *** join/#tomcat peter_ (n=chatzill@194.95.62.244) |
15:40.08 | peter_ | hello all I try to create a mod_jk config with apache and jboss just by coping configuration from a running system I created before. I get a "not found worker" in mod_jk log. What did I miss? |
15:40.34 | lawful_evil | lol |
15:40.47 | lawful_evil | match ports and hostnames in workers.properties |
15:40.53 | lawful_evil | if you are smart you forget apache |
15:40.58 | lawful_evil | let tomcat do it all |
15:41.05 | lawful_evil | better performance |
15:41.19 | lawful_evil | and use jio NOT apr/nio |
15:41.29 | peter_ | apache is a jboss frontend |
15:41.43 | lawful_evil | then use jboss alone |
15:41.57 | lawful_evil | it it up to you or work stuff |
15:42.08 | lawful_evil | workers.properties maps mod jk crap |
15:42.29 | lawful_evil | but whats interesting is mod_proxy_ajp is a newer way to use apache that might be cleaner |
15:42.35 | lawful_evil | kinda simple |
15:43.15 | peter_ | anyway I have a working system with jboss/apache/mod_jk and need to create a mirror. after copying all configs and installing components I get this error |
15:53.13 | lawful_evil | well your workers.properties file I were I would look |
15:53.15 | lawful_evil | :) |
15:53.30 | lawful_evil | review your jk_mounts in httpd.conf |
15:53.39 | lawful_evil | make sure have connectivity to boxes on ports needed |
15:53.41 | lawful_evil | :) |
16:01.49 | peter_ | I see that there is no open port 8009 but jboss is running |
16:13.17 | *** join/#tomcat jjg (n=jjg@12.40.200.74) |
16:24.32 | *** part/#tomcat Moorea (n=cherif@41.227.199.103) |
16:38.00 | *** join/#tomcat orionheroku (n=orionher@67.180.210.117) |
16:52.38 | *** join/#tomcat bkaatz (n=chatzill@netblock-208-127-86-102.dslextreme.com) |
16:55.19 | bkaatz | Greetings. I need some assistance re-configuring the configuration files for an upgrade from an old 5.0.28 Tomcat server to a 5.5.28 Tomcat running on Sun JDK 1.5.0.13 on linux kernel 2.6.22. Can someone give me a hand pls? |
16:56.15 | bkaatz | Getting an error message "org.apache.jasper.JasperException: Name jdbc is not bound in this Context" when I go to the index.jsp |
17:02.41 | bkaatz | Stack trace traces it back to a call in a sub-page; Context envCtx = (Context) initCtx.lookup("java:comp");\n DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/dbs"); |
17:07.13 | bkaatz | I get the same error with the additional output of the calling lines from the sub-page if I call the datasource with: DataSource ds = (DataSource)initCtx.lookup("jdbc/dbs"); |
17:09.32 | *** join/#tomcat jasonb (n=jasonb@m310436d0.tmodns.net) |
17:19.57 | *** join/#tomcat jasonb (n=jasonb@m410436d0.tmodns.net) |
17:43.19 | *** join/#tomcat JeffATL (i=46581eeb@gateway/web/freenode/x-yzkzmfemvuwehwtz) |
17:46.13 | JeffATL | what is used in this day and age to connect J2EE apps on tomcat to DB2? |
17:50.49 | *** join/#tomcat epalm (n=epalm@utl-192-234.library.utoronto.ca) |
17:52.18 | epalm | it seems the cwd is wherever i run the bin/startup.sh file. is there any way tomcat can tell me, in java, in which directory the current webapp lives? |
17:53.43 | epalm | i need to load a file sitting in the WEB-INF folder using new File(...) |
17:54.53 | *** join/#tomcat l3v0n_ (n=l3v0n@p54BD749C.dip.t-dialin.net) |
17:58.55 | *** join/#tomcat ShadowCat8 (n=chatzill@netblock-208-127-86-102.dslextreme.com) |
17:59.56 | *** join/#tomcat urlgrey (n=skidder@75-55-199-5.mobitv.com) |
18:00.22 | lawful_evil | yeah |
18:00.25 | lawful_evil | goto 8080 |
18:00.31 | lawful_evil | and app will tell ye |
18:00.33 | lawful_evil | ;) |
18:01.01 | *** join/#tomcat j0nas` (n=tb@207.179.145.138) |
18:03.22 | j0nas` | I'm running tomcat 6.0.10 on java 1.5.0_13 (on Linux 2.6.22-16), i'm having trouble with log4j |
18:04.35 | j0nas` | i've got a log4j.properties file in the WEB-INF/classes subdirectory of my webapp and I've set the root logger to level debug |
18:05.05 | j0nas` | i've hooked up my debugger to the web app but the logger is set to level warn when inspect the logger's properties |
18:05.25 | j0nas` | *when +i inspect* |
18:05.29 | lawful_evil | restart tomcat? |
18:05.37 | j0nas` | i have done that |
18:05.46 | lawful_evil | take look to see if processes hung? |
18:05.50 | lawful_evil | killed em off? |
18:05.58 | j0nas` | which processes specifically? |
18:05.58 | lawful_evil | to be sure really restarting |
18:06.05 | lawful_evil | ps auxwww|grep java |
18:06.07 | j0nas` | okay 1 sec |
18:06.08 | lawful_evil | or grep tomcat |
18:06.14 | lawful_evil | or grep user you run it as |
18:08.27 | j0nas` | okay, tomcat really did stop and start |
18:08.31 | j0nas` | and still the same... |
18:08.38 | j0nas` | any other ideas? |
18:11.21 | lawful_evil | hm |
18:11.29 | lawful_evil | sure u set debug in right spot? |
18:11.38 | lawful_evil | grep -i file for debug |
18:11.40 | epalm | i need to load a new File(...) which is sitting in WEB-INF of my webapp. what's the Right Way (tm) to do this? |
18:11.43 | lawful_evil | or warn |
18:11.59 | lawful_evil | place it in yer webapps and restart id imagine |
18:12.01 | lawful_evil | :) |
18:12.06 | lawful_evil | check perms fo course |
18:12.17 | epalm | place what in my webapps |
18:12.32 | lawful_evil | your file |
18:12.47 | epalm | i don't understand what you mean by "place it in yer webapps" |
18:13.07 | j0nas` | i'm fairly sure i've got the config right: |
18:13.13 | j0nas` | log4j.rootLogger=debug,MAIN |
18:13.34 | j0nas` | log4j.logger.com.xxx=DEBUG |
18:13.58 | j0nas` | plus appender configuration |
18:14.24 | j0nas` | appender configuration is not a concern at this point... it is that the root logger is configured at level warn and not debug as i've specified in my config file |
18:15.07 | j0nas` | what permissions should the file have? |
18:15.19 | j0nas` | i have 644 |
18:16.02 | j0nas` | same permissions as my class files, so that should be ok |
18:24.29 | km | any ideas why tomcat pause on startup? have to startup tomcat the second "catalina.sh start" time to resolve the problem. here's the log: http://pastebin.com/m679e63db |
18:24.37 | *** join/#tomcat ShadowCat8 (n=chatzill@netblock-208-127-86-102.dslextreme.com) |
18:29.55 | *** join/#tomcat karstensrage (n=chatzill@70.42.238.2) |
18:30.55 | *** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net) |
18:39.56 | lawful_evil | use startup.sh ya boob |
18:40.03 | lawful_evil | and set java home inside it |
18:40.35 | lawful_evil | optionally set you heap |
18:43.05 | *** join/#tomcat jieryn (n=jieryn@gentoo/contributor/jieryn) |
18:44.46 | *** join/#tomcat ShadowCat8_ (n=chatzill@netblock-208-127-86-102.dslextreme.com) |
18:45.00 | jieryn | using tomcat-6.0.18, jdk-1.6; i am using virtual hosting with in server.xml (i know, bad, but it works) http://dpaste.com/95250/ - i find that tomcat deploys hudson.war twice.. once at / and once at /hudson .. how can i stop this? |
18:46.37 | *** join/#tomcat vvalenti (i=cf8afb02@gateway/web/freenode/x-wmqhsospvqiwehef) |
18:47.02 | *** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net) |
18:48.50 | vvalenti | general quesiton for Tomcats 5.0, 5.5 and 6.0....Is there an equivalent to httpd's 'Alias' directive in tomcat's configuration? |
18:49.46 | *** part/#tomcat j0nas` (n=tb@207.179.145.138) |
18:52.28 | *** join/#tomcat jaymeproni (n=jayme@143.107.228.78) |
18:58.34 | lawful_evil | proabbly |
19:02.26 | *** join/#tomcat j2sentient (n=j2sentie@unaffiliated/j2sentient) |
19:13.21 | *** join/#tomcat benn_d_ (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net) |
19:37.39 | jasonb | vvalenti: I forget.. what does httpd's Alias directive do? |
19:49.20 | vvalenti | jasonb: allows you to point a directory structure to another URL or local directory |
19:51.49 | vvalenti | so "alias /nfs /mnt/nfs" would worf for URL/nfs |
19:51.57 | vvalenti | work* |
19:52.31 | jasonb | With Tomcat, that's what symlinks are for. :) |
19:52.51 | jasonb | Unless you're talking about URI aliasing though.. |
19:53.30 | jasonb | You could use the UrlRewriteFilter to remap URIs.. |
19:56.22 | km | i get modproxy loadbalancing working, i stop one instance app and it failover with problem, but when i start the instance backup it return 404 errors on UI unstill the apps is fully initialized. is there any way to this form happen in the middle of the initialized process? |
19:59.33 | km | here is the loadbalancer setup: http://pastebin.com/d4cce4885 |
19:59.52 | vvalenti | jasonb: I know symlkinking works, but here's my dilemma....we have a webapp that needs a symlink for a shared NFS mount that exists within the exploded webapp, which complicats auto-deployment |
20:01.45 | vvalenti | and the NFS mount is different depeding on the environment it's exploded in, so it's a manual step that we want to try to avoid |
20:01.58 | vvalenti | id rath keep the webapp uniform and use different conf files to handle the differences |
20:21.18 | *** part/#tomcat jjg (n=jjg@12.40.200.74) |
20:30.34 | km | could the problem be related to not using timeout? |
20:32.11 | lawful_evil | I have all these security audit bullshit problems |
20:32.18 | lawful_evil | and I wish I could trash apache and use tomcat |
20:32.23 | lawful_evil | tomcat setup is a snap |
20:32.29 | lawful_evil | barfbag apache |
20:32.53 | ShadowCat8 | Until you run into a config problem... then it's a pain to run down what the *actual* issue is in Tomcat. :-p |
20:33.54 | ShadowCat8 | Does Tomcat-5.5.28 support DefaultContext in conf/server.xml still? |
20:37.26 | jieryn | using tomcat-6.0.18, jdk-1.6; i am using virtual hosting with in server.xml (i know, bad, but it works) http://dpaste.com/95250/ - i find that tomcat deploys hudson.war twice.. once at / and once at /hudson .. how can i stop this? |
20:48.57 | *** join/#tomcat j2sentient (n=j2sentie@unaffiliated/j2sentient) |
20:57.12 | *** join/#tomcat goldins (n=goldins@207.172.89.248) |
21:17.16 | *** join/#tomcat barkbarkmeow (n=barkbark@203.199.213.3) |
21:19.11 | ShadowCat8 | Does tomcat-5.5.28 support having more than one Realm in conf/server.xml? |
21:19.47 | *** join/#tomcat dvayanu (n=another@ppp-88-217-62-129.dynamic.mnet-online.de) |
21:23.17 | *** join/#tomcat clajo04_ (n=clajo04_@74.72.55.57) |
21:38.15 | ShadowCat8 | Apparently not. :-/ |
21:44.07 | *** join/#tomcat j2sentient (n=j2sentie@unaffiliated/j2sentient) |
21:51.25 | *** join/#tomcat azlev (n=ze@200.234.206.72) |
21:56.00 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.99.132) |
22:00.01 | *** join/#tomcat steve888 (n=chatzill@D-69-91-151-171.dhcp4.washington.edu) |
22:02.05 | *** part/#tomcat steve888 (n=chatzill@D-69-91-151-171.dhcp4.washington.edu) |
22:09.58 | *** join/#tomcat BarryNL (n=goltharn@82-95-227-51.xs4all.nl) |
22:33.42 | *** join/#tomcat orionheroku (n=orionher@dsl081-064-072.sfo1.dsl.speakeasy.net) |
23:28.37 | *** part/#tomcat clajo04_ (n=clajo04_@74.72.55.57) |