irclog2html for #tomcat on 20030731

00:26.44*** join/#tomcat segfault- (~fab@AStrasbourg-206-1-19-172.w81-49.abo.wanadoo.fr)
01:01.47*** join/#tomcat Gnug225 (Gnug225@24.236.252.219.gha.mi.chartermi.net)
01:11.50*** join/#tomcat eng{bar4ka} (~bar4ka@200.217.6.2)
02:00.20*** join/#tomcat blur_ (~www@h000625d7017a.ne.client2.attbi.com)
03:14.10*** join/#tomcat Gnug225 (~Gnug225@24.236.252.219.gha.mi.chartermi.net)
04:14.22*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
05:07.22*** join/#tomcat Bhaal (bhaal@bhaal.staff.freenode)
05:07.53BhaalOkeys guys, Ive just setup tomcat on a server, whats the default user/pass for the admin/manager sections on the server?
05:22.40*** join/#tomcat duzzer (~duzzer@62.141.79.74)
05:31.43Bhaalduzzer: you a regular tomcat user?
05:31.47BhaalOkeys guys, Ive just setup tomcat on a server, whats the default user/pass for the admin/manager sections on the server?
05:36.49*** join/#tomcat root (~root@cpe.atm2-0-1021013.0x3ef3dcee.hrnxx6.customer.tele.dk)
05:46.58*** join/#tomcat al- (~alwold@vdsl-130-13-112-137.phnx.uswest.net)
05:54.16*** part/#tomcat Bhaal (bhaal@bhaal.staff.freenode)
06:00.52duzzerBhall: Hello :-))
08:01.57*** join/#tomcat agony_aunt (~d_n_chand@61.0.178.65)
08:04.41agony_aunthi i need somehelp..its  a newbie question..but i just cant get it up and running, i make my own folder in webapps and store the classes in WEB-INF but still its gives a 404 not found can someone help me please
11:43.06*** join/#tomcat wolf359 (~kay_mette@217.136.233.156)
11:44.23wolf359my build for the jk2 2.0.2 connector fails, since it seems to require a util directory which is not present in the tarball
11:44.40wolf359anybody have any idea what going wrong?
12:25.37*** join/#tomcat rO| (~rO|@pD9545C06.dip.t-dialin.net)
12:26.36segfault-wolf359: have a build.xml ?
12:26.48wolf359sure, a bunch
12:27.15segfault-do you build the app ?
12:27.28segfault-or looked into the build.xml
12:27.35wolf359my first idea was to just build the jk2 connector
12:28.01wolf359using just ant on a "clean" download of the connectors package
12:28.30wolf359that didn't work, because a bunch of stuff seemed to be missing (util packages appearantly)
12:28.37wolf359so, I got everything from cvs
12:28.51wolf359so now I *do* have util
12:28.53segfault-in the meaning, few jars you might put in lib/ ?
12:29.10wolf359i don't understand
12:29.25segfault-the utils come in jar format ?
12:29.48wolf359it seems like it, there's a lot of tomcat distributions for instance
12:30.00wolf359including their jars, I believe
12:30.37segfault-i have no clue, asked in #java ?
12:30.56wolf359it's just that the entire build seems to break
12:31.14segfault-yeah but resolvable ;)
12:31.26wolf359and since you *have* to build the jk2 connector :(
12:31.52wolf359hwo come there's no binary distr for jk2?
12:31.56segfault-give me url ill check (not for cvs version pls)
12:32.31wolf359URL? for source code?
12:33.21segfault-yeah or traball archive
12:33.57segfault-tar*
12:35.13wolf359http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/
12:36.57wolf359that release just bombs on me
12:37.15wolf359i have apache2 and tomcat4.1 btw
12:38.22sobeli got my jk and jk2 connectors packaged with SuSE 8.2
12:38.38wolf359:(
12:39.09wolf359redhat 8
12:39.15sobelbummer
12:39.32wolf359it has the jk connector, but i need the jk2 functionality
12:39.41sobelwhich is what?
12:39.57sobeli just switched to jk because i couldn't make jk2 do session affinity
12:39.58wolf359well, jk2 is the successor of jk
12:40.10sobeli know, but what functionality are you talking about?
12:40.20sobelthat jk2 does but jk doesn't
12:40.21wolf359and it has some monitoring ability on the mappings
12:40.33wolf359the status worker if that says anything?
12:40.42wolf359I don't even know if it'll help...
12:41.03wolf359but my mappings aren't always going through
12:41.27wolf359I'm getting a MAPPING request error that I've been stuck on for 2 days now (!)
12:41.58*** join/#tomcat nakeee (~elylevy@grok.cs.huji.ac.il)
12:42.12nakeeehey
12:42.37nakeeeI tried few versions of tomcat but non worked well:/
12:42.46segfault-hello nakeee
12:43.06nakeeeany toturial for simpletons like me explaning how to use tomcat?
12:43.23segfault-look at build.xml
12:43.37wolf359yes
12:44.05segfault-wolf359: give url for util now
12:45.30wolf359well, I didn't quite get that either, but...
12:46.02wolf359if you get the cvs version, in *that* build file, there's a "download" target that seems to get stuff into util
12:46.48wolf359the source like it's presented is probably as useless to you as it was to me...
12:47.25segfault-the tarball is just messed up
12:47.36wolf359yeah, I know!
12:47.53segfault-odd tarballs contains util ?
12:47.55wolf359and since there no binary distribution, us mere mortals get stuck
12:48.06wolf359just the dir
12:48.23wolf359what do you mean "odd"?
12:48.32segfault-http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/v1.0-rc2/tomcat-util.jar
12:48.47segfault-(first google)
12:48.56segfault-i'm unsure it's the right tool
12:49.03segfault-but you can find it ;)
12:49.12nakeeeI don't get why people think this XML format is human readble
12:49.16segfault-http://jakarta.apache.org/builds/jakarta-tomcat-connectors/coyote/release/v1.0-rc2/
12:49.18nakeeeit's so horribly messy
12:49.25segfault-it is
12:49.27segfault-nakeee
12:49.46nakeeeis messy or is human readble?:)
12:50.34segfault-http://silara.no-ip.info/~gipsi/build.txt
12:51.19segfault-if you think this is unreadable
12:51.24segfault-stop servlet work
12:51.33wolf359;)
12:51.50wolf359or check out "make" files
12:52.00wolf359easy to see why they went for xml
12:52.02segfault-rahhhhhh nan never
12:53.14*** join/#tomcat kiuma (~kiuma@62.94.126.26)
12:53.18kiumalo ppl
12:56.46wolf359hi
12:57.40segfault-makefiles kill me for java progs
12:58.06segfault-(many assholes include full path to their libs and mess the whole tarball at many time)
13:04.02wolf359mmm... it seems to be doing something now
13:05.51segfault-wolf359
13:06.00wolf359yes?
13:06.03segfault-coyote release contain as much all things
13:06.09segfault-HTTP/1.1 protocol handler
13:06.09segfault-JK 2 protocol handler, with support for AJP 1.3 and JNI workers
13:06.09segfault-An adapter for Tomcat 3.3.x
13:06.09segfault-An adapter for Tomcat 4.0.x
13:06.14wolf359including .so's?
13:06.24segfault-i bet
13:06.27segfault-check the page
13:06.30wolf359got a url?
13:06.40segfault-look at your privates :)
13:07.51nakeeewjat does message No Context configured to process this request means?
13:08.47segfault-whole error message please
13:09.10nakeeedoesn't the default context suppose to be to /?
13:09.56segfault-how i can answer without any infos ?
13:11.05wolf359nakeee, if there's a config error, tomcat will drop the context as well
13:11.06kiumaanyone experienced in jsp precompilation today ?
13:11.19wolf359you might have a problem in your web.xml file for instance
13:11.29wolf359this will make the "context" unavailable
13:11.39wolf359usually, you find some good info in your logs
13:11.47nakeeeMAPPING configuration error for req
13:11.48nakeeeuest URI /protonet/adv_search.jsp
13:11.54nakeeeis what I see in the log
13:12.18wolf359see, there's some mapping going wrong, so tomcat kicks the entire context out of existence
13:14.45nakeeewolf359 how can i find which mapping cause the problem?
13:14.59wolf359elimination
13:15.46wolf359try and subtract mappings, untill you get a context going (in essence, you get some response from tomcat)
13:16.24wolf359see if previous mappings worked
13:16.34segfault-http://www.google.fr/search?hl=fr&ie=UTF-8&oe=UTF-8&q=jsp+precompilation&meta=
13:20.24*** join/#tomcat svoy (svoy@217.20.200.143)
13:20.34svoyhi peop'le
13:21.29wolf359hi
13:21.52svoynknow anyone if can use PHP on TOMCAT
13:22.07svoynknow anyone if can I use PHP on TOMCAT
13:22.12wolf359what do you mean *on* tomcat?
13:22.53svoyI have server Tomcat and i want to try PHP... it' works or not?
13:23.27nakeeesvoy you can use apache together with tomcat
13:23.31wolf359well, you can combine php with j2ee on one website, if that's what you need
13:23.54nakeeeand let apache handle the php and pass jsp things to tomcat
13:23.57wolf359but i don't believe tomcat itself will serve (parsed) php pages
13:24.05wolf359exactly nakee
13:24.13svoyOK thanks!
13:24.22wolf359but you do need to put apache in front!
13:25.12svoyPlease teel me i don' want install new server what i need to do for work with PHP
13:25.14svoy??
13:26.00wolf359well, you don't have to remove tomcat, just install apache next to it
13:26.21svoyOK thanks a lot!!!!!
13:26.24svoyciao
13:26.25*** part/#tomcat svoy (svoy@217.20.200.143)
13:26.26wolf359have apache handle all things on port 80 and have it delegate stuff to tomcat
13:26.34wolf359mmm
13:26.42nakeeea Realm store all the tomcat configuration?
13:26.46wolf359he's in for the ride ;)
13:27.12kiumawhere is a channel i can ask 4 jsp questions ?
13:27.36wolf359www.javaranch.com is pretty good if you have the time
13:33.16nakeeeif I had one server class I don't need to use virtual host right?
13:34.09wolf359hmmm
13:36.04wolf359from the docs: At least one Host is required, and one of the nested Hosts MUST have a name that matches the name specified for the defaultHost attribute
13:36.20segfault-you don't have to use port 80 for tomcat
13:36.29segfault-if you want both apache & tomcat
13:36.38wolf359have you looked at the reference manual nakee?
13:37.17nakeeeyea, but for some reason I really don't understand them
13:37.28segfault-with the module proxypass
13:37.30segfault-for apache
13:38.16segfault-<PROTECTED>
13:38.16segfault-<PROTECTED>
13:38.16segfault-<PROTECTED>
13:38.16segfault-<PROTECTED>
13:38.16segfault-<PROTECTED>
13:38.17segfault-ProxyPass  /tomcat/  http://127.0.0.1:7112/
13:38.20wolf359with an example server.xml file next to it, it's doable
13:38.26segfault-and then you will be done
13:38.56segfault-(in my example i use 7112)
13:40.15nakeeesegfault- but that would only work if you use pure jsp no?I mean if you use mixed php/jsp you can't just proxy everything to the tomcat
13:41.08wolf359svoy is gone if you haven't noticed...
13:45.40nakeeeif I use jkMount from apache
13:45.57nakeeeI need to run tomcat in tomcat-apache or tomcat standalone?
13:46.53segfault-nakeee: it's a mapping to the server
13:46.59segfault-why the tomcat will not run
13:47.07segfault-just virtually mapped to /
13:47.19segfault-tomcat will handle request as normally
13:47.41nakeeeI want apache to use tomcat to for its servlet container
13:47.59nakeeeand that every jsp request would be proccessed by tomcat
13:49.01*** join/#tomcat aharth (~a@wwl154.wlan.uni-wuerzburg.de)
13:49.05kiumai've listened ppl saying that jetty is faster than tomcat, what r the advantages of T over jetty ?
13:49.34wolf359tomcat is the reference implementation
13:49.48wolf359so you might be a bit safer as far as implementation is concerned
13:49.51wolf359my 2 cents
13:50.01kiumahere it is
13:50.04tang^I'l second wolf359's response
13:50.44kiumais jetty "really" faster than tomcat??
13:50.57wolf359try it ;)
13:51.03kiuma4 a human i mean
13:51.06kiumaok
13:51.09wolf359it usually depends on many many factors
13:51.27wolf359your application not the least
13:51.44wolf359plus, stuff like system resources might be important to you as well
13:52.17kiumai use in bundle with jboss
13:52.34wolf359well, do you use EJB's and such?
13:53.19kiumayes and hibernate and jsp and much more
13:54.52wolf359well, then a fully featured container is important for you obviously
13:55.01*** join/#tomcat IRCMonkey (~chatzilla@AAnnecy-101-2-1-40.w193-251.abo.wanadoo.fr)
13:55.12*** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141)
13:55.14wolf359maybe more even than reference implementations
13:58.10IRCMonkeyHi, do you know what is the best to acces to a properties file (configuration) in a webapp with Tomcat ? We actually use getResourceAsStream to get it but I'm not sure this is the good way to do it.
14:03.26wolf359well, you could use getContext.getRealpath(..) from with your app
14:03.33wolf359I find this to be very reliable
14:03.50wolf359it locks the location relative to the app
14:04.08wolf359and get your properties from that
14:05.30IRCMonkeyok I'll try it, thx
14:09.13*** join/#tomcat archy (arkaitz@212.142.234.141)
14:11.59HellaenergyIRCMonkey: Make up a new nick ;)
14:15.22*** join/#tomcat Crusher_ (~crusher@AAnnecy-101-2-1-40.w193-251.abo.wanadoo.fr)
14:19.52nakeeehaa
14:19.54nakeeeit's running
14:20.15nakeeenow everytime I try to get a jsp I get an empty page
14:20.29nakeeethe request is send to the tomcat according to the log
14:25.27wolf359error in page?
14:25.42nakeeeno nothing just a blank page
14:25.48wolf359try a *very* simple jsp page
14:26.10nakeeehmm weird it gives me a blank page even when the page I entered does not exist
14:30.43nakeee2003-07-31 17:30:19 StandardEngine[Standalone]: Mapping server name 'protodev.cs
14:30.50nakeee2003-07-31 17:30:19 StandardEngine[Standalone]:  Trying a direct match
14:30.55nakeee2003-07-31 17:30:19 StandardEngine[Standalone]:  Trying the default host
14:31.10nakeeethat what I get after I make the debug level up
14:51.06aharthwhen i access a file from within a servlet, where's the path for that file usually?
14:52.40sobeluse absolute pathnames
14:54.33nakeeegeeezzzz it just won't work!
14:54.43aharthrelative path would be more elegant imho but it doesn't seem to work. getRealPath()?
14:58.10sobeli've done it before, i'll see if i can dig it out..
14:58.25sobelthere's a servlet call to get the context's absolute path
14:59.50nakeeecan someone send me a working tomcat configuration?
14:59.58Hellaenergynakeee: You could try stopping tomcat and gettin rid of your work/Standalone/webapp dir and restarting
14:59.58nakeeejust something I'll be able to compare with?
15:00.11aharthsobel: would be great, the solution i have right now is quite unstable
15:00.25aharthnakeee: what tomcat version?
15:00.26Hellaenergynakeee: One came with tomcat you downloaded ;)
15:00.37nakeee4.1.1
15:00.39sobelfor now you can just hardcode the correct path prefix
15:01.35nakeeeI tried to connect to tomcat on port 8080 that gives me an empty page as well
15:02.56aharthsobel: good idea, will do that as quick fix
15:03.23aharthnakeee: have 4.1.24 here, maybe you should upgrade :)
15:03.55nakeeethanks
15:04.04nakeeeI upgraded 3 times in the last 2 month
15:07.28nakeeehaa
15:07.35nakeeeyou do have to have a virtual host
15:11.41*** join/#tomcat mod_cure (~Cure@cs6668191-88.austin.rr.com)
15:15.07nakeeeback to the old context problem again:)
15:16.29nakeeeaharth in the file you send me you didn't define any context does it work with out it?
15:16.52*** join/#tomcat hellabot (~hellabot@hellaweb.com)
15:17.43aharthnakeee: it's just the debian tomcat4 standard config, works nicely
15:18.47nakeeeoh
15:18.50nakeeeweird
15:21.19nakeeeI have almost identical configuration file
15:45.10*** join/#tomcat duzzer (~duzzer@clusterfw.beeline3G.net)
16:00.36*** part/#tomcat aharth (~a@wwl154.wlan.uni-wuerzburg.de)
16:23.13*** part/#tomcat hlprmnky (~hlprmnky@c-66-41-166-23.mn.client2.attbi.com)
17:34.04*** join/#tomcat p3 (~p3sulliva@pikes200.centura.org)
17:34.09*** part/#tomcat p3 (~p3sulliva@pikes200.centura.org)
17:45.36*** join/#tomcat fabstras (~fab@AStrasbourg-206-1-19-172.w81-49.abo.wanadoo.fr)
18:11.20*** join/#tomcat Shaym (~shaym@ALyon-209-1-17-48.w81-49.abo.wanadoo.fr)
18:11.23Shaymhello
18:11.28Shaymwhat do you think about JSP ?
18:14.05*** join/#tomcat jasonb (~jasonb@67.124.81.122)
18:16.52Hellaenergyhi jasonb
18:17.19jasonbHi Hella.
18:17.44ShaymHello all
18:17.49Shaymwhat do you think about JSP ?
18:17.55jasonbIt rocks.
18:18.39Shaymand template engine like Velocity or Freemarker ?
18:18.54jasonbblah.
18:19.05Shaymjasonb: can you show me some JSP piece of code
18:19.15Shaymjust to see how you code one form
18:19.22jasonbShaym: Tomcat comes with plenty of examples.
18:19.23Shayma complete form
18:19.34Shaymyour, please
18:20.59jasonbShaym: If you want an example of a JSP that I wrote, have a look at http://www.oreilly.com/catalog/tomcat/chapter/ch06.pdf
18:21.14jasonbShaym: It has 1 test jsp in it.
18:21.20Shaymyou wrote a book, man ?
18:21.25Shaymwhouahh
18:21.37jasonbShaym: Co-wrote, but yeah.
18:32.40*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
19:51.12sobelindeed, jsp rocks
20:30.11dMacRohardo you have the fullversion ? ;)
21:15.22*** join/#tomcat Gnug225 (~Gnug225@24.236.252.219.gha.mi.chartermi.net)
21:19.31*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
21:20.19*** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net)
21:34.43kylevdoes tomcat have a configurable/extensible URL mapper?
21:35.25kylev<PROTECTED>
21:36.06Splinethats in server.xml, but i'm not sure what you mean by "configurable/extensible"
21:36.16Splineyou mean you want to write a little class that takes over the mapping?
21:36.38*** join/#tomcat rO|_ (~rO|@pD9545C06.dip.t-dialin.net)
21:37.25kylevSpline: aye
21:37.41kylevmy customers want their own URL/cookie-domain
21:37.54kylevbut I don't want to deploy the app 14 times for 14 customers
21:38.07*** join/#tomcat tang^ (~krachyn@142.173.196.96) [NETSPLIT VICTIM]
21:38.18Splinewhy not just give them subdirectories inside one app?
21:39.32kylevbecause it's really the same app
21:40.19Splineer, sounds like an argument *for* my suggestion :)
21:40.21kylev/foo/yadda.jsp is the same page as /bar/yadda.jsp
21:40.38Splinehmm
21:41.02kylevwas hoping there was an extensible wedge
21:41.07Splinebe careful, it might be smarter to factor out the business logic into a business layer like EJB and deploy 14 thin UI war's
21:41.16kylevbecause I'd *really* like the mappings to be externally modifiable
21:41.22Splinewhat if you end up wanting to tweak out the look and feel for each customer?
21:42.03kylevwe do that.  the app will need to be aware of the URL it was accessed on
21:42.26Splinewhich it will be if you deploy it as a separate app
21:42.34kylevwhich will cause it to change its skin
21:42.39kylevyes, however
21:42.55kylevonce I hit 150 customers, deployment of the app gets, um, really bad
21:43.02Splinenah
21:43.09Splinebecause by then you'll start wanting to scale out
21:43.24kylevthis is my solution: one generic app
21:43.27Splineyou'll want to put them on multiple servers
21:43.29kylevthat can scale greatly
21:43.59Splinehey brb grocery shopping
21:44.01kylevalso, eventually, this is supposed to be a self-service app
21:44.16kylevso new user can sign up and access /newfoo
21:44.25kylevthus my mapper should be db driven
22:02.35*** join/#tomcat jupi` (jupiter@roswell.warpzone.org)
22:08.26*** join/#tomcat rO| (~rO|@pD9545C06.dip.t-dialin.net) [NETSPLIT VICTIM]
22:20.02*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) [NETSPLIT VICTIM]
22:28.47*** join/#tomcat jasonb (~jasonb@67.124.81.122)
22:39.48*** join/#tomcat rO|_ (~rO|@pD954504F.dip.t-dialin.net)
23:54.55*** join/#tomcat eng{bar4ka} (~bar4ka@200.217.6.2)
23:59.09*** join/#tomcat vudusense (~bubu@OL230-251.fibertel.com.ar)
23:59.15vudusensehello help !
23:59.20vudusenseany brain here ?
23:59.38eng{bar4ka}only bodies
23:59.56vudusenseeng{bar4ka} i have a problem with tomcat and java.policy i think

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.