irclog2html for #tomcat on 20060914

00:20.17yassineouch
00:20.26lintlockhe
00:26.11*** join/#tomcat oxblood (n=vee@user-1121v8s.dsl.mindspring.com)
00:34.56lintlockwith tomcat :)
00:35.13oxbloodI'm donating my kidney to a little kid you bastard.
00:35.22oxbloodIf you don't care about me, have mercy on her.
00:35.26lintlock.. not anymore
00:35.33lintlockyou got two
00:35.47oxbloodNo sir, 3.
00:36.03lintlockso youll be fine minus the vomitting blood thing
00:36.06oxbloodThere is an extra one attached to my heart for no apparent reason.
00:37.09lintlockthats weird
00:37.11lintlockoh well
01:08.05*** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp)
01:16.55oxbloodSee, shit would happen if you diss me.
01:31.36oxbloodHello Mr. Chris.
01:35.06*** join/#tomcat feijao (n=aaaa@200-158-32-96.dsl.telesp.net.br)
01:36.34feijaohi, anyone here could help me a bit with input reading in java?
01:57.25yassineoxblood,
01:57.28yassineheya
01:57.41oxbloodHey, I was about to go eat some snack.
01:57.45oxbloodHow are you?
01:57.53oxbloodLong day today -- got home around 8 PM.
01:58.08oxbloodGot a whole lot done for this one house I'm ready to finish.
01:58.35yassinefine so happy meal
01:58.38yassine:)
01:58.49yassineill be here an other 1h
02:00.25yassineanyone of you guys have an idea which form is  correct : docBase="${catalina.home}\webapps\min" or  docBase="${catalina.home}\webapps\min" ?
02:28.49oxbloodvalmont come back. :(
02:29.15oxbloodyassine, They both look identical. You sure you posted the right attribute?
02:29.37oxbloodWell, more like, did you post the right wrong attribute? :)
02:29.51yassineoxblood,  sorry our right  : docBase="${catalina.home}\webapps\min" or  docBase="${catalina.home}/webapps/min" ?
02:30.26oxbloodDoes it matter?
02:30.35yassineyes
02:30.39oxbloodI use Linux so it's always "/".
02:30.48oxbloodThat is the latter, the second one.
02:30.51yassinebut its not working properly there
02:31.01yassineon win* with the / ist works
02:31.23oxbloodI am using "/" and it works.
02:31.48yassinei mean the application is deployed and even works
02:32.18oxbloodSo what's the problem?
02:32.32yassinebut a part of it is there when i select it a get this : org.apache.velocity.exception.ResourceNotFoundException
02:32.43oxbloodI got my Google Apps to work as my MX server.
02:33.02yassinegoogle what ?
02:33.47oxbloodGoogle Apps for Your Domain.
02:33.58yassineaha
02:34.09oxbloodhttp://www.google.com/search?hl=en&q=google+apps
02:34.11yassinewhat should it do search engine
02:34.19oxbloodOops. https://www.google.com/a/
02:35.10oxbloodSo what and how are you selecting docBase?
02:35.29oxbloodI mean, why do you need to read such value in the first place?
02:36.12oxbloodHmm... Ok, try this before we go on which I've no idea what we are talking about to be honest.
02:36.49oxbloodTry replacing ${catalina.home} with the actule path (i.e. /usr/local/tomcat or C:\tomcat).
02:37.14oxbloodBecause I remember having a similar issue with Ant long time ago not being able to resolve the env variables.
02:39.26yassinethe full path
02:39.31yassineoaky good idea
02:40.32oxbloodBut remember, if docBase starts with "/", then appBase is not taken into account or so what I was told.
02:41.09oxbloodi.e. appBase="/hello/my/friend" + docBase="ok/bye" = /hello/my/friend/ok/bye
02:41.25oxbloodBut  appBase="/hello/my/friend" + docBase="/ok/bye" = /ok/bye
02:44.26oxbloodOk, be back in 15 mins.
02:45.23yassineoxblood, im out
02:45.29yassinegood night mate
04:03.11*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-16-35.w82-121.abo.wanadoo.fr)
04:15.16*** join/#tomcat columbo (n=chatzill@pool-71-104-18-28.lsanca.dsl-w.verizon.net)
04:17.47*** join/#tomcat Dewi (n=dewi@203.206.10.192)
04:36.13*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:43.17columbowhat would be the reason for running a servlet directly off of a war file, without unpacking?
04:50.08jasonbcolumbo: That's a good question.
04:50.17jasonbcolumbo: There aren't many good reasons.
04:50.46jasonbcolumbo: Some people like having the whole webapp in exactly one file, and never more than one file, but the reasons for wanting that aren't real sound.
04:51.26jasonbcolumbo: If disk space is the reason, that might make sense.  If the webapp is really huge, and deploying it as a single file is a must, then you don't want to duplicate the entire webapp by also unpacking it at deployment time.
04:51.36*** join/#tomcat retodd (n=opera@adsl-69-108-154-221.dsl.irvnca.pacbell.net)
04:51.51jasonbcolumbo: But, hardly anyone has a webapp that large, or disk storage that small.
04:56.34columbojasonb: So disk space is one reason. Then it seems like a 'non feature' for lack of a better term; I'm guessing too it costs more.
04:57.22columboSeeing as how tomcat has to read the file from inside another. Is that right?
04:57.23jasonbcolumbo: What costs more?
04:57.32jasonbcolumbo: Oh.
04:58.10jasonbcolumbo: Well, there is some code in the JDK that helps with that, but yeah, it's likely to be a little slower to read the files out of the WAR file, which is really a zip file.
04:58.56jasonbcolumbo: But, you only have to read the files at webapp startup, and for static resources in the webapp when they're requested the first time.
05:04.50columbojasonb: cool
05:16.28*** join/#tomcat a4akb (n=Akbara@221.134.40.96)
05:22.08*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-16-35.w82-121.abo.wanadoo.fr)
05:24.00*** part/#tomcat vinse (n=vinse@208.253.223.146)
05:47.14*** join/#tomcat mpun (n=mpun@c-24-16-115-92.hsd1.wa.comcast.net)
06:01.00lykenwhy is it that all these corporations claim to be helping linux with their own versions of linux (fedora/redhat) yet they dont support mp3 playback for most apps out of the box
06:01.03lykenstupid heads
06:06.19a4akblyken: yo
06:06.37*** join/#tomcat valmont (n=chrishol@pdpc/supporter/silver/valmont)
06:08.43lykenhey
06:08.55lykenwelp all  my funding dried up today
06:08.59lykenso now im job hunting :(
06:09.14a4akboh
06:09.33a4akbu were supposed to tend an interview
06:11.24lykeneh?
06:11.55a4akblol
06:17.39*** join/#tomcat wsmoak_ (n=wsmoak@VDSL-130-13-158-155.PHNX.QWEST.NET)
06:35.18jasonblyken: The reason that redhat ripped out all support for mp3 was because someone (I forget who) has been granted US patents on the MP3 file format.
06:36.23jasonblyken: So, whoever has that patent can now go sue all software vendors who sell and/or distribute software that reads or writes mp3, and redhat does not want to get sued.  I can't say I blame them.
06:36.31lykenasshats
06:36.42a4akblol
06:36.47lykeni knew the reason,still claiming mp3 support and not having it
06:36.57lykenits like saying  we have an sql filesystem.. oh wait..
06:36.57jasonblyken: Bummer about your funding?  What ever happened to that wonderful Apple company that was going to save you?
06:37.07lykennot till i graduate
06:37.15lykenand nowi cant graduate cause i cant eat
06:37.27jasonbugh
06:37.27lykenso i gotta go back to the simplethings
06:37.32lykenoh well
06:37.37lykenit happens
06:37.47a4akbhmm
06:37.52jasonbSo Apple won't hire you only because you haven't graduated yet?
06:38.58lykenwell the grad rep said he could hire me with just my undergrad
06:39.05lykenbut chances of a fun job is slim
06:39.28jasonblyken: Well, you have to work your way up to a fun job if you go that route.
06:39.51lykenjasonb: and not having any money wotso ever makes it very difficult to move half away around the world :(
06:41.19*** join/#tomcat cypo (n=opera@217.13.174.82)
06:41.28jasonblyken: Tis true.
06:42.08lykenoh well enough whinging, gotta finish this contract
06:42.12lykenso i have at least some money heh
06:42.26jasonblyken: Well, you have skills all over the place, so I have no doubt you'll do well regardless.
06:44.03lykeni hope so
06:44.11lykenmy problem is, my skills are all over the place
06:44.11lykenheh
06:44.29jasonbThat's not as much of a problem as you think.
06:44.39jasonbMore of a benefit.
06:45.09lykenwell around here it is
06:45.26lykenall they wont is corporate drones :(
06:45.44jasonbYou'll be easily converted, don't worry.  :)
06:45.46lykenJ2EE, .net, mssql server, ccnp, cisco, <insert buzzword>
06:46.26a4akbcisco certified network professional
06:46.28lykencisco certfied network prof
06:46.43jasonbugh.
06:46.44lykenwell today i just realised that i still have a tomcat admin clue
06:46.56lykensetting up tomcat + pg + dev env
06:46.58lykentook about 30 mins
06:46.59lykenhehe
06:47.04jasonbExcellent.
06:47.08lykenincluding migrating a snapshot of the db over
06:47.20jasonbAnd, that's a set of skills that is *very* valueable.  Take it from me.  :)
06:47.44lykeni think i just need to get someone to write my resume
06:47.45lykencause im fkn hopeless..
06:49.20jasonblyken: What percent done with your master's are you?
06:49.30jasonb(roughly)
06:49.32lyken80%
06:50.06jasonbThat's very good.
06:50.14lykenalthough
06:50.20lykenon monday they told me ive done too much work
06:50.21lykenlol
06:50.24lykenand have to rescope it
06:50.27lykenso thats what im doing atm
06:50.37lykenthey said 'this is a PhD waiting to happen'
06:50.46lykenme, hell no i dont want another 2 yrs here !
06:50.55jasonbhehe
06:51.48jasonbI think you'll find it relatively easy to get a job.
06:51.54lykenid like to earn more than $600 a fortnight thanks
06:52.48jasonbheh
06:53.41jasonbYou should start playing with searches on job posting web sites and see if you can find jobs that sound fun.
06:54.56jasonbIn the "real world" of software engineering, experience is king.  You don't have "job" experience yet, really, but you have actual work experience with technologies that matter a lot, so if you go interview for jobs, they'll test you and find out how much you know, and then they'll quickly offer you a job.  :)
06:55.47lykenthanks dude
06:56.05lykentheres isnt many techs i havent at least played with
06:56.36jasonbIt is hard to find software engineers who can write good code, and also who know lots of details about the OSs and Java and things to code with.  When employers find candidates who *actually* know the details, they make job offers pretty quick.
06:57.32jasonbSo, do lots of searching on web job boards, and apply mostly to jobs where you'd probably have some fun.
06:57.48jasonbAnd, yes, the more you polish up your resume, the better you'll look to them.
06:59.10lykenyer cause i gave it to my buddy who is a CTO
06:59.24lykenand he was like dude, this paper makes you look like you dont know anything, and i know thats not the case
07:00.32jasonbOh, and, use this: http://xmlresume.sourceforge.net/
07:02.35lykenthanks
07:02.39jasonbNo prob.
07:03.38*** join/#tomcat klaasjanb (n=brand@mail.topicus.nl)
07:20.05lykenanyone know of a FREE eclipse plugin to do jsp/servlet stuff?
07:20.58lykenlol
07:21.08lykeni could have done that just htought id ask the tomcat channel lol
07:21.23a4akbits ok
07:21.25a4akbhttp://www.eclipseplugincentral.com/displayarticle340.html
07:21.38a4akbleast i can do to help you at this hour of unemployment :P
07:21.44a4akbi know that feeling very well
07:21.45a4akblol
07:22.39a4akbi am 50% done with my masters
07:25.39a4akbhttp://workshopstudio.bea.com/downloadNitroX.do?source=search_GGEclipse&gclid=CIzW0uvMrIcCFQ23WAodY0JLbQ
07:26.33*** join/#tomcat dvayanu (n=lrosenbe@tal2.friendscout24.de)
07:26.55dvayanure
07:27.12a4akbdvayanu: welcome
07:27.23a4akbdvayanu: found any job yet?
07:27.36dvayanuany new?
07:27.39dvayanui havet ime
07:27.46dvayanuheve
07:27.50a4akbcool
07:28.02a4akbafter baby season its job change/hunting season on freenode
07:28.24a4akbdvayanu: just found out someone had a baby this week
07:28.41a4akbthat makes 5babies of ppl i know here on freenode
07:36.06swentemoin
07:36.06a4akbswente: mon
07:36.10lykena4akb: the funny thing about my sister
07:36.22lykenshe gave birth on tuesday night at 11:46pm
07:36.40lykeni called her husband at 5pm on wednesday to get her hosiptal room to go up and visit her
07:37.02lykenhim: 'nah she's home already' me: 'cool, can i have a quick chat?' him: 'nope, shes grocery shopping'
07:37.11a4akbLOL
07:37.18lykenless than 24hrs after having a baby
07:37.19a4akbshe is unreal
07:37.22lykenshe was at the mall
07:37.28lykenshopping for her kids
07:37.34a4akbheh
07:38.02lykenjust attests to her awesomeness heh
07:38.29a4akbis that why u dont want any gfs lyken ;)
07:38.44lykenlol
07:38.50a4akbhehe
07:38.55lykeni dnt want a gf cause they cost money
07:38.57*** part/#tomcat retodd (n=opera@adsl-69-108-154-221.dsl.irvnca.pacbell.net)
07:40.41a4akblook for someone who already got a job then :) n willing to be on her own
07:40.51lykenlol
07:40.55jasonbthose are way expensive!
07:41.11a4akblol jasonb
07:41.29a4akbjasonb: am trying to sell marriage to him n u r spoiling it :P
07:41.37jasonbheh
07:41.55lykenlol
07:41.58jasonbThat's kind of like selling refrigerators to eskimos though.
07:42.19a4akblol
07:42.50a4akblyken: marry your programming instructor :P
07:43.00lykeni am my programming instructor
07:43.06lykenmarrying myself, eww
07:43.08a4akblol
07:43.33a4akblyken: remember the first school teacher u really liked?
07:43.53lykendidnt have one
07:43.54a4akbfemale ofcourse
07:44.00jasonblyken: You'd save lots of money just marrying yourself, but then it's pretty tough to get a divorce later.  :)
07:44.11a4akblol look around then u will find many
07:44.17a4akblol jasonb well said
07:44.32lykenjasonb: lol and then id have to put up with myself talking all the time and always spending money on records
07:44.35lykenoh wait...
07:44.49dvayanumarrying myself is a great idea
07:45.03a4akbthere ya go lyken marry dvayanu :P
07:45.04dvayanuat least someone i'm sure about his feelings
07:45.18a4akblol
07:46.05lykenfriends come over, dude wheres the remote, i dunno i got drunk and hid it on other half, dude you dont have a 'other half' yes i do! left and right !
07:46.45a4akbheh
07:52.53a4akbjasonb: http://www.lyricsdomain.com/19/sparks/i_married_myself.html
07:53.53*** join/#tomcat Qternocq (n=qternocq@a194-109-161-164.adsl.xs4all.nl)
07:54.07Qternocqhello everyone
07:54.29swente'lo
07:54.35Qternocqhow are you? :)
07:54.38Qternocqstill with the kids?
07:55.27Qternocqive got this webapp running on tomcat, but when i start it, this error occurs: java.sql.SQLException: null,  message from server: "#HY000Host 'localhost.localdomain' is not allowed to connect to this MySQL server
07:55.46lykenthats a mysql problem
07:55.59Qternocqa common problem?
07:56.09lykeni have no idea, i dont use that heap of crap
07:56.16Qternocqwow...
07:56.24Qternocqim sorry m8...
07:56.29Qternocqdidnt know you were upset
07:56.43lykenlols
07:56.53lykennah, i just dispise that app
07:57.02lykenclaims all this greatness and it is not
07:57.21Qternocqmysql?
07:57.45lykenyer
07:57.54*** join/#tomcat kasbah (n=kasbah@62.206.116.171)
08:00.57lykena4akb: to answer my own question, solareclipse from sourceforge has a jsp plugin pack available
08:01.18a4akbcool
08:01.20dvayanulyken: solareclipse doesn't work properly with 3.x
08:01.28a4akbcooler
08:01.32lykenworks fine for what i need :)
08:01.36lykenhighlighting!
08:01.41dvayanulyken: servereclipse is your version
08:02.03*** join/#tomcat yango (n=yango@unaffiliated/yango)
08:02.17jasonblyken: Which eclipse version are you using?
08:02.22lykenlatest
08:02.30lykenive decided i need to 'get with the times'
08:02.31lykenlol
08:02.36lykenno more vim + ant
08:02.36a4akblol
08:03.49jasonbYeah.  I used emacs + ant, and I'm now beginning to realize why that can't fly anymore.  :)
08:04.17a4akbif elephants could fly
08:05.12lykenwell i use x-code on my mac
08:05.27lykenbut its too slow to run tomcat + pg + mysql + httpd + xcode + photoshop
08:05.36jasonbkill -9 photoshop
08:05.48a4akblol
08:05.59jasonberr, killall -9 photoshop
08:06.08lykennot my fault i can work from code through to UI
08:06.09lyken:(
08:10.12dvayanulocate photoshop | rm -rf
09:03.44*** join/#tomcat a4ak1 (n=Akbara@221.134.40.96)
09:06.06a4akbre
09:16.16a4akbyo
09:18.46*** part/#tomcat a4akb (n=Akbara@221.134.40.96)
09:36.02*** join/#tomcat yassine (n=yassine@xdsl-84-44-176-149.netcologne.de)
09:48.19yassine* good morning the cat
09:49.45*** join/#tomcat mael (n=mael@xdsl-87-78-181-45.netcologne.de)
11:08.34*** join/#tomcat Velja (n=Velja@212.200.120.217)
11:11.17VeljaHello. I set the webapplication directory to be a ROOT by creating dirname.xml in the  CATLINA_HOME/conf/Catalina/localhost with content '<Context path="" docBase="${catalina.home}/webapps/dirname" debug="0"/>' ...
11:12.37VeljaMy problem is that there are two contexts initialized now so contextInitialized of my listener is called twice for each context once (which is perfectly normal) ...
11:13.12VeljaBut I'm doing some job in contextInitialized and it gets duplicated.
11:14.06VeljaHow I can have some arbitrary directory deployed as ROOT i.e / and not having two contexts deployed (other under /somedir)?
11:18.47VeljaI guess that reason is that "${catalina.home}/webapps/dirname" overlaps the webapps folder ... If I put it somwhere else not under webapps tom will initialize it only once?
11:21.22*** join/#tomcat yel (n=yassine@xdsl-84-44-178-178.netcologne.de)
11:24.39dvayanuvelja: one or two contextes for same application?
11:24.57VeljaI want one .
11:25.07VeljaTwo are initialized.
11:25.16dvayanuhow many declared?
11:25.24Veljaone
11:25.33dvayanuand the name of the war file is the same?
11:25.35dvayanuor directory
11:26.08VeljaOnly one directory under webapps.
11:26.38dvayanubut the directory has another name as the webapp, right?
11:27.01Veljano
11:27.03Velja( I belive its getting initilized second time because it is in webapps )
11:27.28dvayanuyou have ROOT in the webapps and ROOT.xml in Catalina/conf/localhost?
11:28.03VeljaYes
11:28.35dvayanuif you remove the ROOT.xml, what happen?
11:29.03Veljaapplication gets deployed under /ROOT
11:29.04Velja?
11:29.09dvayanuno under /
11:30.08VeljaHow is that applicabel to my case. If I remove  Catalina/conf/localhost/myappname.xml application gets deployed as /myappname?
11:30.27dvayanui thought your case was root
11:30.34dvayanuat least you told so
11:30.59dvayanuis the name of context file exact the same as the name of the webapp?
11:31.24dvayanuhow is the directory in $CATALINE_HOME/webapps is called
11:33.01Veljaymm2 and there is ymm2.xml in the  CATLINA_HOME/conf/Catalina/localhost with content '<Context path="" docBase="${catalina.home}/webapps/dirname" debug="0"/>'.
11:33.21VeljaSorry with content <Context path="" docBase="${catalina.home}/webapps/ymm2" debug="0"/>
11:36.56dvayanuso remove the ymm2.xml
11:36.59dvayanufor testing
11:38.08dvayanuyou write something different in the mail
11:38.20VeljaIt is ok without ymm2.xml.
11:38.25dvayanuif you want it to be root, why not just call it ROOT?
11:38.34VeljaNo just copy / paste ?
11:38.39dvayanuthe directory under webapps
11:39.07dvayanunow you have effictevely two contextes, ROOT and ymm, which have same source, but act separately
11:40.38VeljaYes I know about ROOT. That was situation on my dev machine. Client ( his admin or something ) set it to be a root applying this procedure ... I don't won't to fight them. I'll try now to have  <Context path="" docBase="pointing_somewhere_out_of_webapps" debug="0"/>
11:40.57dvayanui'm not sure if path "" is right too
11:41.01Veljaand hawing webapp dir out of webapps
11:41.05dvayanushouldn't it be '/'?
11:42.10Velja"" worked on their machine for now. I'm not familiar with this procedure. "/" is logical.
11:42.54dvayanuyes "" is right... just checked. unlogical but true :-)
11:44.05VeljaThanks. I'm expecting them in few hours. I have a basic idea what I'll suggest.
11:45.16dvayanuyou can also link ROOT in. however tomcat will try to resolve the link and write a ROOT.xml there
11:45.47VeljaGood thing is that the first issue was "why quartz is fireng jobs twice" now it is more like "we have two contexts initialized" ... huge progress ..
11:46.31dvayanuyeah
11:46.55dvayanuVelja is a male name?
11:52.04*** join/#tomcat prgrmr (n=prgrmr@bzq-88-155-26-202.red.bezeqint.net)
11:53.46VeljaYes. ( I was out ). But I'm glad if you helped me considering me 'stupid programming girl'. :))
12:02.35*** join/#tomcat yassinework (n=yel@h-213.61.164.152.host.de.colt.net)
12:03.03yassinework*
12:03.29*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
12:25.28*** join/#tomcat a4akb (n=Akbara@221.134.40.96)
12:41.44*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
12:48.51*** join/#tomcat giszo (n=King@cyberserver.hu)
13:02.17kasbahis there any library that i can use to read rss feeds?
13:05.04*** join/#tomcat wsmoak_ (n=wsmoak@VDSL-130-13-158-155.PHNX.QWEST.NET)
13:14.46*** join/#tomcat Velja (n=Velja@212.200.120.217)
13:33.24*** join/#tomcat leonel (n=leonel@201.123.63.141)
13:37.46*** join/#tomcat retsof (n=retsof@142.46.197.162)
13:40.47*** join/#tomcat ThoSa (n=ThoSa@dialin096089.justdsl.de)
13:46.04*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net)
14:22.21*** join/#tomcat gles (i=gles@host24-118-dynamic.11-87-r.retail.telecomitalia.it)
14:22.24gleshi
14:22.34yassineworkpronto :)
14:22.59yassineworkor better bueojiorno
14:23.13glesanyone can help me?
14:24.06glesi have a problem with TOMCAT 5.5.17
14:24.20glesexception
14:24.21glesorg.apache.jasper.JasperException: Unable to compile class for JSP
14:24.21glesAn error occurred at line: 3 in the jsp file: /Compagnia Aerea/jsp/verificaNuovoUtente.jsp
14:24.21glesGenerated servlet error:
14:24.21glesUtente cannot be resolved
14:25.07yassineworkyour Class Utente is not properly imported ?
14:25.16glesok
14:25.26glesbut where i must put it?
14:25.45glesthis is the importation....page import="java.net.*,java.sql.*,compagniaaerea.*"
14:25.52glesis it wrong?
14:26.17yassineworkmaybe : com.pagniaaerea.*" instead of  compagniaaerea.*" ?
14:26.19glesthe class Utente is in the package compagniaaerea
14:26.34gleswhat is com?
14:27.22yassineworki was thinking your package is built in that way
14:28.02yassineworkafaik the import is looking fine
14:28.13gleswhat way?
14:28.23gleswhere i must put the package?
14:28.33glesin what directory? thanks a lot
14:29.04yassineworkeither in /WEB-INF/classes if you use classes or /WEB-INF/lib  if you use jars
14:30.06glesin the directory classe i put all the package?
14:30.42glesclasses / compagniaaerea?
14:33.52*** join/#tomcat _gles_ (i=gles@host35-113-dynamic.10-87-r.retail.telecomitalia.it)
14:34.59_gles_yassineyork are u here yet?
14:37.20_gles_yassineyork i want thanks to you!!
14:37.28_gles_maybe i have resolved!!!
14:37.29_gles_:)
14:39.17*** join/#tomcat johnBreak (n=john@host66-36-static.34-85-b.business.telecomitalia.it)
14:44.32*** join/#tomcat __gles__ (i=gles@host81-119-dynamic.16-87-r.retail.telecomitalia.it)
14:45.02johnBreakHi there! I have a problem with tomcat5 anyone can help me?
14:46.31yassineworkre
14:46.40johnBreakwe had an hang problem with our server. After restart tomcat doesn't work, on log:
14:47.00yassineworkjohnBreak,  can you pastbine your log ?
14:48.43johnBreakWARNING: Duplicate name in Manifest: Class-Path
14:48.43johnBreak0 [main] INFO util.PropertyMessageResources  - Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
14:48.43johnBreak2 [main] INFO util.PropertyMessageResources  - Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
14:48.43johnBreak275 [main] INFO util.PropertyMessageResources  - Initializing, config='com.develer.fm.ui.ApplicationResources', returnNull=true
14:48.54*** join/#tomcat johnBreak (n=john@host66-36-static.34-85-b.business.telecomitalia.it)
14:49.18johnBreakops
14:49.25johnBreakdid u catch my log
14:49.30yassineworkno
14:49.41yassineworkplease use pastbin for logs
14:52.15*** join/#tomcat gles (i=gles@host210-231-dynamic.2-87-r.retail.telecomitalia.it)
14:53.27*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:55.25johnBreaksorry just a sec
14:56.39yassineworknp take your time
14:57.44*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-16-35.w82-121.abo.wanadoo.fr)
14:57.54johnBreakhttp://www.mirc.net/paste/?852
14:57.56johnBreakhere
14:57.59yassineworkbonjour LongBeach comment ca va ?
14:58.07yassineworkjohnBreak,  okay let me have a look
14:58.34johnBreakif u need some info let me know...
14:59.59*** join/#tomcat gles (i=gles@host210-231-dynamic.2-87-r.retail.telecomitalia.it)
15:02.28glesyassin i'm here
15:02.34glesi can write private..
15:03.50gleswhat is pastbin??
15:04.09yassineworkhttp://rafb.net
15:04.56johnBreakhttp://www.mirc.net/paste/
15:05.21glesi have past there
15:05.26glescan you see it?
15:05.52yassineworkgles,  i need the url
15:05.54yassinework:)
15:06.13gleshttp://rafb.net/paste/results/QEgjR444.html
15:06.18glessorry i'm new:-P
15:06.19yassineworkbetter
15:08.31glesis the same yassine
15:09.28johnBreak...I have a big headache...
15:12.41yassineworkjohnBreak, does this helps : Invalid authorization specification,  message from server: "Access denied for user: 'fmuser@serverfm.localhost' (Using password: YES)"
15:13.31johnBreakbut user is ok
15:13.42johnBreakexists
15:14.03johnBreakand password defined on xml is good
15:14.11*** join/#tomcat mdasilva (n=mdasilva@95.52.220-216.q9.net)
15:14.24johnBreakmaybe something wrong on connector
15:16.12swenteany rumours about tomcat6?
15:16.55yassineworkjohnBreak,  can you log in with that user too ?
15:17.01mdasilvaugh guys im getting a javax.servlet.ServletExecption: Servlet execution threw and exception problem
15:17.06yassineworkswente,  im not aware of any
15:17.08mdasilvawhenever i try to download a file
15:17.21mdasilvait happens randomly actually and it downloads a 0byte file
15:17.43mdasilvathe file does exists on the server and other files can be downloaded fine... any ideas?
15:19.12johnBreakyes, I can log, and make any kind of query
15:21.16yassineworkfrom the same host as tomcat ?
15:21.25johnBreakyes
15:22.06yassineworkthis is weired what database are you using ? MySQL?
15:22.07johnBreakI also add serverfm.localhost rights for user fmuser on mysql db...
15:22.25johnBreakMySQL 4.0
15:22.39johnBreakit works till this morning!
15:23.15johnBreakMySQL side works, Tomcat starts, but when application start to query... Access denied
15:23.19*** join/#tomcat sail_ (n=sail@wireless299.cs.wisc.edu)
15:25.30yassineworkmhh does from the log i can say that the user does not access the db at all
15:27.44yassineworkif i were you i will recreate the user and update the configs
15:30.08kasbahis there any library i can use to read rss feeds with java?
15:31.18johnBreakthere is a way to verbose jdbc log?
15:31.47yassineworkjohnBreak,  you can verbose MySQL logs
15:31.51randrewkasbah: google
15:32.07yassineworkbut in this case i know its not jdbc its the database where the prolem is
15:32.22yassineworkjohnBreak,  just believe me do what i told you and try again
15:32.24kasbahrandrew: hmm, wierd name for a library
15:32.33yassineworkkasbah,  hi
15:32.39kasbahhi yassinework
15:32.53yassineworkdid you tried to see in sf.net ?
15:33.10yassineworkunfortunatly im not aware of any
15:33.19kasbahhmm, i didn't find a usefull one
15:34.33yassineworki believe you need to look for a project also have rss in it and grab the rss part out of it
15:36.55johnBreakOK, many thanks... I'll try
15:38.17johnBreak...1st Murhy's law: If anything can go wrong, it will go wrong!
15:44.23yassineworkgood luck
15:48.32swenteWANTED: 1000$ reward for L. Murphy, dead or alive.
15:51.49johnBreak237 days uptime... a lancard crash then... ARMAGEDDON! at one week before our exhibition begins... I want die...
15:57.45randrewkasbah: there's an apache commons feedparser, don't know if it's good.
15:58.20kasbahrandrew: even found that, i'll check it out
16:00.01*** join/#tomcat Fracture (n=Fracture@dsl-202-173-191-84.qld.westnet.com.au)
16:01.27randrewkasbah: the python feedparser seems to get recomended.  : 0
16:05.36kasbahpython?
16:06.38randrewkasbah: non-java
16:07.02kasbahrandrew: well, i know java, but huh? why should i use a python library?
16:10.11yassineworkswente,  i got him
16:10.36yassineworkgive me the reward first
16:11.15swentewe will see
16:11.22swentestill anything failing for anyone?
16:12.12randrewkasbah: indeed, sometimes mountain must go to Mohamed.
16:12.40kasbahrandrew: this sucks, there is no java rss library? i can't believe this
16:13.07swentekasbah: tried google?
16:13.32kasbahswente: yes, didn't find anything useable
16:13.51swentehttps://rome.dev.java.net/ ?
16:14.14swentehttp://www.java-source.net/open-source/rss-rdf-tools
16:14.32kasbahWhile Rome lacks autodiscovery and a networking layer ...
16:15.06randrewit's probably tricky. rss feeds are often invalid xml.
16:15.33swentehu?
16:15.43swentethat's evil.
16:17.37kasbahbah
16:41.38*** join/#tomcat a4ak1 (n=Akbara@221.134.40.96)
16:43.48yassineworkswente,
16:44.23a4ak1k
16:44.32yassineworka4ak1, heya
16:45.16a4akbhi yassinework
16:46.23swenteyassinework?
16:46.46yassineworkwhere is my reward ??
16:46.52a4akb?
16:47.38swenteyassinework: time has to prove that people's problems vanish
17:00.41johnBreakYEAHHH! problem  resolved...
17:01.00*** join/#tomcat Rizenine (n=RizeNine@159.218.3.30)
17:01.51johnBreakmix between hostname, dns, mysql and jdbc connection string
17:02.10johnBreakBREAK RULEZ!
17:02.14johnBreakmany thankz
17:02.35johnBreakyassinework
17:02.53yassineworkjohnBreak,  so you solved it ?
17:02.59yassineworkcongrats :)
17:06.46johnBreakyeah yeah yeah!
17:08.40johnBreakare four joined server with alot of customized and embedded applications... that work together... really strong but change a NIC is enought to misconfig everything!
17:09.53johnBreak...after five years I think is time to reengineer...
17:10.14johnBreak....yeeepaaaa!!!
17:10.52johnBreakbye GuyZ, and many thankz to allZ... Linux RuleZZZ!
17:10.59johnBreak;)
17:14.07*** part/#tomcat chrismon (i=chrismon@unaffiliated/chrismon)
17:18.33*** join/#tomcat Fracture (n=Fracture@dsl-202-173-191-84.qld.westnet.com.au)
17:41.06*** join/#tomcat nilesh (n=nilesh@59.145.239.100)
17:59.11*** join/#tomcat chrismon (i=chrismon@unaffiliated/chrismon)
17:59.22*** join/#tomcat chrismon (i=chrismon@unaffiliated/chrismon)
17:59.58chrismonsorry
18:00.00chrismonit was supposed to be a pastebin link in the buffer
18:00.07chrismonsigh
18:00.18chrismonhttp://pastebin.ca/170597
18:00.36chrismoni have no idea where this error comes from or where to even begin to investigate
18:00.53chrismonthe things refered to in the stacktrace are of course hings that havent changed in eons
18:01.02chrismonblarg, no jasonb either
18:13.22*** join/#tomcat valmont (n=chrishol@pdpc/supporter/silver/valmont)
18:26.18randrewchrismon: is that the whole thing?  looks like some kind of endless loop
18:29.07chrismonrandrew, yeah that's the whole thing... note the elipses
18:33.03randrewIt seels like in trying to generate an error, it loops, maybe because of a filter.... just guessing.
18:34.36chrismonthis is a configuration issue
18:34.54chrismonnone of the code referenced in the trace has been changed in a very long time
18:35.06chrismoni was hoping someone would say "oh yeah, i've seen that before, its because of ...."
18:36.33*** join/#tomcat another (n=another@ppp-82-135-86-226.dynamic.mnet-online.de)
18:37.23dvayanure
18:41.32chrismondvayanu, every time i see you nickname it makes me think of this song "dayanu"
18:42.00dvayanudon't know this one
18:52.24chrismonok narrowing it down
18:56.29*** part/#tomcat noah_ (n=noah@computer.cc.columbia.edu)
19:13.36*** join/#tomcat svearike (n=tommy@c83-251-71-140.bredband.comhem.se)
19:15.17svearikeHi, I just installed the latest tomcat, got it up and running with the stand alone solution. However when I tried to integrate it with Apache, using mod_jk I get normal behaviour for my apache data, although all traffic matchin *.jsp  gets a  ERROR 400: No Host matches server name svearike.sytes.net.
19:15.44svearikeWhat would be the most common reason for this ? It feels like I've been googling for ages now
19:20.58svearikeAnyone? :)  looking at all my configurations, I really can't seem to find the error :/
19:21.49puckovafan tommy?
19:21.55puckoHAHA
19:23.16svearikeJapp :)  Andreas ?
19:23.19puckoy
19:23.48svearikefan vad oväntat :)  antar att du också har problem, eftersom du "hänger" här ? :)
19:24.06puckonope, I'm always here. ever since I started using tomcat 3-4 years ago :)
19:25.06svearikeSeriously ? :) that was quite unexpected, so do you have a solution to my problem ?
19:26.44puckoyeah. well, I only use the builtin connectors and not apache httpd.. but I've heard that mod_jk is not the best choice and instead you should go with "mod_proxy"
19:26.59puckothere's a note here; http://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy
19:27.07randrewsvearike: that message can be confusing, depending on your config it can be the defualt message used when a request gets forwarded to tomcat and there is nothing configured to handle the path.
19:27.17puckohaven't tried it myself, but it may be a step in the right direction
19:28.24svearikepucko, thanks I will check that out aswell, but it feels like it's just some small minor mis-configuration that I've done, and if I just could find it everything would work :)  but I guess another connector that WORKS is better than what I have atm :)
19:29.32puckoI've done it years ago, but got tired of having 2 apps to maintain. so I don't remember how I did it :/
19:29.34svearikerandrew, hm, yeah. From what I've gathered on my google-trip it seemed to generate that error for a couple of people who had their appbase-paths set wrong. but I've stared at them more than once, I can tell you that much :)
19:32.49randrewsvearike: only thing i can think of is to make sure you have a default host defined in server.xml, to make sure the error isn't what it claims it is  : 0
19:33.57svearikethis can be found in the server.xml:  (...)  defaultHost="svearike.sytes.net">  <Host name="svearike.sytes.net"   (...)
19:34.42svearikeand that, to me atleast, looks alright
19:35.39puckoif it works standalone it may be the mod_jk config
19:37.20svearikepucko, I've got a separate configuration file for the stand alone part :/  (the default server.xml)   the current xml is  http://svearike.sytes.net/~tommy/server.xml
19:37.20pucko403
19:37.43sveariketry again :) I was too slow on the chmod :)
19:38.40puckohmmm... looks right
19:39.58puckomaybe not however
19:40.01svearikeif you do a http://svearike.sytes.net/Hello.jsp   you'll see the error aswell
19:40.06svearikeReally ? *hoping*
19:40.30puckoisn't there supposed to be a className attribute for the Connector element?
19:41.41svearikeI don't see one in the default server.xml :\
19:42.43puckohm
19:42.55svearikewhat does the autoDeploy and deployOnStartup actually do ?
19:43.21puckoah. maybe that's the older tomcat
19:44.48svearikebeats me :\
19:45.00puckosorry if I'm a bit slow, I'm on a "guildrun" in Warcraft atm. :)
19:45.34svearikehaha, I see :)
19:46.28svearikethis is from my Stirb.xml:   <Context path="" docBase="Stirb" reloadable="true" debug="0"/>
19:47.13svearikeI'm really confused about all the different settings.  haven't found a good tutorial as to how it all fits together.
19:47.29dvayanuwhen we talk about 3-tier application do we talk about nodes or layers?
19:50.19*** join/#tomcat columbo_ (n=chatzill@pool-71-104-18-28.lsanca.dsl-w.verizon.net)
19:50.33puckosvea, your config looks correct.. hm. can you check that the browser really sends the "Host: svearike.sytes.net" in the http-request?
19:51.15dvayanudocBase="Stirb" ? nice name
19:52.20svearikepucko, hmm.. well I COULD but as a matter of fact, if it didn't it would end up on my default host  : blunda.zapto.org  which would give a completely different webpage
19:52.45svearikedvayanu, it's the name of my game :)
19:53.56dvayanudvayanu: mean die in german
19:54.42svearikedvayanu, yeah, I know :) that's why I chose it
19:54.52dvayanuk
19:54.58dvayanuand what is your problem once again?
19:55.34svearikeI just can't seem to get my apache->mod_jk -> tomcat work ... it just returns 400: No Host matches server name svearike.sytes.net.
19:56.29dvayanuaha... have you tried it wihtout apache?
19:57.17svearikedvayanu, yeah but only with the default server.xml (and that worked)
19:57.38dvayanuyou dont have to change anything in the server.xml for that
19:57.50svearikefor what ?
19:58.04puckomaybe it for somereason refuse to use dns resolving, see if you got svearike.sytes.net in hosts
19:58.07dvayanufor virtual host tunneling over apache
19:58.23dvayanudo you have a vhost in apache?
19:59.08svearikeyeah, got svearike.sytes.net in hosts
19:59.11svearikehttp://svearike.sytes.net/Hello.jsp
19:59.21svearikenow I get THAT error, which in my opinion is 1000 times better
19:59.25dvayanuin apache?
19:59.42svearikedvayanu, I have vhosts set up in apache
19:59.53svearikenow I'm running the default server.xml
19:59.55dvayanuok, now you just have to route the vhost for one webapp to tomcat
20:00.38*** join/#tomcat lintlock (i=lintlock@152.12.31.30)
20:00.43lintlocksigh
20:00.49lintlocki keep doing stupid things for females
20:00.51dvayanu<PROTECTED>
20:00.54lintlocki guess im normal
20:01.00svearikedvayanu, actually that part is already working
20:01.12dvayanusvearike: than, which doesnt?
20:02.01svearikedvayanu, well "everything" seems to work now, when I use the default.xml, only thing that's not working is the path's (obviously, I just reset the configs)
20:02.31dvayanuso "everything" work:-)
20:02.34dvayanunothing to do
20:02.49dvayanulintlock: i guess you are desperate
20:03.32svearikebut that default .xml is damn hard to config :D someone went through a lot of work trying to make it that hard to read :)
20:03.44dvayanuwhat do you want to config
20:03.50dvayanui mean what do you want to change
20:04.32svearikeI think I've found a smart solution .. use the server-minimal.xml as a reference instead of server.xml *doh*
20:04.45yassinelintlock,  velocity geek heya :)
20:04.58yassinedvayanu,  moin
20:05.23dvayanuyassine: hey coming papa
20:05.48yassineyeah experieced talks beginners have to listen :)
20:11.08svearikehttp://svearike.sytes.net/Hello.jsp    YES !
20:13.11puckogratz
20:14.32*** join/#tomcat tamember (n=tamember@74-37-187-7.dsl1.dta.ut.frontiernet.net)
20:14.47svearikethanks :)
20:15.14tamemberHm, I'm trying to deploy a webapplication to tomcat.
20:15.14tamemberBasically, a GWT ap.
20:15.20tamemberAnd, I'm having a bit of trouble, running into permission errors.
20:15.44tamember"java.security.AccessControlException: access denied (java.io.FilePermission edu.utah.physics.jason.TAFieldSignout/TAFieldSignout.html read)"
20:16.17tamemberSo, I have a servlet directory, and it is mapped.
20:16.25tamemberAnd, I have a working web.xml
20:17.15tamemberUnder my servlet directory, I have an edu.utah.physics.jason.TAFieldSignout/ directory, that contains that html.
20:18.06tamemberI think I hate tomcat... Heh.
20:18.20dvayanuservlet directory?
20:18.49tamember<url-pattern>/tafieldsignout</url-pattern>
20:18.59tamemberSo, under webapps, I have that directory.
20:19.19dvayanuok
20:19.30tamemberUnderneath that, I have the directory, and the html file.
20:19.43tamemberAnd in the WEB-INF directory, I have my classes, and a web.xml.
20:20.01dvayanuand the files belong to the same user as tomcat runs under?
20:20.53tamemberWell, they belong to root, but, so do the rest of the examples.
20:20.54tamemberAnd they work.
20:21.06dvayanuand are readable?
20:21.39tamemberYes, I did a chmod a+r
20:21.58dvayanuhmm.... i dunno, i haven't played much with GWT yet
20:22.11dvayanuit sounds like misconfigured properties or misunderstood concept
20:22.24dvayanucan you paste your web.xml into pastebin?
20:22.35tamemberYes.
20:22.37tamemberJusta sec.
20:23.59*** join/#tomcat Uviz (n=vee@user-1121kdj.dsl.mindspring.com)
20:24.29tamemberHa, I think I got it working.
20:24.34tamemberAck.
20:24.39tamemberBut, it won't talk to my servlet...
20:24.54dvayanu:-)
20:24.57dvayanubbl
20:25.34tamemberOne sec.
20:25.36tamemberThanks by the way.
20:25.37tamemberOh.
20:28.07dvayanu:-)=
20:28.36lintlocksorry
20:28.40lintlocki had to go get my car
20:28.42tamemberHm.
20:28.44lintlocksorry for the late reply
20:29.04tamemberCan I have my html files, gifs, and stuff, in the same directory that my servlet is in?
20:29.14lintlockyes
20:30.19lintlockoh god
20:30.34lintlockoakland raiders spread is horrible
20:30.39lintlock+13
20:30.50tamemberWell, I have this in my web.xml: <url-pattern>/tafieldsignout</url-pattern>, and I define the Servlet class above edu.utah.physics.jason.server.DatabaseServiceImpl
20:30.59tamemberBut, when I go to /tafieldsignout, it just does a directory listing.
20:32.20lintlockquestion are you using single sign on?
20:32.37tamemberI don't know that that is.
20:32.56lintlockgood then :)
20:33.00tamemberLol.
20:33.17lintlockgive me a sec
20:36.12lintlockmake your <url-pattern>/* and see if that works
20:37.54tamemberStill a directory listing.
20:38.01lintlockk
20:38.10tamemberOh wait.
20:38.14tamemberNo forward slash?
20:38.19tamemberAt the beginning?
20:38.29lintlockno a forward slash is needed
20:38.35lintlock/*
20:39.14tamemberHm, okay.
20:39.22tamemberIt doesn't give me a directory listing anymore.
20:39.31lintlockok
20:39.35lintlocknow we need to get you a welcome page
20:39.47tamemberIt says needed resource not available.
20:39.51tamemberLol.
20:40.35yassinelintlock, where are you man ?
20:41.00lintlockwinston salem state university
20:41.10yassine:)
20:41.29lintlock/:)
20:41.41yassinei was having some trouble with velocity yesterday so i was thinking like lintlock  know how this stuff tastes :)
20:41.55lintlocklol what are you tring to do?
20:42.05lintlocktrying that is
20:42.28yassinewas tring to deploy a solution for a customer that is partly based on veloshitty :)
20:42.42tamemberjava.lang.IllegalArgumentException: Invalid <url-pattern> tafieldsignout/* in servlet mapping
20:42.42tamemberAck.
20:42.53lintlocknono no
20:43.00tamemberEvil....
20:43.02tamemberHeheh.
20:43.09yassinewho is evil here ?
20:43.11yassine:P
20:43.12tamemberTomcat.
20:43.14tamemberIs evil.
20:43.15tamemberLol.
20:43.15lintlock<url-pattern>/*</url-pattern>
20:43.18yassinenoooo
20:43.25lintlockyesssss
20:43.40lintlockoh SHIT
20:43.46yassineyou should meet evil personally and you will be convinced for the rest of your life
20:43.53yassinewhats up lintlock  ?
20:43.55lintlockmy professor is here an i have a meeting with her and a study group at the same time
20:44.14yassineohhhh your professor is a "she" ?
20:44.19tamemberHm... Now it's telling me the GET method isn't supported by this URL.
20:44.36tamemberAnd I can't get at my html file.
20:44.47lintlocklol
20:44.52tamemberSo, at least it's trying to call my servlet now.
20:45.04yassinetamember,  tomcat 5.5 ?
20:45.14tamember5
20:45.18yassinelintlock,  how long are you here ?
20:45.23tamemberHehe.
20:45.34yassinetamember,  what happen when you map it to "/" ?
20:45.37lintlocktamember: you should be able to access localhost:8080/myapp/whateve.html
20:45.58tamemberyassine: We will soon see ;)
20:46.04yassineokay
20:46.15yassine:)
20:46.25lintlocki can say
20:46.29lintlockwith all the BS of tomcat
20:46.35tamemberSame thing as /*
20:46.41lintlocki was able to get it to work
20:46.55lintlockdo a pastebin of your html code
20:47.02yassinelintlock, do you happen to have a such problem with veloshitty (it claims resource not found while the resources are there ) ?
20:47.24lintlockwhat resources are you trying to access?
20:47.30lintlockvariable?
20:47.38yassinea *.vm file
20:47.38tamemberIt does the same thing for every url under tafieldsignout.
20:47.51lintlockwhats your vm action?
20:47.53yassinetamember,  are you mapping a servlet ?
20:47.58tamemberyassine: Yes.
20:47.59yassineokay one sec
20:48.06yassinedo you get a 404 ?
20:48.08tamemberyassine: And it only does POST.
20:48.15tamemberI get 405
20:48.22yassinemessage ?
20:48.24tamemberHTTP method GET is not supported by this URL
20:48.27lintlock~error405
20:48.32lintlockcome on ibot
20:48.36yassinedoes not suppotz post ?
20:48.42yassineibot, baster
20:48.45tamemberI don't think it does.
20:49.04yassinelet me see the meaning of the 405
20:49.17tamembermessage HTTP method GET is not supported by this URL
20:49.27tamemberdescription The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL).
20:49.33tamemberSorry about the pasting guys :)
20:50.03lintlockhave you googled it
20:50.12yassinetamember, 405 errors often arise with the POST method. You may be trying to introduce some kind of input form on your Web site, but not all ISPs allow the POST method necessary to process the form.
20:50.40yassinebut i asume this is not your case
20:50.42tamemberHm.
20:50.45yassinesince your testing locally ?
20:51.12yassinelintlock,  do you like to have a look on my veloshity file ?
20:51.31tamemberYes.
20:51.34tamemberIt's a local test.
20:51.43yassineokay so its not the case
20:52.16yassinehow do you call the servlets ?
20:52.20yassinea form ?
20:54.03tamemberWell.. It's a lot more complicated than that, cause I'm using GWT.
20:54.13tamemberSo, it has javascript that does a request.
20:54.25tamemberAnd then uses post data to serialize objects back and forth.
20:54.32tamemberLike, a javascript RPC.
20:54.57tamemberI think it's probably talking to my servlet.
20:56.10*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
20:57.38yassineGWT
20:57.55yassinejavascript and java
20:58.08yassineits an ajax framwork right ?
20:58.13tamemberYes
20:59.11yassinehow is it ?
20:59.11tamemberVery nice, actually.
20:59.12yassinei mean are you just starting into working with it ?
20:59.12tamemberExcept for deployment :p
20:59.17yassineor experieced with the framework
20:59.23yassinedeployment is really easy
20:59.29tamemberPretty esperienced at this point.
20:59.41tamemberWell, the GWT-shell is easy.
20:59.47tamemberPutting it on tomcat has proven not to be so easy :p
21:00.00yassineshell is always easy even in windows :)
21:00.08tamemberRight.
21:00.51*** join/#tomcat czmann (i=___@host235-119-dynamic.16-87-r.retail.telecomitalia.it)
21:00.55czmannhi all
21:03.41tamember2006-09-14 14:50:00 StandardContext[/tafieldsignout]Exception while dispatching
21:03.41tamemberincoming RPC call
21:03.44tamemberOops.
21:04.10yassinelooks cool
21:05.58dvayanuyassine: you are familar with architectures?
21:06.37yassineMVC yes
21:06.59dvayanuyassine: i mean more things like 3-tier
21:07.37yassinewell i always have that in mind while coding or creating a solution
21:07.55yassinelintlock you EVILLL
21:07.59yassinegrgrg
21:07.59*** join/#tomcat chrismon (n=chrismon@unaffiliated/chrismon)
21:08.05chrismonre
21:08.26*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
21:08.34yassinewb chrismon
21:08.40yassinewb jasonb
21:08.42dvayanujason!
21:08.54jasonbhi guys
21:08.58jasonbHow are things in here?
21:09.03yassinefine
21:09.10yassineMETA-INF rocks :)
21:09.22dvayanujason: when we talk about 3-tier, do we talk about nodes or layers?
21:10.02jasonbyassine: Got it to work, eh?  That's good.  It's a seldomly used method of deployment that can work fine.
21:10.21jasonbdvayanu: "We" as in who?
21:10.35dvayanuwe developers/architect... javaneses
21:10.50jasonbdvayanu: I guess that doesn't matter..  3-tier is really meant to be about layers of nodes.  :)
21:11.18jasonbdvayanu: It's layers of functionality, where each layer *may* be on a different node, or layer of nodes.
21:11.27yassineand the confusion goes on part 3 :P
21:11.33dvayanujasonb: so now i have a real question
21:11.42dvayanujason: first i introduce a new layer
21:11.47jasonbdvayanu: For example, tier 1 can be a cluster of web servers.. a "layer of nodes" for tier 1.
21:12.04dvayanuclassical layers are presentation/business/persistence
21:12.20jasonbdvayanu: Those are "model 3" layers though.
21:12.27jasonbdvayanu: "MVC".
21:12.41jasonbdvayanu: That's not "3 tier"..
21:12.48dvayanusure it is :-)
21:12.59jasonbwell, I suppose it *can* be.
21:13.01dvayanuweb-server,app-server.db
21:13.20dvayanuclassical 3 tier defined by sun
21:13.50jasonbOkay, you're right, those are the three common tiers, but sometimes people collapse all three into a single webapp, and then the db is only sometimes a separate process.
21:14.04dvayanuhttp://en.wikipedia.org/wiki/Image:Overview_of_a_three-tier_application.png
21:14.10jasonbAll three tiers are collapseable into one node, one process, if the authors want.
21:14.20dvayanujason: ok, lets talk about architecture and not about deployment, ok?
21:14.53jasonbOkay, but architecture may dictate deployment.  :)
21:15.19dvayanu:-) right, but lets stay idealistic for a moment
21:15.28jasonbSure.
21:15.38dvayanuso classical architecture: 3 tier, presentation, business logic, persistence, right?
21:16.24*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
21:16.27dvayanunow i have the problem with business logic
21:16.31jasonbOkay, sure.
21:16.45dvayanuwhat exactly is business logic? functional logic? knowledge how to update a user?
21:16.59jasonbheh
21:17.00dvayanui give you an exampe, a really perfect one :-)
21:17.24jasonbBusiness logic is composed of all of the code that isn't presentation code, and isn't persistence code.
21:17.30jasonb:)
21:17.34dvayanuhehe
21:17.45dvayanuthat's an antropological model
21:17.48jasonbSometimes, that's the only real good way of defining what business logic is.
21:17.54dvayanubut let me bring the example first
21:18.05dvayanui have a profile service
21:18.18dvayanuit stores the profile data in its persistence
21:18.27dvayanui have a session manager
21:18.33dvayanuit knows which user is online
21:18.42dvayanutwo indepentend services
21:18.46dvayanuindependend
21:18.46jasonbok.
21:18.54jasonbindependent.
21:19.08dvayanunow when i show a profile i show the profile data and an image, whether the user is online or not
21:19.14dvayanutypicall i do it in an action
21:19.35dvayanulike profileService.getProfilePage(....)....
21:19.46jasonbok
21:19.54dvayanureq.setAttribute("online", sessionService.isUserOnline(userId));
21:19.59dvayanusomething like this
21:20.27dvayanubut now, this knowledge is moved into presentation layer, so i have my "service syndication" in the presentation layer
21:20.43dvayanunow we have not only the webapp, but also a mobile application
21:21.11dvayanuwhich generates xml for different partners (all larger mobile-coms) and they have their portal running on it
21:21.24jasonbThis is getting pretty deep.  :)
21:21.28dvayanuhowever both generated markups contains the online status besides the profile
21:21.56dvayanuso i have to duplicate the knowledge... or i have another layer
21:22.34dvayanuwhat I currently do; I declared a layer between presentation and business: the presentation logic layer
21:22.53jasonbWell, shouldn't it be something like sessionService.isUserOnMobile(userId) and sessionService.isUserOnWeb(userId) ?
21:23.01dvayanuso the business layer is functionality and presentation logic: functionality aggregation and content/service syndication
21:23.37jasonbDepending on your goals, it may actually be okay to mix some of the layers.
21:24.23dvayanui'm not sure whether this is mixing
21:24.35jasonbbrb..
21:24.43dvayanui talked to some other architects, and i know some who are introducing a 4th layer similar to ours
21:25.50yassinedvayanu, you can not stick to standards 100% sometime you have to improvise and most of the standards came from praxis and not visversa
21:26.32dvayanuyassine: hey, i presenting you a new architectural idea!
21:26.56dvayanuyassine: someday you will tell your chilrden -> i was there as 4tier was born ;-)
21:27.06yassinenot yet but soon :)
21:27.13yassineyeahh :)
21:28.04dvayanubrb 2
21:30.09tamemberThis is something with my servlet...
21:30.11tamemberI'm sure of it...
21:30.18tamemberLike, it's mapping to my servlet fine...
21:30.33tamemberIs there a way to get debugging information from your servlet?
21:30.50tamemberI'm looking in the tomcat logs, and I get some security errors from it.
21:31.58*** join/#tomcat lintlock (i=lintlock@152.12.31.30)
21:32.01lintlockbAH
21:32.08lintlocksorry about that
21:32.18lintlockwhat were we doing?
21:32.55yassine<-- lintlock has quit (Read error: 104 (Connection reset by peer))
21:32.55yassine<yassine> lintlock you EVILLL
21:33.00lintlocko
21:33.10lintlockwaht did i do that was evil this time
21:33.27yassinelintlock,  do you like to have a look on my veloshity file ?
21:33.37lintlockpastebin it
21:33.38tamemberHA.
21:33.39tamemberI found it.
21:33.52tamemberUm.
21:33.52yassineand ? what was it tamember
21:34.01tamemberHow would I determine what the root of my project is?
21:34.06tamemberIt's not able to read my database file.
21:34.16tamemberLike, for a servlet, if I were to make a file in the 'local' directory.
21:34.19tamemberWhat would that directory be?
21:34.32lintlockdatabase file.....
21:34.43tamemberI'm using db4o for the database.
21:34.51tamemberSo, it's trying to write/read from it.
21:35.01tamemberAnd it's in whatever the project's root directory is.
21:35.42lintlockdid you put the driver in your lib folder
21:35.46tamemberYes.
21:35.50tamemberSo, it's finding that fine.
21:36.00tamemberava.security.AccessControlException: access denied (java.io.FilePermission tasignupdata.db4o read)
21:36.04tamemberThis is from the db4o driver.
21:36.27tamemberWhat directory, to the servlet, is the project root directory?
21:36.58lintlockwebapps/myapp
21:38.30tamemberHm.
21:38.57dvayanuback
21:39.34yassinelintlock, http://rafb.net/paste/results/ryo3Yb25.html
21:39.38*** join/#tomcat gles (i=gles@host172-52.pool8261.interbusiness.it)
21:39.43yassinethe exception
21:39.50yassinebut the file is in there
21:40.03tamemberSo, if in the servlet, I did something like:  new File("test.txt")
21:40.10*** part/#tomcat gles (i=gles@host172-52.pool8261.interbusiness.it)
21:40.17tamemberThat would refer to webapps/myapp/test.txt?
21:40.30*** join/#tomcat gles (i=gles@host172-52.pool8261.interbusiness.it)
21:40.40dvayanutamember: no, its in the wd
21:40.46dvayanutypically $CATALINA_HOME
21:40.50tamembertamember: Ahh Okay :)
21:40.52*** part/#tomcat gles (i=gles@host172-52.pool8261.interbusiness.it)
21:41.03lintlockWEB-INF/vm/CreateCronTrigger.vm why would you put your vm file in the web-inf?
21:41.07lintlockor why did you?
21:41.08*** join/#tomcat gles (i=gles@host172-52.pool8261.interbusiness.it)
21:42.15yassinelintlock,  im only trying to deploy the application
21:43.08lintlockoh sorry
21:43.28lintlockits depended upon your struts file
21:45.13dvayanuyassine: pls check
21:45.15dvayanuhttp://www.polylog.tv/videothek/videocast/882/main
21:45.38yassinetanks let me see
21:46.11lintlockoh that and toolbox
21:46.21lintlockstructs-config and toolbox.xml
21:46.52yassinelintlock,  you mean i should check that file ?
21:47.44lintlock<action path="/viewmenu" type="org.tm4j.vtl.struts.VelocityAction" name="display" scope="request">
21:47.46lintlockoops
21:47.59lintlockthats one of my action paths
21:48.54lintlockhttp://papernapkin.org/pastebin/app/view/1733
21:49.09yassinelintlock,  whats the use of : velocimacro.library = /WEB-INF/VM_global_library.vm
21:50.13yassinelintlock,  you probably mean veloshity ?
21:51.02lintlockwell i just know how to use velocity within the context of my program
21:51.55yassinedo you hace a kind of veloshity.properties file ?
21:52.03yassines/hace/have
21:52.05lintlockahhh yes
21:52.41lintlockooo
21:52.45yassine?
21:52.55lintlockthat library contains macros
21:53.02lintlock~velocity
21:53.12lintlockson of a bitch bot
21:53.16svearike:)
21:53.21yassinelol
21:53.39lintlocklet me get my macro file
21:53.40yassineyou should try ~velositty
21:53.48yassine~veloshitty
21:54.00yassinelol
21:54.24jasonbThat's almost as funny as lyken's "mod_pos"..
21:54.33yassinemod_pos ?
21:54.55jasonbheh.  "POS" is an acronym for something that is really cruddy.
21:55.01lintlockhttp://papernapkin.org/pastebin/app/view/1734
21:55.58yassinelintlock,  is that your .properties ?
21:56.15lintlockno
21:56.33lintlockthats equal to VM_global_library.vm
21:56.49yassineokay
21:57.32yassinelintlock,  my one : http://rafb.net/paste/results/HPRiBe78.html
21:59.07lintlock;file.resource.loader.path=/;file.resource.loader.cache=false;file.resource.loader.modificationCheckInterval=2velocimacro.library=utils.vmoutput.encoding=utf-8
21:59.22lintlockthats mine
22:02.35lintlockdid i break you guys/
22:05.58lintlockapperently so
22:06.26*** join/#tomcat mael_ (n=mael@xdsl-87-78-144-13.netcologne.de)
22:18.40*** join/#tomcat Marv|LG (n=Marv|TF@ip70-162-230-222.ph.ph.cox.net)
22:35.55yassinelintlock,  noo noo
22:36.17lintlocklol
22:44.26lintlockprogramming languages are interesting and boring at the same time
22:47.23dvayanulintlock: you are getting philosophical
22:49.34lintlockthey are talking about precidence
22:49.42lintlockits boring me because i understand it
22:49.51lintlockbut its interesting
22:50.40dvayanuthey are who
22:51.17lintlockthey = my professor
22:53.07lintlockyay for wireless internet in the classroom
22:53.43lintlockwe are talking about grammars and languages
22:53.53lintlock... not of the english kind :)
23:00.19lintlockbbiab
23:01.00UvizSuch a bad student.
23:01.10UvizSo beat up.
23:02.40chrismonkiss my BNF!
23:07.01UvizKiss my "Prove that P = NP"!
23:09.26UvizWhy don't you jump on your chair and yell in disbelief: "I PROVED P = NP"
23:09.44UvizThen everyone in your class packs up and goes home.
23:09.45UvizHappy ending...
23:15.57*** join/#tomcat lint (i=lintlock@152.12.31.30)
23:16.06lintBAH
23:17.28lintso yassine any progress?
23:17.38yassinelint,  not really
23:17.50yassineim busy with something else atm
23:17.57yassineheya Uviz  wb
23:17.58lintmy structure is completely different from your client
23:18.12yassineseems soo
23:19.03yassineUviz,  are you there ??
23:19.25UvizSort of... Trying not to pass out on my keyboard.
23:19.57yassinehttp://tomcat.anfatech.com/g12/57.html  :)
23:20.17yassineUviz,  now i know i have at least like 2 week of work on your stuff
23:20.33UvizI get 404. :(
23:20.38yassinei was thinking its an easy thing
23:20.53yassinelol
23:20.58yassinetry this one instead : http://tomcat.anfatech.com/cocoon/tomcat/g12/57.html
23:21.12yassinei still have to deal with mod rewrite
23:21.13UvizYa, I got it from your main site.
23:21.24UvizLooks good.
23:21.26UvizVery good.
23:21.35yassineyou could help me if you want
23:21.38yassine:)
23:22.11yassinei need more stlyes
23:22.11UvizHow?
23:22.11yassineformating
23:22.25yassinecan you see the howto menu  
23:22.49yassinein the submenu of the howto is the place where all your stuff will comes in
23:23.28UvizOh man, I'll be so special. :)
23:23.34yassinesure
23:23.53yassinemost wanted even :)
23:25.54UvizHmm... Does Daisy/Cocoon uses XSL to transform your XML files?
23:29.54yassineyes
23:30.58yassinetry the icon down please in this doc : http://tomcat.anfatech.com/cocoon/tomcat/g12/58.html
23:31.13yassinefor next doc
23:32.36UvizBut it's a static document, no need to do all these fancy stuff.
23:32.45UvizCrap, dinner time.
23:33.07UvizHmm... How ironic that said "crap" before having my meal.
23:34.37yassinelool
23:34.50linthorray
23:34.51yassineanyway have a good meal
23:34.56linti just got my next assignment
23:35.14lintediting topics in a portal through vm pages
23:35.21yassinegreats im here with this report designer
23:35.23linti just won the internet
23:35.38yassine1:0 lint vs internet
23:35.47lintlol
23:35.58yassinebtw do yu have a picture of your professor ?
23:36.01yassine:)
23:36.07lintshes in her 50s
23:36.19yassineexperience count :D
23:36.33lintses about 4foot...3
23:36.37yassinelools
23:37.24lintlook up tm4l on google
23:37.24yassinedamn this reporting its a pure pain
23:37.24linterm
23:37.36linti mean dicheva
23:37.41lintlook that up on google
23:37.44lintits the first link
23:37.47lint:)
23:39.22*** join/#tomcat vinse_ (n=vinse@c-24-23-189-135.hsd1.ca.comcast.net)
23:39.51yassineohhhhh
23:39.52linther daughters kinda cute though
23:40.42lintlmfao
23:40.44lintso you saw it?
23:40.56yassinedo you have a pic of her daughter maybe ill feel better
23:41.03lintno sorry
23:41.06yassineyou evil should have warn me
23:41.23linti kept hinting and you kept pushing
23:41.27lint:P
23:41.31yassineloools :P
23:41.42lintshes a nice lady
23:41.50linttill there is a deadline
23:42.10lintthen you have to be very careful with your words
23:42.39yassinei guess i know what kind of person you mean
23:42.56lintlockwhen its not crunch time you can BS
23:43.07yassinewe used to have a physik professors he was the bigges Ass iv ever met in my whole life
23:43.07lintlockwhen its crunch time you will be working till 12am
23:44.17yassinemy partner cames 7 minutes later because of problems on the highway and he sent us to wait one year until we could re sit for the exam again
23:44.55lintlockwooot i just won the internet
23:45.10lintlocki can look up my name on google and its the second entry :)
23:45.23lintlockgot to work on #1
23:47.27lintlockyassine
23:47.34lintlockyour professor wod have died
23:47.56lintlocki would have been on the news and it would have been considered a hate crime
23:48.02yassineunfortunatly i did not knew the DELL trick at that time
23:48.10lintlockcause i would have been stomping a mudhole in his ass
23:48.30lintlockwhat your excuse would be "i got a dell"
23:48.37lintlockhed auto give you 3weeks
23:49.07yassinei quite after that
23:51.04lintlockdamn
23:53.17yassineim not going to spend a year of my life waiting because of a such idiot
23:56.06lintlockouch
23:56.15lintlockso has someone killed him yet
23:56.33lintlockyou now so jack thompson can blame it on video games :P
23:56.58yassineno no blam if he had a such prof
23:57.53lintlockjack thompson is a jerk who is suing all gaming companies with M rated games
23:58.02lintlockhe tried to sue EA for sim2
23:58.17lintlockand the user created hack of the showing genitles mod

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.