00:32.04 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
00:52.29 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
01:17.26 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:45.49 | *** join/#tomcat ilon_ (n=ilon@vizi.se) |
02:36.51 | *** join/#tomcat Mig-O2 (n=mig-o@p5481D8D6.dip.t-dialin.net) |
02:58.31 | *** join/#tomcat ibot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
02:58.31 | *** topic/#tomcat is Stable versions: 6.0.16, 5.5.26 and 4.1.37. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org:8080/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question, including your TC, Java, & OS versions, then wait; check back often for answers... |
03:26.29 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
03:55.48 | *** join/#tomcat cppexpert (n=cppexper@c-98-207-85-93.hsd1.ca.comcast.net) |
04:03.04 | *** join/#tomcat ong (n=alex_g@p549FF366.dip.t-dialin.net) |
04:38.45 | *** join/#tomcat roue (n=roue@71-82-143-236.dhcp.roch.mn.charter.com) |
04:47.40 | *** join/#tomcat acidjnk (n=have@pD9509B6F.dip0.t-ipconnect.de) |
05:14.56 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
06:27.44 | *** join/#tomcat Lynn (n=lynnlee@59.33.28.255) |
06:28.25 | Lynn | is there anyone can help me? |
06:28.33 | uprooter | I can try.. |
06:28.58 | Lynn | I have a problem with jk_mod |
06:29.40 | Lynn | after post big data to server, the connection will hang |
06:31.02 | Lynn | the size of the data is 100M |
06:31.46 | uprooter | Did you check the memory consumption of the server ? |
06:32.07 | Lynn | it is ok, just 60M used |
06:33.10 | Lynn | if I tried to connecting tomcat directly, it is ok |
06:34.42 | Lynn | BTW, I post the data with multi-thread |
06:36.25 | Lynn | one connection with one thread |
06:37.27 | Lynn | the version of apache is 2.2.6 , jk_mod is 1.2.26 , and tomcat is 5.5.12 |
06:38.19 | Lynn | apache with default setting, and just one worker for jk_mod |
06:39.30 | uprooter | sorry..don't have any experience with things like that. maybe someone else ... |
06:40.19 | Lynn | thanks for your answer |
06:40.39 | uprooter | try the mailing list.. |
06:41.17 | uprooter | it will take some time but you will probably get some help. |
06:41.22 | Lynn | I had searched for 2 days, no answer for this problem |
06:41.44 | uprooter | post a new topic. |
06:42.44 | Lynn | ok, thanks, I will try to post a new topic |
06:49.18 | Lynn | btw, the new request was sent to tomcat correctly after hanging, but the jk_mod did not get the response from tomcat, it |
06:49.18 | Lynn | just did not get the response |
06:51.13 | uprooter | maybe it's a session timeout issue.. |
06:52.23 | Lynn | no exception was threw, seems it works ok |
06:53.14 | Lynn | new request can be transfered to tomcat correctly |
07:00.16 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-4c73a2d698e731d6) |
07:16.29 | *** part/#tomcat albert_kam (n=albert_k@222.124.39.108) |
08:16.15 | *** join/#tomcat gregor_k (n=a@stgt-4dbdc358.pool.einsundeins.de) |
09:29.06 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl) |
09:37.59 | *** join/#tomcat ShaunUvTheDead (n=Tao_Te_S@75-166-53-207.hlrn.qwest.net) |
09:49.03 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
10:31.34 | *** join/#tomcat albert_kam (n=albert_k@222.124.39.108) |
10:38.09 | *** join/#tomcat FormicAcid (n=ant@251.9.39-62.rev.gaoland.net) |
10:38.52 | *** part/#tomcat ShaunUvTheDead (n=Tao_Te_S@75-166-53-207.hlrn.qwest.net) |
10:38.55 | FormicAcid | Anyone know how to fix the probleme of CLOSE_WAIT on ajp13 connector under mod_jk -> tomcat? |
10:39.16 | FormicAcid | I see many thread on the net about this subject but no solution |
10:53.51 | *** part/#tomcat albert_kam (n=albert_k@222.124.39.108) |
11:14.41 | *** join/#tomcat PaulEU (n=pawcioos@nat-38.mikolow.net) |
11:44.14 | vanksi | should i run to any problems if i upgraded my os from 32bit to 64bit, webapp wise? using mostly TC 5.5.x |
11:45.01 | vanksi | so what i'm basically asking, does the apps deployed on tomcat care if the tc is ran on 32bit or 64bit system? |
11:46.24 | deebo | if there are problems they are due to the 64bit jre (if in use) |
11:50.59 | MHSL | deebo, no |
11:51.11 | MHSL | deebo, it's transparent from your app |
11:51.26 | deebo | yes, but the possible problems are due to the jre |
11:51.31 | deebo | not the apps themselves |
11:52.02 | MHSL | i still suggest that you use 32bit version of the jre even though you're using 64bit OS |
11:56.14 | FormicAcid | Anyone know how to fix the probleme of CLOSE_WAIT on ajp13 connector under mod_jk -> tomcat? |
11:57.11 | MHSL | FormicAcid, windows? |
11:58.22 | MHSL | FormicAcid, set the socket_timeout in your worker.properties |
11:58.40 | MHSL | FormicAcid, http://tomcat.apache.org/connectors-doc/reference/workers.html |
11:58.50 | FormicAcid | <MHSL> Redhat, the timeout is set but it doesnt fix the prob :( |
11:59.30 | FormicAcid | <MHSL> We tried many kind of timeout so far it seem the socket isn't closed for unknow reason even with timeout |
11:59.57 | FormicAcid | the actual time out value is 20 sec |
12:00.17 | FormicAcid | (20000) after 20 sec none of the socket is getting closed |
12:01.07 | MHSL | FormicAcid, did you try to set connection_pool_timeout? |
12:02.15 | FormicAcid | hmmm let me check |
12:03.46 | FormicAcid | nope let me try it |
12:04.02 | FormicAcid | if it's that i owe a beer ;) |
12:06.10 | FormicAcid | owe *YOU* a beer :P |
12:07.53 | PaulEU | hello! I have problem. I can't do virtual hosts on tomcat. I did it as wrote here: http://www.ex-parrot.com/pete/tomcat-vhost.html |
12:08.09 | MHSL | FormicAcid, good, but i dont drink beer :) |
12:08.28 | PaulEU | I have: tomcat-5.5.26, java-6-sun (ubuntu) |
12:09.07 | MHSL | PaulEU, what's wrong? cant really help by seeing "cant do virtual host on tomcat" |
12:09.59 | PaulEU | MHSL: ok, I'll try again checks settings = please wait |
12:10.35 | FormicAcid | <MHSL> hehe ok then a glass of water ;) (i'm still benchmarking the config change) |
12:12.37 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
12:14.43 | PaulEU | OK, I did checks configuration and I see on logs that there is not any error |
12:15.27 | PaulEU | there is n't any information about errors |
12:17.17 | PaulEU | http://pastebin.com/d2a166e0f there is configuration: tomcat/conf/server.xml |
12:17.48 | PaulEU | when I try open: http://virtual:8080 it doesn't connect |
12:18.22 | PaulEU | it will search in www.virtual.com |
12:18.29 | PaulEU | where is mistake? |
12:19.27 | PaulEU | there is log http://pastebin.com/d3ea3911b |
12:21.47 | PaulEU | I created dir: $TOMCATDIR/virtual/{WEB-INF/{classes,lib},ROOT} |
12:22.26 | MHSL | PaulEU, there is a warning WARNING: A docBase /opt/tomcat-5.5.26/virtual inside the host appBase has been specified, and will be ignored |
12:22.58 | PaulEU | question: why it was ignored? it's wrong? |
12:23.22 | PaulEU | I should add virtuals only in webapps ? |
12:25.39 | PaulEU | next question: why it doesn't show any sites when I did set: <Connector port="80" ...> |
12:25.54 | PaulEU | for example: http://localhost |
12:27.10 | FormicAcid | well we still have CLOSE_WAIT |
12:31.09 | *** part/#tomcat dayid (n=vnc@67.207.135.11) |
12:44.00 | PaulEU | ok, I found solution for port 80 ;) |
12:44.14 | PaulEU | but virtuals doesn't work :( |
12:51.55 | MHSL | PaulEU, put your server.xml in pastebin |
12:52.13 | MHSL | PaulEU, only related portions |
12:52.54 | PaulEU | MHSL: from $TOMCAT/conf |
12:52.55 | PaulEU | ? |
12:53.06 | MHSL | i believe that's where server.xml is |
12:53.53 | MHSL | <PaulEU> I created dir: $TOMCATDIR/virtual/{WEB-INF/{classes,lib},ROOT} -> what do you mean by this? |
12:55.28 | PaulEU | once again pasted: http://pastebin.com/d7ab6a651 |
12:56.07 | PaulEU | I had mean that I created dir virtual in $TOMCATROOT |
12:56.35 | FormicAcid | <MHSL> It look like a CLOSE_WAIT is made everytime a apache instance is launched I set ALL possible timeout to 5 |
12:56.42 | PaulEU | in virtual I've created dirs: ROOT and WEB-INF |
12:57.24 | PaulEU | in ROOT I've copied all from $TOMCATROOT/webapps |
12:57.40 | PaulEU | <PROTECTED> |
12:58.02 | MHSL | PaulEU, how did you access it? |
12:58.32 | PaulEU | where ? |
12:58.58 | MHSL | PaulEU, how did you access your webapp from browser? |
12:59.46 | PaulEU | where can I check it? Everybody can upload into webapps |
13:00.16 | MHSL | PaulEU, how do you access your webapp from your web browser? i.e., how do you access e.g. index.jsp of your webapp from your web browser? |
13:01.08 | PaulEU | I don't understand.. |
13:01.32 | PaulEU | user upload via ftp package.war into webapps |
13:01.39 | PaulEU | tomcat automatically deploy |
13:01.56 | PaulEU | and user open via localhost:8080/package-name |
13:02.15 | PaulEU | I have full permissions |
13:02.45 | MHSL | <PaulEU> and user open via localhost:8080/package-name -> this is what i was asking |
13:03.38 | PaulEU | uff, I didn't know what you do means - but I'm fine that you understood |
13:03.47 | MHSL | PaulEU, so, your users cant open their website via localhost:8080/context? |
13:04.06 | MHSL | PaulEU, where do they upload their war file? to virtual? |
13:05.09 | PaulEU | MHSL: user upload into webapps, and it works OK, but I want create virtual like that localhost:8080/virtual - and I want that selected users can upload into virtual folder. |
13:05.31 | PaulEU | I want that every user has own space |
13:05.59 | MHSL | PaulEU, you can't do localhost:8080/virtual, since "virtual" will refer to a context named virtual |
13:06.46 | MHSL | PaulEU, however according to your server.xml, your users should be able to access their webapps via http://alias.virtual.com.pl/context |
13:07.10 | PaulEU | hmm I'll try |
13:09.42 | PaulEU | you suggest that if user upload packagewar.war package into virtual it should be in: alias.virtual.com.pl/packagewar ? |
13:10.40 | MHSL | yes |
13:11.20 | PaulEU | it return me that it cannot find server |
13:12.05 | *** join/#tomcat Vanuatoo_ (n=Vanuatoo@213.131.37.174) |
13:12.41 | PaulEU | I see that in virtual package war was deployed |
13:12.56 | PaulEU | it is uncompressed into new folder |
13:13.35 | MHSL | PaulEU, you defined your connector to listen to 8080, so you have to put the port |
13:14.26 | PaulEU | http://alias.virtual.com.pl:8080/package-war and it can't find server |
13:16.05 | MHSL | PaulEU, do you even have alias.virtual.com.pl mapped to an ip address? |
13:17.12 | PaulEU | no |
13:17.31 | PaulEU | I don't have this address yet |
13:17.48 | MHSL | so obviously you cant access it that way |
13:18.06 | PaulEU | how can I do it in locally ? |
13:19.03 | PaulEU | I'll try do it via localhost/test |
13:20.21 | MHSL | PaulEU, put a mapping in your host file of alias.virtual.com.pl to 127.0.0.1 |
13:21.23 | PaulEU | MHSL: but in /etc/hosts I have declared 127.0.0.1 localhost |
13:21.37 | PaulEU | I can add additional names ? |
13:21.45 | MHSL | you can map different hosts to the same IP |
13:22.11 | PaulEU | I didn't know about it |
13:23.18 | *** join/#tomcat melter (n=Melter@dyn007.morrill-116.ndsu.NoDak.edu) |
13:23.46 | PaulEU | wow, it works :) |
13:24.39 | PaulEU | I have question: how can I do that only reserved user can upload |
13:25.20 | PaulEU | I want that every registered user can upload into own dir |
13:25.55 | MHSL | PaulEU, what are they using to upload now? |
13:26.37 | PaulEU | actually it didn't do yet, I have plan that user can upload via ftp |
13:27.00 | PaulEU | into own dir virtual |
13:27.55 | PaulEU | maybe I'll do it via symlinks |
13:28.08 | MHSL | PaulEU, what i've done is to allow users to upload webapp files, not .war file |
13:28.20 | MHSL | and each user has his/he own home dir |
13:28.23 | MHSL | his/her |
13:28.52 | PaulEU | MHSL: user upload via ftp? |
13:29.00 | MHSL | that's up to you |
13:29.08 | olought | hey guys, in Tomcat 5.0.25 is there a way to hide directory listings (like apache's options -indexes)? Thanks. |
13:30.40 | PaulEU | I understand that appBase can be exists outside i.e. /home/user/tomcat ? |
13:31.29 | PaulEU | I think that tomcat is installed on /opt |
13:31.59 | MHSL | PaulEU, you can give each user 1 context, hence you just need to create a context for each of your users, you dont need to change your appBase |
13:32.06 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
13:32.47 | PaulEU | MHSL: but I want that every user has own context and alias |
13:33.48 | MHSL | PaulEU, you still need to be able to map the alias to an ip address, which should be done by you, then you have all user directories inside appbase |
13:34.20 | PaulEU | aha |
13:38.12 | PaulEU | I have next question: why you disabled uploading package .war? |
13:38.49 | MHSL | PaulEU, i never asked you to disable uploading of .war |
13:38.54 | MHSL | it's up to you |
13:39.26 | MHSL | i only said that that's what i've done, users cant upload war file only individual files |
13:39.41 | *** join/#tomcat tom17bombadil_ (n=tom@BAH1b12.bah.pppool.de) |
13:40.02 | PaulEU | aaha, now I understood |
13:40.07 | PaulEU | my english not perfect |
13:43.41 | *** join/#tomcat joe__ (n=chatzill@157.130.250.238) |
14:01.51 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
14:04.50 | joe__ | hi again: back with a load-balancing question |
14:05.23 | joe__ | tomcat 6.0.16, bea jvm 1.5.0_12-b04, rhel4 kernel 2.6.9-55.0.9.ELsmp |
14:05.58 | joe__ | i have an app on two nodes behind a cisco css 11501 |
14:06.07 | joe__ | using datasourcerealm |
14:06.42 | joe__ | cookie-based session affinity on JSESSIONID |
14:07.14 | joe__ | here's an example of the problem I see: |
14:07.50 | joe__ | when I request https://host/app/, suppose node1 responds with the login page |
14:08.12 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
14:08.53 | joe__ | I submit and post to https://host/app/j_security_check, and node2 responds instead of node1 |
14:09.33 | joe__ | of course, I get a http 408, because node2 doesn't have the session |
14:10.51 | joe__ | I've confirmed the server switch with the access logger valve |
14:13.07 | joe__ | I think I'm doing something wrong--it seems like I would need to establish a session on the initial request to somehow lock into the node |
14:13.09 | MHSL | joe__, sessions should be synchronised across tomcat instances |
14:14.53 | joe__ | MHSL, app is not distributable |
14:15.57 | joe__ | trying to extend life with load-balancing prior to ripping out non-serializable session attributes |
14:16.30 | joe__ | i.e., cluster valve not active |
14:16.55 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
14:18.30 | joe__ | that being said...if that's all it takes, and it will continue to run non-distributable apps, I'll turn it on |
14:23.23 | joe__ | i'm not sure that I should be setting jvmRoute on the engine. is that only for ajp? |
14:32.51 | MHSL | joe__, if app is not distributable, then i dont think both instances will be able to synchronise the session |
14:35.11 | joe__ | I'm okay with not synchronizing |
14:35.31 | joe__ | essentially, I'd want a user to make a request and stick to that node |
14:35.56 | joe__ | it is acceptable to lose the session if node dies |
14:39.06 | dealer_ | how can i login into tomcat manager? |
14:40.46 | joe__ | :q |
14:41.07 | joe__ | hmm.. not vi |
14:43.08 | joe__ | dealer: generally http://host/manager/html and provide the credentials for a user in the manager role as defined in conf/tomcat-users.xml |
14:44.42 | dealer_ | yes, i'm on it |
14:45.05 | dealer_ | what's that "XML Configuration file URL"? |
14:50.16 | joe__ | sounds like you're trying to deploy an app |
14:50.28 | joe__ | that would be the context entry |
14:50.48 | joe__ | you would have created one and placed it somewhere on the server |
14:51.04 | joe__ | it's asking for that path |
14:51.14 | dealer_ | the absolute path? |
14:51.50 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
14:52.09 | dealer_ | i'm trying to create a /usr/local/jakarta-tomcat5.0/webapps/blog |
14:54.18 | joe__ | do you have a war file? |
14:54.30 | dealer_ | i don't know.. |
14:54.42 | dealer_ | i just copied the balancer dir, just to test.. |
14:55.18 | PaulEU | I have question: I did that if user entered website.com it is moved automatically into website.com/WebApplication. I did via: http://wiki.apache.org/tomcat/HowTo#head-e82228c43a0ce77f71ebe64fc99ced33c9506ffe Is it possible to disable showing path for application? I want only http://website.com |
15:05.22 | PaulEU | MHSL: is it possible to set /application as / ? |
15:06.13 | PaulEU | I can't find on google |
15:06.33 | MHSL | PaulEU, no unless the name of the app is ROOT |
15:07.01 | PaulEU | I should rename my application to ROOT? :D |
15:07.35 | *** join/#tomcat melter (n=Melter@dyn007.morrill-116.ndsu.NoDak.edu) |
15:07.48 | PaulEU | I thought that changing path in META-INF/context.xml will be ok, but no |
15:08.28 | PaulEU | I'll try deploy into ROOT |
15:09.28 | MHSL | PaulEU, the context name will follow either the directory name, context file name, or war file name, path defined in context.xml won't be used |
15:10.56 | PaulEU | hmm |
15:11.24 | PaulEU | you suggest that there is only solution that I should repackage application? |
15:12.53 | MHSL | just rename the war file name if you want to use war |
15:13.03 | MHSL | just try out, you wont know unless you try |
15:13.25 | PaulEU | yes, you are right, I'll try |
15:18.48 | PaulEU | when I renamed WebApp.war as ROOT.war it didn't deployed |
15:19.10 | PaulEU | on log there is any information |
15:19.41 | *** join/#tomcat Vanuatoo (n=Vanuatoo@213.131.37.174) |
15:22.27 | *** join/#tomcat brazil_nut (n=tifine@cpc3-seve15-0-0-cust784.popl.cable.ntl.com) |
15:22.42 | brazil_nut | hello everybody, i want to delete the messages from the database using the servlet, When my servlet run it retrieves information from the database and displays messages, I have a link infront of every message so if the user click on the link it should delete the message from the database. How should i do that i was reading the form and it is written that you pass the id of the user as a parameter to another servlet, is |
15:22.49 | brazil_nut | ??? |
15:24.49 | MHSL | brazil_nut, i think your statement was cut off --> to another servlet, is |
15:25.26 | brazil_nut | MHSL, is that the right way ? |
15:27.33 | MHSL | brazil_nut, i was saying your statement was cut off |
15:27.47 | brazil_nut | okei |
15:27.58 | brazil_nut | is that right way of doing it ? |
15:28.33 | MHSL | it's up to you, you can even send the delete request to the same servlet if you prefer |
15:29.16 | MHSL | there is no right or wrong, it depends on what you need |
15:30.47 | brazil_nut | but my point is if i will send the userid as a parameter then user maybe already have five message, how should it will just only delete that message not other messages! |
15:31.44 | PaulEU | wow, it works ;) |
15:31.46 | MHSL | brazil_nut, then you need a unique thing to distinguish different messages? |
15:31.53 | PaulEU | MHSL: thank you for all help :) |
15:32.25 | PaulEU | I must change last thing: fav_icon ;) |
15:32.44 | brazil_nut | but if i am not allowed to add anything in the tables, it is kind of restriction for tables. |
15:32.53 | brazil_nut | then what should i do ? |
15:33.38 | MHSL | brazil_nut, as i said, you need some kind of identification for the message to uniquely identify each message |
15:34.22 | *** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net) |
15:40.13 | *** join/#tomcat falcifer (n=falcifer@195.55.164.15) |
15:40.54 | falcifer | hi |
15:41.05 | falcifer | any body there??? |
15:42.26 | falcifer | i have a internal error un tomcat 6.0.16 under linux jvm 1.6 |
15:42.46 | falcifer | "Only a type can be imported. Saicar.Infra.Navegador resolves to a package" |
15:42.51 | falcifer | its very anoying |
16:10.24 | *** join/#tomcat Netfeed (n=netfeed@picard.skip.chalmers.se) |
16:39.08 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
16:41.39 | dealer_ | how can i create a new container? |
16:55.28 | *** join/#tomcat juanez (i=kemik@idlar.nu) |
17:38.34 | *** join/#tomcat Insolit (n=daniel@a81-84-78-86.cpe.netcabo.pt) |
17:39.27 | Insolit | guys is there any difference betweeen deploying an application putting a war file in webapps directory and restarting tomcat, and simply copying the contents of the war to the weapps directorry? |
17:48.28 | brazil_nut | if two users trying to register in an application their registeration time can be exactly same even the seconds, is it possible ? |
17:50.58 | pfn | Insolit, no difference |
17:51.10 | pfn | brazil_nut, of course it's possible |
17:54.33 | brazil_nut | pfn, i am just stuck in some kind of situation,i have a table in database which contains information about the message, when message displays on the screen i want to delete messages one by one. Now inside my tables i cannot change anything because i am not allowed. |
17:55.24 | *** join/#tomcat vinse (n=vinse_@208.253.223.146) |
17:59.07 | pfn | your question doesn't make sense |
18:07.43 | *** join/#tomcat InsomniaCity (n=insomnia@raptor.ukc.ac.uk) |
18:08.05 | InsomniaCity | Hi! I'm getting a "java.lang.LinkageError: loader constraints violated when linking org/hsqldb/HsqlException class" under Tomcat 5.5, on Java 1.5 on Linux. |
18:08.22 | InsomniaCity | I only get it intermittently, so I can't work out why. Anyone have any ideas? |
18:22.53 | *** join/#tomcat cppexpert (n=cppexper@75.52.124.66) |
18:29.22 | *** join/#tomcat |PiP| (n=pip@bas10-toronto12-1177615246.dsl.bell.ca) |
18:29.53 | |PiP| | im new to servlets. where can i read up on how to data and variables between servlets in the webapp? |
18:29.58 | |PiP| | *share data |
18:34.33 | *** join/#tomcat rambo123 (n=rocky@59.94.96.119) |
18:38.56 | Insolit | pfn: thnks :) |
19:16.08 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
19:18.01 | *** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net) |
19:28.22 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
19:31.34 | *** join/#tomcat cofeineSunshine (n=justinas@78-62-4-27.ip.zebra.lt) |
19:38.53 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
19:51.20 | *** join/#tomcat a4akba (n=a4akb@62.215.156.215) |
19:51.53 | a4akba | burp |
19:57.57 | *** join/#tomcat uprooter (n=chatzill@212.179.254.35) |
20:06.09 | *** part/#tomcat rambo123 (n=rocky@59.94.96.119) |
20:06.10 | a4akba | jasonb hello |
20:59.29 | *** join/#tomcat awestwell (i=hidden-u@gw.sandvine.com) |
20:59.32 | awestwell | hey all |
21:01.26 | awestwell | Have a quick JNDI question if I am runnin tomcat 6 and I can lookup a Enviroment variable using context.lookup(name); but I cant seem to set update a enviroment variable using context.addToEnvironment(name, object)... Has anyone done this under tomcat in general or version 6 |
21:03.30 | awestwell | Do I have to connect as a user (authenticated) to set a enviroment variable |
21:06.14 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
21:10.37 | jasonb | awestwell: Tomcat's JNDI context is read-only.. so you cannot modify it. If you really have to, it is possible to make it read/write, but it's very difficult to do. |
21:11.36 | *** join/#tomcat cami (n=miCamu@84-75-164-102.dclient.hispeed.ch) |
21:13.48 | awestwell | I see that explains it is there a link that explains how to do this |
21:16.23 | jasonb | There's not. Basically, you have to make a method call to switch it to read/write, and it's a method on one of Tomcat's internal objects. I wrote some code to do it, but it appears that it may not work properly now, and I haven't had time to test it for myself with Tomcat 6. I could give you a copy of the code, but to make it work would require some debugging of Tomcat internals, so if you're not prepared to do that, then you don't need the code. |
21:18.06 | awestwell | I would be willing to do that |
21:18.23 | awestwell | code you dcc the code |
21:18.40 | jasonb | I can put it on a paste server.. |
21:18.50 | awestwell | ok sounds good |
21:19.27 | jasonb | http://pastebin.org/24492 |
21:19.42 | jasonb | And, you must mark your context reloadable="true". |
21:19.52 | jasonb | err, not reloadable.. sorry.. privileged="true" |
21:20.23 | awestwell | ok |
21:20.49 | awestwell | thanks |
21:21.34 | jasonb | You're welcome. |
21:30.28 | *** join/#tomcat tom17bombadil_ (n=tom@Zc7fd.z.pppool.de) |
21:31.31 | *** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
22:09.15 | *** join/#tomcat pfn (n=pfnguyen@hanhuy.com) |
22:09.25 | *** join/#tomcat |PiP| (i=pip@keele-d-226-226-198.airyork.yorku.ca) |
22:27.42 | *** join/#tomcat elsinux (n=chatzill@200.38.176.112) |
22:39.23 | *** join/#tomcat mauriez (n=maui@xs2.xs4all.nl) |
22:49.35 | *** join/#tomcat Alex (n=hauntedu@goatse.co.uk) |
23:00.27 | *** join/#tomcat Alex (i=hauntedu@goatse.co.uk) |
23:29.58 | elsinux | Hello every body, Im working with tomcat 5.5 on a sparc solaris 9 with 4G RAM, I register a memory overflow even if the catalina.sh have JAVA_OPTS="-server -Dfile.encoding=ISO-8859-1 -Xms2048M -Xmx3072M -Xss512k" I would like to know what other procces overflow the /java procces. (Solaris Root uses only 380M) |
23:30.36 | elsinux | This is a dedicated tomcat srver ... |
23:33.02 | elsinux | with prstats -a I get - tomcat 3146M that overflows the -Xms2048M in catalina.sh |
23:35.39 | elsinux | I would like to know what other procces overflow the /java procces. |
23:44.26 | pfn | -Xms does not specify the total process rss |
23:44.43 | pfn | there is additional vm overhead, thread stacks, etc. |
23:45.03 | pfn | -Xmx only sets the total memory that java objects will take up |
23:45.06 | pfn | s/will/can |
23:45.57 | pfn | e.g. if each thread takes up 512k, well... there you go 100 threads will be 50mb, for example |
23:57.06 | *** join/#tomcat cami (n=miCamu@84-75-164-102.dclient.hispeed.ch) |