IRC log for #tomcat on 20091119

00:45.43karstensragewhy not change /etc/hosts and see what happens
00:45.49karstensrageif you have to restart, you have to restart
00:45.52karstensragewhats the big deal
00:46.23karstensrageif you cant restart because of some kind of traffic, youre doing it wrong
01:20.30*** join/#tomcat adas (i=d44c3b80@gateway/web/freenode/x-aanfhqnnnrzvblje)
03:17.53*** join/#tomcat internat (n=nf@123-243-184-161.static.tpgi.com.au)
03:41.57*** join/#tomcat tess (n=tess@c-24-130-52-152.hsd1.ca.comcast.net)
04:33.25*** join/#tomcat scribe (n=scribe@72-254-232-93.client.stsn.net)
04:34.49scribeHey guys, I'm trying to setup a CometProcessor Servlet on Tomcat and Apache httpd
04:35.40scribeI have things working fine under Tomcat directly, but I can't seem to get the workers.properties file correctly to get apache to talk correctly to tomcat.  JSPs and other Servlets work fine
04:36.30scribeBut I get "HTTP method GET is not supported by this URL" when I try to hit the URL without :8080
04:36.38scribeany ideas?
05:40.22*** join/#tomcat bugz__ (n=bugz@adsl-99-129-31-240.dsl.lsan03.sbcglobal.net)
06:10.43*** join/#tomcat anoopb (n=chatzill@38.106.143.248)
06:25.08*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
07:06.29*** join/#tomcat magentar (n=magentar@ip-109-90-135-190.unitymediagroup.de)
07:35.11*** join/#tomcat km (n=km@adsl-99-4-79-191.dsl.pltn13.sbcglobal.net)
09:03.22*** join/#tomcat mylarry (n=larry-or@firewall.cologne-systems.de)
09:04.12*** join/#tomcat reid06_ (n=reid06@CPE001cdf73661f-CM001ceacec55e.cpe.net.cable.rogers.com)
09:15.48*** join/#tomcat ReaphSharc (n=John@85.148.224.182)
09:42.27*** join/#tomcat ReaphSharc (n=John@77.74.50.119)
09:54.43*** part/#tomcat mylarry (n=larry-or@firewall.cologne-systems.de)
10:20.54*** join/#tomcat magentar (n=magentar@ip-109-90-135-190.unitymediagroup.de)
11:08.02*** join/#tomcat chillitom (n=chillito@85.92.214.142)
12:21.20*** join/#tomcat mturk (n=mturk@20-111.dsl.iskon.hr)
12:33.28*** join/#tomcat Reaph (n=John@77.74.50.119)
12:40.44gileswheya all
12:41.15gileswwondering what peoples opinions of securing the manager app with RemoteAddrValve are?
12:41.33gileswhow easy is it to spoof the incoming ip
12:42.36gileswespecially if you use the default context path and allow standard RFC1918 ips
13:35.12*** join/#tomcat Reaph (n=John@77.74.50.119)
13:47.06*** join/#tomcat mturk (n=mturk@89-164-117-213.dsl.iskon.hr)
14:07.41*** join/#tomcat Reaph (n=John@77.74.50.119)
14:08.40*** join/#tomcat ReaphSharc (n=John@77.74.50.119)
14:20.40*** join/#tomcat dvinchi (n=dvinchi_@148.245.35.9)
14:33.10*** join/#tomcat Reaph (n=John@85.148.224.182)
15:01.00*** join/#tomcat ReaphSharc (n=John@85.148.224.182)
15:10.31*** join/#tomcat randrewj (n=u1@dyn-128-59-53-3.dyn.columbia.edu)
15:36.55*** join/#tomcat j0nas` (n=tb@156.34.92.222)
15:37.11j0nas`anyone know off hand if there's a way to profile database connection pools?
15:47.17*** join/#tomcat Jaymoid (n=jamespi@annanova.torch.net)
15:53.49JaymoidHi all, I don't have any tomcat related problems, just more of an enquiry.... here goes...
15:55.10JaymoidWe currently have a number of web services deployed using JWSDP1.1 with the built in tomcat container, this is quite old and we are looking to getting an updated version of Tomcat (ideally 6) which we could then deploy the JWSDP1.1 built apps onto
15:55.14Jaymoidis this possible?
15:57.08Jaymoidwe'd also like to use something like metro or axis to develop our new web services on, would this cause any conflicts, having both the new and the old web apps running from the same container?
16:10.50*** join/#tomcat triptec (n=triptec@h-61-119.A163.priv.bahnhof.se)
16:11.40triptecis there anyone who has used adobes blazeds with their tomcat?
16:14.35dvinchiJaymoid, write once run everywhere
16:14.55dvinchifirst rule of World Java
16:14.59Jaymoidhehe
16:15.47JaymoidI've just put Tomcat 6 on my computer, just wondering what I have to do to allow me to deploy my jwsdp wars
16:16.46dvinchiJaymoid, only copy the wars
16:16.50dvinchito webapps
16:16.56dvinchiand restart the server
16:17.03dvinchijust that
16:17.12Jaymoidok, have done that, should they be available on the default port (8080)
16:17.23dvinchiyes
16:17.25dvinchi8080
16:18.16dvinchior edit  apache-tomcat-6.0.20/conf/server.xml for customize
16:18.34Jaymoidand I don't need to have jwsdp installed on the machine with tomcat?
16:18.48*** join/#tomcat Alagar (n=helpdesk@174-143-172-49.static.cloud-ips.com)
16:18.52dvinchii dont know what is  jwsdp
16:18.54dvinchiXD
16:19.57Jaymoidah jwsdp is the web service toolkit that was around before Metro, JAX-WS, it implemented jax-rpc rather than jax-ws
16:20.13Jaymoidits quite old :)
16:21.42dvinchii think than you have to copy some jars of jwsdp to /apache-tomcat-6.0.20/lib/
16:21.50dvinchiok?
16:22.04Jaymoidyeah I think that would be the case, will give that a go
16:23.10Jaymoidif I copied them instead to the lib folder in the war file, would this achieve the same result? if I put the olf versions of jax-rpc, jaxb, etc on the new tomcat server it may conflict with the new webservices we are building
16:23.39dvinchitest
16:27.34*** join/#tomcat jasonb_ (n=jasonb@m410536d0.tmodns.net)
16:27.55*** part/#tomcat heidar (i=heidar@hel.su)
16:46.50triptechow do I grant permissions for a servlet?
16:48.12triptecI got error initalizing blazeDs, and then I changed TOMCAT6_SECURITY=no and now it works but I guess this is not the best of solutions..
16:51.44*** join/#tomcat km (n=km@adsl-99-4-79-191.dsl.pltn13.sbcglobal.net)
17:07.10*** join/#tomcat acarbs12 (n=acarbone@64.206.24.18)
17:12.22*** join/#tomcat tess_ (n=tess@c-24-130-52-152.hsd1.ca.comcast.net)
17:24.16*** join/#tomcat Mohan (i=roughele@unaffiliated/mohan)
17:25.08MohanIs it a normal practise to run tomcat without any proxy on a production site ?
17:40.10*** join/#tomcat j2sentient (n=j2sentie@unaffiliated/j2sentient)
17:53.36*** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net)
18:28.43*** join/#tomcat jiska (i=jiska@libri.sur5r.net)
18:30.08jiskahi
18:31.20ThijssssMohan  : define normal :)
18:31.28Thijssssbut yeah its being done ...
18:31.50ThijssssI actually am busy with two big projects.. one which has like 4 proxy servers infront of the tomcats.. the other.. none.. heh
18:32.03jiskai have defined a filter and a servlet in my web.xml. i want the servlet's init()-method start before the filter's init() to read some xml config files and start logging before using the filter
18:34.45jiskabut i don't want to do the complete application initialisation in the filter because that's actually the wrong place imho
18:47.45MohanThijssss: I should have phrased it as standard practise. apologies for that.
18:50.54triptechow would I grant permissions to everything? I got an application that wont work unless I turn of the security manager, so my next thing is to have it on an grant all permission and see if that works
19:00.31*** join/#tomcat rlarson89 (n=rlarson8@CPE001cdf73661f-CM001ceacec55e.cpe.net.cable.rogers.com)
19:09.35ThijssssMohan: hmm.. standard practise .. in IT .. no such thing sorry :)
19:10.32Thijsssstriptec  : sorry no idea on that .. I don't use the security manager stuff you mention .. you probably installed it from a package on .. ubuntu ?
19:16.45triptecyeah ofcourse ;) I've got it working now, as I turned off the security manager but I guess there's a reason there is one..
19:17.58triptecThijssss: and I would be nice to being able to post a solution for this, if I've know this stuff from the begining it would have been very easy...
19:25.52*** join/#tomcat mturk (n=mturk@89-164-117-213.dsl.iskon.hr)
19:30.38*** join/#tomcat uwe_guenther (n=Notebook@p5B28433B.dip.t-dialin.net)
19:34.45Thijssssheh
19:34.55Thijssssit's always 'easy' after you figured something out :)
19:42.57*** join/#tomcat anoopb (n=chatzill@38.106.143.248)
19:53.43*** join/#tomcat Alagar (n=Administ@122.164.41.133)
19:58.49*** join/#tomcat aixenv (n=globalse@96-40-145-23.dhcp.mtpk.ca.charter.com)
19:59.10aixenvhey guys i need to setup a ssl cert for *.mydomain.com on a tomcat 6 server only documentation im finding is for 5.5 is the process the same for 6.x ?
19:59.15*** join/#tomcat karstensrage_alt (n=karstens@c-71-202-243-186.hsd1.ca.comcast.net)
20:04.44aixenvi used 'openssl req -new -key www.mysite.com.key -out www.mysite.com.csr' would that work with tomcat? what im reading is i need a *.pem file and i have a *.mydoma.crt, *.mydomain.csr, and *.mydomain.key
20:05.04Thijssssohh
20:05.06Thijssssoh god
20:05.07aixenvhow we normally do it with apache, can i "adapt" those files to tomcat or is that whole process going to have to be re-done
20:05.07Thijsssskeystores haha
20:05.11ThijssssI know everything you want to know :P
20:05.17Thijssssbeen making like 14 today
20:05.21Thijssssfucking java must die grrr
20:05.34aixenvits funny all the tomcat stuff we do, this is the first ssl'd one
20:05.36Thijssssyou need a .jks java keystore
20:05.46Thijsssshold on i'll grab my notes to make it easy for you :)
20:05.47*** join/#tomcat pfn (n=pfnguyen@hanhuy.com)
20:05.53aixenvok tyvm
20:07.26Thijssssyou do of course need a private key
20:07.39Thijssssmake a csr (certificate signing request)
20:07.40aixenvyes we have a private kkey, the csr and the crt the customer got from the csr
20:07.41Thijssssget a certificate
20:07.46aixenvok got all that
20:07.48Thijssssright
20:07.52aixenvfoo.key, foo.csr, and foo.crt
20:08.05Thijssssnow the next important thing is to use the same password everywhere on the next steps I will show you
20:08.18aixenvlet me ask you something real quick
20:08.23Thijssssfirst build a PCKS12 keystore format file:
20:08.25Thijssssopenssl pkcs12 -export -out www.yoursite.com.pkcs12 -in www.yoursite.com_public_certificate.cer -inkey www.yoursite.com_private_key.key
20:08.31Thijssssnow create a java keystore:
20:08.37Thijsssskeytool -importkeystore -srckeystore www.yoursite.com.pkcs12 -srcstoretype PKCS12 -destkeystore www.yoursite.com.jks
20:08.53aixenvif the server/site is loadbalanced between multiple servers will that cause any issues? or can we just duplicate the steps on each server using the same key/csr/crt (or would a new key/csr have to be gen'd)?
20:09.16Thijssssdo it once
20:09.25aixenvok good, was hoping for that
20:09.26Thijssssand copy the .jks keystore file to the others
20:10.04Thijssssnext
20:10.07Thijssssehm doesn't fit here, hold on
20:10.40Thijsssshmm
20:10.45ThijssssI forget a paste url
20:10.53Thijssssthing website
20:11.10Thijsssshttp://pastebin.com/m6aff55be
20:11.11Thijssssthere
20:11.18Thijssssthat goes in to your server.xml
20:11.42Thijssssyou do also need a <Host/> besides that
20:13.03aixenvok so for the first command  id do "openssl pkcs12 -export -out *.mysite.com.pkcs12 -in *.mysite.com.crt -inkey *.mysite.com.key
20:13.07aixenvright?
20:13.22ThijssssI wouldn't use a * in a filename
20:13.29aixenvwell its a global cert
20:13.31aixenvfor *.mydomain.com
20:13.34Thijssssthen just myse mysite.com.pcks12
20:13.38Thijsssserr
20:13.38aixenvok
20:13.40*** join/#tomcat Alagar (n=Administ@122.164.41.133)
20:13.42Thijssssmysite.com.pkcs12
20:13.44aixenvgotcha
20:13.52Thijsssscuz * is a wildcard on many systems.. that could cause big problems :)
20:13.57aixenvtrue
20:14.11Thijssssor just name it wildcard.mysite.com.pkcs12 .. whatever works for you
20:16.11*** join/#tomcat Alagar (n=Administ@122.164.41.133)
20:16.11aixenvok is there a openssl command to verify this pkcs12 file is right?
20:16.18Thijssssprobably
20:16.19Thijssss;p
20:16.24Thijssssbut skip that
20:16.27Thijssssmake the .jks
20:16.29Thijssssthen use mmm
20:16.31aixenvk
20:16.46aixenvok ig ot the pcks12 file made off the key and crt
20:17.31Thijsssskeytool --list -keystore yoursite.jks
20:17.41Thijssssadd -v for more detailed info on the certs and keys inside
20:17.52aixenvi assume the -destkeystore will be created in the root of whatever the command is run in right?
20:17.54Thijssssright, now add it all in to the keystore
20:18.01Thijssssyes
20:18.03Thijssssor give it a path
20:18.05aixenvwhere do you normally put it?
20:18.20Thijssssgood question
20:18.21aixenvi have tomcat in /opt/tomcat/ would that be ok?
20:18.34Thijsssswell
20:18.40Thijsssswhy not create /opt/tomcat/ssl/
20:18.42Thijssssput 'm in there
20:18.45aixenvokk
20:18.53Thijsssssomething which makes sense to you :)
20:19.02aixenvyea i gotcha, i as just trying to see what the "standard" is
20:19.05Thijssssor /opt/tomcat/conf/ssl_certs/
20:19.10Thijssssno idea on that
20:19.26aixenvi like the first one, easier to find hehe
20:19.37ThijssssI made 'm for a specific application and put 'm along side other property files and such in /opt/appname/ with a symlink in /etc/ to that same dir
20:19.45aixenvi chown'd it tomcat:tomcat with 755
20:19.55Thijssss640 will do just fine
20:19.59aixenvok
20:20.08ThijssssI tried 400 but tomcat bitched it couldn't read 'm :s
20:20.13aixenvhehe
20:20.38Thijsssswhich still doesn't make sense to me; I must have missed something .. 4 gives it read access for the owner which is tomcat .. hrmbl
20:21.09ThijssssI think there is something java like involved besides tomcat I guess; no idea haven't taken the time to look in to it
20:21.16Thijssssas long as the last is 0 so others can't read it
20:21.27Thijsssssince your private key is also in there
20:22.27aixenvgo me i can read
20:22.30aixenvEntry for alias 1 successfully imported.
20:22.30aixenvImport command completed:  1 entries successfully imported, 0 entries failed or cancelled
20:22.35aixenvlol
20:22.39Thijssssok :)
20:22.45aixenvok imd ocumenting this as i go one sec lemem paste that
20:22.52Thijssssheh yeah
20:22.56Thijssssgot wiki's full of stuff like this
20:23.09Thijssssand txt files heh
20:23.13aixenvyea i document all this type stuff in our documentation center
20:23.20aixenvsadly im the tomcat expert
20:23.21aixenvlol
20:23.23Thijsssshaha
20:23.24aixenvwhich is scary
20:23.30Thijssssits worse for me
20:23.38Thijssssthe client is supposed to tell us what to do and how to deploy
20:23.42Thijssssand I end up telling them how to fix things
20:23.48aixenvtomcat is pretty easy mostly though its just the format/syntax of the server.xml that takes a bit to understand
20:23.48Thijssssoh well I get payed very well ;p
20:23.55aixenvyea i hear you
20:24.03Thijsssswell it gets bad when the application is involved
20:24.05aixenvno complaining here working from home, be a fool to whine
20:24.10Thijssssgood thing I did a fair amount of java programming back in uni
20:24.56aixenvKeystore type: JKS
20:24.56aixenvKeystore provider: SUN
20:24.56aixenvYour keystore contains 1 entry
20:24.59aixenvlooks good eya?
20:25.02Thijssssyeah
20:25.15Thijssssyou are good to go :)
20:25.18aixenvok now
20:25.25aixenvi just need to sync it to my server.xml
20:25.30Thijssssyup
20:25.37aixenvand i could just copy his jks and the server.xml config to the other clustered srevers yes?
20:25.41aixenv*this
20:25.57Thijssssif you do not tell tomcat about it; it will search in /opt/tomcat/ for a .keystore file with the password 'changeit' on it :s
20:26.14aixenvok
20:26.15Thijsssssure, but you might perhaps have to change the listen addresses in the server.xml
20:26.21Thijssssno idea how you set it up
20:26.22aixenvright gotcha
20:26.53Thijsssssee
20:26.54Thijsssshttp://pastebin.com/m6aff55be
20:27.02Thijssssthen you can specify it all
20:27.53*** join/#tomcat j2sentient (n=j2sentie@unaffiliated/j2sentient)
20:29.35aixenvhow funny
20:29.46aixenvim working on 1 of their servers when nagios throws alerts for one of their other servers
20:29.52aixenvand im like wtf i havent even touched server.xml yet
20:29.56Thijssssheh
20:30.03Thijssssthen what was going on?
20:30.05aixenvturns out they are "dicking" with tomcat while i was doing this my coworkers were like did you do that lol im like no way!
20:30.12aixenvthey being the devs
20:30.17Thijssssah lol
20:30.19aixenvlol
20:30.28Thijssssbeen there ;p
20:31.05Thijssssactually got a few servers silenced .. normally we would totally disable monitoring but meh.. government ppl, wanting to do things themself but we have to give support and also monitor .. blah
20:31.39Thijssssthey pay enough I suppose :)
20:32.19*** part/#tomcat randrewj (n=u1@dyn-128-59-53-3.dyn.columbia.edu)
20:36.00Thijssssaixenv  : got it working?
20:41.28aixenvsorry got pulled away helping someone with esx
20:42.04aixenvi dont see that reference you have, im gonna paste bin my current server.xml *minus any sensitive data of course*
20:42.11aixenvso u can tell me what  place i should input that
20:42.15Thijsssssure
20:42.17aixenvbtw much appreciated on the help
20:46.45aixenveh odly enough nothing sensitive lol
20:46.46aixenvhttp://pastebin.com/d15d36df4
20:47.15Thijssssthats quite clean
20:47.26Thijsssslet me clean mine up, probably easier that way
20:47.34aixenvi removed all teh comments
20:47.50aixenvports are set by the catalina.properties of course
20:47.54aixenvsince they are variables
20:48.08Thijssssmwah
20:48.15ThijssssI never change the port.. so its not variable ;p
20:48.29ThijssssI use IPtables to forward 443 to 8443
20:48.30aixenvwhat we ended up doing was (client request) running 2 tomcats on dif ports, with dif code bases
20:48.35Thijssssas tomcat runs as user tomcat
20:48.40aixenvi use the loadbalancer to do that yea
20:48.48Thijssssyou can do that inside one tomcat?
20:48.56Thijsssstwo different listerens and webapps bases
20:49.00aixenvtwo tomcat instances
20:49.10aixenvtheres a /opt/tomcat and /opt/tomcat.stage
20:49.12Thijssssbut sure you can run tomcat twice if you want.. just not required
20:49.20aixenvagreed
20:49.20Thijsssswait now I stripped away a lot
20:49.21aixenvi told them that
20:49.25Thijssssi'll put some back for you ;p
20:49.38aixenvim like you know i can do this with 1 tomcat right, they wanted 2 tomcats wo i was like yay ok ill figure that out.
20:51.29Thijssssyou don't use the clustering option in your cluster to make the tomcats share session information?
20:51.40aixenvwe're using persistent i believe
20:51.53aixenvso i believe they share session info
20:51.59Thijssssoh
20:52.09aixenvthats done by the lb though
20:52.11ThijssssI always use the in memory clustering option
20:52.22aixenvhardware lb doing the session/persistence stuffs
20:52.57Thijsssshttp://pastebin.ca/1678290
20:53.09Thijssssah yes but if a server dies .. your session is gone
20:53.49aixenvi believe the LB prevents that,
20:53.54aixenvok im looking at your file
20:54.14Thijssssthe LB knows all the session information like the tomcat server knows?
20:54.36*** join/#tomcat globalsec (n=globalse@96-40-145-23.dhcp.mtpk.ca.charter.com)
20:54.41aixenv2stupid irc
20:54.45Thijsssshmm?
20:54.46Thijsssslol
20:54.47Thijsssswb
20:54.51aixenv2got dc'd
20:54.51Thijssssstill got the url?
20:54.54aixenv2yea
20:54.55Thijssssk
20:54.56aixenv2im looking at it
20:55.01aixenv2moving my shell to hat desktop
20:55.16Thijssssirssi + screen <3 ;p
20:55.30aixenv2hah
20:56.26Thijssssyou probably just need to tell the connector about the keystore and its password as far as I can see
20:56.30aixenv2ok i got it basically there's no 443 connector port atm heh
20:56.35aixenv2there's just a 80 one
20:56.38*** join/#tomcat |MHSL| (i=mhsl@cm9.eta6.maxonline.com.sg)
20:56.48Thijssss80 ?
20:56.56Thijssssohh
20:56.58Thijsssswell figures
20:57.02Thijssssthe <Connector
20:57.06aixenv2well there's just a http.port connector
20:57.09Thijssssadd scheme="https" and stuff
20:57.53aixenv2the ssl stuff on my file is all commented out
20:57.53aixenv2can i do that within 1 connector or should i make a new one defining ssl
20:57.57Thijssssyou only need a few modifications to the one you showed me
20:57.58aixenvoh ok
20:57.58Thijssssmake a new one for the ssl
20:57.59Thijssssas it will listen on a different port
20:57.59Thijsssscan't do both at once
20:58.01aixenvright, that was my plan, ok oen sec
20:59.22*** join/#tomcat Techdeck (n=Techdeck@bzq-84-110-159-92.red.bezeqint.net) [NETSPLIT VICTIM]
20:59.22*** join/#tomcat rabbit7_ (n=rabbit7@ds1789722.dedicated.solnet.ch) [NETSPLIT VICTIM]
20:59.22*** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr) [NETSPLIT VICTIM]
20:59.22*** join/#tomcat MHSL (i=mhsl@cm9.eta6.maxonline.com.sg) [NETSPLIT VICTIM]
20:59.22*** join/#tomcat JiYu (n=jiyu@m56s07.vlinux.de) [NETSPLIT VICTIM]
20:59.22*** join/#tomcat txxt (n=tiagoh@91.214.169.15) [NETSPLIT VICTIM]
20:59.22*** join/#tomcat Odin_ (n=dlm@host86-128-79-197.range86-128.btcentralplus.com) [NETSPLIT VICTIM]
21:00.00*** join/#tomcat txxt (n=tiagoh@91.214.169.15)
21:01.52aixenvhows this look
21:02.13aixenvhttp://pastebin.co/d7ab53ccf
21:02.19aixenvhttp://pastebin.com/d7ab53ccf
21:02.57Thijsssslooks ok to me
21:02.59Thijssssbut localhost?
21:03.10aixenvoh true
21:03.14Thijssssthats 127.0.0.1 unless you messed with the rest of the system heh
21:03.22aixenvhrm
21:03.35Thijssssjust use the IP the LB uses to contact it
21:03.41aixenvk
21:04.38Thijssssif anything goes wrong i'm sure the catalina.out will tell :)
21:06.50*** join/#tomcat mineralko (n=VonBruno@93-138-106-92.adsl.net.t-com.hr)
21:07.24*** part/#tomcat mineralko (n=VonBruno@93-138-106-92.adsl.net.t-com.hr)
21:07.30*** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr)
21:09.32aixenvone sec gotta configure LB for 443 heh
21:09.39aixenvtomcat will server it on 8443 right?
21:09.46aixenv*serve
21:09.46Thijssssyes
21:10.05Thijssssonly root may use below 1024
21:10.12Thijssssyou don't want tomcat to run as user root ;p
21:11.06aixenvrigth
21:11.08aixenv*right
21:11.26Thijssssif you want to make sure it's listening.. just use netstat
21:11.30Thijsssslike hmmm: netstat -vnepl
21:11.34aixenvis there a apache2ctl configtest equiv for tomcat?
21:11.46Thijssssnot that I know of
21:12.04aixenvits listening
21:12.12Thijsssstest it locally with lynx :)
21:12.20aixenvi havent restarted yet
21:12.21aixenvlol
21:12.33aixenvgotta get the "ok" first
21:12.50Thijssssugh
21:12.53Thijsssshate it when that happens
21:13.02aixenvactually
21:13.10aixenvn/m that should be ok
21:13.13Thijssss?
21:13.14aixenvapache is on 443, but we just care about having 8443 working
21:13.22aixenvbrain fart
21:13.34Thijssssoh you have apache infront of tomcat?
21:13.47aixenvno clue why they have apache on this server
21:13.57aixenvi think we originally built it out for apache and then they go hey put tomcat 6 on there
21:14.03aixenvtheres 0 config on the vhosts for apache
21:14.18aixenvjust phpmyadmin lol
21:14.22Thijssssno connector installed either?
21:14.29aixenvyea theres no mod_jk stuff
21:14.36aixenvit's just there
21:14.40Thijssssrm -Rf apache? :P
21:14.42aixenvhaha
21:14.43Thijssssodd
21:14.49aixenvapt-get remove apache2 :P
21:14.55Thijssssmake a security incident ticket.. remove apache ;p
21:15.00aixenvthey are kinda odd though they like stuff like that
21:15.11aixenvnot as bad as one of our new clients
21:15.18Thijssssor be sure to close the port up with iptables :)
21:15.32aixenvpython/django/nginx/cherokee/apache/lighthttpd on the same server
21:15.48Thijsssssounds like a machine with a root kit along with it ;p
21:15.58aixenvya cherokee i still dont see why they use that
21:16.13aixenvi setup pseudostreaming on apache
21:16.13Thijsssswasn't that some kind of search thing from apache foundation?
21:16.26aixenvand did some tests comparing it to lighty/nginx and didnt see a big dif
21:16.29Thijssssi'm lost with all the software they use nowdays heh
21:16.34Thijssssah
21:16.39aixenvcherokee is some new ghetto supposed to be good at streaming webserver
21:16.48Thijsssshrm
21:17.01aixenvhttp://www.cherokee-project.com/
21:17.03aixenvjust check out the website
21:17.07aixenvthat tells u all u need to know
21:17.08aixenvlol
21:17.27ThijssssI rather stick with apache :)
21:17.28aixenvat least i found it hokey
21:17.29aixenvnods
21:17.40aixenvlong as it isnt iplanet tho im good
21:17.51aixenvi hate iplanet with a passion
21:17.51Thijssssbut anyway we too get such requests
21:17.57Thijsssssome weird ass servers out there in our datacenters heh
21:18.04aixenvbut kinda how u said earlier.. money is money
21:18.12Thijssssyeah as long as I don't have to touch windows :P
21:19.07*** join/#tomcat rabbit7 (n=rabbit7@ds1789722.dedicated.solnet.ch)
21:19.11aixenvamen
21:19.26aixenvthat what the windows admin team is for lol
21:19.51aixenvok brb, gonna configure this loadblaancer crap
21:20.08Thijssss;p
21:20.13Thijssssright haha
21:21.53*** join/#tomcat Techdeck (n=Techdeck@bzq-84-110-159-92.red.bezeqint.net) [NETSPLIT VICTIM]
21:21.53*** join/#tomcat rabbit7_ (n=rabbit7@ds1789722.dedicated.solnet.ch) [NETSPLIT VICTIM]
21:21.53*** join/#tomcat JiYu (n=jiyu@m56s07.vlinux.de) [NETSPLIT VICTIM]
21:21.53*** join/#tomcat Odin_ (n=dlm@host86-128-79-197.range86-128.btcentralplus.com) [NETSPLIT VICTIM]
21:22.59Thijssssi'm going to do some gaming. . it's 22:22 over here ;p
21:23.08Thijssssi'll be back to check here later this evening
21:23.09Thijssssidles
21:45.00*** join/#tomcat uwe_guenther (n=Notebook@p5B28433B.dip.t-dialin.net)
21:48.49*** join/#tomcat RichW (n=richie@78.33.149.220)
21:52.25RichW6.0.20, openjdk 1.6.1, Ubuntu 9.10. I am rather new to jsp programming and tomcat does not seem to have jstl support out the box. I want to deploy it server wide so I dont have to fiddle with any WEB-INF witchcraft. How can I do this?
21:53.49RichWOr maybe if I knew how to generate a servlet with the jstl stuff done for me then that will be ok, the examples servlet that comes with tomcat has jstl support.
21:54.31RichWeither way would be fine if I knew how.
21:55.28RichWWill wait for answer, it is rather important!
21:55.55Thijssssthe black art of witchcrap is essential for any admin and coder ;p
21:56.07aixenvThijssss: does it matter if the jks is owned by root or should it be owned by tomcat
21:56.11Thijssssoh I meant craft ;p
21:56.34Thijssssaixenv  : well tomcat should be able to read the file .. best to make it owned by tomcat
21:56.35aixenvi was gonna chown -R tomcat:tomcat but wanted to check first
21:56.39aixenvk
21:57.13RichWsometimes I edit the web.xml and add in the jstl stuff and it doesnt seem to have any effect
21:57.15Thijsssschown tomcat:tomcat your.jks; chmod 640 your.jks
21:57.25RichWall this is so confusing!
21:57.29ThijssssRichW  : sorry I can't help you with that stuff
21:57.49RichWwow! i thought this was common knowlege for you guys.
21:59.14RichWIs there such thing as a servlet generator, how do they make the fancy directory layouts?
21:59.21Thijssssno idea
21:59.24RichWsurly theres some kind of script to do it?
21:59.31ThijssssI just admin stuff .. I don't make the applications heh
21:59.46RichWWhere do I get help on this stuff?
21:59.49RichWI feel like a n00b
22:00.04Thijssssmaybe here, google? I don't know
22:00.07Thijssssperhaps #java? not sure if it exists and if they know this particulair kind of stuff
22:00.11RichWIve read manuals and stuff and can find nothing that helps me.
22:00.22Thijsssswhat exactly was your problem again?
22:00.37RichWWell I have a script that uses taglib + jstl
22:00.46RichWand I put it in ROOT
22:00.52RichWdoesnt work out the box
22:01.01RichWso I need to do some fiddling to get it going.
22:01.06jiskayou just copied the files...?
22:01.16RichWyeah copied script in there
22:01.26RichWI tried to copy web-inf stuff from examples
22:01.29RichWno luck with that
22:01.35jiskadid that with netbeans and some funny plugins for jsp stuff
22:01.38RichWnothing seems to work
22:01.46Thijsssserrr... i'm sorry I don't want to get involved with that kind of stuff right now heh
22:02.08Thijssssbut there is plenty on google to go around it seems
22:02.18RichWI go to university and dont teach me this stuff, they chuck me into jsp without teaching any tomcat :P
22:02.32Thijssssuni shouldn't teach you this kind of stuff anyway
22:02.47RichWthey use it internally though.
22:03.16RichWyeah they have a server that works even with a empty web-inf
22:03.21RichWi want to know how they do it :D
22:03.23Thijsssshttp://www.developer.com/java/ejb/article.php/1447551/An-Introduction-to-JSP-Standard-Template-Library-JSTL.htm
22:03.29jiskaif you take an ide like eclipse or netbeans it'll work out of the box
22:03.31Thijsssslooks like what you want I think
22:03.39RichWahhh
22:03.43Thijsssswell ask the guy who set that up?
22:03.46RichWi use netbeans/eclipse at uni
22:03.55Thijsssswhat!?
22:04.01Thijsssswhat happends to like.. text editors and pure skills?
22:04.02Thijsssshaha
22:04.03jiskayou can create projects with all the required folders like web-inf etc.
22:04.17Thijssssfeels so old school
22:04.22RichWim currently just using plain text editor
22:04.26Thijssssand I only finished uni like.. just over a year ago heh
22:04.30RichWonly been using netbeans for normal java apps
22:04.33RichWthat you compile
22:04.40ThijssssI rather know exactly how it all works.. no black magic netbeans for me
22:05.03jiskaRichW, there is a online plugin search thing in netbeans
22:05.04Thijssssjust javac or gcc or g++ or any compiler I need will do for me
22:05.05Thijssssheh
22:05.06RichWthe lecturer is a big netbeans evangelist
22:05.21Thijsssshttp://java.sun.com/products/jsp/jstl/ ?
22:05.25Thijssssjust read the url I just now posted
22:05.28Thijssssit says what to install and modify
22:05.50RichWoh ok
22:14.25RichWwoo got it going http://www.javaworld.com/javaworld/jw-02-2003/jw-0228-jstl.html
22:14.32RichWits like the only decent article on the net
22:14.40RichWand a page on there linked to it :)
22:15.01RichWcouldnt find that on google
22:19.29aixenvyay finally given the thumbs up to restart
22:19.31aixenvlol
22:20.29aixenvwatching the out file
22:27.07aixenvThijssss: 8443 isnt listening
22:38.08aixenvthere we go
22:38.13aixenvwas a perms issue on the jks
22:38.23aixenvNov 19, 2009 10:37:50 PM org.apache.coyote.http11.Http11Protocol init
22:38.23aixenvINFO: Initializing Coyote HTTP/1.1 on http-1.2.3.4-8443
22:39.14*** join/#tomcat arricherekk (n=Owner@75-120-145-167.dyn.centurytel.net)
22:42.04*** part/#tomcat arricherekk (n=Owner@75-120-145-167.dyn.centurytel.net)
22:43.06aixenvwoot!
22:43.15aixenvit works <3 Thijssss u r da man
22:44.16*** join/#tomcat km (n=km@adsl-99-4-79-191.dsl.pltn13.sbcglobal.net)
22:59.38*** join/#tomcat deebo (i=globe@stonebay32.com) [NETSPLIT VICTIM]
23:02.22aixenvyay
23:04.43*** join/#tomcat lonecoder (n=lonecode@91.198.24.10) [NETSPLIT VICTIM]
23:14.13Thijssssaixenv  : ok, good to hear :)
23:15.11Thijssssidles for sleep
23:25.02*** join/#tomcat dvayanu (n=another@ppp-82-135-3-109.dynamic.mnet-online.de)
23:29.40*** join/#tomcat dvinchi (n=dvinchi_@148.245.35.9)
23:46.50*** join/#tomcat acarbs12 (n=acarbone@173-9-89-1-NewEngland.hfc.comcastbusiness.net)
23:59.35*** join/#tomcat dvinchi (n=dvinchi_@148.245.35.9)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.