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.35 | csmanx | hello |
02:40.04 | csmanx | any 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.55 | AcidJello | hello |
02:46.59 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
02:47.34 | AcidJello | can someone give me a hand, im trying to deploy my first servlet |
02:47.43 | AcidJello | tomcat 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.01 | dmakalsky | Hi, 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.25 | a4akb | Yo |
05:46.34 | *** join/#tomcat compair1 (i=ariel@gateway/tor/x-fe78d3019669617e) |
06:19.18 | a4akb | Hi |
06:20.35 | *** join/#tomcat fix_ (n=fix@cable-87-244-191-39.upc.chello.be) |
06:32.27 | a4akb | lyken: hi |
08:00.07 | *** join/#tomcat peterpan (n=syoe___@dsl-241-88-219.telkomadsl.co.za) |
08:00.37 | peterpan | where does tomcat compile .jsp files to? |
08:28.48 | *** join/#tomcat CrummyGummy (n=CrummyGu@dsl-240-33-28.telkomadsl.co.za) |
08:57.25 | mr_green | hi all |
08:59.53 | mr_green | when 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.19 | deebo | mr_green: what do you care if it has 234234234 processes running if they are idle and swapped? :) |
09:19.35 | mr_green | deebo, ok so they do not consume memory ? |
09:19.48 | deebo | well yes, but no |
09:19.55 | deebo | if they are idle they are swapped to the harddrive |
09:20.49 | mr_green | ok. 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.18 | deebo | mr_green: maxThreads + maxSpareThreads = 20? :) |
09:29.35 | deebo | i dunno, im not into that side of tomcat, i just make the flashy apps |
09:32.36 | mr_green | deebo, ok :) thx anyway |
09:35.01 | mr_green | i setted those to 5 and 5 but still 20 ?! |
09:35.26 | *** join/#tomcat pem3v78 (n=pem@dmi36.neoplus.adsl.tpnet.pl) |
09:35.47 | pem3v78 | now I understand ! |
09:36.08 | pem3v78 | when as is run in debug mode servlet classes are refreshed automaticlly |
09:36.26 | pem3v78 | yeah |
09:56.34 | *** join/#tomcat karstensrage (n=karstens@c-69-181-220-5.hsd1.ca.comcast.net) |
10:01.09 | deebo | atleast on my tomcat that results in a outofmemoryexception after ~10 build+deploys :) |
10:27.00 | pem3v78 | deebo: no need to deploy at all ! |
10:36.01 | *** join/#tomcat a4ak1 (n=a4akb@62.215.156.215) |
11:13.17 | a4ak1 | yo |
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.42 | a4akb | hola |
12:07.56 | a4akb | lyken: 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.32 | nghoula | f |
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.04 | apocn | http://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.12 | pithen | Tomcat 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.13 | a4akb | hi |
15:43.47 | *** join/#tomcat jo_ (n=jo@81.241.231.100) |
15:43.53 | jo_ | hey |
15:44.33 | jo_ | 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.50 | UrK | Hi, 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.09 | UrK | Where can I find detailed logs of the start-up process |
16:07.31 | UrK | "logs" directory of apache does not give me enough information |
16:17.59 | dfr | you can probably turn on more logging in the logging.properties |
16:18.54 | UrK | I continue digging into it: the problem is somewhere in Servlet Engine |
16:20.32 | UrK | dfr: I can't find something useful in logging.properties. :( |
16:20.58 | dfr | you can turn on the levels to display more stuff |
16:21.51 | dfr | if you want to really see tons of stuff, just turn all levels into ALL |
16:21.53 | dfr | =P |
16:22.11 | dfr | but the last time i did that my logs became quickly sizes of megabytes when deploying one app, so be careful |
16:23.08 | UrK | dfr: that's before deployment. I am unable to start apache: it crashes with exception when trying to start servlet engine |
16:23.34 | UrK | dfr: anyways, what levels can i set there? I've seen FINE and INFO |
16:23.46 | UrK | dfr: something more detailed? |
16:23.55 | dfr | UrK: ALL is all |
16:24.13 | dfr | UrK: it's regular java logging levels, iirc |
16:24.26 | dfr | UrK: either way, i use the logger's usual java logging levels |
16:25.03 | UrK | dfr: thank's, but this did not help. still no useful info |
16:25.13 | UrK | no additional messages appeard |
16:26.03 | dfr | UrK: did you restart catalina? |
16:26.16 | dfr | and you're looking @ $CATALINA_HOME/logs, right? |
16:26.19 | rhizmoe | is this just with the default install, no extra webapps? |
16:26.31 | UrK | no extra apps |
16:26.48 | UrK | rhizmoe: tomcat counts as "extra app"? :-) |
16:26.56 | rhizmoe | hey now |
16:27.07 | UrK | dfr: I'm trying to start it, yes, looking at the log |
16:27.09 | rhizmoe | how are perms? |
16:27.35 | UrK | dfr: or just starting catalina with "run" instead of "start" |
16:28.05 | UrK | apache is in my home directory on Linux, with me as owner and running on free port 8001 |
16:29.17 | dfr | hmm, I'm not sure but i dont think i ever touched apache running tomcat =/ |
16:29.34 | dfr | as in apache web server. |
16:30.21 | rhizmoe | apache itself is running on 8001? |
16:30.29 | UrK | dfr, rhizmoe: sorry, i meant tomcat |
16:30.43 | UrK | that's directory name "apache-tomcat" is a bit confusing. :) |
16:30.58 | rhizmoe | so no apache, then? |
16:31.02 | UrK | nope |
16:31.02 | dfr | UrK: go to $CATALINA_HOME/conf/logging.properties |
16:31.11 | dfr | switch all INFO and FINE or whatever you see to ALL |
16:31.18 | dfr | then restart tomcat |
16:31.28 | dfr | you should have tons of info in your $CATALINA_HOME/logs directory |
16:31.32 | rhizmoe | id' also do a chown -R youruser /home/youruser/tomcat |
16:31.49 | UrK | rhizmoe: did not help either |
16:31.55 | rhizmoe | it's just to be sure |
16:32.59 | rhizmoe | so just to be clear, this is a fresh install that has never started up? |
16:33.15 | UrK | it could not |
16:33.18 | UrK | something new I've just seen |
16:33.34 | UrK | Caused by: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.InvokerServlet is privileged and cannot be loaded by this web application |
16:35.15 | UrK | f@#$ing Eclipse! |
16:37.51 | UrK | brb |
16:50.41 | rhizmoe | uh, could this be an SELinux issue? |
16:53.53 | *** join/#tomcat toloughl (n=olought@12.104.6.129) |
16:54.42 | toloughl | hey 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.52 | toloughl | i'm on tomcat 5.0.28, jdk 1.5.05 |
16:57.51 | rhizmoe | wow |
16:58.41 | rhizmoe | catalina.sh is just a shell script, so you could add whatever you want to it |
16:59.04 | toloughl | the only thing, is that i need to know that whatever runs ... will wait until it's completely done |
16:59.12 | a4akb | I hi |
16:59.20 | dfr | well, catalina.sh is done before the tomcat actually loads up... |
16:59.23 | rhizmoe | how do you know when it's "completely done"? |
16:59.41 | toloughl | I'll get: INFO: Starting Coyote HTTP/1.1 on port 12443 in the logs ... for example |
16:59.47 | rhizmoe | oops, meeting. back in a bit |
16:59.58 | dfr | toloughl: tail the logs and wait for that line? |
17:00.01 | rhizmoe | right, and "Server started 3241432579ms" or whatever |
17:00.05 | dfr | it's artificial, bit you know... |
17:00.21 | toloughl | I was going to write a bash script doing just that |
17:00.29 | toloughl | but #bash mocked me & said tomcat needs to do that |
17:00.41 | toloughl | and to talk to this channel |
17:00.52 | rhizmoe | so it takes 40min for the server startup log entry to show up? like 2400000ms? |
17:01.30 | dfr | you can write it in perl |
17:01.35 | toloughl | correct |
17:03.21 | toloughl | we 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.07 | dfr | http://pastebin.com/d2e22dbc0 |
17:05.09 | dfr | along those lines |
17:05.16 | dfr | that just prints out all the stuff it gets from the tail call |
17:05.46 | dfr | it 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.56 | dfr | but again |
17:05.59 | dfr | very artificial |
17:06.10 | dfr | maybe a better way is to find some kind of class that tomcat loads after it's done loading |
17:06.33 | toloughl | dfr: thanks, let me see if I can muck with that a bit |
17:55.35 | dfr | any 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.01 | dfr | the additional comment is "Could not load com.sun.org.apache.xerces.inte |
17:56.01 | dfr | rnal.jaxp.SAXParserFactoryImpl." |
17:57.09 | *** join/#tomcat omry (n=omry@bzq-84-108-20-56.cablep.bezeqint.net) |
17:57.29 | omry | hi, how do I configure tomcat to send raw files from the servlet directory? |
18:02.16 | rhizmoe | dfr: i usually see that when i stop tomcat after i already stopped it |
18:02.49 | dfr | rhizmoe: I'm pretty sure it's still running. |
18:03.05 | dfr | I am trying to use same objects within different requests though |
18:03.39 | dfr | so 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.14 | omry | sorry for the newb question, trying to include a javascript file with my servlet and I can't find where to put it |
18:06.37 | dfr | if 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.03 | zambaroo | heh tomcat-6.0.7, java-1.5_06, rhel04 |
18:10.06 | zambaroo | guys 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.12 | zambaroo | er. |
18:10.29 | zambaroo | s/how\ can//g |
18:10.54 | rhizmoe | why do you jkmount /someplace when you really want to jkmount / ? |
18:12.35 | zambaroo | because i have to. |
18:13.43 | zambaroo | i 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.40 | vinse | zambaroo: use a proxy? |
18:37.11 | zambaroo | sorry? |
18:38.01 | vinse | so that if appache gets http://domain/foo/bar.do it knows to send it to http://localhost:tomcatport/bar.do |
18:39.46 | vinse | that'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.44 | GT500 | Anyone in here? |
18:45.24 | GT500 | Guess not... |
18:45.31 | acidjnk | We get signal! |
18:45.54 | vinse | main screen turn on |
18:46.41 | GT500 | Well my hosting service is using Tomcat 5.5.9 on CentOS 4.3, and I think they have Java 1.6 |
18:47.00 | vinse | i 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.08 | vinse | i mean if they didnt already live in or around Dearborn Mi |
18:47.46 | GT500 | Everything 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.13 | GT500 | No 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.01 | acidjnk | I get lots of recruiter spam, too. Mostly for permanent jobs in far away countries. |
18:51.40 | acidjnk | And young developers who want me to accept them as my apprentice. Mostly Indians. |
18:52.59 | vinse | do they say URGENT! |
18:53.10 | acidjnk | lol, you really know the Indians! |
18:53.50 | acidjnk | Some guy in another channel currently plans to raise a dug. Maybe I should raise an Indian, could be fun. |
18:54.01 | acidjnk | I might be able to teach him tricks. |
18:54.05 | acidjnk | Like pointer arithmetics. |
18:54.21 | vinse | my favorite Indian idiom is one of the standard busoiness email where they finish by saying |
18:54.29 | vinse | "thank you for doing the needful" |
18:54.34 | vinse | that kills me eveyr time |
18:54.43 | acidjnk | That's a common phrase? |
18:54.48 | vinse | fairly common |
18:54.53 | acidjnk | :-) |
18:55.16 | vinse | but yea, URGENT obviously has a slightly different meaning to them |
18:55.29 | acidjnk | Yes, they use it in every second forum topic. |
18:55.33 | vinse | or they're just given to hyperbole, cuz not everything can be that important |
18:56.04 | acidjnk | I think they really are under much pressure and tight deadlines where they work, more than in the western world. |
18:56.55 | vinse | i think a lot of them got themselves into that situation by fabricating their qualifications |
18:57.00 | vinse | but that's univeral i guess |
18:57.03 | vinse | hey look what i got today: |
18:57.06 | vinse | Urgent Need of Web Developer at Austin, TX ! |
18:57.28 | vinse | Austin TX! i hope it's for less then two months! sign me up! |
18:57.40 | vinse | austin 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.47 | acidjnk | I 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.12 | vinse | ah, you're in the "lame duck" period? |
18:59.19 | vinse | i recommend long lunches |
18:59.23 | vinse | what are they gonna do? |
18:59.26 | vinse | fire you? |
19:01.04 | acidjnk | In Germany it is very important what references the prior employers provide for later jobs. It is similar to grades in school. |
19:02.30 | vinse | i was knew this girl who worked for a private investigator that investigates prospective employees for big companies |
19:02.49 | vinse | she said over 40% of people lie on their resumes |
19:02.57 | vinse | about education or work experience |
19:03.28 | acidjnk | I am not astonished. It is strange how much employers trust instead of demanding proof. |
19:03.40 | acidjnk | IT certificates for example - almost nobody wants to see them. |
19:03.42 | dfr | did she make a statistic of whether that influenced admittance? |
19:04.39 | vinse | well 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.49 | vinse | i once had some one give me as a reference |
19:05.01 | acidjnk | Are you a freelancer? |
19:05.06 | vinse | and the recruiter called me before the actual employer, i guess for like a practice run |
19:05.21 | vinse | and told me he wasnt gonna call me back cuz i wasnt positive enough |
19:05.30 | vinse | too honest apparently |
19:05.56 | vinse | acidjnk: no |
19:06.10 | vinse | acidjnk: but i signed up at Dice once, so i'll never stop getting the spam |
19:06.12 | acidjnk | You have to be honest when you are the reference. Otherwise your reference will loose its value. |
19:06.37 | vinse | the recruiter gets money when he places ppl |
19:06.50 | vinse | he doesnt care whether they actually are a good fit or should get the job |
19:07.05 | vinse | as 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.30 | chris_punches | hi, 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.13 | vinse | chris_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.24 | vinse | chris_punches: but apache is in no way required to run tomcat |
22:12.58 | chris_punches | vinse, 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.14 | vinse | chris_punches: it's a "servlet container" |
22:13.24 | chris_punches | right. I have no idea what that _is_ |
22:13.31 | vinse | chris_punches: :) |
22:13.36 | vinse | a regular webserver |
22:13.53 | vinse | that also meets the requirements that Java has to run servlets |
22:14.12 | chris_punches | ahhh |
22:14.16 | chris_punches | so i need the JDK |
22:14.30 | vinse | a jre should suffice if you arent a developer |
22:14.51 | chris_punches | are there any sites that use tomcat that could be seen as an example of what it can do? |
22:14.56 | vinse | (dk = development kit, re = runtime evironment) |
22:15.09 | chris_punches | well, it says i need the jdk for this cms |
22:15.15 | vinse | oh ok |
22:15.22 | chris_punches | alfresco |
22:15.29 | vinse | al dente! |
22:15.53 | chris_punches | this alfresco product hardly seems worth it. it had better be. it's a pain in the *** to get going |
22:16.05 | vinse | heh |
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.06 | dmakalsky | Hi, can someone recommend a company or individual for a short consulting gig deploying tomcat on Linux ? |