00:02.55 | jasonb | snickers |
00:15.07 | *** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com) |
00:45.05 | *** join/#tomcat melter (n=melter@dyn185.morrill-116.ndsu.NoDak.edu) |
00:49.11 | *** join/#tomcat deebo (n=deebo@stonebay32.com) [NETSPLIT VICTIM] |
01:02.45 | *** join/#tomcat clovisw (n=Clovis@189.26.169.199.adsl.gvt.net.br) |
01:19.24 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:54.45 | *** join/#tomcat vodkatonic (n=vodkaton@97-86-161-122.static.stls.mo.charter.com) |
02:09.04 | *** join/#tomcat dr0pknutz (n=dr0pknut@121-73-165-238.dsl.telstraclear.net) |
02:27.35 | *** part/#tomcat Vegarn (n=ask@084202062228.customer.alfanett.no) |
02:27.44 | *** join/#tomcat Vegarn (n=ask@084202062228.customer.alfanett.no) |
02:28.31 | *** part/#tomcat Vegarn (n=ask@084202062228.customer.alfanett.no) |
02:28.38 | *** join/#tomcat Vegarn (n=ask@084202062228.customer.alfanett.no) |
02:29.17 | *** part/#tomcat Vegarn (n=ask@084202062228.customer.alfanett.no) |
02:32.10 | *** join/#tomcat Vegarn (n=ask@084202062228.customer.alfanett.no) |
02:33.18 | Vegarn | does tomcat ever reload the truststore? |
02:33.48 | Vegarn | i would hate to restart the server every time i add a new user certificate to trust |
02:34.12 | *** join/#tomcat lkthomas (n=lkthomas@218.189.175.14) |
02:34.13 | lkthomas | hey guys |
02:34.21 | lkthomas | why tomcat need to relies on apache ? |
02:34.21 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
02:34.54 | Vegarn | the group or the httpd? |
02:35.08 | lkthomas | httpd |
02:35.32 | Vegarn | it doesn't |
02:35.51 | Vegarn | it works excellent as a standalone web server |
02:35.54 | lkthomas | so what's diff between tomcat apache and tomcat |
02:36.15 | Vegarn | tomcat apache == tomcat |
02:36.28 | lkthomas | oh, same thing ? |
02:36.38 | lkthomas | and why tomcat can not run fastcgi mode ? |
02:36.54 | Vegarn | the difference between apache/apache2 httpd and tomcat is that tomcat is a servlet container |
02:37.04 | Vegarn | it can run java web applications |
02:37.16 | lkthomas | hmm |
02:37.40 | Vegarn | it is possible to use tomcat in conjunction with apache2 |
02:37.57 | Vegarn | read up on http://tomcat.apache.org |
02:38.00 | lkthomas | only if you are running multiple language |
02:38.11 | lkthomas | or tomcat will serve good alone |
02:38.25 | Vegarn | i use tomcat standalone |
02:38.48 | lkthomas | if you want to use JSP only, yes |
02:39.02 | Vegarn | it serves static html files fine as well |
02:39.32 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
02:39.35 | Vegarn | but tomcat only support java and jsp as far as i know, yes |
02:39.37 | Vegarn | no php |
02:39.43 | lkthomas | yep |
02:40.26 | lkthomas | actually |
02:40.39 | lkthomas | JSP gave me an impression, slow |
02:43.20 | Vegarn | well, servlets and jsp beats php any day as far as i'm concerned |
02:44.22 | Vegarn | the tools and frameworks to build scalable and robust web applications is the best i've seen |
02:44.33 | lkthomas | hmm |
02:44.41 | lkthomas | I also heard JSP run faster on SPARC machine |
02:45.15 | Vegarn | if you're doing numerical approximations, use c |
02:45.27 | lkthomas | huh |
03:02.11 | lkthomas | you mean C for native application than php and jsp ? |
03:50.58 | *** join/#tomcat acidjnk (n=have@pD9508E9B.dip0.t-ipconnect.de) |
05:33.30 | *** join/#tomcat a4akba (n=a4akb@62.215.156.215) |
05:42.46 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:45.11 | *** join/#tomcat clajo05 (n=clajo04@135.sub-75-223-29.myvzw.com) |
07:05.09 | *** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
07:08.05 | *** part/#tomcat yassine (n=yassine@unaffiliated/yassine) |
07:12.46 | *** join/#tomcat mauriez (n=maui@xs7.xs4all.nl) |
07:51.17 | *** join/#tomcat DNC1 (n=david@mail.ratedpeople.com) |
07:52.10 | DNC1 | Hey anyone used JAAS on TC 6.0.16 - I need to let a user join the site then "fake" their login into the site having joined as it were. |
07:52.51 | DNC1 | I'm guessing a request valve which listens for a magic URL which then sends them via the j_security_check to get them authenticated |
07:53.00 | DNC1 | anyone got any better ideas ? |
08:00.32 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-79-167.dsl.emhril.ameritech.net) |
08:03.22 | *** join/#tomcat durre (n=sdf@18.175.241.83.in-addr.dgcsystems.net) |
08:05.31 | durre | I have a very very unfortunate bug in my code that became obvious after a tomcat upgrade. and I was hoping there was a magic setting in tomcat that could help me. it goes like this... |
08:07.19 | durre | I have a file called init_editor.jsp ... that contains one <%@page import="se.atrox.atroxweb.web.WebUtils"%> .. and then a javascript. the file is included like this: <script type="text/javascript" src="/htmlscript/init_editor.jsp"></script>... this gives error |
08:08.11 | durre | the import is the one causing the error. Only a type can be imported. se.atrox.atroxweb.web.WebUtils resolves to a package |
08:08.56 | durre | I know howto fix the problem but it's present at 200 different sites and I want to buy some time :) |
08:10.18 | deebo | you might have wanted to actually test before updating 200 sites with a new tomcat :P |
08:10.46 | durre | we use a webhotel and they will upgrade tomorrow |
08:23.57 | *** join/#tomcat sveajobb (n=tommy@83.233.28.240) |
09:09.40 | *** part/#tomcat DNC1 (n=david@mail.ratedpeople.com) |
09:14.07 | *** join/#tomcat durre (n=sdf@18.175.241.83.in-addr.dgcsystems.net) |
09:17.10 | *** join/#tomcat tommy_ (n=tommy@83.233.28.240) |
09:17.44 | *** join/#tomcat Slap_Stick (n=jons@194.242.136.146) |
09:18.32 | Slap_Stick | hey, i have just installed tomcat using yum which has installed java-1.4.2-gcj-compat however i want to use jdk-1.5.0 i've installed jdk-1.5.0 but how do i make sure that jakarta uses that path as appose to the jvm of 1.4.2? |
09:33.36 | *** join/#tomcat DNC1 (n=david@mail.ratedpeople.com) |
09:35.06 | *** join/#tomcat tommy__ (n=tommy@83.233.28.240) |
09:52.34 | *** join/#tomcat Ksz (n=Heaven@abug117.neoplus.adsl.tpnet.pl) |
09:52.37 | Ksz | hello |
09:52.42 | Ksz | Exception in thread "TP-Processor16" java.lang.OutOfMemoryError: PermGen space |
09:52.49 | Ksz | To set a new initial size on Sun JVM use the -XX:PermSize=64m |
09:52.51 | Ksz | how to se tit? |
09:52.52 | Ksz | it |
09:53.34 | *** join/#tomcat soufi (n=chatzill@196.219.65.74) |
09:56.33 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-b07f8832ebc4fb16) |
09:59.30 | DNC1 | Ksz : Get lamdba probe |
09:59.38 | DNC1 | it lets you watch the memory in real time |
09:59.48 | DNC1 | Or use jconsole |
10:01.04 | Ksz | how to add JVM options tomcat? |
10:01.05 | DNC1 | If anyone out there is working on Lambda probe |
10:01.10 | DNC1 | At |
10:01.12 | DNC1 | Ah .... |
10:01.20 | DNC1 | find the setenv.sh script |
10:01.22 | Ksz | i need to add -XX:PermSize=128mb |
10:01.25 | Ksz | ok |
10:01.31 | DNC1 | (you may need to create it in the bin directory ) |
10:01.38 | Ksz | server:/usr/local/tomcat# find /usr/local/tomcat -name setenv.sh |
10:01.38 | Ksz | server:/usr/local/tomcat# |
10:01.39 | DNC1 | make it a working shell script |
10:01.41 | DNC1 | and |
10:01.53 | Ksz | im starting tomcat by /usr/local/tomcat/bin/startup.sh |
10:02.00 | DNC1 | export JAVA_OPTS="$JAVA_OPTS -XX:PermSize=128Mb " |
10:02.09 | DNC1 | Yes that calls catalina.sh |
10:02.10 | Ksz | <PROTECTED> |
10:02.11 | Ksz | i see |
10:02.16 | DNC1 | which then sources setenv.sh |
10:02.22 | DNC1 | If you put things into setenv.sh |
10:02.28 | DNC1 | then you know where all your settings are |
10:02.37 | DNC1 | and you know exactly whats happening |
10:02.53 | Ksz | if [ -r "$CATALINA_HOME"/bin/setenv.sh ]; then right |
10:03.00 | DNC1 | Thats the one. |
10:03.05 | Ksz | ok what to put into setenv.sh? |
10:03.12 | DNC1 | export JAVA_OPTS="$JAVA_OPTS -XX:PermSize=128Mb " |
10:04.08 | Ksz | done, going to restart |
10:04.28 | Ksz | not started :) |
10:04.29 | DNC1 | make sure its executable ;-) |
10:04.40 | Ksz | Unrecognized VM option 'PermSize=128Mb' |
10:04.40 | Ksz | Could not create the Java virtual machine. |
10:04.43 | Ksz | HMM |
10:04.56 | DNC1 | you have the -XX : bit ? |
10:05.07 | Ksz | ok i know , it should be PermSize=128m |
10:05.09 | Ksz | not mb |
10:05.49 | Ksz | . /usr/local/java/bin/java -XX:PermSize=128m -Xms1024m -Xmx1024m... ok |
10:06.23 | DNC1 | Yes but if you set export JAVA_OPTS=" ..." in the setenv.sh it will get passed in correctly |
10:07.22 | tommy__ | Aaah.. now it has happened twice. I can connect to tomcat via lynx http://adoperator.com:8080 but not via :80 (goes through apache mod-jk) and no database connections are alive or can be instantiated. |
10:07.31 | tommy__ | What could possibly be the reason for this? |
10:07.50 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-73-108.dsl.emhril.ameritech.net) |
10:08.29 | Ksz | but |
10:08.46 | Ksz | i thing that maximum amount for XX:PermSize is 64m |
10:08.51 | Ksz | look at this http://www.freshblurbs.com/explaining-java-lang-outofmemoryerror-permgen-space |
10:09.07 | Ksz | at the table, Maximum Size |
10:13.23 | *** join/#tomcat duritz (n=sdf@18.175.241.83.in-addr.dgcsystems.net) |
10:13.29 | DNC1 | I'm sure I've made it much larger |
10:13.33 | DNC1 | java 1.6 ? |
10:15.28 | *** join/#tomcat INternat (n=nf@123-243-184-161.static.tpgi.com.au) |
10:22.26 | *** part/#tomcat Slap_Stick (n=jons@194.242.136.146) |
10:32.04 | *** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net) |
10:32.22 | Ksz | 1.5 |
10:32.45 | Ksz | mayby this guy was wrong on the page i pasted |
10:34.41 | DNC1 | when you start it what does it say ? |
10:35.08 | DNC1 | show me the line in the setenv.sh |
10:37.42 | Ksz | server:/usr/local/tomcat/bin# cat setenv.sh |
10:37.42 | Ksz | JAVA_OPTS="$JAVA_OPTS -XX:PermSize=128m" |
10:37.52 | Ksz | tomcat started wit this added option |
10:39.01 | DNC1 | It did start with that ? |
10:39.03 | DNC1 | good :) |
10:39.03 | Ksz | btw is any way to check out which contect, which servlet use how much amount of ram/ |
10:39.11 | Ksz | context* |
10:39.14 | DNC1 | Not that I know of. |
10:39.25 | DNC1 | the only way i guess that would be easy |
10:39.32 | Ksz | how |
10:39.37 | DNC1 | is to only deploy the ones you want to weigh :) |
10:48.37 | *** part/#tomcat Vegarn (n=ask@084202062228.customer.alfanett.no) |
11:11.48 | Ksz | :) |
11:13.35 | DNC1 | its a bit of a simplistic way |
11:13.36 | DNC1 | but ... |
11:17.57 | acidjnk | All common profilers can find out how much memory the instances of a particular class (like a Servlet) use. The common commercial ones also provide tons of extra info that is Servlet related, but I don't know if they can display memory per context information. |
11:18.36 | acidjnk | hprof is included in the JDK. The common commercial ones are jprofiler and http://yourkit.com/ |
11:19.16 | acidjnk | Recently I heard about this free thing, which includes some profiler features as a side effect: https://visualvm.dev.java.net/ |
11:22.27 | DNC1 | Ah yes! |
11:22.33 | DNC1 | yes a profiler would do it. |
11:22.53 | DNC1 | I've got the profiler in netbeans which seems to be quite nice. |
11:23.36 | DNC1 | Although if you want to see it on a running system - production - i'd install lambda probe |
12:26.06 | *** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com) |
12:27.54 | *** join/#tomcat deepjoy (n=dj@122.167.244.121) |
12:28.55 | *** join/#tomcat tommy_ (n=tommy@83.233.28.240) |
12:29.56 | *** part/#tomcat clajo04_ (n=clajo04_@cpe-72-229-214-63.nyc.res.rr.com) |
13:02.23 | deepjoy | Hi I'v just set up a SimpleTCPCluster on Centos 5 kernel 2.6.18-53.1.14.el5 JDK/JRE 1.5.0_14 Apache Tomcat/6.0.14. |
13:02.34 | deepjoy | the documentation at http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html says |
13:02.47 | deepjoy | "works great for smaller cluster but we don't recommend it for larger clusters" |
13:03.01 | deepjoy | what is a smaller cluster in terms of machines |
13:03.45 | deepjoy | I have 6 machines with an avg of 400 sessions on each without clustering behind mod_proxy_balancer |
13:04.20 | *** join/#tomcat Infinito_ (n=argos@201-10-163-163.gnace701.dsl.brasiltelecom.net.br) |
13:11.23 | *** join/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |
13:40.40 | *** join/#tomcat kjetilkWork (n=nnnnnnnn@news.computas.com) |
13:42.01 | kjetilkWork | Tomcat 5.5.25-5ubuntu1, Java 1.5.0, Ubuntu 8.04 |
13:43.17 | kjetilkWork | has anybody used Varnish as a reverse proxy with Tomcat, mapping different hostnames, foo.example.com, bar.example.com to backend:8180/foo backend:8180/bar? |
13:44.20 | *** join/#tomcat lkthomas_ (n=lkthomas@218.189.175.14) |
14:29.36 | deepjoy | balancermember takes multiple key=value kind of arguments |
14:30.03 | deepjoy | is there any way to make it " key1=value1 OR key2=value2" |
14:41.02 | deepjoy | apparently not the stickysessionn is hard coded to see only the route parameter |
14:41.18 | deepjoy | and the route parameter is strored as a "char *" |
14:42.09 | deepjoy | so I need to set another cookie to determine the first level cluster |
14:43.20 | deepjoy | or maybe design the jvmsession to have 2 parts in it's jvmroute the suffix for the cluster and the prefix for the node |
14:51.22 | deepjoy | nope that would not work either |
14:51.47 | deepjoy | mod_proxy_balancer.c:201 strcmp(worker->s->route, route) == 0) |
15:03.26 | deepjoy | so I have to set a cookie from somewhere :-( |
15:09.05 | *** join/#tomcat tommy_ (n=tommy@83.233.28.240) |
15:13.10 | *** join/#tomcat traza (n=traza@sistemas.uis.edu.co) |
15:24.02 | *** part/#tomcat deepjoy (n=dj@122.167.244.121) |
15:34.06 | *** join/#tomcat crackintosh (n=crackint@70.88.73.93) |
15:38.54 | crackintosh | Hello, I am on tomcat 5.5. After putting a war into my webapps directory, my other application running on tomcat will not run either. I am getting errors in catalina.out "Exception loading sessions from persistent storage" and "Error configuring application listener of class com.fsrin.menumine.common.MenuMineContextListener" Could someone suggest what the problem might be? I would like to have both of these applications running at the same time. |
16:07.31 | *** join/#tomcat Quiddity (n=steve@ng1.cptxoffice.net) |
16:38.39 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
16:42.10 | *** join/#tomcat vaix (n=jmarquar@67.109.145.67.ptr.us.xo.net) |
16:42.58 | vaix | anyone know how to fix the following mod_proxy_ajp error: "ajp_send_header: ajp_ilink_send failed\nBroken pipe: proxy: AJP: request failed to <IP>" ?? |
16:54.41 | *** join/#tomcat spylloc (n=sizeof@ppp079166086171.dsl.hol.gr) |
16:55.21 | spylloc | good afternoon every1. i am running 5.5.22 (not so sure about the .22 part). |
16:56.03 | spylloc | and it jist won't start. im running debian testing with 2.6.22-3-686 |
16:56.11 | spylloc | could somebody help? |
16:57.39 | spylloc | also have java 1.5 on my system |
17:11.43 | *** join/#tomcat penguinplayer (n=chatzill@75.144.118.193) |
17:46.03 | *** join/#tomcat bougi (n=vag@adsl80-85.kln.forthnet.gr) |
17:46.54 | penguinplayer | anyone familiar with tomcat clustering? |
17:50.53 | bougi | hello. I have tomcat 5.0.27 on win 2003 and I want to do the following thing. I have a site http://foo.site.com/sub1 and I want to move everything under the root, ie http://foo.site.com . What I would like to know is how can I redirect every request. For example if the old link was http://foo.site.com/sub1/sub2/my.pdf I want this to be redirected to http://foo.site.com/sub2/my.pdf . The structure under sub1 will remain the same. We will just put |
17:55.21 | bougi | I just add my java version: 1.6.0_05-b13 |
18:03.08 | *** join/#tomcat DukeDave (n=dave@hq.last.fm) |
18:07.00 | DukeDave | Hey gang, I'm 5.5 / 6.0 / Ubuntu 7.10. My question: |
18:07.00 | DukeDave | I have a class extending HttpServlet, in this I have private field holding an object. However I need each Tomcat thread to hold a unique instance of this this object (created with the thread) rather that sharing one between them all. Currently it's constructed in the init() method. |
18:07.03 | DukeDave | Thanks |
18:12.04 | *** join/#tomcat mauriez (i=maui@xs2.xs4all.nl) |
18:20.34 | *** join/#tomcat sdeboy (n=sdeboy@gw1-cust-comotivsystems-com.ptld.eli.net) |
18:28.02 | *** join/#tomcat clajo04_ (n=clajo04_@cpe-72-229-214-63.nyc.res.rr.com) |
18:43.55 | sdeboy | Java 6, Tomcat 5.5.20: I need to allow access to specific static pages and block access to all other static pages...I can't find this in a FAQ.. any pointers? |
19:11.26 | jasonb | sdeboy: You must write your own servlet Filter to do that.. as part of your webapp. |
19:26.26 | *** join/#tomcat wastrel (n=wastrel@nylug/member/wastrel) |
19:28.01 | wastrel | hi- first pass at setting up mod_jk on centos 5. downloaded mod_jk from http://mirrors.24-7-solutions.net/pub/apache/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.26/i386/mod_jk-1.2.26-httpd-2.2.6.so apache fails to start |
19:28.12 | wastrel | complaining /etc/httpd/modules/mod_jk.so: undefined symbol: ap_get_server_description |
19:28.27 | wastrel | that is all :] |
19:28.51 | pfn | recompile mod_jk |
19:29.04 | pfn | or, if you're using apache 2.2, use mod_proxy_ajp |
19:31.05 | wastrel | ok, i'll take a look at mod_proxy_ajp, thanks. |
20:34.18 | *** join/#tomcat a4akba (n=a4akb@62.215.156.215) |
20:48.04 | *** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com) |
21:27.57 | *** join/#tomcat diLLec (n=dillec@dillec.biz) |
21:29.46 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-73-108.dsl.emhril.ameritech.net) |
21:44.41 | *** part/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |
21:47.27 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
21:47.49 | *** join/#tomcat tobben (n=tobben@ti0159a380-1770.bb.online.no) |
21:48.27 | tobben | Hi. Does Tomcat have any .htaccess-like file/functionality? |
21:52.45 | pfn | no |
21:57.18 | *** join/#tomcat kombucha (n=kombucha@c-67-174-249-33.hsd1.ca.comcast.net) |
21:57.31 | kombucha | i want to not see 'debug' level stuff, like in http://pastebin.com/m5ad65903 |
21:57.43 | kombucha | how do i only log in catalina.out INFO or WARN ? |
22:00.11 | *** join/#tomcat Sardukar (n=Sardukar@82-32-7-235.cable.ubr01.azte.blueyonder.co.uk) |
22:00.13 | Sardukar | Hi all |
22:00.55 | Sardukar | I wish to force content delivery of all pages to UTF-8 |
22:01.07 | Sardukar | How would I go about this? |
22:02.42 | *** join/#tomcat DB42 (n=wy@bzq-219-142-146.static.bezeqint.net) |
22:02.55 | DB42 | i have in a .jsp page a <%@page import="logic.webservice.Register"%> but i can't seem to do new Register() |
22:03.37 | DB42 | Only a type can be imported. logic.webservice.Register resolves to a package any idea ? (Register isn't a packagE) |
22:07.08 | DB42 | anybody? |
22:07.45 | DB42 | nm, foudn the problem |
22:11.58 | *** join/#tomcat shellito (n=shellito@sistemas.uis.edu.co) |
22:15.55 | Sardukar | I wish to force content delivery of all pages to UTF-8 |
22:15.57 | Sardukar | How would I go about this? |
22:48.31 | *** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com) |
23:15.24 | *** join/#tomcat balla (n=balla@adsl-ull-199-43.51-151.net24.it) |
23:34.40 | *** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-73-108.dsl.emhril.ameritech.net) |