00:28.09 | *** join/#tomcat juan--d-_-b (n=juan-d-_@unaffiliated/juan--d--b/x-561435) |
00:31.24 | *** join/#tomcat kim0 (n=kimoz@41.233.104.156) |
00:35.40 | *** join/#tomcat roadt (n=roadt@61.191.27.34) |
00:36.17 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
00:46.26 | *** part/#tomcat juan--d-_-b (n=juan-d-_@unaffiliated/juan--d--b/x-561435) |
01:21.43 | *** join/#tomcat keenerdog (n=kdog@cpe-66-69-81-195.satx.res.rr.com) |
01:49.56 | *** join/#tomcat karstensrage (n=karstens@76.21.8.74) |
03:17.14 | *** join/#tomcat acidjnk (n=have@pD9509DE0.dip0.t-ipconnect.de) |
03:33.43 | *** join/#tomcat gottadoit (n=gottadoi@unaffiliated/gottadoit) |
03:37.54 | *** join/#tomcat Duckydapp (n=ducky_sp@70.231.46.95) |
03:38.14 | Duckydapp | Tomcat 6, java 6, windows 32 |
03:38.43 | Duckydapp | hi, is there anyway you can evaluate a JSP expression inside a say TagSupport class? |
03:39.23 | Duckydapp | for example I want to evaluate the string "<%= blah %>", how to do it inside the code |
03:52.49 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
04:06.31 | *** join/#tomcat cppexpert (n=cppexper@c-24-130-62-198.hsd1.ca.comcast.net) |
04:09.38 | cppexpert | Hi guys. I have a question about log4j. For some reason my log output duplicates if I restart my application. If I restart it again I will have 3 same lines per each call of "Logger.getLogger(clazz).fatal(sError)". Why does it happen ? |
04:10.16 | cppexpert | JAR of log4j resides in Tomcat library folder. |
05:09.20 | *** join/#tomcat roadt (n=roadt@61.191.27.34) |
05:11.14 | *** join/#tomcat shashi (n=shashi@125.16.213.2) |
05:29.17 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
06:02.55 | *** join/#tomcat loiseau (n=marius@dslb-084-063-033-195.pools.arcor-ip.net) |
06:11.42 | *** join/#tomcat rhonabwy (n=rhonabwy@dslb-084-057-029-150.pools.arcor-ip.net) |
06:13.47 | *** join/#tomcat magentar (n=magentar@ip-81-210-151-106.hsi.iesy.net) |
06:14.18 | *** join/#tomcat dvayanu (n=dvayanu@ppp-88-217-56-206.dynamic.mnet-online.de) |
06:18.38 | *** join/#tomcat jfclere (n=jfclere@57.79.66.141) |
06:20.47 | *** join/#tomcat bindaas (n=chatzill@59.94.101.221) |
06:22.55 | *** join/#tomcat magentar (n=magentar@ip-81-210-151-106.hsi.iesy.net) |
06:26.24 | *** join/#tomcat mesut (n=power@tuxhacker/mesut) |
06:41.08 | *** join/#tomcat barnum (i=pt@disgruntled.sysadmins.com) |
06:49.08 | *** join/#tomcat dvayanu (n=dvayanu@ppp-88-217-56-206.dynamic.mnet-online.de) |
07:10.10 | *** join/#tomcat Bollinger (n=peter@88-105-163-210.dynamic.dsl.as9105.com) |
07:16.07 | *** join/#tomcat power (n=power@tuxhacker/mesut) |
07:22.11 | *** join/#tomcat mesut (n=power@tuxhacker/mesut) |
07:24.49 | *** join/#tomcat kim0 (n=kimoz@213.131.86.196) |
07:37.15 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl) |
07:39.12 | *** join/#tomcat power (n=power@tuxhacker/mesut) |
07:43.42 | *** join/#tomcat keenerdog (n=kdog@cpe-66-69-81-195.satx.res.rr.com) |
07:59.59 | *** join/#tomcat loiseau (n=marius@dslb-084-063-033-195.pools.arcor-ip.net) |
08:01.50 | *** join/#tomcat power (n=power@tuxhacker/mesut) |
08:02.37 | *** join/#tomcat keenerdo_ (n=kdog@cpe-66-69-81-195.satx.res.rr.com) |
08:05.16 | *** join/#tomcat Sebboh (n=hobbes@ip68-13-127-183.om.om.cox.net) |
08:07.59 | Sebboh | hi. Tomcat 6.0.16 on Sun Java 1.6 on Debian Linux. Question: my context is taking up 100% cpu usage. How can I identify where? |
08:29.53 | *** join/#tomcat Woufeigh (n=woufeigh@229.38-65-87.adsl-static.isp.belgacom.be) |
08:35.51 | kim0 | Hi guys, I am deploying atlassian crowd inside tomcat. I am getting outOfMemory errors like: http://fpaste.org/paste/5941 |
08:36.06 | kim0 | I am totally new to tomcat and java. Could someone please help ? |
08:36.43 | *** join/#tomcat vikumar (n=Vimal@59.160.127.177) |
09:02.10 | kjkoster5489 | Sebboh: hook up jconsole and see what threads are busy all the time. |
09:02.49 | kjkoster5489 | kim0: http://java-monitor.com/forum/showthread.php?t=30 |
09:03.40 | Sebboh | kjkoster5489, hmm, I tried that last night.. I wasn't able to reach any conclusions.. What I'd really like is to see a stack trace for each thread.. ? |
09:04.41 | kjkoster5489 | Sebboh: on the threads tab you can click on each thread to see thge stack trace. |
09:04.59 | kjkoster5489 | You can also dump the stack with a signal. Kill -somethio |
09:05.06 | kjkoster5489 | kill -something, but I forget which one. |
09:05.35 | kjkoster5489 | kim0: let me know if that answers your question. |
09:05.51 | Sebboh | kj, cool, thanks for the tips. |
09:06.10 | kim0 | kjkoster5489: Thanks ... I have given java Mx2048M and it took longer but still crashed |
09:06.23 | kim0 | kjkoster5489: closing other apps now .. and giving it 3GB |
09:06.39 | kjkoster5489 | kim0: sounds more like you have a memory leak. |
09:06.57 | kim0 | kjkoster5489: It is a commercial application (atlassian crowd) |
09:07.10 | kjkoster5489 | kim0: so? |
09:07.17 | kjkoster5489 | They don't leak? |
09:07.25 | kim0 | so .. I am presuming it's not as bad :) |
09:07.49 | kim0 | such an error would be so easy to catch, right! |
09:07.56 | kim0 | detect that is .. |
09:10.54 | kim0 | kjkoster5489: Last line where it burns a lot of CPU .. and eventually crashes is: |
09:11.09 | kim0 | <PROTECTED> |
09:11.42 | kjkoster5489 | kim0: one line from a stacktrace is pointless. Please pastebin the whole thing. |
09:11.52 | kim0 | that's not a stacktrace |
09:12.00 | kim0 | it's just catalina.out |
09:12.36 | kim0 | kjkoster5489: crap ... crashed again |
09:12.43 | kim0 | kjkoster5489: Here's the stack http://fpaste.org/paste/5941 |
09:14.29 | kjkoster5489 | Are you trying to set up a database? |
09:14.35 | kim0 | kjkoster5489: yes |
09:14.38 | kjkoster5489 | ...setup/setupdatabase.actio |
09:14.41 | kjkoster5489 | n |
09:14.44 | kim0 | the application is setting up a DB |
09:14.48 | kim0 | hsqldb |
09:14.53 | kjkoster5489 | Are you sure the db can be reached? |
09:15.05 | kim0 | actually no ... it's an hsqldb |
09:15.09 | kim0 | and I never used one of those |
09:15.16 | kim0 | I have no idea how to reach it |
09:15.28 | kim0 | I was assuming it's internal only ?! |
09:15.34 | kim0 | like embdedded in the app |
09:15.38 | kjkoster5489 | They are pretty much idiot-proof. It's just a file with the SQL statements in it. |
09:16.01 | kim0 | kjkoster5489: Do you think things would be better if I switch to postgresql ? |
09:16.06 | kim0 | It is an option in the app |
09:16.11 | kim0 | I just thought hsqldb is easier |
09:16.24 | kjkoster5489 | No idea why it would crash the way it does. |
09:16.48 | kjkoster5489 | You could try postgres. You'll want to run a normal database instead of hsqldb anyway. |
09:16.59 | kim0 | Yeah .. |
09:17.11 | kjkoster5489 | Also, check the Atlassion people. It's a commercial app ... |
09:17.25 | kim0 | I'm just evaluating it .. no support yet |
09:29.26 | *** join/#tomcat mesutt (n=power@tuxhacker/mesut) |
09:36.17 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
09:43.30 | *** join/#tomcat power (n=power@tuxhacker/mesut) |
09:44.42 | *** join/#tomcat mesut` (n=power@tuxhacker/mesut) |
11:24.47 | *** join/#tomcat bindaas (n=chatzill@59.94.99.181) |
12:13.52 | *** join/#tomcat bindaas (n=chatzill@59.94.99.181) |
12:47.10 | *** join/#tomcat randrew (n=raj@dyn-128-59-53-165.dyn.columbia.edu) |
13:29.45 | *** join/#tomcat cgp_-_ (n=chatzill@165.215.99.245) |
14:04.13 | *** join/#tomcat aje (n=aj@itersys.dk) |
14:04.16 | aje | hi there |
14:04.28 | aje | i am running a jruby on rails application in a tomcat 6.0.18 installation. |
14:04.38 | aje | the app resides in http://localhost/appname |
14:04.53 | aje | now, i'd like to move the application to http://localhost |
14:04.57 | aje | (on port 8080.) |
14:05.10 | aje | how should i do that? i want to skip the /appname part for running the application. |
14:05.15 | aje | whats best practice in this field? |
14:06.46 | aje | (btw, it's OS X 10.5.4 and java 1.5.) |
14:09.50 | MHSL | aje, rename your webapp directory name to ROOT |
14:10.14 | aje | okay... |
14:10.19 | aje | isn't that a bit ugly? :/ |
14:11.41 | MHSL | ? |
14:12.02 | MHSL | that's the only way to do it, unless you create a ROOT.xml context file to point to your webapp directory |
14:12.28 | aje | where should i place that ROOT.xml file then? |
14:12.34 | MHSL | but you may need to place your webapp directory outside of your appBase directory |
14:12.53 | MHSL | aje, <CATALINA_HOME>/conf/<Engine>/<Host> |
14:13.00 | MHSL | aje, e.g. conf/Catalina/localhost |
14:14.42 | aje | have you got nice guide on how to do that? |
14:14.56 | aje | or any example installation? |
14:15.12 | aje | actually, it would be more appropriate to make a new listener on port 80 and run the webapp on that port. |
14:15.29 | aje | so that localhost:80 will run the application residing in webapps/webapp |
14:15.44 | aje | as the webapp will have to go into production sometime. |
14:29.38 | *** join/#tomcat magentar (n=magentar@ip-81-210-151-106.hsi.iesy.net) |
14:34.55 | MHSL | aje, you meant you want to be able to access http://localhost which will point to webapp residing on webapps/webapp? |
14:35.10 | MHSL | aje, you can read Context documentation on tomcat website |
14:35.46 | MHSL | aje, basically the name of the context file will be the context path, so ROOT context path will refer to / |
14:36.21 | MHSL | aje, if you want to configure tomcat to listen on port 80, then you just need to change the port in tomcat server.xml |
14:41.05 | aje | well, what is want is to configure tomcat to run on port 80 and run my webapp in http://localhost:80/ |
14:41.10 | aje | (for production.) |
14:43.33 | *** join/#tomcat Bollinger (n=peter@88-105-163-210.dynamic.dsl.as9105.com) |
14:46.49 | aje | btw, renaming webapp into ROOT causes the server to lose heap space. |
14:52.05 | *** join/#tomcat bwr (n=bwr@64.47.121.98) |
14:53.35 | *** join/#tomcat loiseau (n=marius@dslb-084-063-033-195.pools.arcor-ip.net) |
14:54.08 | MHSL | aje, what do you mean? |
14:54.28 | MHSL | aje, renaming webapp? which webapp? you mean webapps or your webapp directory? |
14:55.14 | aje | no... i'll try once more: |
14:55.29 | aje | 1) i have a jruby on rails application packed in meeho.war. |
14:55.48 | aje | 2) i'd like to run that application in tomcat on localhost:80 rather than localhost:8080/meeho |
14:56.18 | aje | when i deply the application in tomcat's webapp dir, the application is automacially deployed to the url http://localhost:8080/meeho/ |
14:56.57 | aje | but since i need to run meeho.war as the main application on the server, i'd like to run it on http://localhost:80 and skip the ':8080/meeho' part. |
14:57.42 | aje | ok? |
14:57.54 | Sebboh | we understand perfectly. :) |
14:58.21 | aje | so... |
14:58.37 | Sebboh | scroll up. |
14:58.47 | Sebboh | Sorry, I'm being rude. It's late. :( |
14:58.58 | aje | hmmm, i don't know what to say. :/ |
14:59.18 | Sebboh | first the 8080 --> 80 part, that's easy. |
14:59.27 | aje | yeah. |
14:59.49 | Sebboh | find server.xml and edit that.. there's a line that contains the text 8080. :) |
15:00.03 | aje | but if i rename the application (located in $TOMCAT_HOME/webapps/meeho to $TOMCAT_HOME/webapps/ROOT) then i can't load it. |
15:00.12 | aje | tomcat goes crazy -- and the application is not loaded. |
15:00.27 | aje | i can fix the port part. |
15:00.46 | MHSL | aje, rename meeho.war to ROOT.war |
15:01.06 | MHSL | aje, you really need to read tomcat documentation more |
15:01.28 | bwr | Hi, I am trying to configure the JNDIRealm on tomcat to just connect with the user and password that the user enters and determine if it is a valid user if the bind is successful. I am trying to configure the manager app to use the JNDIRealm to test wether i have the JNDIrealm setup correctly. But I don't really understand either how to setup the JNDIRealm or how to change the manager app to use the JNDIRealm. There is also an issue that the manager app is looking |
15:01.29 | Sebboh | I've never tried moving a 'context' (that's what a webapp is called) while it's running. Have you checked out the manager interface? http://localhost:8080/manager/html you'll have to configure a password. (If you view that location, it will give you directions on how to do that.) |
15:02.57 | MHSL | there is no need to do that, just rename the war file to ROOT.war |
15:03.10 | MHSL | then your context path for your webapp should become / |
15:03.28 | MHSL | hence you should be able to access it via http://localhost (assuming the port 80 has been configured) |
15:03.59 | aje | then it stalls :/ |
15:04.04 | MHSL | bwr, what issue? your message was cut off |
15:04.11 | bwr | oh |
15:04.14 | MHSL | aje, don't rename the directory, but rename the war file, and check the log |
15:04.14 | aje | if i deploy the application using meeho.war it loads perfectly. |
15:04.23 | bwr | There is also an issue that the manager app is looking for a "manager" role and I don't care about roles. Any assistance anyone can provide would be much appreciated. |
15:04.27 | bwr | sorry. |
15:04.32 | Sebboh | No need for what? To undeploy the other copy of his app? ... |
15:04.33 | MHSL | aje, do you have an existing ROOT directory on the same directory where you deploy your war file? |
15:04.42 | aje | nope, i renamed that dir. |
15:05.14 | MHSL | aje, ok, so you renamed ROOT to something else, and you renamed your meeho.war to ROOT.war? |
15:05.19 | aje | yep. |
15:05.36 | aje | Sep 11, 2008 5:05:22 PM org.apache.catalina.core.StandardWrapperValve invoke |
15:05.36 | aje | SEVERE: Servlet.service() for servlet default threw exception |
15:05.36 | aje | java.lang.OutOfMemoryError: Java heap space |
15:05.37 | MHSL | aje, and please post your log, cant really say anything just by seeing you said "stall" |
15:05.55 | MHSL | aje, restart tomcat |
15:06.48 | MHSL | bwr, to be able to access the manager webapp, you need a manager role in your tomcat-user.xml and assign a user to that manager role, otherwise you cant access the manager webapp |
15:07.47 | MHSL | bwr, you may also want to read this page http://tomcat.apache.org/tomcat-6.0-doc/config/realm.html |
15:08.05 | bwr | MHSL: I am trying to make the manager app use the JNDIRealm instead |
15:08.16 | bwr | I want to remove the role requirement |
15:08.23 | bwr | I only want it to check for a valid user |
15:09.08 | MHSL | bwr, then you need to change the manager webapp web.xml |
15:09.09 | bwr | I have been reading the realm-howto at apache |
15:09.29 | *** join/#tomcat seshf (i=kvirc@web.hesgdv.de) |
15:30.16 | bwr | so is it possible to define the user's role in the tomcat-users file and check the user/password using ldap? |
15:55.10 | MHSL | bwr, i dont think you can mix both |
15:57.24 | *** join/#tomcat odin_ (n=dlm@host86-142-13-0.range86-142.btcentralplus.com) |
16:21.19 | *** join/#tomcat Stefan_ (n=Stefan@ppp-93-104-116-188.dynamic.mnet-online.de) |
16:21.34 | *** part/#tomcat Stefan_ (n=Stefan@ppp-93-104-116-188.dynamic.mnet-online.de) |
16:25.53 | *** part/#tomcat rabbit7 (i=rabbit7@stat.siff.org) |
17:01.01 | *** join/#tomcat mesut (n=power@tuxhacker/mesut) |
17:04.30 | *** join/#tomcat Stefan_ (n=Stefan@ppp-93-104-116-188.dynamic.mnet-online.de) |
17:04.50 | *** part/#tomcat Stefan_ (n=Stefan@ppp-93-104-116-188.dynamic.mnet-online.de) |
17:14.24 | *** join/#tomcat xspager (n=chatzill@20151050005.user.veloxzone.com.br) |
17:19.37 | *** join/#tomcat Sebboh (n=hobbes@ip68-13-127-183.om.om.cox.net) |
17:29.41 | *** join/#tomcat kim0 (n=kimoz@41.233.104.156) |
17:32.02 | *** join/#tomcat dogmeat (n=Bob@unaffiliated/dogmeat) |
17:37.15 | *** join/#tomcat p_masho (n=mash@84-45-225-28.no-dns-yet.enta.net) |
17:48.22 | *** join/#tomcat bindaas (n=chatzill@59.94.100.115) |
17:51.37 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
17:56.17 | *** join/#tomcat Necker (n=Necker@0x50c4f3e2.ronxx1.dynamic.dsl.tele.dk) |
17:58.19 | *** join/#tomcat vinse (n=vinse_@208.253.223.146) |
18:00.14 | *** join/#tomcat mesut (n=power@tuxhacker/mesut) |
18:37.09 | *** join/#tomcat squiddle (n=squiddle@pD9E4B316.dip0.t-ipconnect.de) |
19:09.35 | bwr | Ok, I think i am getting close. |
19:12.57 | bwr | I am trying to setup JNDIRealm. This is my setup and the error i am seeing. http://rafb.net/p/8JbH9Q39.html |
19:13.36 | bwr | I am trying to use the "Bind Mode" described http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#JNDIRealm |
19:20.19 | bwr | Any ideas? |
19:29.06 | bwr | Can no one point me in the right direction? :/ |
19:35.23 | *** join/#tomcat yassine_ (n=yassine@p54BB53A5.dip.t-dialin.net) |
19:52.12 | bwr | Sorry, I am on debian testing, with apache tomcat 6.0.18 |
19:52.36 | bwr | java version "1.5.0_16" |
19:56.15 | *** join/#tomcat kim0 (n=kimoz@196.219.88.16) |
20:19.46 | *** part/#tomcat randrew (n=raj@dyn-128-59-53-165.dyn.columbia.edu) |
21:49.12 | *** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl) |
21:50.49 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
21:53.35 | *** join/#tomcat MadHosoi (n=madhosoi@84.76.222.197) |
21:59.27 | *** join/#tomcat mithraic (n=mithraic@dyn-160-39-19-165.dyn.columbia.edu) |
22:10.12 | Hellaenergy | anyone here gziping their catalina.out*'s? |
22:10.21 | Hellaenergy | when rotating? |
22:10.36 | Hellaenergy | or using logrotate? |
22:12.49 | *** join/#tomcat acidjnk (i=acid@pD9509DE0.dip0.t-ipconnect.de) |
22:26.53 | *** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) |
23:34.44 | MHSL | Hellaenergy, use log4j instead, if you use logrotate, you have to restart tomcat when rotating log file, but you can use logrotate or cron job to zip your catalina.out |
23:47.30 | *** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl) |