IRC log for #tomcat on 20070510

00:01.34elementalistdoh
00:01.37elementalistdefaults best?
00:01.39elementalist:)
00:02.13pfnthe best settings depend on your machine
00:02.33pfnjust crank the number up and up until you stop receiving a benefit in concurrent performance
00:41.53*** join/#tomcat evosh (n=jixjax@user-11214do.dsl.mindspring.com)
00:49.30*** join/#tomcat Jara[zZ] (n=rimaraj@host106-241.pool8250.interbusiness.it)
01:06.32*** join/#tomcat Jarami698 (n=rimaraj@host106-241.pool8250.interbusiness.it)
01:09.33*** join/#tomcat columbo (n=Miranda@pool-71-104-52-62.lsanca.dsl-w.verizon.net)
01:34.47*** join/#tomcat jjchen (n=jjchen@58.246.26.222)
01:41.03*** join/#tomcat randrewj (n=raj-user@user-387geud.cable.mindspring.com)
01:50.17*** join/#tomcat dmiles_afk (i=dmiles@24-113-152-254.wavecable.com)
02:13.52*** join/#tomcat columbo (n=Miranda@pool-71-104-52-62.lsanca.dsl-w.verizon.net)
02:14.34*** join/#tomcat jasonb (n=jbrittai@pni-216-111-165-3.prioritynetworks.net)
02:16.51*** join/#tomcat karstensrage (n=karstens@c-69-181-220-5.hsd1.ca.comcast.net)
02:18.05karstensrage5.5.20, JDK 1.5.09, RHEL 3.7
02:18.20karstensrageis there a pastebin for tomcat?
02:21.27karstensragewhat the heck does this exception in tomcat even mean?
02:21.28karstensragehttp://eugeneciurana.com/pastebin/pastebin.php?show=1670
02:44.20*** join/#tomcat eko_eko_ (n=ekobrin@64.253.203.118)
02:51.39*** join/#tomcat jasonb (n=jbrittai@pni-216-111-165-3.prioritynetworks.net)
02:53.30jasonbGreetings once more from JavaOne.
03:04.52karstensragehi jasonb how is it?
03:04.58karstensragelots of hype about OpenJDK?
03:06.49jasonbYes.
03:06.56jasonbIt's been informative, but a zoo.
03:07.29jasonbThe way they're running it this year ends up being a lot like standing in line for a high-profile Disneyland ride, for every technical session.
03:07.46jasonbOne of them I gave up on entirely because the line was so long I couldn't find the end, and it had already started.  :(
03:08.25jasonbBut, I did sit through the Sun Grizzly session, where I saw Jean Francios Arcand for the first time.
03:08.47jasonbI also attended the Apache Harmony session, which was very cool.
03:09.03jasonbBut yeah, the Sun folks are crowing about OpenJDK a lot.
03:13.29karstensragesounds cool
03:13.34karstensrageany help on my issue :)
03:14.01jasonbI came in after you said what your issue is.
03:14.06karstensrageoh
03:14.14karstensragewell youre having fun, so its no big deal
03:14.25karstensragewhat was the Grizzly session?
03:15.44jasonbYou don't know what Grizzly is?
03:15.44karstensrageno sorry
03:15.44jasonbhttps://grizzly.dev.java.net/
03:15.44karstensrageits hard to keep up with everything and I dont get to do much java (forced to do PHP which I hate)
03:15.55jasonbIt's an attempt to make Glassfish perform as well as Tomcat.. I don't think it's quite there yet but it's close.
03:19.13karstensrageok gotcha
03:19.17karstensrageim using tomcat now
03:19.42jasonbIf you have questions, go ahead and ask, just give us all the background info as the channel's join message says to do.
03:20.13karstensragecan I just C&P what I already said?
03:20.24jasonbIf it contained the background info as well.
03:20.30karstensrage<karstensrage> 5.5.20, JDK 1.5.09, RHEL 3.7
03:20.30karstensrage<karstensrage> what the heck does this exception in tomcat even mean?
03:20.30karstensrage<karstensrage> http://eugeneciurana.com/pastebin/pastebin.php?show=1670
03:20.51jasonbIs it really RHEL 3.7?  :)
03:20.58karstensrageyes
03:21.13jasonbCan you cat /etc/redhat-release and paste the output in here?
03:21.25karstensrageit will take me a minute
03:21.26*** join/#tomcat dotpavan (n=pavan@c-68-35-77-158.hsd1.nm.comcast.net)
03:21.27karstensragehold on
03:21.51jasonbThe exception means you didn't use my RPM.  :(
03:21.58karstensragei could be wrong, im not an expert in Linux
03:22.04karstensragethats what our IT guy said
03:22.17jasonbYeah, well, he's right.
03:23.44karstensragei cant get in
03:23.46karstensragesorry
03:23.49jasonbget in where?
03:23.59karstensrageto that machine
03:24.06jasonbWell, that's a worse problem.
03:24.08karstensrageto cat /etc/redhat-release
03:27.13karstensrageumm im not sure I understand, my IT guy was supposed to upgrade me to 3.7, and it was 3.4
03:27.21karstensrageso is that enough?
03:30.59jasonbYou should use Fedora.. either Fedora 6 now, or 7 when it comes out later this month.
03:31.20jasonbThere is no RHEL 3.7 nor 3.4.
03:31.33karstensrageRed Hat Enterprise Linux
03:31.35jasonbIt's 3, 4, or 5, all of which are oldy moldy.
03:31.46jasonbYes, RHEL = Red Hat Enterprise Linux
03:32.06karstensragehold on, im getting in
03:32.22karstensragei have no choice I dont decide what they run
03:32.42jasonbSo would you like broken, or really broken?  :)
03:33.28karstensrageid just like to figure out why its giving me that error
03:33.40jasonbBecause you didn't install Tomcat via an RPM.
03:33.55karstensragei didnt?
03:33.55jasonbIf you do not know all of the things the RPM knows, you should be using the RPM.
03:34.04karstensragehmm
03:34.08jasonbOr, if you used an RPM to install it, you used the broken Red Hat RPM.
03:34.15karstensrageoh
03:34.23karstensrageare you sure. that would be great if that were true
03:34.31jasonbBut, I don't think the Red Hat RPM is broken in that particular way.
03:34.58jasonbI highly suggest you deinstall the RH Tomcat RPM and install my Tomcat RPM, the URL for it is in the topic line of this channel.
03:36.07karstensrage[root@in root]# cat /etc/redhat-release
03:36.07karstensrageRed Hat Enterprise Linux WS release 3 (Taroon Update 7)
03:36.27karstensragetold ya :)
03:36.44dotpavanhi, I have TC 6, Java 1.5 and Ubuntu 7.10, I have the startup script running fine w/o any error, but localhost doesnt show the default message.. any suggestions?
03:36.48jasonbYou said 3.4 or something.
03:37.03karstensragejasonb: I think internally we made our own RPM, are you saying its faulty?
03:37.16jasonbdotpavan: How did you install TC6 on that?
03:37.31jasonbkarstensrage: I'm saying however you installed it, that's faulty.
03:37.38dotpavanI have configured the port in the xml file also.. I installed from the tar file on apache site
03:38.19jasonbdotpavan: Okay, what does it show when you go to http://localhost/8080 (or whatever port you set it to)?
03:38.47dotpavanjasonb: unable to connect..
03:39.06jasonbdotpavan: And what do the logs say?  catalina.out, specifically?
03:40.26dotpavanoo, it has prob locating the java location.. it somehow puts 2 "//" in finding for the java path? ex: "./catalina.sh: 338: /usr/lib/j2sdk1.5-sun//bin/java: not found"
03:41.08dotpavanthe same error is repeated 3 times in the .out file
03:42.06karstensragejasonb: can you give me anything that will help me convince the powers that be thats the issue, what is the problem that the RPM is missing?
03:42.52jasonbkarstensrage: The RPM is mainly missing a knowledgeable author.  :)
03:43.08karstensragejasonb: can I tell them "jasonb" said so?
03:43.17jasonbkarstensrage: Before starting the server you must use ulimit to raise the file descriptor limit.
03:43.17dotpavanjasonb: the log just spits the same error (java not found) 3 times.. I guess I have to point the correct java location.. could you plz tell how do I point that?
03:44.18jasonbdotpavan: In your catalina.sh, set JAVA_HOME=/path/to/your/jdk/dir   (not the path to /bin/java)
03:46.35jasonbWoop, I have to go.
03:46.40jasonbTechnical session is over.
03:46.42jasonbL8r guys.
03:46.45karstensragethanks jasonb
03:46.47dotpavanjasonb: thanks..
03:47.17jasonbYou're welcome.
04:03.36*** join/#tomcat peace-keeper (i=peace-ke@85-124-87-229.dynamic.xdsl-line.inode.at)
04:05.07peace-keepertomcat 5.5.20, java 1.5, winxp: any idea why my browser (both firefox and ie) reloads all images from my tomcat site with every request? not even simple gif files seem to get cached?
04:05.17peace-keepercan this be a problem with my tomcat config ?
04:06.59*** join/#tomcat dotpavan (n=pavan@c-68-35-77-158.hsd1.nm.comcast.net)
04:23.44dotpavanhi, I have TC 6, Java 1.6 and Ubuntu 7.10, and catalina.out spews this error: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.00/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
04:24.21dotpavancould you plz tell how to fix the java.library.path?
04:25.20dotpavanIf I have to fix JAVA_HOME in catalina.sh, where do I do that? It only has cygwin specific para..
04:44.44*** join/#tomcat firemansam (n=iholsman@218-214-209-234.people.net.au)
04:46.33firemansamHi. I was wondering how you can configure tomcat so that is has a regular access log style file (similar to what apache httpd does)
04:47.41pfnconfigure the accesslog valve
04:49.00firemansamthx
04:50.44firemansamorg.apache.catalina.valves.AccessLogValve?
04:58.37firemansampfn: thanks.. it works great
05:00.39firemansam1 more question. in apache httpd, you can set things into a 'notes' table and then log those things out (ie.. a specific servlet might set something up). Is this kind of thing possible with the AccessLogValve? I can only see it outputing things from the incoming request, not the outgoing response
05:02.38pfnyou mean log into a database?
05:02.49pfnor what are you looking for exactly?
05:02.53firemansamno, still log to a file.
05:03.09firemansamin SOLR you have a couple of different variables, for example the number of rows returned
05:03.24firemansamI want to put the number of rows returned for each query on the log file line
05:04.15firemansamin Apache httpd, that would be done via the following config %{SOLR_ROWS}n
05:04.43firemansamwhere the module would set something up in the response part called 'SOLR_ROWS' for the logger to grab the value out of
05:20.10firemansamany ideas?
05:20.54*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-57-12.w82-121.abo.wanadoo.fr)
05:35.53karstensrageIm going to ask again to get a 2nd opinion
05:36.15karstensrage5.5.20, 1.5.09, RHEL 3.7
05:36.27karstensragehttp://eugeneciurana.com/pastebin/pastebin.php?show=1670
05:36.32karstensragewhy am I getting this exception?
05:39.03*** join/#tomcat dmiles_afk (i=dmiles@24-113-152-254.wavecable.com)
05:39.53karstensrageanyone?
05:52.30karstensrage:(
05:53.16*** join/#tomcat dmiles_afk (i=dmiles@24-113-152-254.wavecable.com)
06:29.40*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-240-39-174.telkomadsl.co.za)
07:04.36*** join/#tomcat [algo] (n=ilia@algo.dialup.corbina.ru)
07:27.55*** join/#tomcat stork (n=sh2-136@storkey.plus.com)
07:45.30*** join/#tomcat fix__ (n=fix@cable-87-244-191-89.upc.chello.be)
08:31.51*** join/#tomcat codeshepher1 (n=codeshep@61.8.208.15)
08:38.46*** join/#tomcat vizzy (n=verblend@p54B2C7B8.dip.t-dialin.net)
08:40.15vizzyhello, i installed mod_jk, apache2 and tomcat. mod_jk works but when i add a vhost to server.sml, it says that the index.jsp i have is not found. i get no error. just 404. and i dont know where exactly tomcat uis looking for that index.jsp. it is copied to the webdir for the webuser web4, and i set the appbase to this path in the vhost. but still 404 errors. any help?
09:02.55*** join/#tomcat [algo] (n=ilia@algo.dialup.corbina.ru)
09:04.34*** join/#tomcat gregor_k (n=a@p54A197C8.dip0.t-ipconnect.de)
09:08.14*** join/#tomcat seevash (n=jixjax@user-11214do.dsl.mindspring.com)
09:08.46*** join/#tomcat CasperB (i=user@rc-620.rc.rug.nl)
09:18.49vizzyok, now i get an info message: container xxx has not been started... but why? i cant find a reason why it should not start. i changed permissions and they are ok
09:19.50vizzyups, and i use tomcat 5.5.23 and jdk 1.5 apache2 with linux opensuse 10
09:24.17vizzyi restarted everything and deleted old logs, now it show me no more info error etc. , but when i try to call index.jsp, it shows me a blank page , no error, and no error in the defined logs.
09:28.48vizzyare there some easy to understand examples on how to create a working vhost? sorry i cant find one in the docs, a small hint would be nice
09:32.42vizzyor, how can i get useful errorlogs?
09:41.21vizzyso, reading the docs again, and setting up the vhost again from scratch, i get the same mysterious errors on browser and the same in the log... http://www.umhau-wiegand.de/index.jsp
09:41.53vizzybut it says nothing to me. there is an error... but what error?
09:43.01vizzyThe full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs. <-- and this is catalina.err and catalina.out in my case, where no useful information is
09:43.10vizzyi set debug=1 but no effect
10:25.50*** join/#tomcat astronaute (n=Astronau@bsy91-1-82-230-48-208.fbx.proxad.net)
10:27.01astronautehello
10:27.15astronauteon debian,tomcat 5, where to configure webapps root please ?
10:29.24*** join/#tomcat codeshepherd (n=codeshep@61.8.208.15)
10:33.07*** join/#tomcat rrva (n=rr@mima.x.se)
10:59.26*** join/#tomcat Luckys (n=Luckys@213.42.234.19)
10:59.51Luckysincreasing the session timeout can cause performance impact?
11:02.29*** join/#tomcat Snake007uk (n=Snake007@217.118.119.68)
11:02.44Snake007ukanyone know where i can find working rpms for tomcat 5.5
11:02.54Snake007ukones that come with RHEL5 Centos 5 are broken
11:04.14astronautewhat is the security issue with tomcat5 please, i cant include <mapping resource=""/>
11:04.26astronautealways get org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:290)
11:04.32astronautecan someone help me please ?
11:25.05*** join/#tomcat Snake007uk (n=Snake007@217.118.119.68)
11:31.33*** join/#tomcat maier (n=maier@cpe-065-190-130-225.nc.res.rr.com)
11:50.18*** join/#tomcat roel- (i=rdvdijk@rustradio.xs4all.nl)
11:50.34roel-any idea why my basic authentication does not work when I use the jk module?
11:53.04roel-I've configued the AuthConfig stuff in my virtualhost
11:53.32roel-but once I enable the JkMount the authentication doesn't work
12:00.33*** join/#tomcat memic (n=memic@timeoutd.org)
12:02.19*** join/#tomcat maier (n=maier@cpe-065-190-130-225.nc.res.rr.com)
12:16.24*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-32-73.telkomadsl.co.za)
12:19.42*** join/#tomcat joered_ (n=chatter@85-18-136-70.fastres.net)
12:38.36*** join/#tomcat jjchen (n=jjchen@61.171.10.195)
12:43.57*** join/#tomcat Narada (n=Narada@dhruba.name)
12:43.59NaradaIs there a way to specify a context name under which an application gets deployed in tomcat?  I.e. if you have dodo.war then it gets deployed under /dodo but is there a way to specify something different?
12:47.06*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-9-205.telkomadsl.co.za)
12:52.50*** join/#tomcat maier (n=maier@cpe-065-190-130-225.nc.res.rr.com)
13:03.20*** part/#tomcat Caldrin (n=mhentsc3@165.204.76.244)
13:40.14*** join/#tomcat randrewj (n=raj-user@dyn-128-59-30-172.dyn.columbia.edu)
14:06.56*** join/#tomcat maier (n=maier@p14-127.med.unc.edu)
14:18.53*** part/#tomcat randrewj (n=raj-user@dyn-128-59-30-172.dyn.columbia.edu)
14:19.05*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:45.21*** join/#tomcat evosh (n=jixjax@user-11214do.dsl.mindspring.com)
14:49.04*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-9-205.telkomadsl.co.za)
14:55.02*** join/#tomcat prgrmr (n=prgrmr@bzq-88-155-117-153.red.bezeqint.net)
15:01.58*** join/#tomcat seevash (n=jixjax@user-1121kr1.dsl.mindspring.com)
15:19.12*** join/#tomcat ibot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
15:19.12*** topic/#tomcat is Stable versions: 6.0.10, 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.
15:21.34*** join/#tomcat evosh (n=jixjax@user-1121kr1.dsl.mindspring.com)
15:47.30*** join/#tomcat Bleupomme (n=manu@ip-83-99-2-248.dyn.luxdsl.pt.lu)
15:48.30Bleupommehi, I'm using axis with tomcat and apache to have a web services server. The problem is my script is killed after 30s, does anybody know how to remove this limit?
15:56.35*** join/#tomcat Enchanter (i=Enchante@ppp1-229.mlzone.ru)
15:57.14EnchanterGreetings fathers, help please, it is necessary to make to me see you tomorrow how to make that my project in tomcat 5.5 it was displayed on localhost instead of root
15:59.50Enchanter<PROTECTED>
16:00.32*** part/#tomcat Bleupomme (n=manu@ip-83-99-2-248.dyn.luxdsl.pt.lu)
16:06.37EnchanterIn advance thanks, very strongly gain
16:09.23vizzyi give up, i stuck in setting up a simple vhost.... rtfm but no success at all, just blank pages, default pages from tomcat, no useful errorlogs, sweird configuration... hmpf :(
16:10.43EnchanterAha
16:11.38EnchanterThere can be I noob, but cannot find, and it is necessary urgently as jobs on a throat, and the boss has told tomorrow that all was, who can will explain well, I will be very grateful
16:17.55EnchanterPlease guys, help (
16:41.53*** join/#tomcat karstensrage (n=karstens@75.55.199.5)
16:41.55karstensragehi all
16:41.59karstensrage5.5.20
16:42.03karstensragejdk1.5.09
16:42.07karstensrageRHEL 3.7
16:42.09*** join/#tomcat fallacy- (n=hjames@ool-44c6a5ca.dyn.optonline.net)
16:42.14karstensragewhy am I getting this exception
16:42.26karstensragehttp://eugeneciurana.com/pastebin/pastebin.php?show=1670
16:43.09fallacy-anyone notice that if I response.setStatus(400) and pass any headers in the response that those headers don't get sent in the page if one were to use a tomcat custom error page
16:43.21fallacy-it seems to only work if we use the tomcat default page
16:52.01fallacy-ok, here's a better question, anyone know where in the tomcat 6 source that tomcat sends an error page response?
16:52.04fallacy-if you don't use a custom page
17:17.02*** join/#tomcat karstensrage_ (n=karstens@75.55.199.5)
17:23.12*** join/#tomcat codeshepherd (n=codeshep@bb220-255-213-74.singnet.com.sg)
17:24.32*** part/#tomcat codeshepherd (n=codeshep@bb220-255-213-74.singnet.com.sg)
17:26.59eko_eko_If I want to have several virtual hosts, each matching *.domain.com, is this possible using the <alias> directive? Is there another way?
17:27.13*** join/#tomcat pappy- (n=alex@dslb-084-058-217-182.pools.arcor-ip.net)
17:33.14pfnhttp://links.emessages.pokerplayersalliance.org/servlet/MailView?ms=NTcwNDIxS0&r=NDI0NjMzMDY5MQS2&j=ODQ4OTI4NjYS1&mt=1
17:33.18pfnoooh
17:36.16karstensragepfn did you see my issue?
17:36.28pfnfrom last night?  too many open files?
17:36.43pfnit means you've got too many filehandles or sockets open
17:36.43pfntypically the limit is 1024
17:36.44pfnuser processes can have less
17:36.49pfnulimit -a to see
17:37.00pfnyou can increase the limit in the kernel if it's at 1024
17:37.12pfnbut the most common reasons for such an error is that you leak filehandles
17:37.27pfn(i.e. you do not close sockets, or streams correctly)
17:39.11*** join/#tomcat codeshepherd (n=codeshep@bb220-255-213-74.singnet.com.sg)
17:40.19karstensragewould the dbcp be leaking ?
17:40.30pfnusually no
17:40.48pfnsince your pool is a set size
17:40.57pfnif you're on linux, use lsof
17:41.59karstensragethat outputs a lot what am I looking for specifically?
17:42.18pfnthe number of open files for the tomcat process
17:42.22pfnlook at what handles are open
17:42.51Enchanterhelp please, it is necessary to make to me see you tomorrow how to make that my project in tomcat 5.5 it was displayed on localhost instead of root
17:43.27pfnhuh?
17:47.05karstensragelsof | fgrep tomcat | wc
17:47.05karstensrage<PROTECTED>
17:47.33pfnlsof -p tomcat-pid
17:48.27pfnkarstensrage, it's up to you to read and see what's wrong
17:48.33pfnand at 47 lines, I'd say nothing is wrong
17:48.36pfncheck your ulimit
17:48.56karstensrageok lemme try that, thanks, I didnt know about that before
17:51.59Enchanterhelp me pliz =(
17:52.00pfnEnchanter, you have not asked a question
17:52.02Enchanter?
17:52.07Enchanterhelp please, it is necessary to make to me see you tomorrow how to make that my project in tomcat 5.5 it was displayed on localhost instead of root
17:53.36pfnagain, that's not a question
17:53.46pfnyou need to do what to what what?
17:55.43EnchanterIt is necessary for me that my project with name Hello_World was on localhost, instead of on localhost/hello_world how it to make?
18:01.03fallacy-pfn: any idea where in the tomcat source those 400, 404 etc default error pages are generated?
18:01.28karstensragepfn tons of java    8634  rtv  336u  sock      0,4          11266575 can't identify protocol when it starts up
18:02.15Enchanterpfn?
18:02.59karstensragepoor pfn
18:07.38pfnfallacy-, grep for 400, or HttpServletResponse.SC_
18:07.55pfnkarstensrage, I don't know what that is
18:08.16Enchanterme, me too)
18:08.19pfnEnchanter, I'm sorry that english is not your primary language, but I can't understand you
18:08.32Enchanter=)
18:08.32pfnkarstensrage, try jconsole, maybe
18:08.43fallacy-pfn: I did, but its in a properties file
18:09.00pfnfallacy anyway, why do you care how tomcat generates its error pages?
18:09.33Enchanterhow i can get, then my progect seen in localhost, o not in localhost/name_pogect
18:10.08pfnyou mean you want localhost/YourJspFileHere.jsp instead of localhost/name_project/YourJspFileHere.jsp?  (example)
18:10.18Enchanteríóû
18:10.21Enchanteryes
18:10.26Enchantertnak you =)
18:10.35pfnname your webapp ROOT.war
18:11.36Enchanterno, them my progect don`t work
18:11.57Enchantero
18:11.57pfnyou have no choice
18:11.57pfnyou cannot say no
18:11.57Enchanter=)
18:12.09Enchanterwhy does it don`t work..
18:12.40pfnthere's nothing that "don't work" here
18:12.47pfnit works exactly as it's supposed to
18:56.29*** join/#tomcat eikelmt (n=eikelmt@gold.herbalife.com)
19:03.03eikelmtis there anyone here who knows apache and mod_rewrite
19:05.28pfneikelmt, #apache
19:06.27eikelmtI tried for almost two days to get answer for one question
19:07.37pfnwell, obviously, you don't know how to ask questions, otherwise it would have been answered by now
19:17.05eikelmtmaybe you are right
19:25.47*** part/#tomcat eikelmt (n=eikelmt@gold.herbalife.com)
19:28.37pfn... ugh, that should have prompted him to ask his actual question
19:30.21pfnsome people never learn...
19:34.43*** join/#tomcat stork (n=sh2-136@storkey.plus.com)
20:11.20*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
20:31.24*** join/#tomcat Azzkikr (n=krpors@a62-251-82-134.adsl.xs4all.nl)
21:02.02*** join/#tomcat odin (n=dlm@host86-128-75-84.range86-128.btcentralplus.com)
21:09.57*** join/#tomcat Rappermas (n=chatzill@c-67-173-239-229.hsd1.co.comcast.net)
21:11.13RappermasTomcat 6.0.10, JDK 1.5, FreeBSD 6.2:  I can't get tomcat to run...more specifically, which port should it be running on?
21:18.17*** join/#tomcat sambiase (n=sambiase@c213-100-19-224.swipnet.se)
21:18.24sambiasehi...i want to install tomcat... im doing via yast..im getting a dependency conflict...i need something called jta >=1.0.1-0.a.1 for tomcat .... what is that jta?
21:43.10*** part/#tomcat Rappermas (n=chatzill@c-67-173-239-229.hsd1.co.comcast.net)
22:23.26*** join/#tomcat dvayanu (n=another@ppp-88-217-0-250.dynamic.mnet-online.de)
22:29.26*** join/#tomcat rvsjoen (n=xtreme@100.80-202-123.nextgentel.com)
22:29.39rvsjoenwhere can I change which JRE is used by tomcat ?
22:32.26pfnset JAVA_HOME
22:37.25rvsjoenyay :) thanks
22:37.54rvsjoenhow can I know if the mysql jar is loaded ? I put it in the shared/lib folder but i'm not sure its working..
22:38.34pfncheck jmx
22:38.36pfncheck lsof
22:40.13rvsjoenthe file is open, does that mean its loaded ?
22:42.49pfnyes
22:43.01pfnwell, you mean the datasource?  it is if you've configured it right
22:46.11rvsjoenhmm, its been working correctly on localhost but i'm getting a nullpointerexception from getConnection after I deployed it, the context.xml looks like this http://rvs.pastebin.ca/481646
22:50.12*** join/#tomcat rvsjoen_ (n=xtreme@100.80-202-123.nextgentel.com)
22:50.23rvsjoen_bleh got dc'ed
22:52.00pfnso what's your java code look like?
22:52.13rvsjoen_one sec
22:52.41pfnyou won't get an NPE
22:52.42pfnyou'll get a NamingException if it's setup incorrectly
22:53.27rvsjoen_http://rvs.pastebin.ca/481668
22:54.18pfnand wtf is context path="/tod073#..."
22:54.56pfnand usually, people abbreviate context as ctx
22:55.06rvsjoen_when using # it shows as /tod073/semesteroppgave in tomcat manager
22:55.28pfnwhy can't you just use / instead of #
22:55.58pfnif you're getting an NPE in ds.getConnection(), then getDataSource() got a NamingException
22:56.18pfnand the jndi name should just be "jdbc/tod073" I think
22:56.37pfnjava:comp/env/ is only available when you set it up in web.xml
22:57.16rvsjoen_forgot that I have this in web.xml http://rvs.pastebin.ca/481676
22:57.56pfnok, then you got a NamingException in getDataSource
22:58.45rvsjoen_ok
23:03.41*** join/#tomcat maier (n=maier@cpe-065-190-130-225.nc.res.rr.com)
23:38.16*** join/#tomcat funkeymonkey (n=kennyf@gold.herbalife.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.