02:54.07 | *** join/#tomcat marfis (~marco_@i3ED6E16E.versanet.de) |
04:04.53 | jasonb | Wow, 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.54 | syntaxxed | i'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.44 | dreammer_ | 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.08 | syntaxxed | anyone know a better Tomcat installation guide than at apaches website |
06:04.40 | syntaxxed | especially if i'm installing on a remote locaiton |
06:15.29 | *** join/#tomcat rai (~act@203.197.156.170) |
06:15.34 | rai | hi |
06:15.50 | rai | i got a problem in configuring vhost in tomcat |
06:15.53 | rai | any clue |
06:17.16 | syntaxxed | i wish i could get help in here |
06:17.21 | syntaxxed | heh |
06:18.15 | syntaxxed | rai, 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.09 | rai | no 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.19 | rai | is it to configure vhost in server.xml |
06:26.42 | rai | or in httpd.conf with jkmount in vhost directive |
06:27.14 | syntaxxed | i have no idea, but i've been reading this http://www.ex-parrot.com/~pete/tomcat-vhost.html |
06:28.00 | rai | oh thanks |
06:28.54 | rai | also |
06:29.34 | rai | i 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.52 | rai | hi 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.54 | ZiX | i keep getting this msg: |
06:38.56 | ZiX | log4j:WARN No appenders could be found for logger |
06:38.58 | ZiX | how 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.39 | loquace | lo |
07:18.11 | jasonb | lo |
07:25.07 | *** join/#tomcat neige (~serveur@81.13.146.177) |
07:30.34 | syntaxxed | this 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.51 | ZiX | syntaxxed: trye ./startup.sh |
07:37.05 | ZiX | can anyone tell me where i get the tomcat 5.5 status servlet?? |
07:38.31 | syntaxxed | thans |
07:41.08 | ZiX | can anyone please tell me where i can get the status servlet for tomcat 5.5 ??? |
08:09.20 | syntaxxed | man tomcat is a bitch |
08:11.26 | *** join/#tomcat loquace (~seb@aqu33-4-82-233-55-6.fbx.proxad.net) |
08:12.26 | loquace | re |
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.57 | ZiX | can anyone tell me where i can get the tomcat 5.5 status servlet?? |
09:12.13 | HughWork | I believe by default it is at: /manager/status |
09:13.03 | HughWork | you need to have configured the manager webapp (ie. created a user in the admin role iirc) |
09:13.30 | HughWork | see: 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.35 | ZiX | HughWork: tnx |
09:31.25 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
09:46.39 | loquace | ++ |
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.30 | dEAthCON | i 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.44 | loquace | re |
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.27 | IRCMonkey | hi |
14:01.48 | IRCMonkey | how to set the admin |
14:01.52 | IRCMonkey | in java |
14:01.55 | IRCMonkey | tomcat |
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.05 | jesse_132 | Is 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.04 | randrew | jesse_132: probably better to just give the jvm more memory or make the app use less. |
14:53.20 | crackhead | good morning |
14:53.37 | marfis | jasonb, everything works fine with ant 1.6.5 - thx again... :) |
14:54.03 | jasonb | marfis: Ahh, cool. You're welcome. |
14:54.41 | jasonb | marfis: You did still have to change that URL, though, right? |
14:56.22 | marfis | ah 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.19 | marfis | jasonb, also this could become harder to mantain if nobody is going to fix such "low-level" bug stuff... |
14:57.44 | jasonb | They almost always do. |
14:58.35 | marfis | ok, 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.45 | marfis | jasonb, 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.20 | jasonb | marfis: 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.21 | jasonb | http://cvs.apache.org/builds/jakarta-tomcat-5/nightly/ |
15:08.25 | *** join/#tomcat valmont (~chrisholl@206.13.39.88) |
15:09.21 | jasonb | So far, though, I haven't seen any commit message saying they fixed it. :( |
15:09.30 | marfis | ok, 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.41 | marfis | jasonb, 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.25 | marfis | the downloads will work then, even if any mirror is down... |
15:12.33 | marfis | (as far as i know)... |
15:13.58 | jasonb | marfis: 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.59 | jasonb | (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.11 | marfis | that'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.38 | bwlang | is it better to setup jk to use unix socket or a standard socket? |
16:07.54 | pucko | I 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.00 | bwlang | pucko: hmm like what? |
18:05.32 | *** join/#tomcat syntaxxed (~me@c-24-99-111-182.hsd1.ga.comcast.net) |
18:10.17 | syntaxxed | what does this errors usually mean |
18:10.17 | syntaxxed | ./startup.sh |
18:10.17 | syntaxxed | : bad interpreter: No such file or directorycat-5.5.9/bin/catalina.sh: /bin/sh |
18:10.17 | syntaxxed | ./startup.sh: line 46: /usr/local/Tomcat5/jakarta-tomcat-5.5.9/bin/catalina.sh: Success |
18:11.52 | syntaxxed | it points to a line in catalina.sh that has set JAVA_HOME=/usr/java/j2sdk |
18:12.06 | syntaxxed | but when i remove it, and try to startup tomcat it says it can't find catalina.sh |
18:12.36 | Hellaenergy | syntaxxed make sure the files are executable ;) |
18:13.09 | syntaxxed | isnt that done by +x catalina.sh |
18:13.39 | *** join/#tomcat jesse_132 (~jdandr2@miro.voltaiccommerce.com) |
18:15.21 | linuxfreck | bad 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.16 | syntaxxed | hm...hopefully that's not the case |
18:16.31 | syntaxxed | damn i wish my hosting company just start off with Tomcat 5.5 |
18:16.36 | syntaxxed | instead it comes iwth tomcat4 |
18:16.44 | syntaxxed | i'm just trying to setup tomcat5 |
18:17.03 | jasonb | Or, 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.42 | syntaxxed | heh ya....well i edited in windows |
18:18.56 | syntaxxed | well first o all how do you make it executable |
18:19.56 | jasonb | chmod 700 catalina.sh |
18:20.20 | syntaxxed | hmm i did it different last time |
18:20.24 | syntaxxed | ok |
18:22.03 | linuxfreck | you probably want to get the .tar.gz tomcat distribution and start over |
18:22.24 | syntaxxed | why's that |
18:22.29 | *** join/#tomcat rafiu (~rafiu@84.12.112.162) |
18:22.33 | rafiu | hi |
18:23.17 | rafiu | can someone pls help me out with the syntax for IP request filters on a webapp?] |
18:24.23 | linuxfreck | syntaxxed: well windows likes to break stuff :) |
18:25.23 | syntaxxed | i 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.31 | syntaxxed | now 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.54 | syntaxxed | well....not c:\.... |
18:26.58 | syntaxxed | but the correct location |
18:33.21 | syntaxxed | linuxfreck, 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.43 | linuxfreck | export JAVA_HOME=/usr/... |
18:35.58 | syntaxxed | would this represent a successful startup |
18:35.58 | syntaxxed | Using CATALINA_BASE: /usr/local/Tomcat5/jakarta-tomcat-5.5.9 |
18:35.59 | syntaxxed | Using CATALINA_HOME: /usr/local/Tomcat5/jakarta-tomcat-5.5.9 |
18:35.59 | syntaxxed | Using CATALINA_TMPDIR: /usr/local/Tomcat5/jakarta-tomcat-5.5.9/temp |
18:35.59 | syntaxxed | Using JRE_HOME: /usr/java/j2sdk |
18:37.02 | linuxfreck | it's a hint |
18:37.43 | syntaxxed | the jre home |
18:38.11 | linuxfreck | a successful startup is when you can access the server over http :) |
18:38.29 | linuxfreck | but it did find java |
18:39.12 | syntaxxed | oh |
18:41.07 | jasonb | syntaxxed: You should really use lowercase dir names in Linux. |
18:41.22 | syntaxxed | why |
18:42.03 | jasonb | That'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.26 | jasonb | It'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.14 | syntaxxed | i see |
18:43.35 | syntaxxed | would you happen to know why it just stops at the step above when i'm trying to startup tomcat |
18:44.01 | bwlang | i'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.02 | jasonb | syntaxxed: What do your tomcat's logs say? |
18:45.16 | bwlang | do i need to add some config to my vhosts? |
18:45.50 | syntaxxed | linuxfreck, 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.59 | syntaxxed | jasonb...don't know |
18:46.14 | *** join/#tomcat CitizenKane (~wlad@play.wlad.net) |
18:46.18 | syntaxxed | let me see |
18:46.40 | linuxfreck | syntaxxed: yes, but note that you need to start tomcat as root if you want it to access port 80 |
18:47.00 | linuxfreck | but you do not want to run tomcat as root for security reasons |
18:47.15 | bwlang | sounds like you guys are solving the same problem that i'm working on... -> jk is needed right? |
18:47.20 | CitizenKane | hi guys |
18:47.23 | CitizenKane | what's up |
18:47.26 | CitizenKane | lyk3n |
18:47.35 | linuxfreck | but you can use the jsvc tool to start tomcat as root and then run it as another user |
18:47.38 | syntaxxed | linuxfreck, so...if it's not wise to run it as root...just use the IP addreess |
18:48.08 | linuxfreck | syntaxxed: you can use www.mysite.com:8080/whatever |
18:48.41 | syntaxxed | eh...thats so... not like mysite.com/whatever ? |
18:48.42 | syntaxxed | :) |
18:48.47 | syntaxxed | i guess this is the problem This release of Apache Tomcat was packaged to run on J2SE 5.0 |
18:48.47 | syntaxxed | or later. It can be run on earlier JVMs by downloading and |
18:48.47 | syntaxxed | installing a compatibility package from the Apache Tomcat |
18:48.47 | syntaxxed | binary download page. |
18:49.10 | syntaxxed | i'm not using 5.0 |
18:49.13 | jasonb | syntaxxed: Yes, to use 1.4 or lower you do need to install the compatibility package. |
18:49.37 | syntaxxed | how does Resin and Orion compare to tomcat |
18:50.49 | bwlang | do 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.51 | syntaxxed | linuxfreck, so having the port 8080 shown on my url...that's not a security risk, since people would that specific port |
18:55.30 | linuxfreck | syntaxxed: it's not a security issue. Some people don't allow connections to port 8080 though |
18:57.17 | syntaxxed | so some users of my site might have problems |
18:57.29 | linuxfreck | indeed |
18:57.41 | syntaxxed | oh boy |
18:58.09 | *** join/#tomcat food (~chatzilla@80.80-203-37.nextgentel.com) |
18:58.23 | linuxfreck | heh |
18:59.47 | syntaxxed | so what do most sites do...run it in root and run it with a different user like you said? |
19:01.20 | linuxfreck | either 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.27 | linuxfreck | we're using apache + mod_proxy |
19:02.23 | syntaxxed | do you have a link to a tutorial for that, as well as how to install the compatibility package |
19:02.52 | syntaxxed | apache is on port 80 by defualt for me anyway...so i just have to connect it |
19:04.01 | linuxfreck | http://jakarta.apache.org/tomcat/tomcat-5.0-doc/proxy-howto.html |
19:06.23 | jasonb | "just have to connect to it" :) Sounds so simple. |
19:06.43 | syntaxxed | i'll just download the newest j2se instead of using the compatibility package |
19:07.12 | syntaxxed | nothing with tomcat is simple to me |
19:08.01 | syntaxxed | i wonder why my book doesn't say anything bad about changing server.xml port to 80 |
19:11.04 | linuxfreck | probably your book sucks :) |
19:11.22 | *** join/#tomcat KidVegas (~chatzilla@c-24-63-43-85.hsd1.ma.comcast.net) |
19:11.30 | syntaxxed | heh core servlets and jsp |
19:11.40 | KidVegas | hello |
19:12.04 | syntaxxed | what could possibly go wrong if i just set it to port 80 |
19:12.07 | KidVegas | anyone want to help me cease to be a newbie? |
19:12.58 | linuxfreck | syntaxxed: that book isn't bad imo, it's just about developing servlets and not about administrating tomcat |
19:13.04 | KidVegas | I'm trying to fiddle around with tomcat so that I can start running hibernate on top of it |
19:14.27 | syntaxxed | linuxfreck, please tell me there is nothing else i have to do if i have an ssl certificate on my domain |
19:14.56 | linuxfreck | uh |
19:15.08 | linuxfreck | I should better be silent then :) |
19:15.39 | syntaxxed | damn it |
19:15.52 | syntaxxed | https://...thats just not enough eh |
19:16.18 | linuxfreck | nope |
19:17.26 | linuxfreck | last time I tried I found setting up https quite difficult :) |
19:18.21 | syntaxxed | this is going to take forever. why can't tomcat installation be straight forward |
19:19.11 | KidVegas | it seems to me that the documentation is rather lacking |
19:19.41 | jasonb | You guys should probably get a copy of Tomcat: The Definitive Guide (O'Reilly). |
19:19.51 | KidVegas | I believe that I've managed to install it |
19:20.09 | KidVegas | the O'reilly books seem to be pretty good |
19:20.18 | syntaxxed | i was hoping that it being 2005...everythign woudl be simpler :) |
19:20.19 | KidVegas | I can connect to it via localhost |
19:20.49 | KidVegas | and if I chang servers.xml to connect on port 80 I can get at it from my friends computer down the basement |
19:21.16 | KidVegas | but I can't seem to deploy new applications to any effect |
19:21.19 | linuxfreck | syntaxxed: 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.02 | KidVegas | I've been fiddling with the source inside of the samples, but tomcat doesn't seem to notice that I did anything |
19:22.03 | KidVegas | even if I shut it down and restart it |
19:22.50 | linuxfreck | KidVegas: if you edited .java files, you need to compile them yourself |
19:22.50 | KidVegas | I edited .java.html files |
19:22.50 | linuxfreck | uh |
19:22.52 | KidVegas | yeah |
19:22.55 | KidVegas | hang on a second |
19:23.01 | linuxfreck | this is a non-standard extension, the web app could do anything with them :) |
19:23.05 | syntaxxed | damn i'm ready to pay someone to set all this stuff up for me, i really just want to finish my website |
19:23.07 | KidVegas | yeah |
19:23.31 | KidVegas | I didn't come up with the extension, they are what comes with 5.5.9 for samples |
19:23.45 | KidVegas | I've also got a sample.war that came with |
19:23.46 | syntaxxed | shared hosting was great, except socket connections were blocked. virtual dedicated give syou everythign without the support, and everything is 10x harder |
19:23.58 | KidVegas | that I plopped into /webapps |
19:24.14 | KidVegas | but for some reason tomcat doesn't unpack it on startup |
19:24.56 | KidVegas | when I run jar -xvf sample.war I get an error, so I'm thinking perhaps tomcat is shipping with a bogus war |
19:25.13 | KidVegas | either that or fedora core 3 ships with a bogus jar utility |
19:26.09 | linuxfreck | syntaxxed: you got a virtual server? |
19:26.55 | syntaxxed | ya |
19:27.20 | syntaxxed | virtual dedicated hosting, godaddy.com |
19:27.48 | linuxfreck | good luck then, my experiences aren't too good wrt that |
19:28.29 | bwlang | linuxfreck: do you think mod_proxy is better than mod_jk? i don't have apache2.1 yet... |
19:28.56 | linuxfreck | bwlang: mod_proxy is easier to set up and fast enough for me |
19:29.49 | bwlang | linuxfreck: 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.35 | CitizenKane | the best thing is to run tomcat on a different port and the use iptables to rewrite the packets |
19:31.05 | CitizenKane | if you have an IP to spare |
19:31.07 | CitizenKane | of course |
19:31.40 | syntaxxed | well.. i'm ready to go back to shared hosting, and just eliminate anything that needs a socket connection |
19:32.09 | CitizenKane | syntaxxed: what are you trying to do? |
19:33.01 | syntaxxed | well 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.33 | CitizenKane | do you have iptables on your virtual dedicated hosting? |
19:33.54 | syntaxxed | i have no idea, i'm kinda new to this virtual dedicated hosting |
19:33.58 | CitizenKane | is it vmware or umode linux? |
19:34.04 | syntaxxed | and my hosting providder doesnt know anything |
19:34.20 | syntaxxed | um...it's redhat so i guess it's linux |
19:34.38 | CitizenKane | that's not what I mean |
19:34.41 | CitizenKane | type iptables |
19:34.42 | syntaxxed | so their shared hosting...after getting the SSL, all i did was do https:// |
19:35.07 | CitizenKane | you have root access, right? |
19:35.18 | KidVegas | hmm |
19:35.27 | syntaxxed | ya |
19:36.23 | KidVegas | anybody know of any online tomcat documentation better then the manual? |
19:36.31 | syntaxxed | also, 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.44 | KidVegas | or should I go shell out for the oreilly book? |
19:36.50 | CitizenKane | syntaxxed: you can do that from iptables |
19:37.03 | CitizenKane | with packet mangling |
19:38.25 | syntaxxed | as if i knew what that meant/is |
19:39.41 | CitizenKane | well, then it's a bit harder :) |
19:40.38 | syntaxxed | how much do you think someone would charge if i paid them to do all this crap for me :P |
19:41.34 | syntaxxed | if 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.51 | CitizenKane | no |
19:42.07 | CitizenKane | not necessarily |
19:43.29 | syntaxxed | the funny thing is that i get 'Permission Denied' when trying to execute java.bin file |
19:43.30 | syntaxxed | 1.5 |
19:43.39 | syntaxxed | and i'm on as root |
19:45.25 | CitizenKane | \it might not be markedf as executable |
19:48.00 | syntaxxed | got it |
19:52.52 | syntaxxed | tomcat still cannot startup, and the catalina.out says swap file already exists |
19:53.25 | syntaxxed | well actually it said ... Error occurred during initialization of VM |
19:53.25 | syntaxxed | Could not reserve enough space for object heap |
19:53.25 | syntaxxed | Could not create the Java virtual machine. |
19:53.56 | linuxfreck | KidVegas: jasonb would probably tell you to get the book. :) |
19:54.03 | linuxfreck | but I really like his book, too |
19:54.21 | KidVegas | his book as in he's the author :) |
19:54.27 | linuxfreck | syntaxxed: that is a problem with virtual root servers |
19:54.28 | KidVegas | ? |
19:54.42 | linuxfreck | KidVegas: co-author |
19:54.49 | KidVegas | right on |
19:54.57 | syntaxxed | linuxfreck, hosting companies problem...or my problem |
19:54.59 | KidVegas | good with the self-promotion bit there |
19:55.07 | KidVegas | I suppose a guy has to make a living |
19:55.26 | linuxfreck | syntaxxed: the hosting company probably won't fix it :) |
19:55.44 | linuxfreck | syntaxxed: I had the problem, too |
19:55.59 | linuxfreck | syntaxxed: my only solution was to reduce the max heap size |
19:56.13 | syntaxxed | how is that done |
19:56.25 | KidVegas | interesting |
19:56.41 | KidVegas | it looks like the problem is definitely the war file that comes with 5.5.9 |
19:56.47 | linuxfreck | export CATALINA_OPTS="-Xmx32m" |
19:56.51 | syntaxxed | it's just one problem to another |
19:57.03 | KidVegas | I just stole the war from SUNWapplicationServer |
19:57.14 | KidVegas | and tomcat autoloads that no problem |
19:57.17 | linuxfreck | virtual dedicated servers are just crap imo... |
19:57.38 | syntaxxed | dedicated costs too much for me |
19:58.02 | linuxfreck | tomcat won't like you with only 32 mb of ram though |
19:58.09 | syntaxxed | slow? |
19:59.22 | linuxfreck | that, too, but it'll crash with OutOfMemoryErrors on heavier access or sophisticated and/or buggy web-apps |
19:59.34 | syntaxxed | oh my god |
20:00.04 | CitizenKane | you only have 32mb of ram?? |
20:00.14 | syntaxxed | i don't know what it has...let me check |
20:00.37 | linuxfreck | CitizenKane: it's a virtual root server, they don't like it if a process takes loads of ram |
20:00.42 | syntaxxed | godaddy doesn't even tell you waht kind of hardware |
20:01.17 | linuxfreck | it's a shared environment, so if the others take more, you get less |
20:01.46 | CitizenKane | j2ee and shared hosting doesn't mix well |
20:01.52 | CitizenKane | unless the webapp is really simple |
20:01.54 | linuxfreck | true |
20:02.04 | KidVegas | godaddy does of course have a great spokeswoman |
20:03.38 | syntaxxed | who 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.57 | syntaxxed | at least 100gb monthly transfer i guess |
20:05.57 | syntaxxed | err... |
20:05.57 | syntaxxed | ya 100gb |
20:07.10 | linuxfreck | uh, 100gb/month? what the hell are you serving? |
20:07.40 | linuxfreck | this means a virtual root server is really undersized |
20:08.47 | syntaxxed | the virtual server was 500gb/month |
20:08.54 | syntaxxed | shared was like 200gb/month |
20:09.02 | syntaxxed | i really don't know what kind of bandwidth i need to be honest |
20:09.12 | CitizenKane | how much are you paying? |
20:09.27 | syntaxxed | the virtual dedicated is likt $49/mo |
20:09.41 | syntaxxed | 100gb...considered little? |
20:10.27 | syntaxxed | i might check out lunarpages. |
20:10.35 | CitizenKane | a dedicated server starts at $120 usually |
20:12.21 | *** part/#tomcat Hellaenergy (~Hellaener@206.231.92.70) |
20:12.52 | KidVegas | Do jsp files require compilation or something? |
20:13.04 | syntaxxed | a site taht recieves like 10,000 hits a day,....would 100gb/month be enough |
20:13.35 | KidVegas | well, how much data are you transferring per hit |
20:13.45 | KidVegas | multiply that by 300,000 |
20:13.49 | syntaxxed | don't know :) |
20:14.00 | KidVegas | and you have your monthly bandwidth |
20:14.36 | KidVegas | you could make a conservative estimate by assuming that each hit results in a download of the entire site |
20:15.19 | KidVegas | so then you would multiply 300,000 and the total size of all the files you've uploaded to the virtual server |
20:15.37 | syntaxxed | o |
20:16.09 | CitizenKane | try lunarpages.com |
20:16.27 | CitizenKane | i had a customer who used them and i wrote a mail sending servlet that worked |
20:17.04 | syntaxxed | ah |
20:17.16 | syntaxxed | customer...what do you do? |
20:17.20 | syntaxxed | did they use ... java ? |
20:17.23 | CitizenKane | yes |
20:17.38 | CitizenKane | lunarpages has a resin container if I recall correctly |
20:17.56 | CitizenKane | i'm doing all kind of java stuff :) |
20:18.08 | CitizenKane | and lately rails too |
20:18.49 | CitizenKane | but i've seen their resin giving overload errors |
20:22.03 | jasonb | linuxfreck: I'm glad you like it. |
20:25.55 | *** join/#tomcat levon (~levon@mail.feature-it.de) |
20:31.26 | syntaxxed | thanks for your help everyone... bbl |
20:36.27 | KidVegas | gonna go toss the frisbee around for a bit |
20:36.39 | KidVegas | maybe this will be more tractable when I come back |
20:54.41 | crackhead | can someone clear up if the listener is the preferred method since Servlet 2.3 or since Servlet 2.4 |
20:54.58 | crackhead | I was reading through the 2.4 spec and I wasn't able to find it |
20:55.11 | linuxfreck | listener? |
20:55.49 | crackhead | for when you are doing configuration in web.xml |
20:56.13 | crackhead | ....well |
21:00.44 | crackhead | sorry |
21:02.21 | crackhead | when 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.50 | crackhead | ...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.18 | crackhead | ...then I read somewhere else that that's recommended for 2.4 spec |
21:03.45 | crackhead | I didn't really see the information in the actual spec...so I was wondering if anyone knew |
21:03.53 | crackhead | ...2.4 spec that is |
21:03.56 | {{{DarkLight}}} | Do you know where I can get tomcat5 rpm for fedora 3? |
21:04.21 | jasonb | jpackage.org, but you probably won't like it. |
21:04.45 | {{{DarkLight}}} | why? |
21:05.49 | jasonb | Lots 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.11 | jasonb | Spidering 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.50 | jasonb | Well, 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.26 | jasonb | {{{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.31 | jasonb | Yup. |
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.47 | KidVegas | back to clunking my head against the wall |
21:36.20 | KidVegas | So I'm fiddling with the jsp examples in the 5.5.9 distro from jakarta.apache.org |
21:36.34 | KidVegas | just trying to replace simple things and then see the changes |
21:36.42 | KidVegas | for example, In |
21:37.45 | KidVegas | in TOMCAT/webapps/jsp-examples/jsp2/el/ |
21:38.04 | KidVegas | there's a jsp called basic-arithmetic.jsp |
21:38.27 | KidVegas | that has a nice little table with quoted string examples of the expression language in one column |
21:38.35 | KidVegas | and what they evaluate to in the next |
21:38.56 | KidVegas | for some reason, changing this file doesn't change the served page at all |
21:39.11 | KidVegas | so I assume there must be some sort of caching somewhere |
21:39.31 | KidVegas | or I need to tell tomcat to redeploy the jsp or compile it or something |
21:39.36 | KidVegas | any pointers? |
21:41.23 | bwlang | KidVegas: i don't know much about this... but you could try restarting tomcat... - kind of the brute force way i think. |
21:41.39 | KidVegas | thanks bw |
21:41.59 | KidVegas | unfortunately I've tried that doesn't seem to have any effect |
21:42.30 | KidVegas | oh well |
22:05.56 | loquace | ++ |
22:20.53 | KidVegas | ++ |
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) |