00:43.16 | *** join/#tomcat nebM0ft (n=ramin@pool-70-23-145-132.ny325.east.verizon.net) |
00:43.20 | nebM0ft | Do I need to download/install anything to get jstl working or tomcat comes with it standard? <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> doesn't seem to work... |
00:59.47 | andyt | need jstl jar. |
01:04.27 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-4f71fd1728ee53b5) |
01:05.26 | pfn | need jstl.jar + standard.jar |
01:13.38 | *** join/#tomcat deepjoy (n=dj@122.167.245.200) |
01:17.09 | deepjoy | TC 6.0.14, jdk1.5.0_14 on CentOs 5, is it possible to cluster (in memory session sharing) tomcat instances balanced by mod_proxy_ajp. I already have multiple ajp clusters with sticky sessions and JVM route configured. |
01:18.09 | deepjoy | I'd be grateful If anybody could point me to any documentation on this if it exists. |
01:23.55 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:34.09 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
02:43.48 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
02:50.06 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
02:55.20 | *** part/#tomcat albert_kam (n=albert_k@222.124.39.108) |
03:38.10 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
04:11.19 | *** join/#tomcat lance107 (n=chatzill@061093246097.ctinets.com) |
04:45.47 | *** join/#tomcat acidjnk (i=acid@p5B3F30DB.dip0.t-ipconnect.de) |
04:58.18 | *** join/#tomcat raar (n=Minority@www.serverslots.com) |
05:27.08 | *** join/#tomcat aadil (i=aadil@penrose.bsdprojects.net) |
05:27.25 | aadil | hello |
05:29.10 | aadil | i am using like 10 instances of Tomcat 5.5.7 on a production server with jre 1.5_0_03 and i am wondering how to calculate the memory consumption of each tomcat |
05:29.56 | aadil | and if needed want to limit each instance of tomcat to 128Mb of RAM |
05:30.27 | aadil | can anyone point me in the right direction to identify the memory consumption and to modify it? |
05:32.37 | aadil | arfg |
05:32.42 | aadil | found it |
05:33.07 | aadil | java -X options to set the limit |
05:37.11 | pfn | 10 instances? why? |
05:38.38 | aadil | coz the customer has very big and important apps running on each |
05:38.51 | aadil | and info sensitive |
05:44.40 | aadil | well thanks folks |
05:44.48 | aadil | i got what i needed |
05:44.50 | aadil | cheers |
06:02.53 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
07:55.53 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
08:00.38 | *** join/#tomcat Hider (n=hider@88.250.232.61) |
08:01.41 | Hider | Hell All, I would ask you just one question: "How can I set the default webapp in tomcat 6.0, currently webapps/ROOT is the default I would want to change it to webapps/XYZ |
08:06.59 | *** join/#tomcat memoryleak2 (n=memoryle@195.141.78.162) |
08:16.51 | *** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl) |
09:11.25 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
09:11.46 | *** part/#tomcat albert_kam (n=albert_k@222.124.39.108) |
09:12.45 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
09:59.25 | *** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net) |
10:37.32 | *** join/#tomcat MarineW (n=Miranda@77.198.107.13) |
10:39.00 | MarineW | Hello |
10:39.14 | MarineW | I have a problem with LDAP authentication (JNDIRealm) |
10:39.51 | MarineW | I am able to login that way, but I can't retrieve roles that I entered in LDAP user entry |
10:40.48 | MarineW | Here is a part of the server.xml : |
10:40.50 | MarineW | <PROTECTED> |
10:40.50 | MarineW | <PROTECTED> |
10:40.50 | MarineW | <PROTECTED> |
10:40.50 | MarineW | <PROTECTED> |
10:41.03 | MarineW | Any idea about my problem, please ? |
10:41.13 | MarineW | Did I miss something ? |
10:43.48 | MarineW | Sorry, I forgot to tell... I work with Tomcat 5.5.20, Windows XP and JDK 1.6.0_02 |
10:58.14 | *** join/#tomcat Oliber_ (i=oliver@sparks.from.the.cattleprod.co.uk) |
10:59.22 | MarineW | I have been searching for hours... and I still can't make it work. Any help please ? |
11:00.14 | Oliber_ | i'm trying to implement IIS6/Tomcat, first question, should i be using jk or jk2? (i saw jk2 is depreciated somewhere...) |
11:00.24 | MarineW | I can't see anything in log files, I can't find people having same problem in Google search... |
11:09.06 | Oliber_ | i missed your problem, MarineW :( |
11:15.57 | MarineW | Oliber_: Thanks for your interest. My problem is about LDAP authentification through JNDIRealm |
11:16.39 | MarineW | I'm able to connect, but I have then an "access denied" message, because roles are not retrieved from LDAP entry |
11:16.50 | Oliber_ | i'm about to do that for use with shibboleth, i'm a bit of a tomcat newb :( |
11:17.13 | MarineW | Oliber_: ok. Thanks ! |
11:17.51 | MarineW | Oliber_: Sorry, I also can't help you... And I feel we won't have lot of help... :( |
11:17.52 | Oliber_ | could you paste your JNDIRealm configuration to a pastebin? (remember to remove passwords), another pair of eyes might help |
11:19.07 | MarineW | <PROTECTED> |
11:19.07 | MarineW | <PROTECTED> |
11:19.07 | MarineW | <PROTECTED> |
11:19.07 | MarineW | <PROTECTED> |
11:25.52 | MarineW | ok, I think I found the problem. |
11:26.26 | MarineW | It seems Tomcat had sufficient rights to get authenticatation informations, but not roles informations in LDAP directory. |
11:26.54 | MarineW | I added connectionName and connectionPassword, and it now working :-) |
11:26.55 | Oliber_ | http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/realm/JNDIRealm.html and there is a guide here, http://cymulacrum.net/writings/adv_tomcat/c487.html |
11:27.37 | MarineW | Oliber_: Thanks for your help |
11:27.57 | Oliber_ | it wasn't much help, but np :) |
11:46.12 | *** join/#tomcat MAZZOLA (n=chatzill@213-140-24-73.ip.fastwebnet.it) |
11:46.36 | roberto | hi |
11:47.50 | robertoroberto | hi |
11:48.22 | robertoroberto | I need to send a message (an html page.. or a simple alert) to each users connected to the system (also in a cluster env). |
11:48.23 | robertoroberto | For example because the sys admin needs to comunicate that the system need to be offline from 10:00 AM to 3:00PM.. |
11:48.25 | robertoroberto | So i need to send this message to all live http session .. |
11:48.27 | robertoroberto | There is a way to do it ? |
11:48.29 | robertoroberto | The better solution is an web container independent way... of course.. |
11:48.30 | robertoroberto | Thank you (I'm using tomcat 6.0.14 on windows platform 32 bit) |
11:51.11 | Oliber_ | no problem, i was glad to help |
11:52.12 | deebo | add the info to all existing sessions |
12:16.05 | *** join/#tomcat npm (n=npm@cpe-75-83-171-237.socal.res.rr.com) |
12:19.02 | *** join/#tomcat [Gandhi] (n=hellboy@208.50.70.1) |
12:26.20 | *** part/#tomcat albert_kam (n=albert_k@222.124.39.108) |
12:30.39 | *** join/#tomcat fba (n=fba@mail.veronamoveis.com.br) |
12:31.00 | fba | hello |
12:57.24 | robertoroberto | deebo... the message "add all info... " was for my question ? if yes.. i don't know what kind of info I need to add... |
12:57.46 | deebo | robertoroberto: well whatever you want to? |
12:58.03 | robertoroberto | I need to send a message (an html page.. or a simple alert) to each users connected to the system (also in a cluster env). |
12:58.04 | robertoroberto | For example because the sys admin needs to comunicate that the system need to be offline from 10:00 AM to 3:00PM.. |
12:58.06 | robertoroberto | So i need to send this message to all live http session .. |
12:58.07 | robertoroberto | There is a way to do it ? |
12:58.09 | robertoroberto | The better solution is an web container independent way... of course.. |
12:58.10 | robertoroberto | Thank you (I'm using tomcat 6.0.14 on windows platform 32 bit) |
12:58.24 | deebo | a string that says "system will reboot at 3am", then make your app show it on the page when the user views a page next time |
12:58.39 | deebo | then if the session param exists -> show string |
13:00.38 | robertoroberto | a good idea.. ty. But there is another way ? I have a big applcation (is an ERP system) with a log of JSP/servlet.. I would like to find something that send a new http page from the server to all active http session... but I believe is not possible. You idea in every case is good. ty |
13:01.34 | robertoroberto | (and sometime I cannot change JSP/Servlet because they are provided from a software house..) |
13:32.44 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-f73cc45682e6463f) |
13:34.46 | *** join/#tomcat alk^ttn (n=cc@87-194-94-237.bethere.co.uk) |
13:51.26 | *** part/#tomcat fba (n=fba@mail.veronamoveis.com.br) |
13:58.23 | *** join/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |
14:01.40 | *** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
15:20.32 | deebo | robertoroberto: you can add a filter that does these checks for you, and if a reboot/downtime is coming, its shows a page for some time and the redirects to the real page |
15:50.13 | robertoroberto | Hi Deebo! this idea is very wonderful! I like it! thank you very much!!! |
15:58.39 | *** join/#tomcat npm (n=npm@cpe-75-83-171-237.socal.res.rr.com) |
16:02.56 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
16:06.23 | *** join/#tomcat deepjoy (n=dj@122.167.245.200) |
16:07.10 | *** part/#tomcat Sembiance (n=Sembianc@permafrost.telparia.com) |
16:07.38 | *** join/#tomcat brilliantnut (n=brillian@122.167.245.200) |
16:07.41 | deepjoy | Hi is there a channel log that I can see somewhere? |
16:10.30 | brilliantnut | !help |
16:15.38 | *** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net) |
16:15.49 | *** join/#tomcat kab (n=abarrera@nat.ti.uach.mx) |
16:23.16 | *** part/#tomcat deepjoy (n=dj@122.167.245.200) |
16:34.49 | *** join/#tomcat mgolisch (n=michi@85.93.11.18) |
16:36.26 | *** part/#tomcat ralfWORK (i=jwalker@flynn.smearcampaign.org) |
16:36.27 | mgolisch | anyone knows howto cast a PreparedStatement to its specific type? like casting the PreparedStatement to OraclePreparedStatement so i can use the setexecutebatch method to set a batch size for my mass inserts |
16:39.04 | mgolisch | i allways get an error i guess cause the connection is aquired from tomcats connection pool |
16:39.33 | mgolisch | java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement |
16:39.38 | mgolisch | thats what i allways get |
16:40.03 | mgolisch | how can i get access to the Statement so i can cast it to the required Type |
16:49.50 | pfn | mgolisch, check the apidoc on delegatingprepared... |
17:02.04 | *** join/#tomcat davidflam (i=c91183c8@gateway/web/ajax/mibbit.com/x-b9edad60e4754ae1) |
17:05.01 | davidflam | Hello, i'm running tomcat 4.1.36 with java 1.6 and ubuntu 7.10. My question is: How can i make the server run with a different JDK from $JAVA_HOME ? Currently it is set to Java 6, but i want to run it with java 1.4 without changing $JAVA_HOME, is it possible? How? |
17:14.39 | Oliber_ | davidflam: i'd suggest looking at your tomcat startup script |
17:15.30 | Oliber_ | you could set JAVA_HOME in there, i havn't used tomcat much at all (and only on Windies so far) |
17:28.46 | davidflam | i tried setting on catalina.sh using export JAVA_HOME=/myway/... |
17:30.49 | davidflam | but i dont know if its running with 1.4 jdk |
17:35.55 | pfn | then it is |
17:36.02 | pfn | or write a test jsp that retrieves java.version |
17:38.10 | *** join/#tomcat ralfWORK (i=jwalker@flynn.smearcampaign.org) |
17:38.37 | ralfWORK | perhaps a silly question for this channel |
17:38.55 | ralfWORK | but I'm running OpenReports on Tomcat. The OS is FreeBSD |
17:39.19 | ralfWORK | I'm trying to pin down Tomcat's memory usage so I can possibly use a web host with a lower amount of RAM |
17:39.40 | ralfWORK | Top says the SIZE is 1163MB and the RES is 180M |
17:48.07 | Oliber_ | are there any JNDI/LDAP experts around? i'm trying to get a sucessful bind to activedirectory (config in server.xml) |
17:49.01 | Oliber_ | the error i get is "n order to perform this operation a successful bind must be completed on the connection". Tomcat 5.5.15 on Server 2003 R2 (32bit) with IIS6 and the isapi 1.2.26 module (iirc, latest build anyway) |
17:50.52 | randrewj | ralfWORK: decreasing ram may have a difficult to predict impact on jvm performance. if you could run your OS and app in a VM you could test with different amounts of RAM. |
17:52.03 | ralfWORK | randrewj: blech. k |
17:52.12 | ralfWORK | sometimes I love java |
17:52.15 | ralfWORK | mostly I hate it ;) |
17:52.30 | Oliber_ | i havn't found many reasons to love it yet :( |
17:52.37 | ralfWORK | hehehe |
17:52.47 | randrewj | heh, jvm loves ram |
17:53.09 | randrewj | jruby is a reason to love java, uhh... maybe. |
17:55.04 | ralfWORK | this server is some Verio VPS |
17:55.13 | Oliber_ | randrewj: i don't suppose you'd be able to point me in the right direction for my prob? :) |
17:55.19 | ralfWORK | probably won't be able to trim down memory on this bad boy |
17:55.22 | ralfWORK | kinda retarded |
17:56.10 | Oliber_ | on the windows service control, there is maximum memory pool, i don't know if you could use that for shrink testing |
17:56.22 | ralfWORK | hmmm k |
18:25.29 | *** join/#tomcat lgbr (n=lgbr@CPE-76-178-156-70.natnow.res.rr.com) |
18:28.48 | *** join/#tomcat fix (n=fix@86.39.152.5) |
18:33.04 | *** join/#tomcat ngong (n=ngong@home.august.de) |
18:37.49 | *** join/#tomcat gregor_k (n=a@stgt-4dbdae7c.pool.einsundeins.de) |
18:38.24 | *** join/#tomcat Ubuntu8_PHP6 (n=Ubuntu8_@189.13.215.61) |
18:38.47 | *** part/#tomcat Ubuntu8_PHP6 (n=Ubuntu8_@189.13.215.61) |
18:40.02 | lgbr | I have tomcat and apache linked together with mod_jk. I'd like to use JSP files to do some simple things like including header pages and such for files that are in my apache root. What's the best way to get this done? Symlinks don't seem to work |
18:41.14 | *** join/#tomcat a4akba (n=a4akb@62.215.156.215) |
18:41.24 | a4akba | hui |
19:20.29 | *** part/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |
19:32.58 | *** join/#tomcat anisfarhana (n=anis@pdpc/supporter/base/anisfarhana) |
19:33.03 | anisfarhana | greetings |
19:33.14 | anisfarhana | i have installed tomcat5 on my system (fedora 7) via yum , and start the service , when i open http://localhost:8080 it's show me blank page instead of tomcat welcome page , what's wrong ? |
19:34.28 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
19:49.55 | *** join/#tomcat Internat (n=nf@dsl-58-6-125-95.qld.westnet.com.au) |
19:51.11 | *** join/#tomcat rikkor (n=ulk@209.45.74.205) |
20:06.13 | *** join/#tomcat nebM0ft (n=ramin@69-38-230-2.ny.towerstream.net) |
20:06.29 | nebM0ft | is there any way to compile and run servlets withouth restarting tomcat everytime? |
20:15.08 | lgbr | nebM0ft: Put the war file in your webapps folder and tomcat will unpack it |
20:16.33 | nebM0ft | lgbr: well i just have a directory in webapps that i am working on, haven't compressed it yet. |
20:17.37 | *** join/#tomcat vinse (n=vinse_@208.253.223.146) |
20:21.51 | nebM0ft | lgbr: anyway to automatically reload servlets? |
20:24.08 | mgolisch | cant you reload the servlet via the manager app? |
20:25.46 | anisfarhana | anyone can help me on my problem ? please |
20:27.23 | ^Quiddity | anisfarhana, any relevant information in the log files? |
20:28.12 | anisfarhana | tomcat5 log or httpd log files ? |
20:29.41 | ^Quiddity | well, considering you're accessing via the tomcat port, the tomcat logs |
20:31.18 | anisfarhana | that is my problem sir |
20:31.38 | anisfarhana | the port is 8080 by default , when i enter localhost:8080 it shows me blank page |
20:32.04 | anisfarhana | i even don't know where is tomcat log files located on my system |
20:37.47 | anisfarhana | Jan 24, 2008 4:00:58 AM org.apache.coyote.http11.Http11BaseProtocol pause |
20:37.48 | anisfarhana | INFO: Pausing Coyote HTTP/1.1 on http-8080 |
20:37.56 | anisfarhana | pause ? |
20:52.23 | *** join/#tomcat prgrmr (n=prgrmr@bzq-79-176-149-115.red.bezeqint.net) |
20:58.05 | anisfarhana | success!!!!! |
20:58.06 | anisfarhana | :D |
20:58.23 | *** part/#tomcat ralfWORK (i=jwalker@flynn.smearcampaign.org) |
21:09.27 | *** join/#tomcat tlrobinson (n=tlrobins@c-24-7-122-97.hsd1.ca.comcast.net) |
21:12.14 | *** join/#tomcat notyou (n=notyou@itsdhcp111.its.uwf.edu) |
21:15.14 | notyou | tomcat ver 5.5.25, java ver 1.6.0_03, OS ver rhel5.1, I need to log a parameter in the http headers how do I add this to tomcats logging , I am not proxying through apache. |
21:18.50 | tlrobinson | is there any way to find out which library a class is being loaded from? |
21:22.31 | pfn | not particularly, no |
21:22.36 | pfn | java -verbose, perhaps |
21:24.48 | tlrobinson | how would i get -verbose in a servlet in tomcat? |
21:33.13 | pfn | not with a particular servlet |
21:33.19 | pfn | you'd do it with the entire jvm |
21:33.42 | pfn | alternatively, you might try to inspect the class' classloader to see if you can glean any info off that |
21:39.53 | ngong | tried to bring up Tomcat 5.5.25-5 on Debian linux 2.6.23.14 with sun-java5-jdk. no success even with simple sample.war. Found bug=460839. The patch did not work for me (however, I'm not used inserting patches but this one seems to be simple, just 4 lines at the end of 04webapps.policy). Got back to 5.5.20. That is working. Took me two nights. How to warn the Debian community about that? 5.5.25-5 is declared to be testing, not unstable or experimental! And you |
21:55.05 | *** join/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |
22:13.02 | *** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.mn.comcast.net) |
22:41.11 | *** part/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |
23:58.14 | *** join/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com) |