00:00.03 | don-o | but if a symlink is in ROOT.war is says that url is not available |
00:01.26 | jasonb | don-o: Search for "symlink" on this page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html |
00:02.03 | don-o | i see it. thx again. |
00:02.06 | *** part/#tomcat don-o (~donp@personaltelco.net) |
00:15.57 | *** join/#tomcat eddyMul (~emulyono@adsl-69-108-206-97.dsl.pltn13.pacbell.net) |
00:18.15 | eddyMul | hi. I'm a newbie. I am playing with the /jsp-examples JSPs. Can someone point me to what I need to do so I can "tweak" a bit of the examples, and redeploy? |
00:18.59 | pucko | afaik just edit them and run |
00:19.50 | *** join/#tomcat ph0enix_ (~phoenix@201.3.141.233) |
00:20.21 | eddyMul | pucko, I tried, but the changes didn't take effect. I am using tomcat-5.5.9 |
00:21.19 | eddyMul | I edited the samples (which I assume sits under webroot/jsp-examples) |
00:22.43 | eddyMul | pucko: and couldn't get them to recompile (I assume there's a "configuration" I need to set somewhere?) |
00:26.07 | jasonb | eddyMul: Your web browser's probably caching the old content. |
00:26.44 | eddyMul | jasonb, did the Firefox f5 refresh, too.... or did I miss anything? (I am modifying the JSP 1.2 examples) |
00:42.48 | jasonb | eddyMul: I don't know of the f5 thing. Plus, I don't use Firefox, I use Mozilla Seamonkey (the suite). Try holding down Shift and clicking the reload button. |
00:43.34 | jasonb | eddyMul: 5.5.9 is a good release, and it should work great. |
00:45.05 | eddyMul | jasonb, I know. And I feel bad I can't show off how good it is compared to Sun's (boo) |
00:46.11 | eddyMul | jasonb, can I edit stuff directly in <tomcat install dir>/webapps/jsp-examples/dates/dates.jsp ? |
00:46.24 | jasonb | eddyMul: Yes. |
00:46.46 | eddyMul | jasonb, and it should "hot deploy", right? ;) |
00:46.58 | eddyMul | jasonb, but it ain't doing the magic for me... |
00:47.31 | jasonb | eddyMul: What's in the logs? |
00:49.12 | eddyMul | jasonb, which .log should I focus on? |
00:49.36 | jasonb | All of Tomcat's log files. |
00:50.20 | jasonb | eddyMul: I have to go pretty quick. |
00:50.22 | eddyMul | jasonb, they mosly begin with "INFO: " |
00:50.38 | jasonb | eddyMul: Which OS brand & version are you running this on? |
00:50.47 | eddyMul | windows xp sp 1, |
00:50.53 | eddyMul | tomcat 5-5-9 |
00:50.58 | eddyMul | java 1.5.0.02 |
00:51.16 | jasonb | eddyMul: Should work.. |
00:52.04 | jasonb | eddyMul: Well, I'm not real sure what to tell you without spending about a half hour digging into the configs & logs. |
00:53.00 | eddyMul | thanx, man. if u gotta go, u gotta go. I'll continue the wrestle. |
00:53.55 | jasonb | eddyMul: It's supposed to reload JSPs and serve the new one to you. You may want to try shutting Tomcat down, removing everything in $CATALINA_BASE/work/*, then restarting Tomcat. |
00:54.11 | jasonb | Cheers. |
00:54.28 | *** join/#tomcat LuciferBR (~luciferbr@200165156234.user.veloxzone.com.br) |
00:54.32 | eddyMul | jasonb, cheers |
00:57.19 | LuciferBR | Hello, everyone! Quick question, I hope someone can help me: What considerations, if any, I must make before updating Tomcat? |
00:58.49 | *** join/#tomcat beron (~musrat@64-121-41-8.c3-0.dlcy-ubr1.sfrn-dlcy.ca.cable.rcn.com) |
01:07.44 | lyk3n | jason: pretty good mate |
02:05.17 | *** join/#tomcat wass3r (wasser@astound-66-216-228-200.mn.astound.net) |
02:16.23 | *** join/#tomcat iq (~iq@70-59-161-65.omah.qwest.net) |
02:44.27 | *** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net) |
03:10.41 | *** join/#tomcat russt (~rusty@c-24-8-7-236.hsd1.co.comcast.net) |
03:11.26 | russt | any anyone tell me why, when I attempt to install an app from an ant task, I get a 401 error, but if I take the same URL and put into a browser, it completes the installation? |
04:06.34 | bugfixer2 | russt: is sounds like the ant task is not passing over any authenication info |
04:12.20 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
04:17.46 | russt | bugfixer2 hm- maybe I've got it configured wrong |
05:24.51 | *** join/#tomcat simplebird (~lind@user-12ldaq6.cable.mindspring.com) |
05:33.01 | *** join/#tomcat kab_ (~abarrera@201.128.135.177) |
05:46.36 | *** join/#tomcat NeRMe (~nerme@pool-70-19-17-105.ny325.east.verizon.net) |
06:19.12 | *** join/#tomcat cydark (~dark@29-242-182-81.adsl-fixip.axelero.hu) |
06:19.14 | cydark | hi all |
06:19.24 | cydark | anyone here to help a littlebit?:) |
06:20.24 | cydark | i have this error message: |
06:20.49 | cydark | i tried to find something useful on google but nothing |
06:20.50 | cydark | java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. |
06:38.17 | *** part/#tomcat kab_ (~abarrera@201.128.135.177) |
07:26.47 | NeRMe | do I need to update my conf/server.xml file if I want servlets to work with MySQL Connecter/J? |
07:31.37 | *** join/#tomcat levon (~levon@mail.feature-it.de) |
07:34.45 | NeRMe | can anyone give me an example of a <Context> addition to server.xml? |
07:36.31 | NeRMe | god damn it my head is spinning from all this stuff :P |
07:41.30 | NeRMe | ok, is <Context ...> a correct statement, or is it looking for something in place of the "..."? |
07:55.06 | lyk3n | nerme you might have to wait for a response |
07:55.16 | lyk3n | people who could answer you arent active atm |
07:55.29 | *** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net) |
07:57.50 | loquace | lo |
07:58.31 | lyk3n | lo |
08:00.54 | *** join/#tomcat joered (~chatter@213-140-6-118.fastres.net) |
08:01.28 | *** join/#tomcat harpoon (~harpoon@x1.vpn.hrz.tu-darmstadt.de) |
08:49.17 | NeRMe | lyk3n: sorry mate, i'm all hyped up on the coffee |
08:49.19 | NeRMe | hehe |
08:53.20 | lyk3n | it happens at this time of the morning |
09:02.49 | *** join/#tomcat StarScream (~am@217.169.25.114) |
09:03.18 | StarScream | does 5.5.9 come with the dbcp package? |
09:30.56 | *** join/#tomcat ohsix (ohsix@bc111222.bendcable.com) |
09:31.24 | *** join/#tomcat JeyK (user@c-67-174-156-60.hsd1.ca.comcast.net) |
09:31.32 | *** join/#tomcat ohsix (ohsix@bc111222.bendcable.com) |
09:32.46 | JeyK | how do i get jakarta to re-load the class file(s) on every request? it seems i have to restart the server for changes to take effect |
09:38.51 | StarScream | JeyK: package them as war files |
09:39.01 | StarScream | and turn on auto loading |
09:40.25 | JeyK | alright |
09:40.26 | JeyK | thanks |
09:42.56 | *** join/#tomcat swoop_ (~no@gw.venturelab.ideon.se) |
09:44.46 | swoop_ | hi I asked here yesterday but didn't get any answer.. pulling my hair here.. is there any known bugs with enabling SSL in Tomcat 5.5? has anyone here succeeded with doing that?.. I follow the very simple instructions to enable SSL but the server doesnt even seem to respond to port 8443.. normal connection works fine |
09:46.02 | swoop_ | I see the <Connector ..> tag is quite different from earlier versions.. when I replace it with the one used in earlier versions it seems to connect to the port but then nothing more happends |
09:57.54 | *** join/#tomcat luuk (~Luuk@ip503cbd76.speed.planet.nl) |
10:10.57 | *** join/#tomcat Beets (~bjornars@193.213.208.115) |
10:10.59 | Beets | hi |
10:12.09 | Beets | can anyone help me understand why the output from one single .jsp file in my project isn't interpreted as HTML by the browser? |
10:12.20 | JeyK | argh |
10:12.21 | Beets | none of the other jsp-files have that problem |
10:12.33 | JeyK | i dont understand where to put the <Context reloadable="true"> for my servlet application |
10:12.55 | Beets | I have tried added a ContentType function, but that doens't help |
10:19.11 | JeyK | i don't see any conf/context.html for some reason. i'm on gentoo with tomcat 5.0.27 |
10:19.17 | JeyK | conf/context.xml that is |
10:19.28 | JeyK | is that only 5.5? |
10:24.25 | JeyK | this is frustrating, how the heck do i enable auto reload? |
11:57.02 | *** join/#tomcat Anon168 (~Andres@80-28-25-134.adsl.nuria.telefonica-data.net) |
12:06.46 | *** join/#tomcat kadams (~java_pro@adsl-217-132-138.bgk.bellsouth.net) |
12:13.11 | *** part/#tomcat braindead_moron (~richard@gk2.bowmansystems.com) |
12:20.40 | cydark | can anyone help in an interesting errormessage?:) |
12:20.44 | cydark | java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. |
13:08.17 | *** join/#tomcat unco (~0x0F@dsl-202-72-159-204.wa.westnet.com.au) |
13:08.30 | unco | anyone able to give me a hand with a tomcat for NT issue? |
13:12.44 | *** join/#tomcat shadewind (~shadewind@62.119.212.135) |
13:14.56 | shadewind | when developing a web application, is it good to strive for putting different things in different servlets if you know what i mean? |
13:28.26 | *** join/#tomcat iq (~iq@70-59-160-50.omah.qwest.net) |
13:42.42 | *** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
14:29.30 | *** join/#tomcat Twi (~Twi_Lapto@msgext.cmc.optus.net.au) |
14:32.21 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
14:39.08 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
14:46.35 | *** join/#tomcat StarScream (~am@217.169.25.114) |
14:47.36 | StarScream | hi, i am attempting to write my own db connection pool and i was wondering if its possible to load this class when the web-app starts up so that i can just do dbpool.getConn() |
14:47.53 | StarScream | if so how do you tell tomcat to do it |
14:59.06 | shadewind | StarScream: you should use ServletContextListeners which you define in web.xml |
14:59.58 | shadewind | StarScream: ServletContextListeners are called when a web app is initialized and when it's destroyed |
15:05.34 | StarScream | shadewind: cool thank you. |
15:07.49 | *** join/#tomcat flip (flip@flip.user) |
15:39.57 | *** join/#tomcat cydark (dark@82-131-128-93.vnet.hu) |
15:39.59 | cydark | re |
16:02.39 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
16:09.52 | *** join/#tomcat harpoon (~harpoon@x325.vpn.hrz.tu-darmstadt.de) |
16:09.53 | thepiper | is there anyway to increase the log level of catalina.out? |
16:17.43 | *** join/#tomcat Kasica (~Kasica@bep104.neoplus.adsl.tpnet.pl) |
16:17.46 | Kasica | hi all |
16:18.31 | Kasica | setting in server.xml |
16:18.34 | Kasica | line :<Context path="" docBase="/home/kmalinow/domains/kmalinow.linuxpl.com/public_html" debug="0"/> |
16:18.52 | Kasica | can i put unpacket war into this directory and servlet will work? |
16:19.29 | *** join/#tomcat mecca (~flip@static-141-158-133-100.scr.east.verizon.net) |
16:19.31 | Kasica | but when im installing servlet using /manager it is installed in another directory , in /usr/local/tomcat/webapps... |
16:19.38 | Kasica | how can i understand it/ |
16:34.34 | Kasica | anyone |
16:43.00 | randrew | Kasica: yes, servlets can be installed in different places |
16:43.18 | *** join/#tomcat pyOne (~adriano@200-193-230-166.gnace7002.dsl.brasiltelecom.net.br) |
16:43.29 | Kasica | randrew but when i unpack it in public_html |
16:43.36 | Kasica | tomcatd should be restarted? |
16:43.40 | Kasica | to load that servlet to memory |
16:43.54 | Kasica | or this servlet has to be installed through MANAGER to make it all work |
16:44.46 | pyOne | Hey guys... which version of tomcat is better to use in a Red Hat Enterprise AS 4? |
16:44.47 | pyOne | I mean... which one is better to use and install? |
16:44.49 | randrew | There are different ways to install servlets. The behavior varies depending on the version of tomcat and settings in server.xml, but restarting should work. |
16:45.55 | Kasica | randrew im using tomcat 4.x |
16:46.00 | randrew | Kasica: i'm not aware of any reason an app would need to be installed through manager, instead of some other way |
16:46.13 | Kasica | whare are those other ways |
16:46.18 | Kasica | what* |
16:47.34 | randrew | http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html |
16:47.53 | loquace | ++ |
16:48.15 | Kasica | i can not add user to /manager/html/ because he will have access to all runned servlets |
16:48.28 | Kasica | i can add him having role standard , not manager |
16:48.47 | Kasica | weird |
16:51.51 | jasonb | pyOne: Tomcat 5.5.9. |
16:55.54 | pyOne | jasonb: ok... and what issues do i get while installing it? |
17:09.35 | jasonb | pyOne: It should install just fine. It's the latest stable version, and it should work well. If you're migrating from an older Tomcat (with older configs), then you will have to hand-migrate your configs, but that's about it. |
17:12.02 | pyOne | jasonb: Thanks a lot! I'll try know... |
17:14.02 | *** join/#tomcat shadewind (~shadewind@62.119.212.135) |
17:14.03 | jasonb | pyOne: You're welcome. |
17:14.16 | *** join/#tomcat shadewind (~shadewind@62.119.212.135) |
17:31.41 | *** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se) |
17:38.30 | *** join/#tomcat mecca (~flip@static-141-158-133-32.scr.east.verizon.net) |
17:39.41 | *** join/#tomcat unco (~0x0F@dsl-202-72-159-204.wa.westnet.com.au) |
17:40.41 | unco | hey guys, can anyone tell me how to get a site running in tomcat to work on port 80? the default I beleive is 8080, but I'm guessing you can't run both tomcat listener and the webserver on the same port |
17:42.59 | jasonb | unco: What's a "tomcat listener" if it isn't a web server? |
17:46.02 | unco | jasonb: well I seem to get that tomcat runs off one port and IIS runs off another when using the tomcat connector |
17:47.15 | unco | like an apache/tomcat setup, as well as an IIS setup, the IIS setup basically redirects to the tomcat |
17:48.18 | jasonb | unco: So which web server do you want to use? IIS? Apache HTTPD? Or Tomcat's built-in Coyote web server? |
17:49.19 | unco | jasonb: i'm working on someone elses setup |
17:49.25 | unco | there is apache tomcat |
17:49.27 | unco | and IIS |
17:49.31 | jasonb | unco: The other kind of server that Tomcat implements is called the JK connector, which answers network requests from the third-party web servers. |
17:49.47 | jasonb | unco: Okay, let me rephrase: What is it that you want to do? |
17:49.54 | unco | okay |
17:50.02 | unco | I have a virtualhost setup in IIS |
17:50.08 | unco | with the jakarta connector |
17:50.27 | unco | basically - how do I then get tomcat to access the files I need it to? |
17:52.45 | unco | like I don't need to have linkage from the default website or anyhting do I/ |
17:54.04 | unco | but also, i have no idea about adding the context's and hosts to tomcat:/ |
17:54.05 | jasonb | unco: Your question is not specific enough for me to know what you're asking. |
17:54.14 | unco | okay |
17:54.21 | unco | I have a directory in x:\deply |
17:54.27 | unco | that tomcat needs to look at |
17:54.37 | unco | how do i get tomcat to look at that directory for a certain url |
17:55.08 | jasonb | unco: Sounds like you need to read docs. Either the ones on jakarta.apache.org/tomcat, or a book like Tomcat: The Definitive Guide. Both of these have lots of answers to these kinds of questions. |
17:55.41 | unco | unfortunately this is just a once off thing that I needed to get done by tomorrow heh |
17:56.17 | unco | I just find it strange that other sites on the server are going through properly (from the IIS to the jakata directory) |
17:57.34 | jasonb | unco: Well, Tomcat/Webapps/Java isn't something you can learn in an hour or two, really. |
17:58.10 | unco | yes, I tried to explain that heh |
18:00.42 | cydark | hey everybody:) |
18:01.00 | cydark | i have a god damn error message and i dont know how can i resolv this: |
18:01.02 | cydark | java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. |
18:01.38 | cydark | i know this is about the charachter encoding but i dont know what couz this error |
18:01.53 | cydark | i use tomcat 5.0.30 with apache axis 1.2rc3 |
18:02.14 | cydark | i got this error message when i try to work with an xml:) |
18:05.31 | jasonb | cydark: And you already asked the axis guys about it? |
18:05.59 | cydark | not yet:) |
18:06.04 | jasonb | Well, that's step 1. |
18:06.07 | cydark | where can i reach any axis guy?:) |
18:06.21 | jasonb | The axis mailing lists might be a good start. |
18:08.20 | russt | I'm not sure if this is the best place to ask this question, but how can I have the tomcat ant task copy a recompiled class file to its context? Currentl it gives me an error that the application already exists. If I attempt to remove it first, it removes the entire context, which includes the web.xml file. |
18:14.51 | cydark | thanx jasonb |
18:14.55 | cydark | i try that:) |
18:20.07 | jasonb | cydark: You're welcome. |
18:21.34 | jasonb | russt: You would need to just have ant copy the resulting .class file into the dir where it would normally be deployed. So, you first need to figure out where it should go, then you would need to change your ant build file so that it <copy>s it into place. |
18:22.27 | russt | jasonb, well, I figured part of it out. I can uninstall/install while retaining the web.xml file. |
18:23.20 | russt | jasonb, I think I'll add a new target to the build file to take care of the other part. |
18:32.48 | *** join/#tomcat pyOne (~adriano@200-193-230-166.gnace7002.dsl.brasiltelecom.net.br) |
18:33.17 | pyOne | jasonb: how can I restart my server? I started with jsvc... |
19:07.47 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
19:18.10 | *** join/#tomcat mkanter (~mkanter@rrcs-67-53-4-71.west.biz.rr.com) |
19:20.43 | mkanter | It's kind of quite here, anyone got time for an Apache Web Server/Tomcat configuration question? |
19:23.36 | *** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se) |
19:23.52 | mkanter | Hello? |
20:02.53 | *** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se) |
20:09.02 | *** join/#tomcat NeRMe (~nerme@pool-70-19-17-105.ny325.east.verizon.net) |
20:10.49 | *** join/#tomcat linuxfreck (~freck@fry.fmi.uni-passau.de) |
20:32.31 | *** join/#tomcat IRCMonkey_ (~chatzilla@gycklare.campus.mdh.se) |
20:38.22 | russt | When attempting to load a class, I get an error in the log that says, "Marking servlet myservlet as unavailable". I don't know why this is happening, so I'm wondering which property I can set to have tomcat include some debugging info with this that might give me more of a clue as to what's going on. |
20:44.48 | jasonb | russt: Your servlet reload failed for some reason, and so any servlet that needed it will be marked unavailable. |
20:46.28 | russt | jasonb, is there a way I can find out why it failed? |
20:48.00 | jasonb | russt: Which version of Tomcat? |
20:57.55 | russt | jasonb, 5.5 |
21:02.59 | jasonb | russt: I still haven't played with the logging, but I'd suggest turning the logging all the way up. Also, you could add "-verbose:class" to your CATALINA_OPTS and restart, and look through the verbose classloading info. |
21:07.31 | *** join/#tomcat stow (~stows_min@206.107.215.117) |
21:09.02 | *** part/#tomcat mkanter (~mkanter@rrcs-67-53-4-71.west.biz.rr.com) |
21:18.04 | *** join/#tomcat a4akb (a4akb@as34-a159.qualitynet.net) |
21:26.50 | *** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
21:37.01 | *** join/#tomcat EExtasEE (EExtasEE@l02m-29-201.d4.club-internet.fr) |
21:37.09 | EExtasEE | hi |
21:37.13 | EExtasEE | anybody here? |
21:37.55 | linuxfreck | sometimes :) |
21:44.12 | EExtasEE | I have a problem using Tomcat : I sure about my tomcat-user file but I still can't use application manager because of my user/pass which are not recognized |
21:45.22 | *** join/#tomcat kiorky (kiorky@cryptelium.net) |
21:50.03 | jasonb | EExtasEE: http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html |
21:54.16 | a4akb | ibot boo |
21:54.17 | ibot | a4akb, for heven's sake, don't do that! |
22:11.34 | EExtasEE | jasonb I know that |
22:11.54 | EExtasEE | Im sure my tomcat user is good |
22:12.23 | EExtasEE | <tomcat-users> |
22:12.24 | EExtasEE | <PROTECTED> |
22:12.24 | EExtasEE | <PROTECTED> |
22:12.24 | EExtasEE | <PROTECTED> |
22:12.24 | EExtasEE | <PROTECTED> |
22:12.24 | EExtasEE | </tomcat-users> |
22:12.48 | ohsix | thats a fine admin password |
22:13.02 | EExtasEE | of course :) |
22:13.33 | EExtasEE | that's not mine |
22:14.02 | EExtasEE | I have restarted my server : no change |
22:14.13 | EExtasEE | do I have to reinstall? |
22:20.23 | jasonb | EExtasEE: Which OS brand & version are you running this on? |
22:24.03 | EExtasEE | Im running it from netbeans |
22:24.15 | EExtasEE | under winXP |
22:26.10 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
22:28.15 | jasonb | EExtasEE: Well, I don't know if 100% of the Netbeans-embedded Tomcat still works. You should try this with a Tomcat you download and install separately. |
22:35.29 | EExtasEE | too late |
22:35.34 | EExtasEE | I have reinstalled |
22:36.33 | EExtasEE | thank for your help |
22:43.06 | russt | jasonb, thanks for the tip- I will try that. |
22:44.38 | jasonb | russt: You're welcome. |
23:39.32 | *** join/#tomcat NeRMe (~nerme@pool-70-19-17-105.ny325.east.verizon.net) |