00:08.55 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-64-32.dsl.emhril.ameritech.net) |
00:11.14 | *** join/#tomcat toens (n=t@196-209-13-171-ndn-esr-2.dynamic.isadsl.co.za) |
00:52.05 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
01:13.37 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
03:31.55 | *** join/#tomcat a4akba (n=a4akb@62.215.156.215) |
03:35.36 | *** join/#tomcat kid1412 (n=kid1412@n058152151086.netvigator.com) |
04:01.24 | *** join/#tomcat IvrGuru (n=1234@cpe-71-79-32-108.cinci.res.rr.com) |
04:05.03 | *** topic/#tomcat by IvrGuru -> Stable versions: 6.0.16, 5.5.26 and 4.1.37. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org:8080/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... |
04:53.13 | *** join/#tomcat acidjnk (n=have@pD95098FB.dip0.t-ipconnect.de) |
05:33.35 | *** join/#tomcat rambo123 (n=rocky@59.96.161.0) |
05:57.25 | *** join/#tomcat blue_asterisk (n=blue_ast@adsl-75-15-85-248.dsl.sndg02.sbcglobal.net) |
06:11.36 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
06:23.30 | *** join/#tomcat kanai (n=kanai@124.32.114.226) [NETSPLIT VICTIM] |
06:23.30 | *** join/#tomcat NielsP (n=npm@cpe-75-83-171-237.socal.res.rr.com) [NETSPLIT VICTIM] |
06:31.33 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) [NETSPLIT VICTIM] |
06:31.33 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-64-32.dsl.emhril.ameritech.net) [NETSPLIT VICTIM] |
06:31.33 | *** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net) [NETSPLIT VICTIM] |
06:31.33 | *** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com) [NETSPLIT VICTIM] |
06:31.33 | *** join/#tomcat ruxpin (n=pkunk@195.148.225.17) |
06:40.16 | *** join/#tomcat tom17bombadil (n=tom@BAH75d9.bah.pppool.de) |
06:42.19 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
06:50.24 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
07:03.12 | *** join/#tomcat fifo_ (n=quintin@196.38.199.139) |
07:03.15 | fifo_ | I keep getting: Mar 14, 2008 8:19:10 AM org.apache.tomcat.util.http.Parameters processParameters |
07:03.18 | fifo_ | WARNING: Parameters: Invalid chunk ignored. |
07:03.32 | fifo_ | And I can't seem to determine where it's coming from. Can anyone perhaps enlighten me? |
07:03.45 | fifo_ | Btw, I get it for every single request. |
07:14.02 | *** join/#tomcat rambo123 (n=rocky@59.96.164.201) |
07:22.48 | *** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl) |
07:24.51 | *** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl) |
07:25.53 | *** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl) |
07:28.37 | *** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl) |
07:29.56 | *** join/#tomcat maui (i=maui@xs2.xs4all.nl) |
07:30.41 | *** join/#tomcat maui (i=maui@xs2.xs4all.nl) |
07:31.18 | *** join/#tomcat mauriez (i=maui@xs2.xs4all.nl) |
07:47.36 | *** join/#tomcat ries (n=ries@200.110.78.134) |
07:53.59 | *** join/#tomcat gin1412 (n=kid1412@n058152151086.netvigator.com) |
07:57.02 | *** join/#tomcat sarts_ (n=stephan@mocha.foo-projects.org) |
08:41.05 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-0e3ea1d46fbf1e65) |
09:12.50 | *** join/#tomcat prgrmr (n=prgrmr@bzq-79-181-10-56.red.bezeqint.net) |
09:51.36 | *** join/#tomcat sveajobb (n=tommy@83.233.28.240) |
09:52.58 | *** join/#tomcat toens (n=t@196-209-13-171-ndn-esr-2.dynamic.isadsl.co.za) |
10:13.20 | deebo | bah, is it not possible to make an alias or a defautl redirect for a <Context> |
10:13.31 | deebo | like this app i have has login.jsp but no index.html or index.jsp |
10:13.45 | deebo | i need the login.jsp to be the frontpage, without being able to chagne its name |
10:17.46 | sveajobb | Hiya, anyone in here who knows of a good way of checking from which country an ip comes ? |
10:26.56 | *** join/#tomcat rambo123 (n=rocky@59.94.100.244) |
10:44.39 | Dwayne_Hicks | geoip |
10:44.46 | Dwayne_Hicks | free localy library |
10:45.01 | Dwayne_Hicks | bindings for a few language... tho dunno any java bindings |
10:45.31 | Dwayne_Hicks | great python library... dunno if that will help you... also great C library |
10:45.34 | Dwayne_Hicks | geo-ip |
10:45.43 | Dwayne_Hicks | search your package manager |
11:13.51 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
11:48.44 | *** part/#tomcat rambo123 (n=rocky@59.94.100.244) |
12:13.12 | *** join/#tomcat machtin_ (n=machtin@152.94.79.12) |
12:13.54 | *** join/#tomcat rambo123 (n=rocky@59.94.101.218) |
12:17.44 | *** part/#tomcat machtin_ (n=machtin@152.94.79.12) |
12:35.27 | *** join/#tomcat fripette (n=fripette@germande-251.univ-mrs.fr) |
12:35.32 | fripette | Hello |
12:53.07 | sveajobb | Dwayne_Hicks, ah thank you for the tip ;) |
12:55.30 | *** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) |
13:15.20 | fripette | please I have a question about a definition : what is the difference between jre and jdk ? |
13:19.33 | deebo | jre is the vm that runs java programs |
13:19.45 | deebo | jdk is the development kit containing all the base classes used for development |
13:21.15 | *** join/#tomcat rambo123 (n=rocky@59.94.101.218) |
13:22.30 | fripette | thanks you deebo |
13:34.00 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
13:40.38 | *** join/#tomcat charm911 (n=chatzill@251.9.39-62.rev.gaoland.net) |
13:42.12 | charm911 | hello all... anyone ever have issues with connections remaining in CLOSE_WAIT state (netstat -n) on RHEL with apache 2.2.3, mod_jk 1.2.26 and Jonas 4.5.3 (Tomcat 5.5.17)? |
13:42.31 | charm911 | hum...Jonas 4.8.6....sorry :( |
13:50.30 | MHSL | jonas? |
13:53.56 | charm911 | yes..jonas.. |
13:54.07 | charm911 | http://wiki.jonas.objectweb.org/xwiki/bin/view/Main/WebHome |
14:07.30 | MHSL | charm911, i dont think jonas = tomcat, but this is a channel for tomcat |
14:10.31 | charm911 | jonas contains a web container (tomcat or jetty) and does more : ejb container, java EE connectors, etc.. |
14:12.05 | MHSL | however, the configuration may be different |
14:14.32 | charm911 | sure... but if someone in this channel has ever come across this issue, they might have a hint for me... :) |
14:32.12 | *** join/#tomcat olought (n=olought@12.104.6.129) |
14:38.36 | olought | hey guys, tomcat 4.1.12, jdk 1.4.1, redhat 7.2 (old app they won't update); in `ps -ef` I show multiple tomcat.4 /usr/java ... -Xms 128MB - now for each one of those, is it really using 128MB for each pid? |
14:53.09 | *** join/#tomcat rambo123 (n=rocky@59.94.107.94) |
14:57.35 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
15:34.53 | *** join/#tomcat mmu_man (n=revol@vaf26-2-82-244-111-82.fbx.proxad.net) |
15:37.26 | *** join/#tomcat toens (n=t@196-209-13-171-ndn-esr-2.dynamic.isadsl.co.za) |
15:38.18 | mmu_man | anyone using debian here ? I have a problem with the 5.5 package on debian stable... (5.5.20-2etch2), with java 1.5.0_14... it seems to miss org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper, at least it gives an exception in OpenAguila... |
15:39.11 | mmu_man | common/lib/commons-dbcp.jar seems to contain it, but maybe it's not searched for... it seems to have been migrated to org.apache.tomcat.dbcp at some point in 5.5 history... |
15:39.58 | mmu_man | people had success using the official tomcat archive, but it seems unclean to use a zip instead of the package in debian. |
15:51.49 | MHSL | mmu_man, i've seen many people having problem with tomcat package, better use the zip/tar.gz form from tomcat website |
15:52.09 | MHSL | mmu_man, it seems unclean because the configs, logs, etc are not at the right directory? |
15:52.32 | mmu_man | that's what ubuntu docs suggest, but that's not really an answer to me, I mean why having packages then :D |
15:52.51 | mmu_man | well ubuntu's is quite broken I think |
15:53.04 | mmu_man | had to add/remove symlinks to get things working |
15:53.10 | MHSL | mmu_man, you may want to ask the person who did the packaging of tomcat |
15:53.26 | mmu_man | debian is better (maybe it's not from tomcat itself I do'nt know) |
15:53.31 | mmu_man | but still this missing class |
15:53.50 | mmu_man | there is a jar that has it, but it doesn't seem to find it |
15:54.07 | MHSL | you can try to set the classpath |
15:54.20 | mmu_man | yeah I'll try to append to it |
15:54.39 | MHSL | but the best way is still using the original one from tomcat website |
15:55.20 | MHSL | personally i prefer to download any apps from the original website whenever possible |
15:56.02 | MHSL | even prefer to compile one myself instead of using broken packages |
15:56.41 | mmu_man | yeah, but it kinda defeats the purpose of package managment :)) |
15:56.51 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
15:57.07 | MHSL | yes i know, but in linux you cant expect everyone to follow the same way, it's not windows |
15:58.38 | mmu_man | problem is with things with optional deps, you never know if the packager will put it in or not, so you always have one package missing something that someone needs :^) |
15:59.10 | mmu_man | At least BeOS was much simpler, you had everything in so you were sure it'd work :)) |
15:59.34 | mmu_man | let's hope Haiku won't go the bad way. |
15:59.37 | MHSL | i know, packager are meant to make things simpler, but may not be the case for everything |
16:00.04 | MHSL | well at least for tomcat case, downloading the archive file from tomcat website is the best way |
16:00.50 | MHSL | never have problem with it on suse, slackware, windows, centos, redhat enterprise |
16:02.34 | mmu_man | shrug, some ppl use OpenAguila on a windoze server (those 2 words really don't go along in the same sentense) |
16:02.34 | mmu_man | without much prob it seem |
16:02.35 | mmu_man | s |
16:09.32 | *** join/#tomcat huff (n=dhuff@nat/redhat/x-92cee5eff817ab4e) |
16:09.47 | *** part/#tomcat huff (n=dhuff@nat/redhat/x-92cee5eff817ab4e) |
16:15.31 | *** join/#tomcat blue_asterisk (n=blue_ast@mail.catholic.com) |
16:22.52 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
16:50.20 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
17:03.42 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
17:13.05 | *** join/#tomcat Georgy_32 (n=Georgy32@216.12.218.169) |
17:23.29 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
17:28.30 | *** join/#tomcat ong_ (n=alex_g@p549FFA7E.dip.t-dialin.net) |
17:29.03 | ong_ | hi |
17:31.14 | ong_ | I am tryin for a few days to get a JBoss Seam Project run on Tomcat, experienced some strange behaviors: how can I completely remove all war stuff, when I restart the tomcat there are still stuff from old session or something like that |
17:31.34 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
17:31.36 | ong_ | Im using tomcat 6.0.14 on windowsXP and linux |
17:37.32 | ong_ | have this message in the log, after removing the warfile: WARNUNG: A docBase /home/alex/apps/tc4s2/webapps/jboss-seam-jpa inside the host appBase has been specified, and will be ignored |
17:37.50 | ong_ | and: java.lang.IllegalArgumentException: Document base /home/alex/apps/tc4s2/webapps/jboss-seam-jpa does not exist or is not a readable directory |
17:38.01 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
17:45.33 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:00.37 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:04.24 | *** join/#tomcat SethX (i=wizard@loeblich.linuxteam.at) |
18:07.57 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:10.45 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:17.46 | *** join/#tomcat gregor_k (n=a@stgt-4dbe149d.pool.einsundeins.de) |
18:17.59 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:19.01 | *** join/#tomcat rambo123 (n=rocky@59.94.98.195) |
18:28.35 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:30.15 | *** join/#tomcat gatewayer (n=gatewaye@h081217074223.dyn.cm.kabsi.at) |
18:37.52 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:43.23 | *** join/#tomcat jeevan_ullas (n=deepsa@fedora/jeevanullas) |
18:43.31 | jeevan_ullas | hello |
18:44.28 | jeevan_ullas | guys, i am trying to configure a typical tomcat setup on a server machine. in this i want every user to put his/her webapp in the home directory assigned to him/her and then it gets deployed. does tomcat provides any such feature? |
18:44.44 | jeevan_ullas | currently i am sharing the webapps/ folder via samba. |
18:49.09 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
18:54.30 | *** join/#tomcat Georgy32 (n=Georgy32@216.12.218.169) |
19:05.29 | *** join/#tomcat randrewj (n=raj-user@dyn-160-39-254-100.dyn.columbia.edu) |
19:06.07 | *** part/#tomcat rambo123 (n=rocky@59.94.98.195) |
19:34.16 | *** join/#tomcat tom17bombadil_ (n=tom@BAH75d9.bah.pppool.de) |
19:46.09 | jasonb | jeevan_ullas: It had a feature like that long ago, but over time it broke and nobody maintained it, so it doesn't work currently. |
19:47.37 | jeevan_ullas | jasonb: personally what you suggest for such kind of scenario SCM? |
19:48.11 | jeevan_ullas | or sharing webapps/ with samba/ftp with sticky bit (as i dont want one user to delete other persons webapp) |
19:48.15 | jasonb | jeevan_ullas: It is really situational, so it depends on a number of factors of your environment, employees, hardware, business model, etc that I don't know. |
19:49.07 | jeevan_ullas | jasonb: computer science lab at a university with 60 students and 15 computers all with windows only server fedora tomcat 5.5 |
19:49.30 | jasonb | jeevan_ullas: It's true that you could serve up the webapps/ dir and pre-deploy 1 webapp for each person, and give just that one person write access to their webapp, and make the webapps reloadable. But, what I've found is that even with reloading turned on, I still need to restart Tomcat sometimes for changes to take effect -- or for Tomcat to work properly. |
19:50.05 | jasonb | Well, first thing: I'd upgrade to Tomcat 6.0.16. |
19:50.16 | jeevan_ullas | jasonb: okay. |
19:50.44 | jasonb | If it's a university setting, and if you want the students to learn how deployment is done in the real world, then they should deploy via Ant, and the Tomcat ant tasks that deal with deployment. |
19:50.59 | jeevan_ullas | jasonb: for this setup i am using mod_jk.so too, is it good (performance wise)? |
19:51.02 | jasonb | (as seen in the "deployer" build file) |
19:51.17 | jasonb | No, mod_jk is the worst performing way to configure Tomcat. |
19:51.29 | jasonb | ibot: tdg-benchmarks |
19:51.29 | ibot | tdg-benchmarks is, like, http://www.oreilly.com/catalog/9780596101060/chapter/index.html |
19:51.46 | jeevan_ullas | jasonb: does, ant provides deployment remotely? |
19:51.48 | jasonb | See my benchmarks at that URL to see just how each configuration performs. |
19:51.55 | jeevan_ullas | okay |
19:52.05 | jasonb | Yes, with Ant and the Tomcat ant tasks, you may do remote deployment just fine. |
19:52.37 | jeevan_ullas | jasonb: again, i have to create users and give them deployment rights or just use manager? |
19:54.13 | jasonb | It really depends on what you're trying to do. For maximum security, you'd need to create 1 user account for each student to use the manager webapp. |
19:54.56 | jasonb | But, once inside the manager webapp, they can restart|stop|start|undeploy|redeploy any webapp in there, if they know what they're doing. |
19:55.19 | jasonb | You *could* give each one a host, and each host its own manager webapp. |
19:55.36 | jasonb | That way, each manager controls only one host's webapp. |
19:55.43 | jasonb | But, then that's trickier to set up with DNS. |
19:55.57 | jeevan_ullas | jasonb: okay. i have a dns with CNAME, does that helps? |
19:56.10 | jasonb | Sure. That would work. |
19:56.27 | jeevan_ullas | jasonb: okay, where should i look for this thing in tomcat docs? |
19:56.58 | *** join/#tomcat a4akba (n=a4akb@62.215.156.215) |
19:57.04 | jasonb | First, read my benchmarks.. that will help you a lot I think. |
19:57.12 | a4akba | alo |
19:57.18 | jeevan_ullas | jasonb: okay. off to reading ... |
19:57.35 | jasonb | jeevan_ullas: After that, just read about the manager webapp, and the standalone deployer. |
20:06.34 | *** join/#tomcat Brainix (n=brainix@houston.enfoldsystems.com) |
20:07.13 | Brainix | Greetings. :-) I'm trying to make Tomcat run on port 443 instead of 8443. I've changed all instances of 8443 to 443 in server.xml and restarted as root. Is there a reason this doesn't work? |
20:12.00 | pfn | that works, but it's not necessarily a good idea to run as root |
20:12.07 | pfn | and if you do run as root, it's best to use a security manager |
20:12.14 | pfn | or jsvc, that will drop privileges |
20:14.47 | jasonb | I would suggest neither. I'd suggest running as non-root, and using iptables to remap 443 to 8443. |
20:15.04 | jasonb | Works great for me. |
20:16.23 | pfn | there are reasons why using a drop-privs approach is desirable |
20:17.20 | jeevan_ullas | jasonb: same you suggest if i had said i will take off mod_jk and still dont want 8080 in the url? |
20:17.25 | jasonb | pfn: As in jsvc? What reasons? |
20:17.38 | pfn | portability across unix platforms |
20:17.56 | pfn | especially in an application which bundles tomcat internally and has a shrinkwrapped type of installer |
20:17.58 | jasonb | pfn: There's an easy way to remap ports in all "unix" platforms though. |
20:18.07 | pfn | no, there isn't |
20:18.22 | jasonb | pfn: Like, on which OS? |
20:18.47 | pfn | solaris, osx, etc. |
20:19.07 | jasonb | pfn: There are packet filter implementations on both of those. |
20:19.24 | pfn | there are, but the commands aren't often accessible, or require a pain in the ass config |
20:19.40 | pfn | it's fine if you are targetting to run only on those platforms specifically |
20:20.04 | jasonb | pfn: If it's shrink wrapped software with an installer, I can see how it would be easier to deal with jsvc. But, the other way could work, it just depends on whether you have the answers on how to make it work or not. :) |
20:23.56 | pfn | the other reason is that it requires additional work during IP changes |
20:24.31 | jasonb | It doesn't if your filter rule doesn't specify an IP address. |
20:24.48 | pfn | iirc, the iptables rules require an ip address |
20:24.53 | jasonb | But, whether that would be required or not depends on your use case(s). |
20:25.15 | jasonb | Nope! iptables doesn't necessarily require an IP address. |
20:25.54 | Brainix | Thanks, guys. iptables, it is. :-) |
20:26.02 | jasonb | You can say "send all TCP packets destined to port 443 to port 8443". |
20:26.40 | jasonb | You can make the rule as specific or as inspecific as you want. |
20:50.04 | *** join/#tomcat milesd (n=milesd@71.39.2.158) |
20:50.51 | milesd | Hi, everybody. I'm having some trouble with apache axis libraries. I'm using wsdl2java to generate client stubs based on a wsdl from the server (I have *no* idea what the server actually is) |
20:51.02 | milesd | and it successfully generates some java classes |
20:51.24 | milesd | but when I execute a method against one of the stubs, I get a SAXError saying I have an invalid element |
20:52.15 | milesd | I found some forum posts saying there was a bug in axis1.4 that might cause this so I switched my jar files to 1.3 and re-generated my stubs but it didn't help |
20:53.44 | *** join/#tomcat clovisw (n=clovis@201-40-80-180.cscgo300.ipd.brasiltelecom.net.br) |
20:54.13 | clovisw | hi, i'm with a doubt, what is better tomcat cluster, or use terracota to cluster the VM? |
20:55.20 | *** part/#tomcat Brainix (n=brainix@houston.enfoldsystems.com) |
21:03.57 | *** part/#tomcat clovisw (n=clovis@201-40-80-180.cscgo300.ipd.brasiltelecom.net.br) |
21:43.12 | *** join/#tomcat Blissex2 (n=pcg@82-69-39-138.dsl.in-addr.zen.co.uk) |
22:26.44 | *** join/#tomcat toens (n=t@196-209-13-211-ndn-esr-2.dynamic.isadsl.co.za) |
22:46.16 | ong_ | I found the solution of my problem: tomcat copies the context.xml file of each webapp to conf/Catalina/lcalhost/webapp-name.xml ... and keep it even throu redeploys... I didn't see it in the documentation... |
23:22.44 | ries | Hey guys... I have a option to deploy my classes as .class files... or as a .jar file... is there any difference when it comes to performance? Just wondering this.... |