01:21.00 | fruitwerks | tomcat should have a setting to ignore embedded servlets |
02:09.14 | *** join/#tomcat gusario (~Adium@67.218.107.199) |
02:09.37 | *** part/#tomcat gusario (~Adium@67.218.107.199) |
02:46.21 | jasonb | fruitwerks: How do you define 'embedded servlets'? |
02:54.07 | fruitwerks | war files that have their own servlets, causing tomcat to bork |
04:07.49 | *** part/#tomcat chetan- (freetibet@lando.pixelcop.org) |
04:29.48 | jasonb | fruitwerks: Well, Tomcat exists to run webapps, especially their servlets. |
05:03.23 | *** join/#tomcat jasonb_ (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
07:09.06 | *** join/#tomcat gurkanerdogdu (~gurkanerd@78.186.14.202) |
08:09.51 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@xdsl-78-34-215-132.netcologne.de) |
08:56.13 | *** join/#tomcat naoki (~naoki@firewall-gw.valuecommerce.com) |
08:57.46 | naoki | Hi all. Looking for some assistance with Tomcat 6.0.26-14 on Fedora14 with native libs. Problem is I have a lot of data under /usr/share/tomcat6/webapps/myapp/WEB-INF/data and tomcat is taking forever to load because it stats all the files in there. Anyway I can disable that behavior? |
08:58.25 | naoki | (for completeness it does lstat, stat, and finally access on a million files) |
08:59.30 | naoki | Oh and the JDK is java-1.6.0-openjdk-1.6.0.0-49.1.9.3.fc14.x86_64 |
09:04.20 | *** join/#tomcat ttiicc (~ttiicc200@static-213-115-74-170.sme.bredbandsbolaget.se) |
09:08.48 | *** join/#tomcat drindt (~drindt@g228051228.adsl.alicedsl.de) |
09:12.10 | naoki | Hi all. Looking for some assistance with Tomcat 6.0.26-14 on Fedora14 with native libs, JDK is java-1.6.0-openjdk-1.6.0.0-49.1.9.3.fc14.x86_64. Problem is I have a lot of data under /usr/share/tomcat6/webapps/myapp/WEB-INF/data and tomcat is taking forever to load because it stats the million files in there. Anyway I can disable that behavior? |
09:12.23 | naoki | Google has been pretty short on answers here. |
09:22.48 | *** join/#tomcat ExtraSpice (~XtraSpice@88.118.33.48) |
10:05.47 | *** join/#tomcat Boohemian (~Boohemian@209-6-67-222.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com) |
10:12.44 | *** join/#tomcat }ls{ (~}ls{@p4FF0ACF1.dip.t-dialin.net) |
10:59.39 | *** join/#tomcat ohsix (ohsix@66.220.111.99) |
11:51.47 | ttiicc | does some in here knows the version of tomcat which is shipped with jboss? |
12:00.43 | gurkanerdogdu | jboss has an own web container forked from tomcat |
12:06.21 | *** join/#tomcat Boohemian_ (~Boohemian@209-6-67-222.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com) |
13:23.11 | *** join/#tomcat swi7ch (~anonymous@ip70-178-50-106.ks.ks.cox.net) |
13:27.48 | *** join/#tomcat rbanffy (~rbanffy@200.226.123.253) |
13:58.51 | *** join/#tomcat OldCode101 (d851d0f1@gateway/web/freenode/ip.216.81.208.241) |
14:02.01 | OldCode101 | (Tomcat 6.0.29, JRE6; Windows XP) Is there anything else I have to do to specify a listening port for tomcat other than create the connector? |
14:07.37 | *** join/#tomcat whiteflag (~whiteflag@nat/redhat/x-shvxtcqyjcvzihxe) |
14:08.08 | whiteflag | do I need to restart tomcat everytime I add/compile a servlet ? |
14:09.06 | *** join/#tomcat schmolly159 (~schmolly1@rrcs-76-79-50-2.west.biz.rr.com) |
14:10.00 | OldCode101 | yes |
14:11.20 | whiteflag | OldCode101 any option to make it auto load the classes? |
14:11.30 | whiteflag | OldCode101 and avoid a tomcat restart? |
14:11.37 | *** join/#tomcat iredux (~michaelg@mail2.creditcards.com) |
14:12.05 | OldCode101 | lol I wish |
14:24.49 | *** join/#tomcat rmrfslash (~quassel@140.247.89.29) |
14:58.37 | *** join/#tomcat tarik (~chatzilla@41.140.248.167) |
15:00.30 | *** join/#tomcat randrewj (~u1@dyn-128-59-53-67.dyn.columbia.edu) |
16:35.26 | *** join/#tomcat km (~km@little-black-box.vmware.com) |
16:36.27 | *** join/#tomcat LzrdKing (~umop-apis@unaffiliated/lzrdking) |
17:07.07 | *** join/#tomcat calavera (~calavera_@15.Red-88-6-160.staticIP.rima-tde.net) |
17:17.53 | *** join/#tomcat bartek (~bartekc@202.123.207.205.sta.connection.ca) |
17:19.15 | bartek | Hi there. I'm trying to run Hudson under Tomcat and it's working fine. However, since switching to Tomcat, the environment doesn't seem to recognize certain applications (e.g. virtualenv) .. What would be the cause for this? Any ideas? |
17:50.47 | *** join/#tomcat ExtraSpice (~XtraSpice@88.118.33.48) |
17:53.27 | *** join/#tomcat dvayanu (~another@ds87-230-56-22.dedicated.hosteurope.de) |
18:01.09 | LzrdKing | anyone know why tomcat 6.0.29 would give the errors "java.util.zip.ZipException: error in opening zip file" and "java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file" when deploying a war that unzip can read just fine? (centOS 5.5) |
18:03.27 | *** join/#tomcat ttiicc (~ttiicc200@static-213-115-74-170.sme.bredbandsbolaget.se) |
18:10.07 | *** join/#tomcat jasonb (~jasonb@12.201.129.162) |
18:10.27 | LzrdKing | hi jasonb |
18:12.27 | jasonb | Hi LzrdKing.. how's it going? |
18:13.11 | LzrdKing | any ideas why tomcat 6.0.29 would give the errors "java.util.zip.ZipException: error in opening zip file" and "java.lang.IllegalArgumentException: Invalid or unreadable WAR file : error in opening zip file" when deploying a war that unzip can read just fine? (centOS 5.5) |
18:16.20 | jasonb | Java version? |
18:16.26 | jasonb | (and brand?) |
18:17.21 | LzrdKing | Java(TM) SE Runtime Environment (build 1.6.0_22-b04) |
18:17.43 | LzrdKing | or Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) if you prefer |
18:17.46 | jasonb | If you do "unzip -l yourwebapp.war" does it list the contents without error? |
18:18.04 | jasonb | Also, if you do "jar tf yourwebapp.war" does jar list the contents without error? |
18:18.43 | LzrdKing | no jar command on the machine |
18:18.58 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@xdsl-89-0-64-160.netcologne.de) |
18:19.01 | jasonb | You have a JRE and not a JDK? |
18:19.26 | LzrdKing | i htought it was JDK |
18:19.28 | LzrdKing | thought* |
18:19.39 | LzrdKing | nope, JRE |
18:19.55 | LzrdKing | never needed a JDK before |
18:23.53 | LzrdKing | hmmmm manager is giving me a 403 |
18:26.19 | *** join/#tomcat acidjnk (~havenone@46-229-103-86.dynamic.dsl.tng.de) |
18:30.09 | jasonb | Is one of your filesystems full? |
18:30.33 | LzrdKing | nope, 172 GB free |
18:30.47 | jasonb | What does unzip say about your war file? |
18:31.09 | LzrdKing | nothing, it just unzips it |
18:31.18 | jasonb | Okay, so then the zip archive isn't corrupt. |
18:31.34 | LzrdKing | doesn't appear to be |
18:31.41 | jasonb | Can you put the full ZipException stack trace on a paste server like http://fpaste.org ? |
18:33.06 | LzrdKing | in a moment |
18:42.45 | bartek | Has anyone here deployed hudson on tomcat where-in hudson was testing Python applications? I seem to be having trouble with python modules after switching to tomcat (worked under using the .war file method) |
18:53.51 | LzrdKing | jasonb: http://pastebin.com/vw5pZLze |
18:54.58 | jasonb | waits and waits |
18:55.12 | jasonb | Could you use fpaste.org instead? |
18:55.19 | LzrdKing | sorry, had to use the bathroom really bad :) |
18:55.27 | LzrdKing | whats so greate about fpaste? |
18:56.04 | LzrdKing | http://fpaste.org/vYPI/ |
18:56.28 | jasonb | Well, I don't sit and wait for it for a few minutes.. that's one thing that's better about it. |
18:56.46 | LzrdKing | oh pastebin never loaded? |
18:56.49 | jasonb | (or maybe I should say that it actually works) |
18:58.01 | jasonb | Maybe the user that the Tomcat JVM runs as doesn't have read permission to the war file? |
18:58.39 | LzrdKing | its 777 |
18:59.00 | LzrdKing | oh, no its 755 |
18:59.19 | LzrdKing | but let me verify that |
18:59.49 | LzrdKing | nope, tomcat user can unzip -l it |
19:01.41 | jasonb | Well, since the JDK is complaining that it can't open the file, and since you've got only a JRE, then you can't just test jar (the JDK's ability to unzip it) separately from Tomcat. |
19:03.18 | LzrdKing | is it worth installing a whole JDK just the test this? |
19:03.28 | LzrdKing | i am trying to get a hold of another copy of the war |
19:06.32 | LzrdKing | i will try to explode it manually, just to see |
19:08.32 | LzrdKing | well it worked till it ate it |
19:15.04 | LzrdKing | well it deploys now, but not from the war |
19:20.05 | LzrdKing | here's the REAL error now: "SEVERE: The web application [/L4] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered." |
19:20.16 | *** join/#tomcat epapi (~epapi@78.134.14.237) |
19:20.49 | *** part/#tomcat epapi (~epapi@78.134.14.237) |
19:22.33 | *** part/#tomcat OldCode101 (d851d0f1@gateway/web/freenode/ip.216.81.208.241) |
19:27.40 | *** join/#tomcat jasonb (~jasonb@12.201.129.162) |
19:32.26 | *** part/#tomcat bartek (~bartekc@202.123.207.205.sta.connection.ca) |
19:38.35 | LzrdKing | jasonb: here's the REAL error now: "SEVERE: The web application [/L4] registered the JBDC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered." |
19:39.01 | jasonb | How did you get past the ZipException? |
19:39.03 | LzrdKing | i tried the latest version of the mysql-connector |
19:39.08 | LzrdKing | i just exploded it manually |
19:39.20 | jasonb | Whatever works, I guess. |
19:42.15 | LzrdKing | well no, because i need to correct the zepexception too |
19:42.18 | LzrdKing | zip* |
19:43.50 | LzrdKing | here's some info but nothing helpful to me since i can't edit the app: https://issues.apache.org/jira/browse/DBCP-332 |
19:45.19 | LzrdKing | but i guess this is no longer a tomcat error |
19:45.40 | LzrdKing | is there a way to see all the jars that tomcat has loaded? |
19:47.04 | jasonb | You can turn on verbose classloading, and then sift through the megabytes worth of log data to parse out all the jar file names.. |
20:20.37 | LzrdKing | ok, it fixed |
20:20.40 | LzrdKing | it's |
20:39.33 | *** join/#tomcat rmrfslash (~quassel@140.247.89.29) |
21:54.13 | nfrs | is it possible to use tomcat6's juli library with tomcat 5.5? |
21:54.27 | nfrs | i.e. deploy it as a library together with webapp |
22:01.20 | jasonb | nfrs: Nope. |
22:02.33 | nfrs | jasonb: well, I need it as dependency for tomcat-jdbc.jar |
22:03.16 | nfrs | actually, I tried deploying it, and the web app works just fine, but its logging.properties is somehow ignored... not sure it's related, though |
22:03.17 | jasonb | it = juli? |
22:03.23 | nfrs | yes |
22:03.31 | nfrs | it depends on a class inside the newer tomcat-juli |
22:03.33 | jasonb | Well, Tomcat 5.5 doesn't know anything about JULI. |
22:03.44 | jasonb | err, hmm. |
22:03.47 | nfrs | that's weird, because it has an older version of the same library |
22:04.10 | jasonb | hmm, actually, I'm wrong, 5.5 had JULI too. |
22:04.11 | nfrs | problem is it's too old and doesn't have the class that tomcat-jdbc depends upon |
22:04.43 | jasonb | Well, yeah, you're experiencing bit-rotting of old code. |
22:04.58 | jasonb | Use Tomcat 6 and this problem goes away. |
22:05.03 | jasonb | (as well as lots of other problems) |
22:05.06 | nfrs | I can't due to maintenance reasons |
22:05.22 | nfrs | it's not my decision. I just need to figure out how to make it work with 5.5 |
22:05.27 | jasonb | Then your new job is to figure out how to add just that one class to Tomcat 5.5's classpath. |
22:05.46 | jasonb | (and, figure out how to make that one class work with an older JULI impl) |
22:05.59 | nfrs | I doubt adding a single class will solve the problem, since it'll probably be incompatible with the rest of julie |
22:06.01 | nfrs | *juli |
22:06.23 | jasonb | You never know until you either try it or compare APIs. |
22:06.41 | nfrs | so I'd rather dig in the direction of figuring out why my logging.properties doesn't work and fixing that |
22:06.53 | jasonb | The good news is: this is all open source software, and you have source code you can modify if/when you need to. |
22:07.17 | jasonb | It's up to you what you want to spend your time on. :) |
22:07.17 | nfrs | that will defeat the purpose (make maintenance easier) |
22:08.11 | nfrs | so, who's responsible for picking up logging.properties in my app's WEB-INF/classes? |
22:08.27 | *** join/#tomcat IceFacesIsAFix (~IceFacesI@xdsl-89-0-64-160.netcologne.de) |
22:09.08 | jasonb | the log manager.. JULI. |
22:09.32 | *** join/#tomcat IceFacesIsAFix_ (~IceFacesI@xdsl-89-0-64-160.netcologne.de) |
22:09.58 | nfrs | you think the presence of another implementation on the classpath confuses it? |
22:10.11 | nfrs | I actually thought the older implementation would be completely hidden. why doesn't it work that way? |
22:20.48 | jasonb | nfrs: It all depends on classpath ordering. But, in general you shouldn't try to have two different versions of something on the classpath. |
22:48.36 | *** join/#tomcat scribe (~scribe@host81-151-50-112.range81-151.btcentralplus.com) |
22:48.54 | scribe | Hey guys. I'm having a strange problem. Let me know if I'm just being stupid (likely) |
22:49.45 | scribe | I have a simple <form method="post" action="path/"> |
22:50.00 | scribe | and request.getParameter doesn't give me any of my parameters |
22:50.20 | scribe | but if I change to: <form method="post" action="path/index.jsp"> |
22:50.22 | scribe | it all works |
23:01.25 | scribe | further information: |
23:01.46 | scribe | it seems tomcat works ok if I use action="path/" but not action="path" |
23:01.56 | scribe | doesn't that seem like a bug? |
23:03.25 | scribe | I'm writing "RESTful" services which use object/action convention for URLs and my clients have to be sure to add a trailing '/' to the end or things won't work with tomcat? |
23:04.03 | scribe | e.g., if they use a URL http://server.com/api/user/add then it will fail |
23:04.16 | scribe | e.g., if they use a URL http://server.com/api/user/add/ then it will work |
23:04.53 | scribe | That still seems dodgy. I'm up for hearing that I'm wrong on this one, but this is the result I'm seeing. |
23:05.46 | scribe | Just to be clear, my index.jsp is being called in both example URLs, but I can't get POST params with request.getParameter when using the first example |
23:06.41 | scribe | obviously if I use method="get" both work because the params are included in the actual URL |
23:13.52 | *** join/#tomcat hex` (~hex@unaffiliated/hex/x-261681) |
23:41.47 | *** join/#tomcat kritter (406c0582@gateway/web/freenode/ip.64.108.5.130) |
23:43.05 | kritter | Hey guys, I'm having some trouble getting tomcat to run with jsvc. When I run jsvc as root everything works as according to plan. However, when I specify -user $TOMCAT_USER, where $TOMCAT_USER=tomcat5 I get an error telling me that the request resource () does not exist. |
23:43.22 | kritter | Might anyone have any ideas as to how I could fix this? |
23:46.25 | *** join/#tomcat acidjnk (~havenone@46-229-103-86.dynamic.dsl.tng.de) |
23:55.52 | *** join/#tomcat Boohemian (~Boohemian@209-6-67-222.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com) |