IRC log for #tomcat on 20070803

00:24.41*** join/#tomcat mr_green (n=mr_darks@LNeuilly-152-22-96-178.w193-251.abo.wanadoo.fr)
02:16.37*** join/#tomcat jjchen (n=jjchen@58.246.26.222)
02:38.38*** join/#tomcat csmanx (n=csman@201.230.164.189)
02:38.40*** part/#tomcat csmanx (n=csman@201.230.164.189)
02:39.32*** join/#tomcat csmanx (n=csman@201.230.164.189)
02:39.35csmanxhello
02:40.04csmanxany common reason for getting http 403 while trying to access any module, including the admin webapp?
02:40.15*** join/#tomcat AnToNiZiTo (n=AnToNiZi@200.60.82.130)
02:45.52*** join/#tomcat AcidJello (n=andrew@dhcp-0-13-46-a3-ff-11.cpe.quickclic.net)
02:45.55AcidJellohello
02:46.59*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
02:47.34AcidJellocan someone give me a hand, im trying to deploy my first servlet
02:47.43AcidJellotomcat 5.5 with apache mod_jk
02:58.51*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-99-22.w83-199.abo.wanadoo.fr)
03:18.14*** join/#tomcat acidjnk (i=acid@p5B06A377.dip0.t-ipconnect.de)
03:28.26*** join/#tomcat vjvjvj (n=vijay@d36-47-236.home1.cgocable.net)
03:31.51*** join/#tomcat acidjnk (i=acid@p5B06A728.dip0.t-ipconnect.de)
03:35.50*** join/#tomcat dmakalsky (n=chatzill@dsl-67-55-1-202.acanac.net)
03:37.01dmakalskyHi, I am having trouble configuring tomcat in FC6.  I followed online documentation but not sure if it's running correctly.  Has anyone configured it correctly on this platform?
03:49.41*** join/#tomcat jasonb_ (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:09.19*** join/#tomcat a4akb (n=a4akb@62.215.156.215)
05:09.25a4akbYo
05:46.34*** join/#tomcat compair1 (i=ariel@gateway/tor/x-fe78d3019669617e)
06:19.18a4akbHi
06:20.35*** join/#tomcat fix_ (n=fix@cable-87-244-191-39.upc.chello.be)
06:32.27a4akblyken: hi
08:00.07*** join/#tomcat peterpan (n=syoe___@dsl-241-88-219.telkomadsl.co.za)
08:00.37peterpanwhere does tomcat compile .jsp files to?
08:28.48*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-240-33-28.telkomadsl.co.za)
08:57.25mr_greenhi all
08:59.53mr_greenwhen i do a catalina.sh start ... i have 20 java process running. What i want is to control this number so i put :  maxThreads="10" minSpareThreads="5" maxSpareThreads="10" in the <Connector protocol="AJP/1.3" tag but still 20 java process running. How to control this number of process ?
09:08.16*** join/#tomcat mr_green (n=mr_darks@LNeuilly-152-22-96-178.w193-251.abo.wanadoo.fr)
09:14.19deebomr_green: what do you care if it has 234234234 processes running if they are idle and swapped? :)
09:19.35mr_greendeebo, ok so they do not consume memory ?
09:19.48deebowell yes, but no
09:19.55deeboif they are idle they are swapped to the harddrive
09:20.49mr_greenok. Because i am curious, where this number of 20 is set ?
09:21.54*** join/#tomcat tyabux (n=joerlend@123-191.dsl.freewave.no)
09:29.18deebomr_green: maxThreads + maxSpareThreads = 20? :)
09:29.35deeboi dunno, im not into that side of tomcat, i just make the flashy apps
09:32.36mr_greendeebo, ok :) thx anyway
09:35.01mr_greeni setted those to 5 and 5 but still 20 ?!
09:35.26*** join/#tomcat pem3v78 (n=pem@dmi36.neoplus.adsl.tpnet.pl)
09:35.47pem3v78now I understand !
09:36.08pem3v78when as is run in debug mode servlet classes are refreshed automaticlly
09:36.26pem3v78yeah
09:56.34*** join/#tomcat karstensrage (n=karstens@c-69-181-220-5.hsd1.ca.comcast.net)
10:01.09deeboatleast on my tomcat that results in a outofmemoryexception after ~10 build+deploys :)
10:27.00pem3v78deebo: no need to deploy at all !
10:36.01*** join/#tomcat a4ak1 (n=a4akb@62.215.156.215)
11:13.17a4ak1yo
11:17.09*** join/#tomcat bentu (n=bentu@125.31.220.178)
11:18.23*** part/#tomcat bentu (n=bentu@125.31.220.178)
11:30.07*** part/#tomcat a4akb (n=a4akb@62.215.156.215)
11:52.14*** join/#tomcat prgrmr_ (n=prgrmr@bzq-79-178-53-92.red.bezeqint.net)
11:52.27*** join/#tomcat a4akb (n=a4akb@62.215.156.215)
11:52.42a4akbhola
12:07.56a4akblyken: hi
12:10.55*** join/#tomcat gregor_k (n=a@p54A1A162.dip0.t-ipconnect.de)
12:19.59*** join/#tomcat aker (n=aker@87.19.163.35)
12:36.48*** part/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
12:57.37*** join/#tomcat nghoula (n=chatzill@bleine.inria.fr)
12:58.32nghoulaf
12:58.49*** part/#tomcat nghoula (n=chatzill@bleine.inria.fr)
12:59.46*** join/#tomcat nghoula (n=chatzill@bleine.inria.fr)
13:03.24*** part/#tomcat nghoula (n=chatzill@bleine.inria.fr)
13:16.25*** join/#tomcat mr_green (n=mr_darks@LNeuilly-152-22-96-178.w193-251.abo.wanadoo.fr)
13:31.00*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
13:59.21*** join/#tomcat otto_ (n=otto@213-84-191-184.adsl.xs4all.nl)
14:09.47*** join/#tomcat apocn (n=apo@unaffiliated/apocn)
14:10.04apocnhttp://dev.mainsoft.com/Default.aspx?tabid=177 -> is this really possible? run ASP.NET on tomcat?
14:16.13*** join/#tomcat kou_note (n=chocoa@221x249x58x13.ap221.ftth.ucom.ne.jp)
14:17.10*** join/#tomcat pithen (n=pithen@dsl093-233-040.hfd1.dsl.speakeasy.net)
14:19.12pithenTomcat 5.5.12 on Linux(debian)- is it possible to only load one or two webapps on startup and leave the remaining apps to be loaded manually?
14:52.51*** part/#tomcat boxninja (n=lrademey@64.31.174.28)
15:05.30*** join/#tomcat kab (n=abarrera@nat.ti.uach.mx)
15:07.13a4akbhi
15:43.47*** join/#tomcat jo_ (n=jo@81.241.231.100)
15:43.53jo_hey
15:44.33jo_I'm getting a AccessControlException because maven-proxy-webapp is accessing a file in WEB-INF.. could anyone tell me how i can fix the policy?
15:59.50*** join/#tomcat aker (n=aker@87.19.101.173)
16:05.10*** join/#tomcat UrK (n=urk@212.179.250.25)
16:06.50UrKHi, I have a problem starting tomcat (Tomcat: 6.0.13, Java 1.6.0b105, Ubuntu Feisty). TargetInvokationException is being thrown on starting the server.
16:07.09UrKWhere can I find detailed logs of the start-up process
16:07.31UrK"logs" directory of apache does not give me enough information
16:17.59dfryou can probably turn on more logging in the logging.properties
16:18.54UrKI continue digging into it: the problem is somewhere in Servlet Engine
16:20.32UrKdfr: I can't find something useful in logging.properties. :(
16:20.58dfryou can turn on the levels to display more stuff
16:21.51dfrif you want to really see tons of stuff, just turn all levels into ALL
16:21.53dfr=P
16:22.11dfrbut the last time i did that my logs became quickly sizes of megabytes when deploying one app, so be careful
16:23.08UrKdfr: that's before deployment. I am unable to start apache: it crashes with exception when trying to start servlet engine
16:23.34UrKdfr: anyways, what levels can i set there? I've seen FINE and INFO
16:23.46UrKdfr: something more detailed?
16:23.55dfrUrK: ALL is all
16:24.13dfrUrK: it's regular java logging levels, iirc
16:24.26dfrUrK: either way, i use the logger's usual java logging levels
16:25.03UrKdfr: thank's, but this did not help. still no useful info
16:25.13UrKno additional messages appeard
16:26.03dfrUrK: did you restart catalina?
16:26.16dfrand you're looking @ $CATALINA_HOME/logs, right?
16:26.19rhizmoeis this just with the default install, no extra webapps?
16:26.31UrKno extra apps
16:26.48UrKrhizmoe: tomcat counts as "extra app"? :-)
16:26.56rhizmoehey now
16:27.07UrKdfr: I'm trying to start it, yes, looking at the log
16:27.09rhizmoehow are perms?
16:27.35UrKdfr: or just starting catalina with "run" instead of "start"
16:28.05UrKapache is in my home directory on Linux, with me as owner and running on free port 8001
16:29.17dfrhmm, I'm not sure but i dont think i ever touched apache running tomcat =/
16:29.34dfras in apache web server.
16:30.21rhizmoeapache itself is running on 8001?
16:30.29UrKdfr, rhizmoe: sorry, i meant tomcat
16:30.43UrKthat's directory name "apache-tomcat" is a bit confusing. :)
16:30.58rhizmoeso no apache, then?
16:31.02UrKnope
16:31.02dfrUrK: go to $CATALINA_HOME/conf/logging.properties
16:31.11dfrswitch all INFO and FINE or whatever you see to ALL
16:31.18dfrthen restart tomcat
16:31.28dfryou should have tons of info in your $CATALINA_HOME/logs directory
16:31.32rhizmoeid' also do a chown -R youruser /home/youruser/tomcat
16:31.49UrKrhizmoe: did not help either
16:31.55rhizmoeit's just to be sure
16:32.59rhizmoeso just to be clear, this is a fresh install that has never started up?
16:33.15UrKit could not
16:33.18UrKsomething new I've just seen
16:33.34UrKCaused by: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.InvokerServlet is privileged and cannot be loaded by this web application
16:35.15UrKf@#$ing Eclipse!
16:37.51UrKbrb
16:50.41rhizmoeuh, could this be an SELinux issue?
16:53.53*** join/#tomcat toloughl (n=olought@12.104.6.129)
16:54.42toloughlhey guys, is there an easy way to run a certain script/command after tomcat fully starts up?  I have a tomcat (after loading stuff) takes about 40 minutes to be fully ready (ie can see the admin page).
16:55.52toloughli'm on tomcat 5.0.28, jdk 1.5.05
16:57.51rhizmoewow
16:58.41rhizmoecatalina.sh is just a shell script, so you could add whatever you want to it
16:59.04toloughlthe only thing, is that i need to know that whatever runs ... will wait until it's completely done
16:59.12a4akbI hi
16:59.20dfrwell, catalina.sh is done before the tomcat actually loads up...
16:59.23rhizmoehow do you know when it's "completely done"?
16:59.41toloughlI'll get:  INFO: Starting Coyote HTTP/1.1 on port 12443   in the logs ... for example
16:59.47rhizmoeoops, meeting. back in a bit
16:59.58dfrtoloughl: tail the logs and wait for that line?
17:00.01rhizmoeright, and "Server started 3241432579ms" or whatever
17:00.05dfrit's artificial, bit you know...
17:00.21toloughlI was going to write a bash script doing just that
17:00.29toloughlbut #bash mocked me & said tomcat needs to do that
17:00.41toloughland to talk to this channel
17:00.52rhizmoeso it takes 40min for the server startup log entry to show up? like 2400000ms?
17:01.30dfryou can write it in perl
17:01.35toloughlcorrect
17:03.21toloughlwe have an app, that loads a bunch of stuff ... then, after that - we get the login screen.  i'm a perl noob ... don't use it enough to get good at it.
17:05.07dfrhttp://pastebin.com/d2e22dbc0
17:05.09dfralong those lines
17:05.16dfrthat just prints out all the stuff it gets from the tail call
17:05.46dfrit also hands waiting for more... so you'd have to look for your line and break from the while and close connection after you found what you needed
17:05.56dfrbut again
17:05.59dfrvery artificial
17:06.10dfrmaybe a better way is to find some kind of class that tomcat loads after it's done loading
17:06.33toloughldfr: thanks, let me see if I can muck with that a bit
17:55.35dfrany clue what might be causing "INFO: Illegal access: this web application instance has been stopped already."? tomcat 6, jdk1.5, redhat-like os
17:56.01dfrthe additional comment is "Could not load com.sun.org.apache.xerces.inte
17:56.01dfrrnal.jaxp.SAXParserFactoryImpl."
17:57.09*** join/#tomcat omry (n=omry@bzq-84-108-20-56.cablep.bezeqint.net)
17:57.29omryhi, how do I configure tomcat to send raw files from the servlet directory?
18:02.16rhizmoedfr: i usually see that when i stop tomcat after i already stopped it
18:02.49dfrrhizmoe: I'm pretty sure it's still running.
18:03.05dfrI am trying to use same objects within different requests though
18:03.39dfrso my guess is that maybe for some reason such object gets gc-ed or something else happens to it and when second one asks for it, it throws that exception... but that might be absolutely wrong understanding.
18:05.14omrysorry for the newb question, trying to include a javascript file with my servlet and I can't find where to put it
18:06.37dfrif you include it in html, i think it looks relative to the deployed app directory.
18:09.13*** join/#tomcat zambaroo (i=greg@belphegor.rulim.de)
18:10.03zambarooheh tomcat-6.0.7, java-1.5_06, rhel04
18:10.06zambarooguys how can i have a JkMount /someplace my-worker directive, but tomcat tells me the the resource /someplace does now exist. how do i tell tomcat that /someplace is actually / ?
18:10.12zambarooer.
18:10.29zambaroos/how\ can//g
18:10.54rhizmoewhy do you jkmount /someplace when you really want to jkmount / ?
18:12.35zambaroobecause i have to.
18:13.43zambarooi have several tomcat instances and one apache in front of them, i need the users to know which one they are going to.
18:36.40vinsezambaroo: use a proxy?
18:37.11zambaroosorry?
18:38.01vinseso that if appache gets http://domain/foo/bar.do it knows to send it to http://localhost:tomcatport/bar.do
18:39.46vinsethat's how we do it, simple url rewriting
18:43.51*** join/#tomcat GT500 (n=GT500@oh-71-50-192-143.dhcp.embarqhsd.net)
18:44.44GT500Anyone in here?
18:45.24GT500Guess not...
18:45.31acidjnkWe get signal!
18:45.54vinsemain screen turn on
18:46.41GT500Well my hosting service is using Tomcat 5.5.9 on CentOS 4.3, and I think they have Java 1.6
18:47.00vinsei dont understand some of this job spam i get -- do people really take consulting jobs in Dearborn, MI for 6 weeks?  who would do that?
18:47.08vinsei mean if they didnt already live in or around Dearborn Mi
18:47.46GT500Everything has been working fine for many months, but for some odd reason Tomcat is producing a 404 error on all JSPs and Servlets.
18:49.13GT500No one at my hosting service seems to have any idea what could have happened, because none of the configs have been changed, and I haven't changed anything on my end.
18:51.01acidjnkI get lots of recruiter spam, too. Mostly for permanent jobs in far away countries.
18:51.40acidjnkAnd young developers who want me to accept them as my apprentice. Mostly Indians.
18:52.59vinsedo they say URGENT!
18:53.10acidjnklol, you really know the Indians!
18:53.50acidjnkSome guy in another channel currently plans to raise a dug. Maybe I should raise an Indian, could be fun.
18:54.01acidjnkI might be able to teach him tricks.
18:54.05acidjnkLike pointer arithmetics.
18:54.21vinsemy favorite Indian idiom is one of the standard busoiness email where they finish by saying
18:54.29vinse"thank you for doing the needful"
18:54.34vinsethat kills me eveyr time
18:54.43acidjnkThat's a common phrase?
18:54.48vinsefairly common
18:54.53acidjnk:-)
18:55.16vinsebut yea, URGENT obviously has a slightly different meaning to them
18:55.29acidjnkYes, they use it in every second forum topic.
18:55.33vinseor they're just given to hyperbole, cuz not everything can be that important
18:56.04acidjnkI think they really are under much pressure and tight deadlines where they work, more than in the western world.
18:56.55vinsei think a lot of them got themselves into that situation by fabricating their qualifications
18:57.00vinsebut that's univeral i guess
18:57.03vinsehey look what i got today:
18:57.06vinseUrgent Need of Web Developer at Austin, TX !
18:57.28vinseAustin TX! i hope it's for less then two months! sign me up!
18:57.40vinseaustin is paradise probably compared to some of the other locations
18:58.29*** part/#tomcat GT500 (n=GT500@oh-71-50-192-143.dhcp.embarqhsd.net)
18:58.38*** part/#tomcat vinse (n=vinse@208.253.223.146)
18:58.45*** join/#tomcat vinse (n=vinse@208.253.223.146)
18:58.47acidjnkI just quit my job, but I have to work there for another 1 or 2 weeks. Maybe I'll go back to freelancing. Then I might be happy about this kind of spam.
18:59.12vinseah, you're in the "lame duck" period?
18:59.19vinsei recommend long lunches
18:59.23vinsewhat are they gonna do?
18:59.26vinsefire you?
19:01.04acidjnkIn Germany it is very important what references the prior employers provide for later jobs. It is similar to grades in school.
19:02.30vinsei was knew this girl who worked for a private investigator that investigates prospective employees for big companies
19:02.49vinseshe said over 40% of people lie on their resumes
19:02.57vinseabout education or work experience
19:03.28acidjnkI am not astonished. It is strange how much employers trust instead of demanding proof.
19:03.40acidjnkIT certificates for example - almost nobody wants to see them.
19:03.42dfrdid she make a statistic of whether that influenced admittance?
19:04.39vinsewell a lot of times it's supposed to be up to recruiter to check that stuff, and especially if they're not in house, they have no incentive to find info that will make the candidate less likely to get the job
19:04.49vinsei once had some one give me as a reference
19:05.01acidjnkAre you a freelancer?
19:05.06vinseand the recruiter called me before the actual employer, i guess for like a practice run
19:05.21vinseand told me he wasnt gonna call me back cuz i wasnt positive enough
19:05.30vinsetoo honest apparently
19:05.56vinseacidjnk: no
19:06.10vinseacidjnk: but i signed up at Dice once, so i'll never stop getting the spam
19:06.12acidjnkYou have to be honest when you are the reference. Otherwise your reference will loose its value.
19:06.37vinsethe recruiter gets money when he places ppl
19:06.50vinsehe doesnt care whether they actually are a good fit or should get the job
19:07.05vinseas long as they can last for 6 months or whatever the minimum is for the recruiter to get paid
19:10.24*** join/#tomcat prgrmr_ (n=prgrmr@bzq-88-154-153-35.red.bezeqint.net)
19:17.55*** join/#tomcat karstensrage (n=karstens@75.55.199.5)
19:27.57*** part/#tomcat a4akb (n=a4akb@62.215.156.215)
19:43.44*** join/#tomcat prgrmr_ (n=prgrmr@bzq-88-154-153-35.red.bezeqint.net)
20:09.32*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
20:36.22*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
21:08.30*** join/#tomcat acidjnk (i=acid@p5B06A728.dip0.t-ipconnect.de)
21:39.13*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
21:43.14*** join/#tomcat AcidJello (n=andrew@207.210.22.148)
22:09.53*** join/#tomcat chris_punches (i=1002@unaffiliated/chrispunches/x-569201)
22:10.30chris_puncheshi, I'm confused about what tomcat actually is...is it something that works WITH an existing apache http server or is it separate and in place OF apache?
22:12.13vinsechris_punches: it is generally used with apache because most people have apache as their main webserver, so all http traffic goes through apache
22:12.24vinsechris_punches: but apache is in no way required to run tomcat
22:12.58chris_punchesvinse, then what exactly is tomcat?  the website doesn't explain it very well.  I understand that I am required to have tomcat in order to run my web CMS
22:13.14vinsechris_punches: it's a "servlet container"
22:13.24chris_punchesright.  I have no idea what that _is_
22:13.31vinsechris_punches: :)
22:13.36vinsea regular webserver
22:13.53vinsethat also meets the requirements that Java has to run servlets
22:14.12chris_punchesahhh
22:14.16chris_punchesso i need the JDK
22:14.30vinsea jre should suffice if you arent a developer
22:14.51chris_punchesare there any sites that use tomcat that could be seen as an example of what it can do?
22:14.56vinse(dk = development kit, re = runtime evironment)
22:15.09chris_puncheswell, it says i need the jdk for this cms
22:15.15vinseoh ok
22:15.22chris_punchesalfresco
22:15.29vinseal dente!
22:15.53chris_punchesthis alfresco product hardly seems worth it.  it had better be.  it's a pain in the *** to get going
22:16.05vinseheh
22:58.22*** join/#tomcat ramza3 (n=Berlin@c-24-98-96-151.hsd1.ga.comcast.net)
23:13.34*** join/#tomcat dmakalsky (n=chatzill@dsl-67-55-1-202.acanac.net)
23:17.02*** part/#tomcat chris_punches (i=1002@unaffiliated/chrispunches/x-569201)
23:17.06dmakalskyHi, can someone recommend a company or individual for a short consulting gig deploying tomcat on Linux ?

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