00:23.14 | karstensrage | thanks jasonb |
00:25.21 | jasonb | karstensrage: Did it work? :) |
00:26.03 | karstensrage | yup |
00:26.12 | karstensrage | so what does the Coyote connector |
00:26.23 | karstensrage | do |
00:26.34 | karstensrage | automagically connect to apache? |
00:27.45 | jasonb | "Coyote connector" refers to the pure-Java HTTP/1.1 web server that is part of Tomcat. |
00:28.22 | jasonb | It also implements a JK server that can be used to connect Apache httpd to Tomcat.. it's the Tomcat side of that connection. |
00:29.04 | jasonb | Mainly, "Coyote", "Pure-Java", and "JIO" are interchangeable terms. |
00:29.12 | karstensrage | hmm |
00:29.21 | karstensrage | ok, Ill just work on my thing and worry about that later |
00:29.28 | jasonb | :) |
00:29.38 | karstensrage | tomcat standalone seems to work ok |
00:29.52 | jasonb | Tomcat stand-alone is best. It's actually faster than Apache httpd. |
00:32.33 | *** join/#tomcat NorrGuld (i=noName@dm.csbnet.se) |
00:33.43 | NorrGuld | can't start my own servlets on tomcat 6.. anyone who can help me to try solve the problem? |
00:35.14 | NorrGuld | jsp-files works, and example-servlets.. but if I delete an example-servlets it still works untill I restart the server, if I put back an deleted example-servlet then I have to restart the server to get the servlet to work |
00:35.30 | NorrGuld | but my own servlets I have succed to run, don't get it |
00:36.24 | NorrGuld | OS: xp Java: jdk 1.6, jre 1.6 |
00:36.47 | *** topic/#tomcat by jasonb -> Stable versions: 6.0.13, 5.5.23 and 4.1.36. 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. |
00:37.21 | jasonb | NorrGuld: Do you have reloadable="true" set on your Context? |
00:38.31 | NorrGuld | jasonb: haven't configured anything,, am beginner on tomcat |
00:38.37 | jasonb | NorrGuld: You should first read this: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html |
00:39.20 | NorrGuld | jasonb: ok, thx.. think that this will solve the problem? |
00:39.49 | jasonb | NorrGuld: Reading the documentation? Yes, that does solve lots of problems. |
00:47.15 | *** part/#tomcat kab (n=abarrera@nat.ti.uach.mx) |
01:07.45 | evosh | Have you noticed that most people who use Tomcat are from outside of the U.S.? |
01:11.29 | jasonb | nah.. I don't believe they are. |
01:12.02 | jasonb | It might be true that most people who _have trouble_ with Tomcat, or can't figure out how it works and come ask in here are outside the US. |
01:12.03 | evosh | At least in this channel. |
01:12.12 | evosh | Hah. |
01:12.29 | evosh | Maybe someone needs to translate the documents to other languages. |
01:13.30 | evosh | The other day someone asked whether Tomcat in general would perform better under Intel Xeon or AMD Opteron. |
01:13.56 | jasonb | I can tell by my book royalties that more people are reading the book in the US than outside the US because the numbers are broken down by "domestic" and "foreign", and the domestic numbers are probably twice the foreign numbers, sometimes more than twice. |
01:14.48 | jasonb | evosh: The answer to that question changes when either Intel or AMD release a really hot new CPU line. |
01:14.57 | evosh | The new Xeon Quad certainly has some advantages over Opteron with 2 cores but core to core comparison, AMD is ahead of Intel. |
01:15.01 | jasonb | evosh: They leapfrog each other. |
01:15.12 | evosh | Ya, exactly. |
01:15.27 | jasonb | Right now Intel is ahead, but AMD is about to leapfrog them again. |
01:16.16 | evosh | I may have to buy a new machine as my XP box is falling apart after 8 years. |
01:16.44 | evosh | My newest machine is 6 years old; definitely time to do some upgrades. |
01:17.56 | evosh | I still have two boxes from 97 and 98 who are operational. I have to shut them down in order to keep my room temp below 80F. |
01:18.03 | evosh | Damn electrical bill. |
01:20.59 | jasonb | I'd recommend buying a quad core (regardless of the brand), if you're about to buy a desktop machine. |
01:21.21 | jasonb | Dual core is nice, but that's going to look old pretty quick. |
01:22.05 | evosh | But the quad cores are insanely expensive. I can't afford them. |
01:23.11 | evosh | Besides, only applications who are specifically written to take advantage of such architectures can truely benefit from it. |
01:24.18 | evosh | I read a few benchmark articles and by comparison, applications who didn't run in multithreaded structure, didn't benefit from the extra juice. |
01:24.41 | evosh | It was still apparent that quad core would do better but not with wide margines. |
01:25.10 | jasonb | Java is written to take advantage of as many cores as you have. |
01:25.12 | evosh | I mean, who wants to pay $1200+ * 2 for Intel Xeon 53xx? |
01:26.06 | evosh | That is a valid point and as a matter of fact, any hardware boost would help Java in general. |
01:26.12 | jasonb | You may not be able to afford a quad core CPU. That's okay, get something else, but the down side is that you will again have to upgrade (= paying more money anyway) much sooner due to lack of CPU power. |
01:27.12 | evosh | My philosophy always been to buy the top of the line but solid components so it would last you a long time. |
01:27.34 | evosh | That's why I've been running all my machines for such a long time while everyone else been upgrading like crazy. |
01:27.59 | jasonb | My strategy for buying computers has always been: get *the* top of the line hardware when you buy, because that will last the longest without feeling as weak. Take good care of it ( like you apparently do ) and it will last many years, then start over and buy the top of the line again. This actually cuts down the cost of buying machines significantly because it cuts down the number of times you must buy. |
01:28.07 | evosh | That being said, I am not incline to upgrade my systems once every 10 months just becuase something better has come out. |
01:28.15 | jasonb | heh, me too. :) |
01:28.40 | jasonb | You've obviously got the right strategy. :) |
01:28.47 | evosh | I stick with what I have. Another thing, I always buy "Top of the Line - 1" just to save a few bucks. |
01:30.28 | evosh | This new system I've made a list for cost around $5000 so that made me be more hesitant. |
01:30.28 | jasonb | My home server box is from 1999 (8 years now), and it still works fine. That's because I paid for the top of the line back then.. when everyone was buying 500Mhz CPUs, one shop offered a 1Ghz chip as their top of the line and I went in and ordered it. Even they looked at me funny! They said "are you SURE you want to buy that?" I said hell yes I want to buy that, and I did. It still works great. |
01:30.28 | evosh | I'll see what happens by the near end of the summer. |
01:31.33 | jasonb | Buying top of the line -1 is not helpful, IMHO. That -1 step costs you about a year on the lifespan of the box, and during the 8 or so years you use it, you use a slower machine every day. Bad, bad! |
01:31.33 | evosh | Hah, ya, same story with everything I got. At one point, they were considered a monster PC's. |
01:32.07 | evosh | Hah, That -1 is usually my first choice, it's just that I wait a few months and a better version comes out which makes the first choice -1. |
01:32.20 | jasonb | Plus, you scale back your "I've got the *best* stuff" feeling. :) |
01:33.06 | jasonb | Well, even if a month later something better is available, at least when you buy the absolute top, then your box is only at best - 1 instead of best - 2! |
01:33.42 | evosh | For some reason my father accidentaly load up the BIOS setting and SOME HOW managed to screw up the memory latency settings. |
01:34.00 | evosh | Then he was complaining why the system is BEEP'ing at him and nothing shows up. |
01:36.27 | jasonb | ugh. |
01:37.02 | evosh | Time to find BIOS reset pins. |
01:37.26 | jasonb | heh |
01:37.27 | evosh | The funny thing was he was unhappy with the "speed" I troubleshoot his PC. |
01:37.43 | jasonb | Yeah, I have parents like that too. |
01:38.14 | evosh | He was asking why the power button doesn't reset this "thing" called BIOS. |
01:38.57 | evosh | Hah, and he added, "I hope this doesn't happen again because I didn't even DO anything." |
01:41.48 | evosh | I gotta do water cooling for this new system but a good cooling system for dual processor mb costs around $400+ alone. |
01:47.14 | evosh | I would too especially if you are not careful with tight short turns by not installing coils or passing tubes through drilled holes without plastic covers and thin bad quality tubes in generals. |
01:47.47 | evosh | But usually the most problem spots are the connectors from the tube to the components. |
01:48.35 | evosh | I wish there was a way to just immerse the whole system into a liquid nitrogen and get over with it. |
01:50.31 | *** join/#tomcat huhlig (n=huhlig@216.57.65.206) |
01:58.30 | jasonb | heh |
01:58.45 | jasonb | liquid nitrogen is fun. |
02:57.59 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-84-110-7-67.red.bezeqint.net) |
02:59.01 | *** join/#tomcat GionnyBoss (n=gionnybo@p57A09769.dip0.t-ipconnect.de) |
03:03.13 | GionnyBoss | I don't understand how can I let tomcat 5.5.23 work on Fedora Core 6 with Sun JDK 1.6u1. I installed tomcat from fedora's repos and I tryed to set my java home in /etc/tomcat5/tomcat5.conf . I get error and I can't access localhost:8080 |
03:06.59 | evosh | Would you please go and download the binary version from http://tomcat.apache.org/download-55.cgi and not use your distro package. |
03:07.23 | evosh | Going with your distro package is not healthy. |
03:07.42 | evosh | It comes with nasty STD's. |
03:09.51 | GionnyBoss | evosh, thanks for suggestions |
03:10.29 | GionnyBoss | evosh, do you suggest tomcat 5.5 or tomcat 6? |
03:11.16 | evosh | Tomcat 6 as it has been tested by reliable sources to be very stable now and has better performance rate. |
03:11.47 | GionnyBoss | ok thank you |
03:11.52 | evosh | I only assumed you have some sort of criterias to meet that you are choosing 5.5. |
03:12.02 | evosh | Or perhaps your distro only offers 5.5. |
03:12.14 | GionnyBoss | my distro only offers 5.5 |
03:12.37 | evosh | I see. Don't bother with the package and get binary Tomcat from their own site. |
03:14.30 | GionnyBoss | ok ... now I uninstall tomcat5 package and try to install the one from sources |
03:16.15 | GionnyBoss | oh my god, if I remove all tomcat stuff, it will remove open office, too... problably there's something about tomcat that I don't have to remove,but this is strange! |
03:16.34 | evosh | Not the source per se but rather the binary version. |
03:16.46 | evosh | OpenOffice? How is OpenOffice related to Tomcat? |
03:17.21 | evosh | Does Fedora's package manager ask you to remove OpenOffice with it as well? |
03:19.22 | GionnyBoss | evosh, I solved... is there a tomcat-lib package that is related with open office and a lot of other application |
03:19.49 | GionnyBoss | maybe it's just strange that this lib is called "tomcat", I guess that it should be called differently |
03:20.07 | GionnyBoss | just the package "tomcat" itself does not depend on openoffice |
03:21.21 | GionnyBoss | evosh, I am noticing that something is left in /etc/tomcat5 and in /usr/share/tomcat5 from previous install... should I delete it? |
03:21.24 | evosh | I would probably say no. Isn't Openoffice written in C++? |
03:21.43 | GionnyBoss | evosh, Open Office has got some parts using Java, don't know exactly which ones |
03:21.45 | evosh | Ya, go ahead delete them as they are no use. |
03:22.40 | GionnyBoss | ok done |
03:25.00 | GionnyBoss | evosh, you were right... I just untar it and launched it... and it works :) |
03:25.01 | GionnyBoss | cool |
03:25.39 | evosh | Yup, if people could just avoid using distro packages for Tomcat. |
03:26.08 | evosh | There are at least half a dozen people every week with the same issue. |
03:27.56 | *** join/#tomcat shampoonator (n=shampoo@dslb-084-061-042-025.pools.arcor-ip.net) |
03:29.47 | shampoonator | hi, i have a little servelett problem |
03:29.47 | *** join/#tomcat karstensrage (n=karstens@c-69-181-220-5.hsd1.ca.comcast.net) |
03:29.47 | shampoonator | i got a servlet creating a html-document, this document hast some images (i got it in a res folder), the html hrefs are like ref/image.gif |
03:29.54 | shampoonator | can i somehow tell tomcat in the wars web.xml or something to search the images in that file? ... mmh |
03:30.17 | GionnyBoss | evosh, if I see the page http://localhost:8080/ means that everything is ok, right? or should I check some other things first? |
03:31.12 | evosh | GionnyBoss, Not everything but it is a start. You can run the demos/examples if you want to see whether JSP and servlets work. |
03:31.49 | GionnyBoss | ok thank you evosh |
03:32.04 | evosh | No problem. I gotta get some sleep. |
03:32.20 | shampoonator | someone got an idea.. or even understands my problem g* |
03:33.52 | GionnyBoss | good night evosh |
03:34.18 | GionnyBoss | shampoonator, I'm sorry I have just installed tomcat for my first time, I cannot be of any help |
03:34.39 | shampoonator | :) |
03:35.22 | GionnyBoss | shampoonator, just be patient. If someone knows the answer, when he will read it, he will answer you. |
03:35.46 | GionnyBoss | I guess people is doing something else, too :P lol |
03:35.56 | shampoonator | mmh i got 8 hours to get it to work.. and no sleep since 24 hours mmh.. |
03:36.08 | shampoonator | im not too patient lol.. |
03:37.07 | GionnyBoss | shampoonator, I can imagine your frustration... I sometimes am like you, when I have to let something work on my computer... I don't sleep and I just try and try and try ... ! |
03:40.56 | GionnyBoss | shampoonator, BTW, I can't understand your problem... what do you mean by "search the images in that file"? |
03:42.36 | shampoonator | well i got the same problem like that guy here http://www.theserverside.com/discussions/thread.tss?thread_id=25289 ..but the answers dont help ... |
03:45.55 | shampoonator | or in short words.. how to access static content that lies in a folder i want.. not the servlet wants g* |
03:45.57 | GionnyBoss | shampoonator, it doesn't work with the answer? I have just tried using netbeans and its bundled tomcat and it does as the answer says. Now I try with the "real" tomcat when I finish to understand how it works to configure it :P |
03:48.28 | GionnyBoss | shampoonator, I guess that you can access files outside the document root, too, but I guess that you should configure tomcat to do this (I don't know what's the standard behaviour= |
03:51.48 | GionnyBoss | if you have in ROOT a ref folder, you should access it with /your_JSP_project_name/ref in your html |
03:52.01 | GionnyBoss | this is how it works on Netbeans with bundled tomcat... hope that this helps |
03:53.32 | GionnyBoss | so if, for example, you access your website with "localhost:8080/your_name/index.jsp", an image in "res" folder can be accessed by html by "<img src="/ref/image.jpg">" |
03:53.42 | GionnyBoss | sorry |
03:53.53 | GionnyBoss | <img src="/your_name/ref/image.jpg"> |
03:55.53 | shampoonator | mmh |
03:56.13 | shampoonator | well /usr/share/tomcat5/webapps/xslpast <== thats my servlett |
03:56.31 | shampoonator | <PROTECTED> |
03:56.53 | shampoonator | <PROTECTED> |
03:57.05 | shampoonator | <PROTECTED> |
03:57.51 | GionnyBoss | try <img src="/xslpast/res/image.gif"> ... if it doesn't work, just wait that someone with more experience than me will give you the answer :) |
03:57.53 | *** join/#tomcat a4akb (n=a4akb@dialpool-210-214-50-94.maa.sify.net) |
04:06.02 | *** join/#tomcat minerale (i=achille@about/cooking/alfredo/Minerale) |
04:12.57 | GionnyBoss | shampoonator, does it work? it works for me, just tested now |
04:13.22 | shampoonator | no |
04:15.15 | *** join/#tomcat RProgrammer (n=RProgram@WPNT834.dsl.gcectelecom.com) |
04:16.51 | GionnyBoss | when you use HTML, "/" is your webapps directory. This is how it works for me |
04:19.23 | shampoonator | well my pic is in http://localhost:8180/xslpast/res/AWSBEAST48.gif , the servlet in http://localhost:8180/xslpast and.. it.. just sucks :( |
04:21.10 | GionnyBoss | shampoonator, why don't you use JSP instead of servlets? It's easier and better and I don't have this problem as you have |
04:21.50 | shampoonator | because i dont neet jsp.. its only a xslt parser |
04:21.51 | GionnyBoss | but what do you do exactly with this picture? can you pastebin your code that you say that it doesn't work? |
04:23.11 | GionnyBoss | if you are accessing a file with HTML, it is true what I said before, but... if you access a file with some Java code, so current directory is $CATALINA_HOME/bin |
04:23.23 | shampoonator | its html |
04:23.32 | shampoonator | annnnnnd.. it doe not work :) |
04:23.57 | GionnyBoss | what does not work exactly? which error do you get? |
04:24.03 | GionnyBoss | maybe it is a permission issue |
04:24.04 | shampoonator | file not found |
04:24.33 | GionnyBoss | did you check image permission? |
04:24.49 | shampoonator | yes |
04:25.40 | *** join/#tomcat jasonb_ (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
04:26.02 | GionnyBoss | what a strange thing... why don't you just try to do a new servlet with a test... just to have your heart in peace and see wheter it works or not |
04:26.56 | shampoonator | because my servelet just works fine :) |
04:27.21 | shampoonator | and.. well it does not do anythink except calling a few xalan methods |
04:33.17 | RProgrammer | Has anyone used getNamedDispatcher() to work correctly? (using the returned dispatcher, not actually getting it) |
04:34.23 | RProgrammer | Whenever I try to forward() to "jsp" or "default", it returns 404 without fail. |
04:42.43 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-37-199.w83-114.abo.wanadoo.fr) |
04:44.47 | RProgrammer | Oh well, |
05:25.48 | *** join/#tomcat huhlig (n=huhlig@216.57.65.206) |
05:53.44 | vinse | omg |
05:53.50 | vinse | sorry, keyboard incident |
06:32.27 | *** join/#tomcat corveum (n=damon@58.186.253.98) |
06:34.25 | *** join/#tomcat fix__ (n=fix@cable-87-244-191-178.upc.chello.be) |
06:34.33 | *** join/#tomcat seevash (n=jixjax@user-1121kj2.dsl.mindspring.com) |
06:35.37 | corveum | Help! I have run into this several times in different environments, and I search the web for solutions but none of them seem to work... |
06:36.07 | corveum | My environment: Windows Server 2000, Java JDK 1.5.0_09, Tomcat 5.0.28 |
06:38.12 | corveum | I am getting a standard error of "Perhaps JAVA_HOME" is not set when ever I try to load a JSP page. |
06:38.48 | corveum | I have set JAVA_HOME in the system environment, I have copied tools.jar to tomcat\common\lib and I have cleared out the Catalina cache for the webapp |
06:38.52 | corveum | No change |
06:41.29 | corveum | The problem seems to start with the Tomcat install. I point the install to the JDK but after install it always points to the JRE. I reset it using the Tomcat config tool, but the issue is already here |
06:55.33 | *** part/#tomcat corveum (n=damon@58.186.253.98) |
07:06.20 | *** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-42-73.telkomadsl.co.za) |
07:37.42 | *** join/#tomcat codeshepherd (n=codeshep@61.8.208.15) |
07:38.09 | *** join/#tomcat codeshepherd (n=codeshep@61.8.208.15) |
08:03.37 | *** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
08:09.14 | *** join/#tomcat pucko (n=andreas@81-234-246-21-o933.tbon.telia.com) |
08:15.53 | *** join/#tomcat wam (n=wam@p57A564E3.dip.t-dialin.net) |
08:18.47 | *** join/#tomcat pucko (n=andreas@81-234-246-21-o933.tbon.telia.com) |
08:20.02 | *** join/#tomcat gregor_k (n=a@p54a1aeb7.dip0.t-ipconnect.de) |
08:35.33 | *** join/#tomcat s1205078 (n=chatzill@meio024.meio-u.ac.jp) |
08:47.34 | *** join/#tomcat compair1 (i=ariel@gateway/tor/x-39ad4cf09a828295) |
08:48.25 | *** join/#tomcat Aleksandar (n=chatzill@62.162.83.64) |
09:36.20 | *** join/#tomcat stork (n=sh2-136@storkey.plus.com) |
10:06.46 | *** join/#tomcat kou_note (n=chocoa@221x249x58x13.ap221.ftth.ucom.ne.jp) |
10:40.52 | *** join/#tomcat [algo] (n=ilia@h86-62-117-98.ln.rinet.ru) |
12:00.05 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
12:00.57 | yassine | heya folks |
12:01.41 | yassine | lyken: there? |
12:01.56 | yassine | jasonb hey are you there too? |
12:14.40 | *** join/#tomcat maier (n=maier@p14-97.med.unc.edu) |
12:32.59 | *** join/#tomcat dukez_ (n=shinma@18.90-14-84.ripe.coltfrance.com) |
12:33.01 | dukez_ | #apache |
12:33.44 | dukez_ | hi i go a strange question about mod_jk and IIS, is it possible to configure 2 virtual site with a different uriworkermap for the context /app for exemple ? |
12:34.28 | lyken | what are you trying to achieve ? |
12:35.42 | dukez_ | to map www.serv1.com/app to worker tomcat1 and www.serv2.com/app to worker tomcat2 :) |
12:35.56 | dukez_ | and www.serv1.com and www.serv2.com are on the same IIS |
13:00.07 | *** join/#tomcat Lat31 (n=dfdf@62.234.233.220.exetel.com.au) |
13:00.12 | Lat31 | Anyone around ? |
13:01.03 | Lat31 | Running Tomcat 5, Java 1.4 and XP. I start tomcat the first time, and everything runs fine, however as soon as i stop and start it again, nothing loads, cant even get to localhost |
13:09.24 | *** part/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
13:19.09 | kadams | Lat31: have you checked the logs? |
13:21.39 | *** join/#tomcat kadams_ (n=J4V4@adsl-074-171-216-244.sip.bgk.bellsouth.net) |
13:21.44 | *** part/#tomcat kadams (n=java_pro@adsl-074-171-216-244.sip.bgk.bellsouth.net) |
13:36.01 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
13:40.56 | *** join/#tomcat cydot (n=cydot@66.114.114.241) |
13:46.24 | *** join/#tomcat dukez_ (n=shinma@18.90-14-84.ripe.coltfrance.com) |
13:50.27 | *** join/#tomcat evosh (n=jixjax@user-11210sr.dsl.mindspring.com) |
13:53.11 | *** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-23-15.telkomadsl.co.za) |
13:58.03 | yassine | lyken: * |
14:08.14 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
14:38.41 | *** join/#tomcat seevash (n=jixjax@user-11210sr.dsl.mindspring.com) |
14:39.25 | *** join/#tomcat huhlig (i=huhlig@253.sub-75-210-220.myvzw.com) |
14:49.59 | *** join/#tomcat kab (n=abarrera@148.229.1.11) |
14:55.21 | *** join/#tomcat evosh (n=jixjax@user-11fat06.dsl.mindspring.com) |
15:08.30 | *** join/#tomcat seevash (n=jixjax@user-11fat06.dsl.mindspring.com) |
15:25.28 | *** join/#tomcat evosh (n=jixjax@user-1121egj.dsl.mindspring.com) |
15:29.16 | *** join/#tomcat rbd (n=rbd@adsl-074-229-183-112.sip.rmo.bellsouth.net) |
15:31.26 | rbd | win32, tomcat 5.5.20, java 5: is it normally ok to block in a servlet for a considerable amount of time (tomcat is multi-threaded right)? or, is there a "friendly" way to block past just calling a blocking call and tieing up a thread like that? |
15:33.42 | *** join/#tomcat Marv|Home (n=Marv|TF@ip72-208-255-174.ph.ph.cox.net) |
15:41.36 | *** join/#tomcat fix__ (n=fix@cable-87-244-191-178.upc.chello.be) |
16:00.45 | *** join/#tomcat Naimed_ (n=demian@201.206.168.86) |
16:04.19 | GionnyBoss | I'm trying to upload a file, I am using Netbeans 5.5, I added libraries commons-io and common-fileupload to my project, but I get errors "object not found" when I try to use library classes. What am I missing? |
16:08.28 | *** join/#tomcat [algo] (n=ilia@h86-62-117-98.ln.rinet.ru) |
16:13.26 | *** join/#tomcat [algo] (n=ilia@h86-62-117-98.ln.rinet.ru) |
16:14.44 | kadams | GionnyBoss: did you package up your webapp as a war file and deploy it using Tomcat's Manager? |
16:16.19 | GionnyBoss | kadams, I'm now using Netbeans bundled Tomcat. This is probably OT, but when I try to include the library, it says that it can't find it. I don't know what to do to use this library, I just added the jar to my libraries in the project and if I try to include it it doesn't work |
16:16.50 | GionnyBoss | It's my first time that I try to use external libraries, probably I'm missing something |
16:17.23 | kadams | hm |
16:17.46 | kadams | so this happens when you try to run it using the bundled tomcat, not when you deploy it? |
16:18.01 | kadams | (running it inside netbeans) |
16:18.10 | GionnyBoss | I did not try to deploy it to tomcat |
16:18.21 | kadams | ok |
16:18.22 | GionnyBoss | just used netbeans bundled tomcat... but it should be the same |
16:18.28 | kadams | yeah |
16:19.15 | GionnyBoss | I noticed for example that for using mysql-connector you have to do a "Class.forName("com. .... etc")" to let it work. I don't know what should I do for file uploads libraries |
16:20.40 | kadams | what file upload lib are you using? |
16:20.58 | kadams | nevermind, I scrolled up |
16:21.06 | GionnyBoss | commons-fileupload ... and I have commons-io for dependences |
16:21.55 | kadams | hm |
16:22.06 | kadams | well it's lunchtime here |
16:22.10 | kadams | be back in an hour |
16:22.20 | GionnyBoss | what's the correct procedure to use an external libraries, please? I would like to understand, if possible, so I can fix this and I can learn for other libraries too |
16:22.27 | GionnyBoss | ok no problem... thank you and enjoy your meal |
16:45.55 | GionnyBoss | done it :) now it works perfectly! |
16:55.22 | *** join/#tomcat a4akb (n=a4akb@dialpool-210-214-50-94.maa.sify.net) |
17:19.07 | *** join/#tomcat todd1 (n=todd@66.7.121.130) |
17:19.41 | todd1 | is there no admin tool for tomcat 6? |
17:19.59 | *** join/#tomcat [algo] (n=ilia@h86-62-117-98.ln.rinet.ru) |
17:20.46 | todd1 | Ive gotten the manager app to work, but I dont see a way to download the admin app for that version |
17:21.01 | todd1 | Ive googled the heck out of it, with no luck .. so here I am |
17:33.26 | pfn | the tomcat admin app sucks anyway |
17:38.39 | a4akb | pfn give 10 valid reasons to justify your claim |
17:39.02 | pfn | it doesn't support any complex configuration in server.xml |
17:39.11 | pfn | it does not support the Engine/vhost/context.xml |
17:39.28 | pfn | it's rudimentary, it's about as friendly as actually writing into server.xml yourself |
17:41.11 | a4akb | 7 more to go |
17:41.11 | pfn | I don't need to give anymore |
17:41.11 | pfn | use it and see for yourelf |
17:41.11 | a4akb | after that you have to give 10 new valid improvements and suggestions |
17:41.22 | pfn | um, no |
17:41.32 | a4akb | lol |
17:41.40 | a4akb | then quit complaining ;) |
17:41.44 | pfn | I'm not complaining |
17:41.46 | pfn | I just don't use it |
17:41.58 | pfn | and I don't necessarily recommend that anyone use it |
17:41.58 | a4akb | good |
17:42.10 | a4akb | that's your prespective |
17:42.35 | pfn | you use and like the admin app? |
17:42.50 | a4akb | which version? |
17:42.55 | pfn | any version |
17:43.12 | a4akb | define 'any' |
17:43.23 | pfn | uh, any? |
17:43.33 | pfn | any tomcat admin app from 4.0 on up to 6.0 |
17:43.55 | a4akb | what about 6.0.13? |
17:44.03 | pfn | 6.0 includes 6.0.x |
17:45.41 | a4akb | I don't |
17:45.43 | *** part/#tomcat a4akb (n=a4akb@dialpool-210-214-50-94.maa.sify.net) |
17:46.39 | pfn | well then, what an ass |
17:53.48 | kadams | lol |
18:20.48 | *** join/#tomcat pappy-__ (n=alex@dslb-084-058-237-185.pools.arcor-ip.net) |
18:35.56 | *** join/#tomcat [algo] (n=ilia@h86-62-117-98.ln.rinet.ru) |
18:37.01 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-37-199.w83-114.abo.wanadoo.fr) |
18:47.08 | *** join/#tomcat compair1 (i=ariel@gateway/tor/x-10dc93fcf214d3db) |
19:15.58 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-18-78.w83-114.abo.wanadoo.fr) |
19:21.06 | *** join/#tomcat Marv|LG (n=Marv|TF@ip72-208-255-174.ph.ph.cox.net) |
19:21.48 | *** join/#tomcat prgrmr (n=prgrmr@bzq-88-154-242-42.red.bezeqint.net) |
19:30.33 | todd1 | ok .. so no admin tool for tomcat 6.x then? |
19:42.09 | GionnyBoss | when I'm writing java code for JSP I noticed that current directory is the tomcat bin directory. Is there a command that gives you the path where my .jsp files are? In particular, I want to access WEB-INF folder |
19:52.43 | *** join/#tomcat dvayanu (n=another@ppp-62-245-210-115.dynamic.mnet-online.de) |
20:22.00 | *** join/#tomcat prgrmr (n=prgrmr@bzq-88-154-242-42.red.bezeqint.net) |
20:56.22 | *** join/#tomcat smps (n=maher@www.rudolfinum.sth.ac.at) |
20:58.35 | smps | hi ppl, got tomcat 5.5.20 , jdk1.5.0_09 and debian 4.0 (linux kernel 2.6.18) - have questions about jsessionid |
20:58.38 | smps | anyone willing to help ? |
20:59.24 | *** join/#tomcat etaylor (n=chatzill@p78-70.acedsl.com) |
21:34.40 | pfn | I guess there's no admin webapp for tomcat6 |
21:52.35 | *** join/#tomcat compair1 (i=ariel@gateway/tor/x-8a92a07feef93453) |
22:00.29 | fallout | smps: see the topic. |
22:02.04 | smps | ok , some of developers have made one site so that he includes one map from public available site on internet, and for navigation includes he data from second server which is apahce + tomcat and on that third server which is tomcat content would be displayed.... |
22:02.44 | smps | now i have situation that 2 jsessionid's from first and second tomcat servers are overwritten |
22:02.53 | smps | in cookie filed ... |
22:03.01 | smps | how can i rename jsessionid var ? |
22:07.45 | pfn | check the <manager> documentation |
22:10.53 | pfn | otherwise, check the source |
22:12.07 | smps | pfn, thx |
22:13.51 | pfn | how are the 2 session ids overriden anyway, shouldn't the domains on the cookies be different? |
22:14.28 | smps | pfn, yes they are |
22:14.49 | smps | pfn, i changed jsessionid variable name with hexeditor in some .class files of tomcat |
22:15.04 | smps | pfn, only for test , to JSESS123ID |
22:15.10 | smps | pfn, now cookie looks like this |
22:15.17 | smps | pfn, Cookie: AlteonP=affd2ed1feedbaf6baee; JSESSIONID=A7FAA495F9FDB69C81FAD60BD5A10991.INETP1021; |
22:15.17 | smps | __utma=226587341.253418833.1180475086.1180475086.1180475086.1; __utmb=226587341; __utmc=226587341; |
22:15.17 | smps | __utmz=226587341.1180475086.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); JSESS123ID=E2A90360FA11A22CDFCB7D14E349D070 |
22:15.34 | smps | pfn, before that change i made, it would display only jsessionid |
22:24.58 | vinse | anyone got a surplus of opinions about tomcat eclipse plugins that they want to share? there's so many features in myeclipse that i dont use i'm wondering about switching to sysdeo or WTP, but there's not a ton of information on the newest versions of this stuff |
22:25.31 | vinse | like does sysdeo do hot code replacement like myeclipse? it looks as though WTP does not |
22:27.36 | Lat31 | Running Tomcat 5, Java 1.4 and XP. I start tomcat the first time, and everything runs fine, however as soon as i stop and start it again, nothing loads, cant even get to localhost |
22:40.08 | *** join/#tomcat stork (n=sh2-136@storkey.plus.com) |
22:51.42 | vinse | Lat31: what version of Tomcat (it has 3 numbers), *must* you use 1.4 and not java 5? are you running as a service? |
22:56.07 | evosh | Why on earth did you change JSESSIONID name to something else? Wouldn't that break the session management process? |
22:56.32 | evosh | And changing it via hex editor of some class file!!! That's hard core. |
22:56.46 | evosh | That's the first. |
22:58.49 | smps | evosh, how can i solve this problem than ? |
22:59.29 | evosh | The session id's shouldn't be the same in the first place. I have no idea why you getting the same value on two different Tomcat servers. |
22:59.49 | evosh | Do you guys utilize any sort of load balancer that handles sessions appropriately for each server? |
23:01.04 | smps | evosh, there is loadbalancer on this remote server where whole site sits , but i dont have access to that server |
23:01.26 | *** join/#tomcat fix__ (n=fix@cable-87-244-191-178.upc.chello.be) |
23:03.23 | evosh | Well, if the load balancer doesn't handle sessions properly, sending one session to two servers, then the value would be the same unless your session objects implement HttpSessionActivationListener or something. |
23:03.46 | evosh | So the sessions be passivated to and activated on the second server. |
23:04.33 | evosh | Never done clustering but what I am wondering is how you could possibly get the same session id value (not the name) on both servers. |
23:04.43 | evosh | Unless I'm missing something from your question. |
23:04.55 | evosh | pfn knows more. |
23:05.12 | evosh | And... From what I read, he already took a whack at it, hah. |
23:06.44 | evosh | Does the name JSESSIONID change if you are doing clustering? |
23:07.15 | smps | evosh, i dont know, havent done clustering jet |
23:07.34 | smps | evosh, just setup of one server on which some data stored is ... |
23:08.49 | evosh | Stick around, someone may be able to help. |
23:09.10 | smps | evosh, thx anyway |
23:56.48 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |