irclog2html for #tomcat on 20060605

00:52.14*** join/#tomcat klync___ (n=klync@ottawa-hs-64-26-169-221.s-ip.magma.ca)
01:05.21*** join/#tomcat DarkStorm2736 (n=DStorm@p54B0493F.dip.t-dialin.net)
01:14.39jierynhello, i am having an awful lot of trouble with tomcat vhosting, anyone have a few minutes?
01:14.45jieryn*name based vhosting
01:15.28yassinejieryn,  i have a config template for you
01:16.56jieryni'm finding some leads via google, but they just aren't working for my situation
01:17.01jierynplease post? :) thx!
01:17.12jieryni'm using apache mod_proxy + tomcat
01:18.39jierynyassine: where at? :-)
01:18.53yassinehttp://tomcat.developerz.de/helpOnVhosts
01:19.15yassinejieryn,  if you changed something ill be glad if you can submit it there please
01:19.25yassineits late here so i have to go sleep
01:19.40yassineif its not working tomorow i can try to help you then
01:19.44yassinegood night
01:19.48jieryncan i see your apache conf??
01:20.14jierynahh, nm, i seee it.. thx :)
01:21.39jierynthis doesn't really help, sorry ... without having fully qualified path information about where you're storing stuff, i'm clueless
01:35.12jieryni have a webapp which is getting deployed like three times, wtf
01:35.26jieryni'm also seeing triplicate in my logs
01:53.53*** join/#tomcat bugfixer (n=bugfixer@42gis175.gulftel.com)
02:07.27*** join/#tomcat srufle (n=chatzill@ip68-99-93-211.ph.ph.cox.net)
02:10.44*** join/#tomcat tonyg (n=tonyg@cpe-74-67-154-147.rochester.res.rr.com)
02:20.33tonyghi, does everyone know about this taglib issue in post 5.5.12 tomcat but me?
02:20.33tonyghttp://www.nabble.com/DO-NOT-REPLY--Bug-39663---New:----%22JasperException:-File--TLD-Name--not-found%22-with-zero-length-context-path-t1683696.html
02:20.33tonygdoes anyone have any info on this bug and know when it might be fixed?
02:22.18jasonbIf it's still an open bug, that means probably none of the committers have looked at it yet, which means nobody is working on it if that is the case.  But, usually soon enough a committer will verify whether it is indeed a bug in Tomcat or not.
02:23.49*** join/#tomcat linuxfreck (n=freck@203.152.126.127)
02:34.59*** join/#tomcat jgoodwill (n=jgoodwil@c-67-176-115-152.hsd1.co.comcast.net)
02:36.06*** part/#tomcat jgoodwill (n=jgoodwil@c-67-176-115-152.hsd1.co.comcast.net)
02:50.03*** join/#tomcat Kira (i=Kira@dsl-207-112-93-145.tor.primus.ca)
02:50.18KiraWhat's a good starting place to learn EJB?
02:50.52Kira(actually, I don't even know what JavaBeans is)
03:01.43jasonbDon't bother with EJB.
03:01.50jasonbYou almost certainly don't need it.
03:02.15jasonbAnd, if you did learn EJB, as soon as you learned it enough to write some, the spec would change, then you wouldn't know EJB anymore.
03:03.09Kirajasonb: lol. Well, I wanted to at least find out what the heck is all the buzz about (I saw a lot of job postings for people who can do EJB).
03:04.12KiraI take it that the JSP and servlet specs are a lot stabler and more useful than EJB?
03:05.15jasonbYes.. that is exactly the case.
03:05.58jasonbKira: Look at it this way: if a job posting says you need to know EJB, and you find out from them that the job is (in part) to develop some EJBs, then you're better off without that job.
03:06.12KiraI wonder if I can pull it off by applying to a job that demands EJB and then convincing them that they don't need EJB at the interview. :P
03:06.20jasonbKira: Some employers list it as a "must know", but then they don't even use it.
03:06.28Kiraoh
03:06.52jasonbYou will likely not be able to convince the fools who are already convinced that EJB helps them in some way.
03:06.58Kirahahaha
03:07.12Kiraso I should avoid those companies altogether, eh?
03:07.15jasonbBut, you also shouldn't bother trying to work with them either.
03:07.17jasonbYes.
03:07.23jasonbUnless they actually do not use EJB.
03:07.32KiraLOL
03:07.51jasonbSometimes the HR people write the job reqs, and during the interview you come to find out that they don't use half of what was listed in the job posting.
03:08.15Kiragreat, that puts back more confidence in me.
03:08.21jasonbSometimes, also, they're looking for a good webapp developer, and they think of that as "J2EE", which is wrong, so they look up the technologies in J2EE and list them in the job posting.
03:08.33jasonbYeah, this is how it is in the real world.
03:08.42jasonbVery few people are actually using EJB these days, and that's good.
03:09.07jasonbIf I had to recommend a Java EE (formerly J2EE) application server that includes EJB, I'd recommend Apache Geronimo.
03:09.49jasonbGeronimo includes both Tomcat and Jetty, although I think they default to Jetty because they didn't take the time to understand Tomcat first, and also because some of their committers are Jetty developers.  :)
03:10.40jasonbBut, honestly, basically nobody needs EJB.. regardless of which different version of the spec you refer to.
03:11.12jasonbIt's something that took me a couple/few years to really understand, but it's the truth.
03:12.22Kiraok. :)
03:14.26jasonbThe cool thing is: Tomcat stand-alone implements just about all the rest.  :)
03:15.17jasonbAnd, what it doesn't implement can be easily added on.
03:15.39jasonb(like JMS)
03:16.03jasonbNow, it may end up helping you to learn some things about JMS.
03:16.13*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
03:18.12KiraIn other words, you are suggesting that if I do learn EJB, just learn the things in EJB that are missing from vanilla jsp and servlets, and then think of ways to implement them without EJB, correct?
03:20.02jasonbWell, not really.  I'm saying it's a waste of time to study EJB.  Also, EJB and servlet webapps have some overlap.  It would be hard to study the parts of EJB that Tomcat doesn't already implement when you're free to implement whatever you want in a webapp.
03:20.44jasonbEJB didn't really solve any particular problem that, say, Tomcat and JPOX don't already solve.
03:20.45Kiraah, I get it now.
03:21.24jasonbAnd, however much time you put into studying EJB goes right out the window when the next version of the spec comes out..
03:21.40jasonbThat has been the case for every version through the years since the beginning of EJB.
03:32.49lykenlol
03:33.22lykenjasonb: my friend was getting Sun Enterprise architect qualifications and i had a laugh
03:35.11Kiralyken: and EJB is at the core of that qualification?
03:35.25lykenpart of it yer
03:35.29lykenwell his work is paying for it
03:35.30lykenso its ok
03:35.33lykenif he had to pay for it
03:35.36lykenhe wouldnt do it
03:35.41Kiralol
03:35.49lykenhe's got pretty much every sun java qualification there is
03:41.53jasonblyken: And does that help him?
03:42.46lykenwell he's paid a lot
03:42.52lykenand he really knows his shit when it comes to java
03:43.13jasonblyken: How long has he been programming?
03:43.56jasonbAs of this fall, I've been programming, basically daily, for 25 years.
03:44.10lykenjasonb: he's the same age as me
03:44.17lykenand he's on $90k/yr
03:44.42Kirao.O
03:44.54lykenjasonb: you're also 15 years older than me no?
03:44.57lykenor is it 10? hehe
03:45.09Kiralet me guess..
03:45.14Kira150k/yr
03:45.16jasonbI'm 35 now, will be 36 in late September.
03:45.45jasonbKira: I make less than that.. somewhere in the middle.  :)
03:46.46lykenlol
03:46.54lykenand take off the zero and then some more
03:46.57lykenand thats my annual
03:46.58lykenlol
03:47.00jasonblyken: How old are you again?
03:47.08lyken25
03:47.25jasonblyken: Well, you've done well for that age, that's for sure.
03:47.51lykennot me
03:47.57lykenive never earned over 60K/yr :(
03:47.58jasonbyes, you.
03:48.05lykeni just know a lot about a lot
03:48.13jasonbWell, accomplishments aren't always measured in salary.  :)
03:48.15lykenand ive only owned a computer since 2000
03:48.23jasonbWOW.
03:48.31jasonbYou really have come a long way in a short amount of time.
03:48.35Kirajasonb: where do you work? :)
03:48.39lykenyer, i grew up really poor
03:48.45lykenhe tracks aliens !
03:48.47jasonbKira: I find planets for a living.
03:48.49lykenx-files !
03:49.08jasonbKira: This is my current project: http://kepler.nasa.gov/
03:49.36jasonbWe could indeed find aliens.. we just don't know until we try.  :)
03:49.43KiraNeed a junior java dev there? ;)
03:49.55jasonb"Pray that there's intelligent life somewhere out in space, 'cause there's
03:49.55jasonbbugger-all down here on earth." -- Monty Python
03:51.43lykenjasonb: i started using computers in 95 at school
03:51.47lykenand was ircing by then
03:51.54lykenbut didnt own a computer at home till 2000
03:52.04lykenin the second year of my computer science degree
03:52.16jasonbWow.
03:52.33lykenso yer i guess i have come along way :/
03:52.47lykenheh
03:52.53lykeni was 1yrs old in 82
03:53.00jasonbBut, I wrote video games on the TRS-80 Model 1 in 1981.
03:53.05lykenheh
03:53.13lykeni taught myself C without a comptuer
03:53.18lykeni used to write my apps on the train on paper
03:53.25lykenand compile it at school
03:53.32jasonbheh!
03:53.38jasonbI did that with basic back in the 80's.
03:53.43lykeni used to write large sections of my stuff in asm
03:53.49lykencause i found that C couldnt do it fast enough
03:53.55jasonbI wrote all kinds of software down on paper first for lack of a laptop.  :)
03:54.18lykenme and a friend wrote a dos4gw level VGA driver for dos to make our assignment look cooler
03:54.18jasonbC/C++ used to be way, way slower.
03:54.33jasonbhaha
03:54.41jasonblyken: Did you ever write TSRs?
03:54.42lykenyer it had mouse and video and a screen saver
03:55.15jasonb(MS-DOG TSRs I mean)
03:55.16lykenonly a format like virus
03:55.35jasonbThat's what they were best for writing.  :)  They were fuuuuuuun
03:55.41lykenhehe
03:55.53lykenyer i me and my buddy used to write lots of virus in high school
03:55.58lykenone of them actually got into the wild too
03:56.31jasonbI wrote a TSR that waits like 20 mins, then picks a letter on the screen and makes it fall straight down until it hits another letter.. then waits 20 mins again and does the same thing.  Then, I went into an all-dos computer lab and put it on each machine and waited and watched.  :)
03:56.31lykenwe just kinda stopped telling people that we wrote them when my friends uncles computer got infected with our virus from his work computers
03:56.53jasonbhaha
03:56.57lykenwe were like, err how did that computer get it?
03:57.15jasonbThat rocks.
03:57.17lykenarh the mid 90s so much fun
03:57.48lykeni decided to change my uni major from linguistics to comptuer science when i worked out how to modify windows while it was running
03:57.52lykenusing softice
03:57.56jasonbhaha
03:58.09jasonbGood switch.
03:58.10lykenwe used to have competitions
03:58.21lykeninstall shareware on the windows box
03:58.38lykenopen up the shareware exe in a hex editor and randomly trash the exe
03:58.40lykenthen start the app
03:58.48lykenand time trial to see who could recover it the fastest
03:58.49jasonbheh
03:58.53Kiralinguistics and computer science are not so far apart if you follow the path through Chomsky. :P
03:59.07jasonbugh.
03:59.09lykenjumping through memory in real time is fun
03:59.35lykenits like, whats that, no you shouldnt be at that register you should be here
03:59.40lykenmov ax,bx
03:59.47lykenzing, and where able to quit the app again
04:02.45lykenlol
04:02.47lykenGA's ?
04:02.59lykenthat was my first "real" internship
04:03.06lykenwas studying genetic algorithms
04:03.15lyken2 months after i got my pc at home
04:04.16jasonbThat sounds fun.
04:05.03lykenyer it was a lot for a second year student to take in
04:05.27lykenthe prof handed me a pile of books and goes "ill give you a month to read these then quiz you, if you answer right, you got the job"
04:06.41*** join/#tomcat bbtech (i=bbtech@D-69-91-134-64.dhcp4.washington.edu)
04:07.38jasonbouch.
04:08.34lykenwell I got the internship :)
04:08.41jasonbCongrats on that!
04:09.56lykenyer now i just gotta get this damn masters finished
04:10.53*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
04:19.00*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
04:19.27lykenhmm reading about china modifying the weather to make it rain
04:19.30lykenthats pretty hardcore
04:20.40*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
04:23.45*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
04:27.32*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
04:32.47lykendamn aussies
04:32.51lykenwith their crappy internet
04:45.24*** join/#tomcat jsisson (n=sissonj@218.185.73.243)
04:53.12*** join/#tomcat a4akb (i=webirc@freeforge.net)
05:06.31*** join/#tomcat nilesh111 (n=nilesh11@203.88.147.201)
05:06.46nilesh111linux:~ # tomcat5 start
05:06.46nilesh111Using CATALINA_BASE:   /usr/share/tomcat5
05:06.46nilesh111Using CATALINA_HOME:   /usr/share/tomcat5
05:06.46nilesh111Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
05:06.46nilesh111Using JAVA_HOME:       /usr/lib/jvm/java
05:06.47nilesh111/usr/bin/dtomcat5: line 284: /var/run/tomcat5.pid: Permission denied
05:06.49nilesh111linux:~ #  
05:06.59nilesh111can anybody help me to start tomcat5???
05:08.36*** part/#tomcat nilesh111 (n=nilesh11@203.88.147.201)
05:08.42*** join/#tomcat nilesh111 (n=nilesh11@203.88.147.201)
05:10.21nilesh111anybody alive???
05:11.51lykennot usually
05:12.01lykenbut then again, pasting lines of nothing doesnt help either
05:12.53nilesh111linux:/usr/share/tomcat5/conf # dtomcat5 start
05:12.54nilesh111Using CATALINA_BASE:   /usr/share/tomcat5
05:12.54nilesh111Using CATALINA_HOME:   /usr/share/tomcat5
05:12.54nilesh111Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
05:12.54nilesh111Using JAVA_HOME:       /usr/lib/jvm/java
05:13.21nilesh111i need command to setup the path of this directories
05:13.37nilesh111so that my tomcat starts
05:13.39lykenwell you used a package management system to install tomcat
05:13.45lykenwhich is an os problem
05:13.48lykennot a tomcat problem
05:13.57lykendebian and redhat both BREAK tomcat
05:14.06lykenand so do most other packages
05:14.21wahlyken: what does debian do to break tomcat?
05:14.39lykenwah: its debian, their java packages have always been broken and outdated
05:15.11wahlyken: ah, because of java. thanks for the information!
05:15.24nilesh111i am using SUSE
05:15.24lykentomcat is so finicky
05:15.32lykenthat i install my own java and tomcat bins
05:15.39lykencause i know that the OS cant break it (too much)
05:15.50lykennilesh111: meh, still redhat like..
05:16.32nilesh111i tried to install it on redhat too but then i switched to SUSE
05:16.47lykenand it didnt work so you changed your OS ?
05:16.47lykenLOL
05:16.51nilesh111actually i need TOMCAT for OPen-xchange server
05:16.59nilesh111lol no
05:17.15lykenwell install sun jvm + tomcat bins form the website
05:17.20lykenand i bet you $10 it'll work out of the box
05:17.26nilesh111but the problem was that OX doesnt works properly on REDHAT
05:17.29lykenand if it doesnt, its cause you dont know java
05:17.34lykenredhat 9?
05:17.40lykencause redhat9 + java == BLEH
05:17.44nilesh111yes
05:17.50lykencause there is threading issues in the redhat 9 kernel
05:17.52lykenthat breaks java
05:17.59nilesh111there were lots of dependancies problesm
05:18.27lykenand java is broken on the 2.4 kernel in rh9 also :)
05:18.50nilesh111but i think on SUSE - JAVA AND TOMCAT both are installed successfully
05:19.03nilesh111i just need to setup home path and base path for java
05:19.25nilesh111and then it will be able to start tomcat5
05:19.26lykenhow did you setup java ?
05:19.36nilesh111i have installed j2sdk
05:19.39nilesh111and jre
05:19.45nilesh111<PROTECTED>
05:19.49lykenthe sun ones ?
05:19.52nilesh111yes
05:20.35wahnilesh111: then have a look at dtomcat5 - that must be a script somewhere, have a look at the start block and add something like 'export JAVA_HOME=......' before the starting command
05:20.55lykenor set JAVA_HOME as an env var
05:20.58lykenit should be anyways
05:21.20lykensystem wide i mean
05:21.21lykenheh
05:40.14nilesh111:(
06:10.53*** join/#tomcat a4akb (i=webirc@freeforge.net)
06:25.41nilesh111which compatability packages are required by tomcat??
06:26.00nilesh111This release of Apache Tomcat was packaged to run on J2SE 5.0
06:26.01nilesh111or later. It can be run on earlier JVMs by downloading and
06:26.01nilesh111installing a compatibility package from the Apache Tomcat
06:26.01nilesh111binary download page.
06:26.56nilesh111when i started my tomcat using "sh catalina.sh start" it showed me the above message
06:48.25*** join/#tomcat hit1983_ (n=hit@219.144.251.151)
07:00.50*** join/#tomcat icyValk77 (n=icyValk7@gateway.ash.thebunker.net)
07:09.33nilesh111is any expert of TOMCAT available here???
07:10.34*** join/#tomcat Hugh_ (n=Hugh@puma.mxtelecom.com)
07:12.06*** join/#tomcat GhettoJava (n=Freemani@c-68-54-87-63.hsd1.md.comcast.net)
08:13.26*** join/#tomcat ohsix_ (i=ohsix@bc111222.bendcable.com)
08:39.00*** join/#tomcat vinse (n=vinse@208.253.223.146)
08:50.43*** join/#tomcat GhettoJava (n=Freemani@c-68-54-87-63.hsd1.md.comcast.net)
09:24.04*** join/#tomcat jsisson (n=sissonj@59.167.31.167)
10:13.16*** join/#tomcat yassine (n=yassine@xdsl-84-44-155-48.netcologne.de)
10:13.23yassinehi *
10:27.25*** join/#tomcat nilesh111 (n=nilesh11@203.77.194.67)
10:27.29nilesh111linux:/srv/tomcat5/jakarta-tomcat-5.0.28/bin # sh catalina.sh start
10:27.29nilesh111Using CATALINA_BASE:   /srv/tomcat5/jakarta-tomcat-5.0.28
10:27.29nilesh111Using CATALINA_HOME:   /srv/tomcat5/jakarta-tomcat-5.0.28
10:27.30nilesh111Using CATALINA_TMPDIR: /srv/tomcat5/jakarta-tomcat-5.0.28/temp
10:27.32nilesh111Using JAVA_HOME:       /usr/lib/jvm/java
10:27.34nilesh111linux:/srv/tomcat5/jakarta-tomcat-5.0.28/bin #  
10:27.44nilesh111does anybody have any idea what does this mean??
10:30.19nilesh111http://pastebin.com/759391
10:35.20jasonbhi yassine
10:35.32yassinegood morning jasonb
10:35.41nilesh111http://pastebin.com/759396
10:35.59jasonbI'm awake at 3:35am because I'm still sick and can't sleep.  :(
10:36.15nilesh111http://pastebin.com/759391
10:36.16yassineshit, this not good buddy
10:36.22yassinehave you seen a doc ?
10:36.30jasonbI know.  Yes, I've seen plenty of docs.
10:36.38jasonbI at least have my fever under control.
10:46.09nilesh111http://pastebin.com/759407
10:46.26nilesh111i cant start my tomcat server
10:46.36nilesh111help me if anybody have any idea regarding my problem
11:11.24nilesh111what is the default password and username for tomcat?
11:12.16jasonbibot: toptentips
11:12.16ibot[toptentips] http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html
11:25.46*** join/#tomcat yel (n=yassine@xdsl-87-78-115-40.netcologne.de)
11:39.49*** join/#tomcat golqm-noob (i=poisoner@11383.unitednetworx.com)
11:47.44*** join/#tomcat yassine (n=yassine@xdsl-87-78-115-40.netcologne.de)
11:55.35*** join/#tomcat Intrpngn (n=Intrpngn@cygnus.cygnuspub.com)
11:59.22*** join/#tomcat dreivier (n=dreivier@port-212-202-44-136.dynamic.qsc.de)
12:39.12*** join/#tomcat Darwin (n=unixnerd@darwinircd/developer/Darwin)
12:46.35*** join/#tomcat a4akb (i=webirc@freeforge.net)
12:48.34*** join/#tomcat putzel (n=putzel@228-236-221-213-pool.cable.fcom.ch)
13:00.03*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:14.16*** join/#tomcat Magec (n=josefer@23.red-212-40-247.user.auna.net)
14:19.55MagecHi, I have a security problem with tomcat. I have an application that autenticates the user and establishes a JSESSIONID cookie to keep the auth session. The server is using a non encrypted channel in such a way that using sniffers a person can take the cookie of another one.... If I want to avoid such situation I could use https instead of http but I dont whant the whole application to run over ssl. What can I do?
14:25.36*** join/#tomcat thssch (n=thssch@p5499632E.dip.t-dialin.net)
14:28.06thsschHi all, any experts around that have spend time on using php within tomcat?
14:29.45*** join/#tomcat cowboyway (i=LinuxDev@ACA69CF1.ipt.aol.com)
14:52.17*** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com)
15:05.29*** part/#tomcat Kira (i=Kira@dsl-207-112-93-145.tor.primus.ca)
15:16.49*** join/#tomcat jajmon (i=xr4y@c-7e2ce055.72-1-64736c11.cust.bredbandsbolaget.se)
15:17.03jajmonhi, im having some problems with struts/sitemesh
15:17.12jajmonhttp://forums.opensymphony.com/thread.jspa?threadID=33423
15:18.11jajmonany ideas?
15:31.08*** join/#tomcat protoloco (n=pimp@201.123.168.10)
15:34.36protolocoHello, i have installed tomcat from the package, and im Using Fedora.. but i dont know what to do know cuz when i do localhost:8080 i get a page in Blank. what elsedo i need tor un JSP pages...
15:34.50protolocobesides. i heard that i need de mod_jk package to link apache and Tomcat ?
15:34.52protolocoim confused
15:35.32jajmonyou need that if you want apache to process php for example
15:35.47jajmonfor jsp/html you only need tomcat
15:35.58protolocoi have apache already...
15:36.21protolocoyeah but, it supposed to show a default tomcat page ..
15:36.25protolocoand i dont get nothing.
15:36.28jajmonhave you started tomcat? :)
15:36.33protolocoyeah
15:36.39protolocothe port 8080 is already open
15:37.08jajmonhmm
15:38.02jajmonyou might have to fiddle with the classpath, cant remember :S
15:38.16protoloco:S
15:51.57protolocoi dont know why im still having this version of java, if i have installed already the JDK package.
15:52.01protoloco[root@linux etc]# java --version
15:52.01protolocojava version "1.4.2"
15:52.01protolocogij (GNU libgcj) version 4.1.1 20060525 (Red Hat 4.1.1-1)
15:52.11protolocoshould i uninstall libgcj ?
16:12.14*** join/#tomcat GhettoJava (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
16:25.40*** join/#tomcat arrais (n=thiago@201.19.178.54)
16:35.14*** join/#tomcat bosko (i=bosko@Quebec-HSE-ppp236764.qc.sympatico.ca)
16:35.53boskoHi, I'm trying to include a tag file but it doesnt seem to be recognizing it at all. I am doing: <%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
16:36.05boskoAnd within that directory, I have the "products.tag" file
16:36.31boskowow nevermind, I am idiot :p
16:36.33protolocoi have installedc Tomcat fromt he page of tomcat, with the Script of  Startup.sh .. now tomcat works fine, but how do i get tomcat bootup always when i restart the sErver ?
16:38.01*** join/#tomcat Intrpngn (n=Intrpngn@cygnus.cygnuspub.com)
16:40.28protolocobesides, where do i get the Administration tool of Tomcat
16:42.31*** join/#tomcat valmont (n=chrishol@germany.pspdev.pas.earthlink.net)
16:44.56boskoIs there something I need to add to my web.xml for a tag file to "work"? Right now, its not parsing any of the attributes Im passing, but is otherwise displaying fine
16:46.29*** join/#tomcat yassine (n=yes@xdsl-87-78-119-84.netcologne.de)
16:47.34yassinehi *
16:47.44*** join/#tomcat livar (n=livarcoc@20150031143.user.veloxzone.com.br)
16:48.12livarhello, i have a problem, when i deploy my application tomcat doesn't add the context to the beginning of the links
16:48.24livarhow can i solve it???
16:51.46yassinelivar,  im sorry i dont understand what you mean can you please explain that a bit more maybe i can then help!
16:54.00livarfor example, i have a application on the /question context
16:54.08livarand the index page has a link
16:54.41livarwhen i click on the link, i get a resource not found exception, because it's accessing http://localhost:8080/link
16:54.54livarinstead of http://localhost:8080/question/link
16:56.52livarcan you help me?
16:59.15yassineahh okay
16:59.32yassineso is your link application inside your question application ?
16:59.54livarlink is like a page
17:00.02livaris not another application
17:00.41*** join/#tomcat yel (n=yassine@xdsl-87-78-119-84.netcologne.de)
17:01.46yassinelivar,  like this ? <a href="http://localhost/question">page</a> ??
17:02.55livaryes
17:03.14boskoAre JSP Tag files a 2.0 only thing?
17:03.15livarlike http://localhost/question/page.html
17:03.25livarno idea, jhahahaha
17:04.44livarits like, i have a link inside my application, when i deploy it to tomcat, tomcat should add the context of the application to the link
17:04.50livarshoudn't it
17:04.51livar?
17:05.04yassineyes you should
17:05.15yassineotherwise you wont reach that page
17:05.59livari should add the context myself or tomcat would do it itself?
17:06.01*** join/#tomcat snakeman (n=MarkL@rrcs-70-60-17-66.central.biz.rr.com)
17:06.07snakemanyassine: thanks
17:06.07livarthat's my doubt
17:06.36yassinelivar,  you should add it
17:06.42yassinesnakeman,  your welcome
17:07.55livarok, thank you then
17:07.56livar:d
17:09.08yassinei hope that helps
17:09.41*** join/#tomcat bugfixer (n=bugfixer@42gis175.gulftel.com)
17:13.04yassinesnakeman,  how is everything ?
17:24.08*** part/#tomcat arrais (n=thiago@201.19.178.54)
17:46.08protolocosomebody can help me ?
17:46.24protolocoWhen i go to the bin/jsvs-src
17:46.32protolocoto get my tomcat run as a daemon (bootup)
17:46.45protolocothe manual says type:  autoconf
17:46.59protolocothere is no autoconf in the directory anyways i try to run it, as it says..
17:47.36protolocoand i get, command not found
17:47.50zambarooinstall autoconf.
17:48.14protolocoso my problem if the server restarts by some reason (light-out) i gotta run the script again (startup.sh)
17:48.17protolocooh.
17:48.39zambarooand the problem you're describing is normal.
17:48.59zambarooif you want that script to run automatically, add it to rc.local
17:49.24zambarooi am assume you're running on a linux host, of course.
17:50.06protolocoyeah
17:57.23*** join/#tomcat [a]tomi (n=chatzill@pool-71-104-69-181.lsanca.dsl-w.verizon.net)
18:16.43*** join/#tomcat Fix- (n=bmonnens@83-217-93-254.adsl.realdsl.be)
18:21.55yassinejasonb, there ?
18:35.04*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
19:12.17protolocohello
19:12.20protolocosomebody can help me ?
19:12.23protolocoi have problems..
19:12.36protolocoi want to run tomcat as a daemon and besides, run it, in the Bootup time..
19:14.08protoloco[root@linux jsvc-src]# ./configure
19:14.08protolocobash: ./configure: Permiso denegado
19:14.19protolocoim follwing the manaul of tomcat.. and i get Permission denied..
19:19.43falloutwho owns the configure script?
19:20.01falloutyou probably don't have sufficient permissions to run it.
19:20.07falloutdo you have root access to the machine?
19:21.16protolocoyeah
19:21.20protolococ-src]#
19:21.21protolocosee..
19:21.25protoloco<PROTECTED>
19:21.27protoloco:)
19:22.44protolocofallout, thanks man, you gave the idea...
19:22.51protolococonfigure was with little bit of permissions
19:29.14falloutyou're welcome
19:43.15protolocoroot@linux native]# sh Tomcat5.sh start
19:43.15protoloco05/06/2006 14:41:37 14955 jsvc error: Cannot find any VM in Java Home /usr/lib/jdk
19:43.33protolocoim trying to run tomcat as a daemon and besides in the startup of Fedora core 5...
19:43.48protoloco[root@linux native]# echo $JAVA_HOME
19:43.49protoloco/usr/lib/jdk
19:43.54fallouthmm
19:44.22protoloco[root@linux native]# which java
19:44.22protoloco/usr/lib/jdk1.5.0_07/bin/java
19:44.27protolocomaybe affects something over here ?
19:44.29fallouti see.
19:45.02protolocoi gotta put /usr/lib/jdk1.5.0_07/bin/java  ??
19:45.24fallout$JAVA_HOME should probable be /usr/lib/jdk1.5.0_07/
19:45.32falloutdid you install from rpm?
19:45.36protoloco/usr/lib/jdk  points..
19:45.41protolocomm from a .bin
19:45.55protolocojdk is a simbolik link to    jdk1.5.x...
19:46.12protolocolrwxrwxrwx 1 root root 11 may 31 11:06 /usr/lib/jdk -> jdk1.5.0_07
19:46.13falloutperhaps that's causing trouble
19:46.17protolocoyeah
19:46.19protolocolet me try
19:47.41protoloco[root@linux native]# sh Tomcat5.sh start
19:47.42protoloco05/06/2006 14:47:21 15012 jsvc error: Cannot find any VM in Java Home /usr/lib/jdk1.5.0_07
19:47.42protolocoTomcat5.sh: line 48: 15012 ViolaciĆ³n de segmento  $DAEMON_HOME/bin/jsvc -user $TOMCAT_USER -home
19:47.45protolocoi got the same...
19:48.16protoloco[root@linux native]# java -version
19:48.16protolocojava version "1.5.0_07"
19:48.16protolocoJava(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
19:48.23protolocosorry for the Paste...
19:50.59protolocofallout, any ideas ?
19:52.51falloutdid you choose to install to /usr/lib?
19:52.59falloutdo you have a /usr/java?
19:53.20protolocoi dont have usr/java
19:53.31protolocoeverything is in usr/lib/jdk1.5.Xxx
19:54.35protolocotomcat is running ok, jboss also, everything says that java is in there, just when i try to make the script or daemon to bootup the script..
19:54.37protolocoi get that error.
19:54.39protolocoweird
19:58.57fallouti'm not sure what the cause is.
19:59.06falloutperhaps someone more experienced can assist you.
20:03.32*** join/#tomcat Darwin (n=unixnerd@darwinircd/developer/Darwin)
20:03.47*** join/#tomcat algebra (n=yassine@xdsl-87-78-119-84.netcologne.de)
20:06.31*** join/#tomcat valmont (n=chrishol@pdpc/supporter/silver/valmont) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat Intrpngn (n=Intrpngn@cygnus.cygnuspub.com) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat protoloco (n=pimp@201.123.168.10) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat Magec (n=josefer@23.red-212-40-247.user.auna.net) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat putzel (n=putzel@228-236-221-213-pool.cable.fcom.ch) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat dreivier (n=dreivier@port-212-202-44-136.dynamic.qsc.de) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat ohsix (i=ohsix@bc111222.bendcable.com)
20:06.32*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat spinzero (n=spinzero@ip67-88-113-150.z113-88-67.customer.algx.net) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat zambaroo (n=zamba@209.216.245.214) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat derjohn (n=derjohn@80.69.37.19) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat bertjan (i=freebase@instinct.student.utwente.nl) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat Jara[zZ] (n=rimaraj@62.123.204.106) [NETSPLIT VICTIM]
20:06.32*** join/#tomcat Magistus (i=magistus@alfredos.multi.fi) [NETSPLIT VICTIM]
20:07.32*** join/#tomcat snakeman (n=MarkL@rrcs-70-60-17-66.central.biz.rr.com)
20:08.25snakemandoes anyone actually run a tomcat on VPS? if so, what are the memory concerns?
20:09.59*** join/#tomcat protoloco (n=pimp@201.123.168.10)
20:26.06*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
20:36.36*** join/#tomcat snakeman (n=MarkL@rrcs-70-60-17-66.central.biz.rr.com)
20:39.26*** join/#tomcat [a]tomi (n=chatzill@pool-71-104-69-181.lsanca.dsl-w.verizon.net)
20:48.43*** join/#tomcat jsisson (n=sissonj@ppp31-167.lns1.syd6.internode.on.net)
20:51.43*** join/#tomcat yassine (n=yassine@xdsl-87-78-119-84.netcologne.de)
21:48.41*** join/#tomcat DarkStorm (n=DStorm@p54B06EA0.dip.t-dialin.net)
21:48.52DarkStormHi. Is there a way to modify the classpath for a servlet?
21:49.05DarkStormHm no. Not servlet. I meant an entire webapp
21:55.31jasonbDarkStorm: Yeah, change the contents of WEB-INF/lib and WEB-INF/classes
21:56.03DarkStormnah i want to create a bunch of virtual hosts all using the same classpath but _not_ by simply copying my classes to the common/libs dir
21:56.27DarkStormall the vhosts should basically run the same application with different templates. thats why i want to reduce replication of my jars
22:02.27jasonbThat's what the shared/lib and shared/classes dirs are for.
22:03.08DarkStormyeah but i can't (for example) let eclipse output to those folders (since they are not part of my project)
22:03.22jasonbThat's an eclipse problem, not a Tomcat problem.
22:03.50jasonbUse a symlink maybe?
22:03.59DarkStormI would
22:04.06DarkStormBut I am developing on Windows
22:04.13DarkStormI'll use a symlink on the deployment machine
22:04.16jasonbThen you're using two incapable packages.. sorry.  :)
22:04.43DarkStormI am thinking of subclassing WebappLoader hmm
22:04.53DarkStormSince you can't configure the default implementation for some reason
22:04.58jasonbSure you can.
22:05.02jasonbWhy can't you?
22:05.11DarkStormhttp://tomcat.apache.org/tomcat-5.5-doc/config/loader.html
22:05.23DarkStormThere are no tags for adding new repositories to the standard implementation of WebappLoader
22:05.42jasonbwhat about catalina.properties?  :)
22:05.43DarkStormFrom what I can tell you have to subclass WebappLoader and add new repositories in the constructor
22:05.49DarkStormWhere the hell is that file? :)
22:05.53jasonbconf/
22:06.04DarkStormooooooops
22:06.07jasonbheh
22:06.14jasonbThat's what we're here for.  :)
22:06.25DarkStormaaaah common.loader. Thats what i was looking for
22:06.47yassinehi again
22:06.49DarkStormOr shared.loader. Well i'll have a look anyway. Thanks :)
22:06.53jasonbhi yassine.
22:07.00jasonbDarkStorm: You're welcome
22:07.13yassinejasonb,  its daisy :)
22:07.18jasonbahh.. how come?
22:07.23yassinebut im now testing mmbase
22:07.34yassineso i can make my decison definitive
22:07.40jasonbYeah, I always thought mmbase was better than opencms.. for the record.
22:07.51yassineits hight scalable
22:07.59yassinedaisy
22:08.08jasonbHow do you know?
22:08.11yassineand it have an own document definition structure
22:08.30yassinedaisy is splitted into  3 main component or 4
22:08.31jasonbWhy is having its own doc structure helpful?
22:09.00yassinejasonb,  yes since i need to define document format for underwriter
22:09.19jasonbok.
22:09.38yassinelike i told you its beein composed of 3 or 4 main component
22:09.46jasonbWell, let me know how it goes.. It's very interesting.
22:10.13yassineopenjms,repository server,daisywiki , and a database
22:10.45yassinethey only thing that makes me a bit unconfortable is that its using jetty (its embedded into daisywiki)
22:11.00jasonbThe screen shots of daisy look nice.
22:11.24yassinei have 2 options 1 running it with tomcat and run apache in the front and set access via mod_proxy
22:11.35jasonbWell, if you don't use daisywiki, can it run on Tomcat?
22:12.06yassineits the only part that is beein seen when accessing daisy
22:12.16yassinedaisy is a wiki system with cms feautures
22:12.32jasonbThere's always JspWiki: http://jspwiki.org/
22:12.45yassinei have seen that
22:12.51yassineand xwiki too
22:13.21jasonbI think what I'd try is: separate the daisywiki webapp from jetty, and deploy it on Tomcat.  :)
22:14.17yassinebut i know that there is no way without apache so im going to dig into mod_proxy <->daisy(tomcat)-Howto
22:14.30jasonbWhy do you have to use Apache?
22:14.39yassinebut first i need to test mmbase and  confulence
22:15.07yassineapache is listnint on 80 without root user behinde it
22:15.18jasonbso?  Tomcat can do that.
22:15.55yassineas a root ?
22:16.08jasonbEither as root, or as a non-root user.  Which ever one you need it to be.
22:16.55yassinei want the technical manager to be satisfied and i know he is going to say nooo apache is faster and stuff and when i will say here look these are the benchmarking
22:17.11yassinehe will then say apache is secure since it does not need root to run
22:17.14jasonbApache is not faster.
22:17.19yassinedepends
22:17.27jasonbApache is actually *less* secure in this configuration.
22:17.32yassineeach of both have its strength
22:18.22jasonbThe majority of your requests will be images and dynamic content.  Proxying every request from the browser to Apache to mod_proxy to Tomcat and all the way back is slower than if it's just browser --> Tomcat and back.
22:19.02jasonbThe images you could put on Apache, but recent benchmarks show apache about the same speed as Tomcat serving static content like images.
22:19.24yassineso you mean i should deploy daisy into tomcat and let it run as a httpserver ?
22:19.30jasonbYes.
22:20.09jasonbIt's simpler to set up, simpler to maintain, more secure, and faster.
22:24.49*** join/#tomcat ibot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
22:24.49*** topic/#tomcat is http://tomcat.apache.org Latest stable versions of Tomcat are 5.5.17, 4.1.31, and 3.3.2 If you are a newbie, use the official distribution on Jakarta's site, or use an RPM package from http://www.webdroid.org:8080/archives/tomcat-package. Be sure to check the log files before you attempt to search for a solution. SLOW-MOTION CHANNEL (we all have jobs): Ask your question, then wait; check back often to see if anybody answered.
22:27.06jasonbyassine: They're just uninformed about how to get Tomcat listening on port 80 without root.  That's all.  So, they added an additional web server to fix the lack of understanding.. :)  That's worse.
22:27.57yassinemhhh
22:28.02yassine:)
22:28.50jasonbThey're apparently unaware that you can run Tomcat like that.
22:29.01jasonbThere are two ways to do it:
22:29.07yassinemmbase is a bit differnt nothing like a wysiwyg editor inside
22:29.14jasonb1) with jsvc (it's built for this very purpose)
22:29.39jasonb2) using linux's built-in iptables to forward connections destined for port 80 to port 8080.
22:29.50jasonbBoth of these work well.
22:29.57jasonbI personally prefer 2).
22:30.08jasonbIt's more of a way to tell the OS you're allowing it.
22:30.16yassinedo you have a such rule ?
22:30.19jasonbYes.
22:30.31jasonbHold on..
22:30.32yassinetomcat.developerz.de  <--
22:30.35yassine:)
22:30.41jasonbT:TDG 2ED.  :)
22:31.21jasonbI'll give it to you to post for everyone to see if you want to, since I think it's the best solution.  :)
22:31.58jasonbActually.. have a look at this:
22:32.00jasonbhttp://rifers.org/wiki/display/RIFE/Installing+Tomcat+on+port+80+with+iptables
22:32.11yassineok :)
22:32.36yassinelol do you know which system is running there ?
22:32.46jasonbWhere?
22:32.59yassinethere where the howto is
22:33.04jasonbnope..
22:33.06yassineits the next candidate i need to test :)
22:33.16yassineconfluence
22:33.29yassineits open source non free product
22:33.57yassinei have requested it also for my wiki dedicated to this channel but they did not answers
22:34.15jasonbdamn, that's very commercial though.
22:34.15yassinesince you can apply for an opensource license
22:34.40yassinebut i was not lucky with them these australian guys eats too much kangoroo :)
22:34.48jasonbYou probably shouldn't call that "open source" because that term is very clearly defined.. and this product doesn't qualify.
22:35.09jasonbhaha
22:35.36yassinelol
22:35.51yassineshould be tasty :)
22:35.57yassinebut never tried it
22:36.15jasonbWelp, I have to go for a bit..
22:36.25jasonb(on that happy note  :)
22:36.52yassinedid you ever tried cochlea ?
22:37.05jasonbsounds like something you cram into your ear..
22:37.11yassinelol
22:37.12jasonbNo, actually, I've never heard of that.
22:37.22yassineno i mean snail
22:37.35jasonboh.  Nope, never really wanted to try it.  :)
22:37.43yassinelol i did in france
22:37.54jasonbThey probably cook it really good.  :)
22:38.06yassinewow i did not want at the begininng
22:38.12jasonbheh
22:38.13yassinebut after triying it
22:38.19yassinei could not stop
22:38.20yassine:)
22:38.26jasonbProbably tender.
22:38.46yassineyes and since they put much spice on it its tasting really cool
22:39.15yassinetaste --> cool ?? taste good i mean :)
22:39.16jasonbMaybe I should try them some day.
22:39.33jasonbYou can say "tasted really cool".. that's fine.  :)
22:39.42yassineokay
22:39.50jasonbAnyway, bbiab.
22:39.56yassineokay cu later
23:06.23*** join/#tomcat snakeman (n=MarkL@dhcp-046-056.cns.ohiou.edu)
23:07.49algebrayuhuu running over tomcat 5.5.17 :D
23:25.59*** join/#tomcat FoXMaN (n=xoff@host-ip26-252.crowley.pl)
23:40.06*** join/#tomcat linuxfreck (n=freck@203.152.126.127)
23:47.49snakeman<PROTECTED>
23:48.01snakemanI'm using Jconsole to monitor java heap usage
23:48.16snakemanwhen it runns normally, the app hovers around 20-25MB
23:48.31snakemanI don't know what this "periodic operation" is
23:49.01snakemanJun 5, 2006 4:33:46 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor pro
23:49.01snakemancessChildren
23:49.05snakemanthat's all it says
23:49.08snakemanany ideas?
23:55.56linuxfreckdoes it say which exception occurred in the logs?

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.