irclog2html for #tomcat on 20050606

02:54.07*** join/#tomcat marfis (~marco_@i3ED6E16E.versanet.de)
04:04.53jasonbWow, it's amazingly dead in here today.
05:49.21*** join/#tomcat dreammer_ (~michael@HSE-StCath-ppp192624.sympatico.ca)
05:53.34*** join/#tomcat syntaxxed (~me@c-24-99-111-182.hsd1.ga.comcast.net)
05:54.54syntaxxedi'd like to know if it's a good idea to install another version of Tomcat on a system that already has it? My webhost has Tomcat 4.0(because they say that version works best with Plesk) but i wanna install 5.5, would that cause any conflicts?
05:59.44dreammer_does tomcat have to made aware of files it serves?  i'm getting http status 404... despite having put the files in what I think are the right place
06:04.08syntaxxedanyone know a better Tomcat installation guide than at apaches website
06:04.40syntaxxedespecially if i'm installing on a remote locaiton
06:15.29*** join/#tomcat rai (~act@203.197.156.170)
06:15.34raihi
06:15.50raii got a problem in configuring vhost in tomcat
06:15.53raiany clue
06:17.16syntaxxedi wish i could get help in here
06:17.21syntaxxedheh
06:18.15syntaxxedrai, vhost...is that when you try to setup tomcat so that you can upload your .jsp and servlet files to the same area as your html files?
06:26.09raino i have 10 named based virtual host in apache server i have configured jk and connected tomcat with apache and now i want my vhost site to use jsp
06:26.19raiis it to configure vhost in server.xml
06:26.42raior in httpd.conf with jkmount in vhost directive
06:27.14syntaxxedi have no idea, but i've been reading this http://www.ex-parrot.com/~pete/tomcat-vhost.html
06:28.00raioh thanks
06:28.54raialso
06:29.34raii am using tomcat with apache should need to edit server.xml in order comment tomcat to run as standalone server as it should co-work with apache
06:35.52raihi i read that tomcat-vhost page i does mean i need not to configure in httpd.conf only in server.xml
06:38.34*** join/#tomcat ZiX (~ZiXon@tgx.pp.saunalahti.fi)
06:38.54ZiXi keep getting this msg:
06:38.56ZiXlog4j:WARN No appenders could be found for logger
06:38.58ZiXhow can i fix that?
06:43.49*** join/#tomcat neige (~serveur@81.13.146.177)
06:51.39*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
07:03.28*** join/#tomcat neige (~serveur@81.13.146.177)
07:14.11*** join/#tomcat loquace (~seb@aqu33-4-82-233-55-6.fbx.proxad.net)
07:15.39loquacelo
07:18.11jasonblo
07:25.07*** join/#tomcat neige (~serveur@81.13.146.177)
07:30.34syntaxxedthis may be a dumb question... but shouldn't just typing "startup.sh" start tomcat
07:35.15*** join/#tomcat neige (~serveur@81.13.146.177)
07:36.51ZiXsyntaxxed: trye ./startup.sh
07:37.05ZiXcan anyone tell me where i get the tomcat 5.5 status servlet??
07:38.31syntaxxedthans
07:41.08ZiXcan anyone please tell me where i can get the status servlet for tomcat 5.5 ???
08:09.20syntaxxedman tomcat is a bitch
08:11.26*** join/#tomcat loquace (~seb@aqu33-4-82-233-55-6.fbx.proxad.net)
08:12.26loquacere
08:22.58*** join/#tomcat dreammer__ (~michael@HSE-StCath-ppp192393.sympatico.ca)
08:42.56*** part/#tomcat syntaxxed (~me@c-24-99-111-182.hsd1.ga.comcast.net)
09:09.57ZiXcan anyone tell me where i can get the tomcat 5.5 status servlet??
09:12.13HughWorkI believe by default it is at: /manager/status
09:13.03HughWorkyou need to have configured the manager webapp (ie. created a user in the admin role iirc)
09:13.30HughWorksee: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html
09:28.30*** join/#tomcat neige (~serveur@81.13.146.177)
09:29.35ZiXHughWork: tnx
09:31.25*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
09:46.39loquace++
10:26.36*** join/#tomcat valmont (~chrisholl@206.173.253.38.ptr.us.xo.net)
10:27.07*** join/#tomcat HughWork_ (~Hugh@chinook.mxtelecom.com)
10:30.46*** join/#tomcat enginerd (enginerd@69.50.182.186) [NETSPLIT VICTIM]
10:31.56*** join/#tomcat jasonb (noneoyerbi@66.124.73.250) [NETSPLIT VICTIM]
10:31.57*** join/#tomcat oesriram (~sriram@203.193.165.130)
10:35.34*** join/#tomcat jasonb (noneoyerbi@66.124.73.250) [NETSPLIT VICTIM]
10:38.03*** join/#tomcat jwesley (~jsmith@adsl-065-013-098-017.sip.mem.bellsouth.net) [NETSPLIT VICTIM]
10:39.34*** join/#tomcat jasonb (noneoyerbi@66.124.73.250) [NETSPLIT VICTIM]
10:40.28*** join/#tomcat teite (shu@sun-shu.ision.net) [NETSPLIT VICTIM]
10:43.05*** join/#tomcat jwesley (~jsmith@adsl-065-013-098-017.sip.mem.bellsouth.net)
11:11.16*** join/#tomcat levon (~levon@mail.feature-it.de)
11:36.57*** join/#tomcat valmont (~chrisholl@206.173.253.54.ptr.us.xo.net)
11:52.39*** join/#tomcat dEAthCON (df@c-180-196-103.ka.dial.de.ignite.net)
11:54.30dEAthCONi just installed tomcat 4.1.31 (and have nothing like apache ... installed on my computer) and cunfigured it a bit to run anonym servlets. Now it runs, but it seems that it completely ignores my htaccess files. Do i have to enable htaccess ?
11:55.46*** join/#tomcat loquace (~seb@aqu33-4-82-233-55-6.fbx.proxad.net)
11:56.44loquacere
12:01.18*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
12:10.32*** join/#tomcat valmont (~chrisholl@206.173.253.54.ptr.us.xo.net)
13:14.29*** join/#tomcat [TechGuy] (~sbalmos@flyingpig.simunex.com)
13:15.42[TechGuy]Hi all. If I'm writing a SOAP service, I don't see a reason to run Apache with a connector. I can just run Tomcat standalone, right?
13:23.46*** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
13:26.41*** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
13:29.55*** join/#tomcat eeaaxx (~tuxxz@61.9.109.127)
13:30.33*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
13:34.29*** part/#tomcat [TechGuy] (~sbalmos@flyingpig.simunex.com)
14:01.07*** join/#tomcat IRCMonkey (~chatzilla@202-149-60-134.exatt.net)
14:01.27IRCMonkeyhi
14:01.48IRCMonkeyhow to set the admin
14:01.52IRCMonkeyin java
14:01.55IRCMonkeytomcat
14:26.32*** join/#tomcat valmont (~chrisholl@206.13.39.65)
14:46.10*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
14:46.58*** join/#tomcat jesse_132 (~jdandr2@miro.voltaiccommerce.com)
14:48.05jesse_132Is there a way to tell tomcat to start a GC when memory is 90% full..  I keep getting "java.lang.OutOfMemoryError: Java heap space" every hour or so... but if I click back and continue it is ok
14:51.04randrewjesse_132: probably better to just give the jvm more memory or make the app use less.
14:53.20crackheadgood morning
14:53.37marfisjasonb, everything works fine with ant 1.6.5 - thx again... :)
14:54.03jasonbmarfis: Ahh, cool.  You're welcome.
14:54.41jasonbmarfis: You did still have to change that URL, though, right?
14:56.22marfisah yes, i used the sources from the site, in which i already changed that line... will do an fresh buiold again... if the url is still invalid i will sed it...
14:57.19marfisjasonb, also this could become harder to mantain if nobody is going to fix such "low-level" bug stuff...
14:57.44jasonbThey almost always do.
14:58.35marfisok, fine... i'm still working on my script, so i will do the final test with fresh, unedited sources...
15:03.41*** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net)
15:05.45marfisjasonb, but then I probably hav to check out all the stuff straight out of the cvs? Will they update the provided src-tarball too?
15:07.20jasonbmarfis: They'll make new snapshots.  I don't know if they release nightly tarballs.. they might.  But, it may not be long before they tag a 5.5.10 version.
15:08.21jasonbhttp://cvs.apache.org/builds/jakarta-tomcat-5/nightly/
15:08.25*** join/#tomcat valmont (~chrisholl@206.13.39.88)
15:09.21jasonbSo far, though, I haven't seen any commit message saying they fixed it.  :(
15:09.30marfisok, no prob... if this is the only bug (an it seems so), I will sed that until 5.5.10... i don't know if arch likes setting up things with snapshots...
15:10.41marfisjasonb, ok, i understand that, maybe the link is just temporary broken... but they could fix it using not any special mirror, dl.sourceforge.net instead...
15:11.25marfisthe downloads will work then, even if any mirror is down...
15:12.33marfis(as far as i know)...
15:13.58jasonbmarfis: Also, whenever they fix anything small like this, you could generate your own patch and make your build patch the official 5.5.9 source release files.
15:14.59jasonb(or even before they fix it you can make your own patch if you're sure you know how it should be fixed..)
15:15.03*** join/#tomcat valmont_ (~chrisholl@206.13.39.97)
15:15.11marfisthat's what I'm doing... I tell my skript to change this specific line... we can delete that when packaging 5.5.10...
15:19.11*** join/#tomcat Valle (~jhiemer@p54A989B7.dip0.t-ipconnect.de)
15:45.38bwlangis it better to setup jk to use unix socket or a standard socket?
16:07.54puckoI suppose unixsockets is slighty faster than tcp-sockets, but generally I think there are other ways to achieve greater wins in performance
16:22.32*** join/#tomcat Hellaenergy (~Hellaener@206.231.92.70)
16:45.43*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
16:47.13*** join/#tomcat bugfixer2 (~bugfixer2@42gis175.gulftel.com)
16:47.50*** join/#tomcat tang^ (~krachynsk@ptr-207-54-100-245.ptr.terago.ca)
16:48.47*** part/#tomcat tang^ (~krachynsk@ptr-207-54-100-245.ptr.terago.ca)
17:02.28*** join/#tomcat aiyaiyairc (aleuaooouu@c-67-161-177-74.hsd1.ca.comcast.net)
17:14.20*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
17:45.41*** join/#tomcat linuxfreck (~freck@fry.fmi.uni-passau.de)
17:55.00bwlangpucko: hmm like what?
18:05.32*** join/#tomcat syntaxxed (~me@c-24-99-111-182.hsd1.ga.comcast.net)
18:10.17syntaxxedwhat does this errors usually mean
18:10.17syntaxxed./startup.sh
18:10.17syntaxxed: bad interpreter: No such file or directorycat-5.5.9/bin/catalina.sh: /bin/sh
18:10.17syntaxxed./startup.sh: line 46: /usr/local/Tomcat5/jakarta-tomcat-5.5.9/bin/catalina.sh: Success
18:11.52syntaxxedit points to a line in catalina.sh that has set JAVA_HOME=/usr/java/j2sdk  
18:12.06syntaxxedbut when i remove it, and try to startup tomcat it says it can't find catalina.sh
18:12.36Hellaenergysyntaxxed make sure the files are executable ;)
18:13.09syntaxxedisnt that done by +x catalina.sh
18:13.39*** join/#tomcat jesse_132 (~jdandr2@miro.voltaiccommerce.com)
18:15.21linuxfreckbad interpreter usually means that /bin/sh doesn't exist or isn't executable. in both cases your system would be seriousely broken though
18:16.16syntaxxedhm...hopefully that's not the case
18:16.31syntaxxeddamn i wish my hosting company just start off with Tomcat 5.5
18:16.36syntaxxedinstead it comes iwth tomcat4
18:16.44syntaxxedi'm just trying to setup tomcat5
18:17.03jasonbOr, that your #! line at the top is malformed, OR that you wrote the file with some lame OS like Windoze and copied it to Linux and didn't do dos2unix text line translation before trying to run it.  :)
18:17.42syntaxxedheh ya....well i edited in windows
18:18.56syntaxxedwell first o all how do you make it executable
18:19.56jasonbchmod 700 catalina.sh
18:20.20syntaxxedhmm i did it different last time
18:20.24syntaxxedok
18:22.03linuxfreckyou probably want to get the .tar.gz tomcat distribution and start over
18:22.24syntaxxedwhy's that
18:22.29*** join/#tomcat rafiu (~rafiu@84.12.112.162)
18:22.33rafiuhi
18:23.17rafiucan someone pls help me out with the syntax for IP request filters on a webapp?]
18:24.23linuxfrecksyntaxxed: well windows likes to break stuff :)
18:25.23syntaxxedi think i fixed that.... i just uploaded the untainted catalina.sh and startup.sh
18:25.52*** join/#tomcat WebCEO (~chatzilla@adsl-228-13-192-81.adsl.iam.net.ma)
18:26.31syntaxxednow it's just saying JAVA_HOME not set...thats where i messed up the first time... i think i tried to edit catalina.sh by adding set JAVA_HOME=C:\j2sdk1.4.0_02 after the first comment, but i used word wrapping with word pad
18:26.54syntaxxedwell....not c:\....
18:26.58syntaxxedbut the correct location
18:33.21syntaxxedlinuxfreck, okay i'm dumb. How would i define the java_home and jre_home...i keep getting a blank line with echo $JAVA_HOME
18:33.43linuxfreckexport JAVA_HOME=/usr/...
18:35.58syntaxxedwould this represent a successful startup
18:35.58syntaxxedUsing CATALINA_BASE:   /usr/local/Tomcat5/jakarta-tomcat-5.5.9
18:35.59syntaxxedUsing CATALINA_HOME:   /usr/local/Tomcat5/jakarta-tomcat-5.5.9
18:35.59syntaxxedUsing CATALINA_TMPDIR: /usr/local/Tomcat5/jakarta-tomcat-5.5.9/temp
18:35.59syntaxxedUsing JRE_HOME:       /usr/java/j2sdk
18:37.02linuxfreckit's a hint
18:37.43syntaxxedthe jre home
18:38.11linuxfrecka successful startup is when you can access the server over http :)
18:38.29linuxfreckbut it did find java
18:39.12syntaxxedoh
18:41.07jasonbsyntaxxed: You should really use lowercase dir names in Linux.
18:41.22syntaxxedwhy
18:42.03jasonbThat's the convention for this type of thing on Linux, and if you change it, you're just going to look like you're doing windows-ish stuff on Linux, which just generally looks wrong.
18:42.26jasonbIt's more stylistic, but if you want people to generally like your solution, you should make it blend in well with the rest of the OS.
18:43.14syntaxxedi see
18:43.35syntaxxedwould you happen to know why it just stops at the step above when i'm trying to startup tomcat
18:44.01bwlangi'm running tomcat on debian... i have things working when i go directly to port 8180.  Now i want to get things working with jk2.  according to the docs i must just enable the workers2.properties... but i get a 404 when i try to go to /admin....  (i have [uri:admin] in workers2.properties /jsp-examples does arrive at tomcat though (so the worker is configured right)  what might be wrong?
18:45.02jasonbsyntaxxed: What do your tomcat's logs say?
18:45.16bwlangdo i need to add some config to my vhosts?
18:45.50syntaxxedlinuxfreck, btw, if i changed the port to 80 instead of 8080 shouldn't i be able to access jsp files and servlets by just typing www.mysite.com/whatever.whatever  or do i still have to use an ipaddress/whatever.wheater
18:45.59syntaxxedjasonb...don't know
18:46.14*** join/#tomcat CitizenKane (~wlad@play.wlad.net)
18:46.18syntaxxedlet me see
18:46.40linuxfrecksyntaxxed: yes, but note that you need to start tomcat as root if you want it to access port 80
18:47.00linuxfreckbut you do not want to run tomcat as root for security reasons
18:47.15bwlangsounds like you guys are solving the same problem that i'm working on...   -> jk is needed right?
18:47.20CitizenKanehi guys
18:47.23CitizenKanewhat's up
18:47.26CitizenKanelyk3n
18:47.35linuxfreckbut you can use the jsvc tool to start tomcat as root and then run it as another user
18:47.38syntaxxedlinuxfreck, so...if it's not wise to run it as root...just use the IP addreess
18:48.08linuxfrecksyntaxxed: you can use www.mysite.com:8080/whatever
18:48.41syntaxxedeh...thats so... not like mysite.com/whatever ?
18:48.42syntaxxed:)
18:48.47syntaxxedi guess this is the problem This release of Apache Tomcat was packaged to run on J2SE 5.0
18:48.47syntaxxedor later. It can be run on earlier JVMs by downloading and
18:48.47syntaxxedinstalling a compatibility package from the Apache Tomcat
18:48.47syntaxxedbinary download page.
18:49.10syntaxxedi'm not using 5.0
18:49.13jasonbsyntaxxed: Yes, to use 1.4 or lower you do need to install the compatibility package.
18:49.37syntaxxedhow does Resin and Orion compare to tomcat
18:50.49bwlangdo you have to add some config in a vhost to get apache to talk to tomcat (ie is JkSet config.file not sufficient)?
18:53.51syntaxxedlinuxfreck, so having the port 8080 shown on my url...that's not a security risk, since people would that specific port
18:55.30linuxfrecksyntaxxed: it's not a security issue. Some people don't allow connections to port 8080 though
18:57.17syntaxxedso some users of my site might have problems
18:57.29linuxfreckindeed
18:57.41syntaxxedoh boy
18:58.09*** join/#tomcat food (~chatzilla@80.80-203-37.nextgentel.com)
18:58.23linuxfreckheh
18:59.47syntaxxedso what do most sites do...run it in root and run it with a different user like you said?
19:01.20linuxfreckeither run tomcat on port 80 using jsvc or run apache on port 80 and connect it to tomcat using mod_proxy or mod_jk
19:01.27linuxfreckwe're using apache + mod_proxy
19:02.23syntaxxeddo you have a link to a tutorial for that, as well as how to install the compatibility package
19:02.52syntaxxedapache is on port 80 by defualt for me anyway...so i just have to connect it
19:04.01linuxfreckhttp://jakarta.apache.org/tomcat/tomcat-5.0-doc/proxy-howto.html
19:06.23jasonb"just have to connect to it"  :)  Sounds so simple.
19:06.43syntaxxedi'll just download the newest j2se instead of using the compatibility package
19:07.12syntaxxednothing with tomcat is simple to me
19:08.01syntaxxedi wonder why my book doesn't say anything bad about changing server.xml port to 80
19:11.04linuxfreckprobably your book sucks :)
19:11.22*** join/#tomcat KidVegas (~chatzilla@c-24-63-43-85.hsd1.ma.comcast.net)
19:11.30syntaxxedheh core servlets and jsp
19:11.40KidVegashello
19:12.04syntaxxedwhat could possibly go wrong if i just set it to port 80
19:12.07KidVegasanyone want to help me cease to be a newbie?
19:12.58linuxfrecksyntaxxed: that book isn't bad imo, it's just about developing servlets and not about administrating tomcat
19:13.04KidVegasI'm trying to fiddle around with tomcat so that I can start running hibernate on top of it
19:14.27syntaxxedlinuxfreck, please tell me there is nothing else i have to do if i have an ssl certificate on my domain
19:14.56linuxfreckuh
19:15.08linuxfreckI should better be silent then :)
19:15.39syntaxxeddamn it
19:15.52syntaxxedhttps://...thats just not enough eh
19:16.18linuxfrecknope
19:17.26linuxfrecklast time I tried I found setting up https quite difficult :)
19:18.21syntaxxedthis is going to take forever. why can't tomcat installation  be straight forward
19:19.11KidVegasit seems to me that the documentation is rather lacking
19:19.41jasonbYou guys should probably get a copy of Tomcat: The Definitive Guide (O'Reilly).
19:19.51KidVegasI believe that I've managed to install it
19:20.09KidVegasthe O'reilly books seem to be pretty good
19:20.18syntaxxedi was hoping that it being 2005...everythign woudl be simpler :)
19:20.19KidVegasI can connect to it via localhost
19:20.49KidVegasand if I chang servers.xml to connect on port 80 I can get at it from my friends computer down the basement
19:21.16KidVegasbut I can't seem to deploy new applications to any effect
19:21.19linuxfrecksyntaxxed: ssl stuff is inherently difficult, since a lot of math and security concerns is in it
19:22.02*** join/#tomcat Valle (~jhiemer@p54A989B7.dip0.t-ipconnect.de)
19:22.02KidVegasI've been fiddling with the source inside of the samples, but tomcat doesn't seem to notice that I did anything
19:22.03KidVegaseven if I shut it down and restart it
19:22.50linuxfreckKidVegas: if you edited .java files, you need to compile them yourself
19:22.50KidVegasI edited .java.html files
19:22.50linuxfreckuh
19:22.52KidVegasyeah
19:22.55KidVegashang on a second
19:23.01linuxfreckthis is a non-standard extension, the web app could do anything with them :)
19:23.05syntaxxeddamn i'm ready to pay someone to set all this stuff up for me, i really just want to finish my website
19:23.07KidVegasyeah
19:23.31KidVegasI didn't come up with the extension, they are what comes with 5.5.9 for samples
19:23.45KidVegasI've also got a sample.war that came with
19:23.46syntaxxedshared hosting was great, except socket connections were blocked. virtual dedicated give syou everythign without the support, and everything is 10x harder
19:23.58KidVegasthat I plopped into /webapps
19:24.14KidVegasbut for some reason tomcat doesn't unpack it on startup
19:24.56KidVegaswhen I run jar -xvf sample.war I get an error, so I'm thinking perhaps tomcat is shipping with a bogus war
19:25.13KidVegaseither that or fedora core 3 ships with a bogus jar utility
19:26.09linuxfrecksyntaxxed: you got a virtual server?
19:26.55syntaxxedya
19:27.20syntaxxedvirtual dedicated hosting, godaddy.com
19:27.48linuxfreckgood luck then, my experiences aren't too good wrt that
19:28.29bwlanglinuxfreck: do you think mod_proxy is better than mod_jk? i don't have apache2.1 yet...
19:28.56linuxfreckbwlang: mod_proxy is easier to set up and fast enough for me
19:29.49bwlanglinuxfreck: i think i have it running okay now... pretty easy to set up on debian now that i figured out how to get apache to not steal the important urls...
19:30.35CitizenKanethe best thing is to run tomcat on a different port and the use iptables to rewrite the packets
19:31.05CitizenKaneif you have an IP to spare
19:31.07CitizenKaneof course
19:31.40syntaxxedwell.. i'm ready to go back to shared hosting, and just eliminate anything that needs a socket connection
19:32.09CitizenKanesyntaxxed: what are you trying to do?
19:33.01syntaxxedwell i learned i'm gonna have to set up SSL certificates on my virtual dedicated hosting with tomcat, as well as setting it up to run on port 80
19:33.33CitizenKanedo you have iptables on your virtual dedicated hosting?
19:33.54syntaxxedi have no idea, i'm kinda new to this virtual dedicated hosting
19:33.58CitizenKaneis it vmware or umode linux?
19:34.04syntaxxedand my hosting providder doesnt know anything
19:34.20syntaxxedum...it's redhat so i guess it's linux
19:34.38CitizenKanethat's not what I mean
19:34.41CitizenKanetype iptables
19:34.42syntaxxedso their shared hosting...after getting the SSL, all i did was do https://
19:35.07CitizenKaneyou have root access, right?
19:35.18KidVegashmm
19:35.27syntaxxedya
19:36.23KidVegasanybody know of any online tomcat documentation better then the manual?
19:36.31syntaxxedalso, when i ran Tomcat 4(which came with plesk) it would run on my ip address:8080 so i wanted to change it to www.mywebsite.com/theApp
19:36.44KidVegasor should I go shell out for the oreilly book?
19:36.50CitizenKanesyntaxxed: you can do that from iptables
19:37.03CitizenKanewith packet mangling
19:38.25syntaxxedas if i knew what that meant/is
19:39.41CitizenKanewell, then it's a bit harder :)
19:40.38syntaxxedhow much do you think someone would charge if i paid them to do all this crap for me :P
19:41.34syntaxxedif i had a dedicated IP with my shared hosting...doesn't that mean i could use socket conncetions to say...send email to someone using a servlet
19:41.51CitizenKaneno
19:42.07CitizenKanenot necessarily
19:43.29syntaxxedthe funny thing is that i get 'Permission Denied' when trying to execute java.bin file
19:43.30syntaxxed1.5
19:43.39syntaxxedand i'm on as root
19:45.25CitizenKane\it might not be markedf as executable
19:48.00syntaxxedgot it
19:52.52syntaxxedtomcat still cannot startup, and the catalina.out says swap file already exists
19:53.25syntaxxedwell actually it said ... Error occurred during initialization of VM
19:53.25syntaxxedCould not reserve enough space for object heap
19:53.25syntaxxedCould not create the Java virtual machine.
19:53.56linuxfreckKidVegas: jasonb would probably tell you to get the book. :)
19:54.03linuxfreckbut I really like his book, too
19:54.21KidVegashis book as in he's the author :)
19:54.27linuxfrecksyntaxxed: that is a problem with virtual root servers
19:54.28KidVegas?
19:54.42linuxfreckKidVegas: co-author
19:54.49KidVegasright on
19:54.57syntaxxedlinuxfreck, hosting companies problem...or my problem
19:54.59KidVegasgood with the self-promotion bit there
19:55.07KidVegasI suppose a guy has to make a living
19:55.26linuxfrecksyntaxxed: the hosting company probably won't fix it :)
19:55.44linuxfrecksyntaxxed: I had the problem, too
19:55.59linuxfrecksyntaxxed: my only solution was to reduce the max heap size
19:56.13syntaxxedhow is that done
19:56.25KidVegasinteresting
19:56.41KidVegasit looks like the problem is definitely the war file that comes with 5.5.9
19:56.47linuxfreckexport CATALINA_OPTS="-Xmx32m"
19:56.51syntaxxedit's just one problem to another
19:57.03KidVegasI just stole the war from SUNWapplicationServer
19:57.14KidVegasand tomcat autoloads that no problem
19:57.17linuxfreckvirtual dedicated servers are just crap imo...
19:57.38syntaxxeddedicated costs too much for me
19:58.02linuxfrecktomcat won't like you with only 32 mb of ram though
19:58.09syntaxxedslow?
19:59.22linuxfreckthat, too, but it'll crash with OutOfMemoryErrors on heavier access or sophisticated and/or buggy web-apps
19:59.34syntaxxedoh my god
20:00.04CitizenKaneyou only have 32mb of ram??
20:00.14syntaxxedi don't know what it has...let me check
20:00.37linuxfreckCitizenKane: it's a virtual root server, they don't like it if a process takes loads of ram
20:00.42syntaxxedgodaddy doesn't even tell you waht kind of hardware
20:01.17linuxfreckit's a shared environment, so if the others take more, you get less
20:01.46CitizenKanej2ee and shared hosting doesn't mix well
20:01.52CitizenKaneunless the webapp is really simple
20:01.54linuxfrecktrue
20:02.04KidVegasgodaddy does of course have a great spokeswoman
20:03.38syntaxxedwho is a good affordable host, that gives you as much bandwidth as godaddy, who does not block socket connections, and who has tomcat installed
20:05.57syntaxxedat least 100gb monthly transfer i guess
20:05.57syntaxxederr...
20:05.57syntaxxedya 100gb
20:07.10linuxfreckuh, 100gb/month? what the hell are you serving?
20:07.40linuxfreckthis means a virtual root server is really undersized
20:08.47syntaxxedthe virtual server was 500gb/month
20:08.54syntaxxedshared was like 200gb/month
20:09.02syntaxxedi really don't know what kind of bandwidth i need to be honest
20:09.12CitizenKanehow much are you paying?
20:09.27syntaxxedthe virtual dedicated is likt $49/mo
20:09.41syntaxxed100gb...considered little?
20:10.27syntaxxedi might check out lunarpages.
20:10.35CitizenKanea dedicated server starts at $120 usually
20:12.21*** part/#tomcat Hellaenergy (~Hellaener@206.231.92.70)
20:12.52KidVegasDo jsp files require compilation or something?
20:13.04syntaxxeda site taht recieves like 10,000 hits a day,....would 100gb/month be enough
20:13.35KidVegaswell, how much data are you transferring per hit
20:13.45KidVegasmultiply that by 300,000
20:13.49syntaxxeddon't know :)
20:14.00KidVegasand you have your monthly bandwidth
20:14.36KidVegasyou could make a conservative estimate by assuming that each hit results in a download of the entire site
20:15.19KidVegasso then you would multiply 300,000 and the total size of all the files you've uploaded to the virtual server
20:15.37syntaxxedo
20:16.09CitizenKanetry lunarpages.com
20:16.27CitizenKanei had a customer who used them and i wrote a mail sending servlet that worked
20:17.04syntaxxedah
20:17.16syntaxxedcustomer...what do you do?
20:17.20syntaxxeddid they use ... java ?
20:17.23CitizenKaneyes
20:17.38CitizenKanelunarpages has a resin container if I recall correctly
20:17.56CitizenKanei'm doing all kind of java stuff :)
20:18.08CitizenKaneand lately rails too
20:18.49CitizenKanebut i've seen their resin giving overload errors
20:22.03jasonblinuxfreck: I'm glad you like it.
20:25.55*** join/#tomcat levon (~levon@mail.feature-it.de)
20:31.26syntaxxedthanks for your help everyone... bbl
20:36.27KidVegasgonna go toss the frisbee around for a bit
20:36.39KidVegasmaybe this will be more tractable when I come back
20:54.41crackheadcan someone clear up if the listener is the preferred method since Servlet 2.3 or since Servlet 2.4
20:54.58crackheadI was reading through the 2.4 spec and I wasn't able to find it
20:55.11linuxfrecklistener?
20:55.49crackheadfor when you are doing configuration in web.xml
20:56.13crackhead....well
21:00.44crackheadsorry
21:02.21crackheadwhen configuring a servlet listener in web.xml...I've read in a book that it is recommended to use <listener> for configuration rather than <servlet>
21:02.50crackhead...for containers implementing the Servlet 2.3 spec (or higher)
21:02.57*** join/#tomcat {{{DarkLight}}} (~Joe@ip68-110-6-75.tc.ph.cox.net)
21:03.18crackhead...then I read somewhere else that that's recommended for 2.4 spec
21:03.45crackheadI didn't really see the information in the actual spec...so I was wondering if anyone knew
21:03.53crackhead...2.4 spec that is
21:03.56{{{DarkLight}}}Do you know where I can get tomcat5 rpm for fedora 3?
21:04.21jasonbjpackage.org, but you probably won't like it.
21:04.45{{{DarkLight}}}why?
21:05.49jasonbLots of reasons.  It tries to use GCJ and the GNU Java VM.. plus, it's bigger and more complex than it should be.
21:06.11jasonbSpidering dependencies on other packages.. you'll have to install all kinds of stuff to get it to work.
21:06.50{{{DarkLight}}}I C, so is there any other way?
21:07.50jasonbWell, you can install the binary from Jakarta without the RPM..  But, I can understand why people would want to install it via an RPM package.
21:08.26jasonb{{{DarkLight}}}: Incidentally, I'm writing a new RPM package for Tomcat 5.5 that doesn't have the problems of the jpackage one.  I'm not sure when I'm releasing it yet though.
21:09.27{{{DarkLight}}}ok, thanks for the help
21:09.31jasonbYup.
21:28.56*** part/#tomcat {{{DarkLight}}} (~Joe@ip68-110-6-75.tc.ph.cox.net)
21:32.19*** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
21:35.27*** join/#tomcat Raboo (rabi@nikson.dataphone.se)
21:35.47KidVegasback to clunking my head against the wall
21:36.20KidVegasSo I'm fiddling with the jsp examples in the 5.5.9 distro from jakarta.apache.org
21:36.34KidVegasjust trying to replace simple things and then see the changes
21:36.42KidVegasfor example, In
21:37.45KidVegasin TOMCAT/webapps/jsp-examples/jsp2/el/
21:38.04KidVegasthere's a jsp called basic-arithmetic.jsp
21:38.27KidVegasthat has a nice little table with quoted string examples of the expression language in one column
21:38.35KidVegasand what they evaluate to in the next
21:38.56KidVegasfor some reason, changing this file doesn't change the served page at all
21:39.11KidVegasso I assume there must be some sort of caching somewhere
21:39.31KidVegasor I need to tell tomcat to redeploy the jsp or compile it or something
21:39.36KidVegasany pointers?
21:41.23bwlangKidVegas: i don't know much about this... but you could try restarting tomcat... - kind of the brute force way i think.
21:41.39KidVegasthanks bw
21:41.59KidVegasunfortunately I've tried that doesn't seem to have any effect
21:42.30KidVegasoh well
22:05.56loquace++
22:20.53KidVegas++
22:34.38*** join/#tomcat sirpreis (~sirpreis@rbw01.rbw.stud.uni-goettingen.de)
22:39.33*** part/#tomcat CitizenKane (~wlad@play.wlad.net)
23:42.05*** join/#tomcat electricsheep7 (~es7@c-67-185-26-59.hsd1.wa.comcast.net)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.