IRC log for #tomcat on 20080605

00:00.21*** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com)
00:05.39*** join/#tomcat dvnayande (i=ayande@83.251.71.28)
00:05.49dvnayandecan i run tomcat with apache?
00:06.00dvnayandehttp server both on same machine
00:07.51dvnayandei have apache-tomcat-6.0.16
00:08.04jasonbYes.
00:08.19jasonbWhy do you think you need Apache httpd though?
00:08.33dvnayandei always had it :)
00:08.39dvnayandejust found tomcat
00:08.57dvnayandeso it works just fine as a http server?
00:09.04dvnayandei use it instead?
00:09.35jasonbTomcat is a faster http server for most uses.
00:09.42dvnayandeah nice
00:09.44dvnayande:)
00:09.48jasonbAnd, yes, it works great as a web server.
00:09.48dvnayandethanks
00:09.53jasonbYou're welcome.
00:09.56dvnayandeone thing though
00:10.03dvnayandeafter installation it wont start
00:11.34dvnayandeand im using a windows xp
00:12.49dvnayandeany ideas?
00:12.59jasonbFirst idea: give us all of your version numbers.
00:13.18dvnayandeapache-tomcat-6.0.16
00:13.27dvnayandefor windows xp
00:14.41dvnayandedownloaded from Tomcat 6.x
00:14.50dvnayandeim not sure i know more
00:15.00dvnayandei also installed jre-1_5_0_15-windows-amd64
00:19.46jasonbAre you running 64-bit windows XP?
00:21.40dvnayandeyes i am
00:21.52dvnayandetrying reinstall
00:22.25internat85this may not be the right place for this but knowledgeable people etc.. is there a jsp equivlent to horde3?
00:30.41jasonbinternat85: What is horde3?
00:45.40internat85its a php web application frame work, that has webmail/calander/organiser/phonebook etc
00:58.58*** join/#tomcat Infinito_ (n=yingyang@201-10-138-241.gnace701.dsl.brasiltelecom.net.br)
01:20.30*** join/#tomcat exploid (n=vince@CPE00184d84c287-CM001ac317d78e.cpe.net.cable.rogers.com)
01:20.36*** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com)
01:20.56*** part/#tomcat exploid (n=vince@CPE00184d84c287-CM001ac317d78e.cpe.net.cable.rogers.com)
01:32.51*** join/#tomcat mib_nmwokjya (i=c0926546@gateway/web/ajax/mibbit.com/x-98240904ae7ff7f3)
01:39.53*** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com)
02:03.16*** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com)
02:10.14*** join/#tomcat odin__ (n=dlm@host86-128-203-229.range86-128.btcentralplus.com) [NETSPLIT VICTIM]
02:10.37*** join/#tomcat mitcivs (n=sv@67.15.117.214) [NETSPLIT VICTIM]
02:11.24*** join/#tomcat yassine (n=yassine@unaffiliated/yassine) [NETSPLIT VICTIM]
02:11.24*** join/#tomcat azka (n=mimpini@62.80.120.214) [NETSPLIT VICTIM]
02:11.24*** join/#tomcat pucko (i=andreas@81-234-246-21-o933.tbon.telia.com) [NETSPLIT VICTIM]
03:09.18*** join/#tomcat Infinito_ (n=yingyang@201-10-138-241.gnace701.dsl.brasiltelecom.net.br)
03:41.48*** join/#tomcat alpha255 (n=Thomas@dsl092-048-188.sfo4.dsl.speakeasy.net)
03:46.34*** join/#tomcat kanai (n=kanai@124.32.114.226)
03:53.09*** join/#tomcat acidjnk (n=have@pD9509613.dip0.t-ipconnect.de)
04:45.38*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
04:51.49*** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com)
05:21.37*** join/#tomcat ggns (n=ggns@203.129.255.188)
05:41.59*** join/#tomcat rambo123 (n=viny@59.94.103.108)
05:45.45*** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-125-42.dsl.emhril.ameritech.net)
05:52.05*** join/#tomcat rambo124 (n=viny@59.94.102.195)
06:09.55*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
06:20.36*** join/#tomcat Fischi (i=GroundHa@mue-88-130-47-138.dsl.tropolys.de)
06:36.49joonas_internat85: i think you might have success taking a look at different portal services.. not that i know many of those
06:38.14joonas_internat85: but as a fellow php dev i don't think that in the java world such horde3 like "all-in-one" packages exists.. at least for free
06:38.50lykeninternat85: is a douche bag
06:38.55lykenyou hear me nat !
06:38.57lykenDOUCHE 1
06:39.18joonas_you two know each other? :)
06:41.20lykenyeah
06:41.26lykenwe went to the same university
06:41.28lykeni was his tutor
06:41.40joonas_oki :)
06:44.45*** join/#tomcat Bollinger (n=peter@88-105-238-209.dynamic.dsl.as9105.com)
06:45.23*** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl)
07:00.17deeboanyone got the /etc/init.d/tomcat script handy
07:15.13lykenlet me see
07:15.15lykeni might have one
07:22.47*** join/#tomcat ca (n=ca@5.80-203-236.nextgentel.com)
07:23.42faltrionanyone here that is awake that might be able to help me with tomcat 6 and webservices (jax-ws)
07:26.16faltrion_My problem is that I'm getting "javax.xml.ws.soap.SOAPFaultException: Cannot find the dispatch method" when I try to access the webservice from a .net client (I have not tested with anything else) and I know this webservice has worked for other persons using glassfish)
07:26.17kjkoster5489faltrion: read the channel topic.
07:26.22kjkoster5489ah, sorry.
07:26.58kjkoster5489So you have it working in a Glassfich server?
07:28.14faltrionnot I, since I'm using tomcat, but an workmate of mine has it working in glassfish (2ur2)  I'm using tomcat 6.0.13
07:29.57kjkoster5489I see. And when you connect you .net client to his server it works?
07:30.10faltrionI've followed the information in "Arun gupta's Blog" about "JAX-WS 2.0 Samples on Tomcat 5.5.x"  and modifiede that for tomcat 6
07:30.35faltrionyes, sing the very same client on the same machin and connecting to glassfish, it works..
07:32.19faltrionwe are both running this on mandriva linux 2008.1 and the same java version (1.6.0_01)
07:33.28kjkoster5489Cool.
07:33.50kjkoster5489I'm curious if you found any other messages? Maybe something in catalina.out?
07:34.09faltrionI got a complete stacktrace if you want that
07:34.25kjkoster5489You could pastebin that. It might be helpful.
07:35.04faltrionhttp://pastebin.com/d838d33
07:35.10kjkoster5489Just as a disclaimer: I have no large experience with jax-ws, but I (unfortunately) have a lot of experience tracking problems in Java. :-)
07:36.38faltrionwell anything/anyone is better then me at the moment since I'm stuck!  I've been at this problem since yesterday morning, searching the net for that exception, etc... but found nothing that was helpfull
07:38.03kjkoster5489Hmm.
07:38.14kjkoster5489It looks like you have the right libraries and everything.
07:38.44kjkoster5489How did you tell that servlet what methods to publish?
07:40.24faltrionit uses annotations to declare the methods (@WebMethod) and then we run wsgen on the class (wsgen from the jax-ws download)
07:40.52kjkoster5489Is there a way to get your dispatcher servlet to produce the WSDL of the service?
07:41.17kjkoster5489You can do that on the GF and TC servers and see if they are the same.
07:41.35kjkoster5489Try appending ?WSDL to the service endpoint url.
07:41.42faltrionI'm not sure if this is needed on glassfish or if it is done by glassfish, since I'm not using glassfish and the person using glassfish is unavailable at the moment..
07:43.02faltrionhttp://pastebin.com/d30b49a28
07:43.14*** join/#tomcat Dwayne_Hicks_ (n=elsie@adsl-68-74-74-168.dsl.emhril.ameritech.net)
07:45.05*** part/#tomcat yassine (n=yassine@unaffiliated/yassine)
07:45.11faltrionand the schema http://pastebin.com/d1659fc58
07:45.28faltrionfrom what I can see ther eis no problem with this one..
07:46.06*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-5b80b2c8dc499c23)
07:51.25kjkoster5489These are served up from Tomcat?
07:52.08kjkoster5489I mean, did you get these files from the file system, or did you point a browser at tomcat to get them?
07:53.31faltrionI pointed the browser  to the webservice and appending ?wsdl, I did not manually write any of these, they have been generated by the webservice system
07:53.52faltrionso I think it is this servlet that produces the wsdl and the schema ...com.sun.xml.ws.transport.http.servlet.WSServlet
07:54.16faltrionsince that is the servlet defined in web.xml
07:55.17kjkoster5489ok.
07:56.39faltrionhttp://pastebin.com/d2ee268a6  the parts in web.xml and the sun-axws.xml file
07:56.54kjkoster5489But these are identical for the GF install?
07:58.17kjkoster5489Does it matter that you use call it outlookStuff in one file and outlookWebservice in the other?
07:59.02faltrionthe sun-jaxws.xml is identical, but the part in web.xml is "missing" since glassfish reads sun-jaxws.xml by default..
08:00.06kjkoster5489Ok.
08:00.16faltrionI'm not sure if it matters.. w8
08:00.38faltrionno it does not matter, just changed it so it is the same, and i still go the exception..
08:00.44kjkoster5489So the most likely candidate for error is the web.xml file.
08:01.18kjkoster5489Are you certain that sun-jaxws.xml is read?
08:01.31kjkoster5489No errors or odd messages at Tomcat startup?
08:02.13faltrionnothing that should not be there .-)
08:02.52faltrionand it do serve the wsdl and if I remove the servlet/servletmapping part from web.xml i get a 404
08:05.14kjkoster5489Ah, true.
08:05.18kjkoster5489Hmm.
08:05.51kjkoster5489So we have two app servers, both of which read their configuration and one of which works completely.
08:05.51faltrionI think I might have to set up glassfish here to get this working .-(
08:06.09kjkoster5489Or ask you co-worker to look at his.
08:06.36kjkoster5489It might be interesting to request the WSDL from his machine and compare that to your Tomcat-generated one.
08:07.15faltrionyeah when he gets back late next week (I hate vacations right now)...
08:07.29kjkoster5489That is frustrating indeed.
08:07.41kjkoster5489Setting up Glassfish is no big deal.
08:07.51faltrionI'm trying to get someone at his office to start up the system so I can compare it, but most of them don't do linux nor anthing like that
08:07.57kjkoster5489I did it once and it took me less than an hour.
08:08.12kjkoster5489*tsk* Fire them all. ;-)
08:08.56kjkoster5489To start linux, you just have to press the power button on the machine. That can't be too different from how Windows machines do it.
08:10.16faltrionyeah, but then they have to login, open up a shell, start the server, deploy the application, etc.....
08:12.29kjkoster5489Ahh.
08:17.32faltrionok, thanks anyway I'll setup glassfish here now..
08:17.36faltrion(surrendering9
08:17.58faltrionbtw, do you know how much of glassfish is "tomcat" ?
08:24.04kjkoster5489Not much I think.
08:24.30kjkoster5489JBoss uses Tomcat as the web container, but I am not sure if GF does the same.
08:25.15kjkoster5489Tomcat was originally written by Sun, like GF is, so it would make sense to use TC. But then, when did large corporations ever make sense? :)
08:30.54faltrionin gf I've noticed when trying to help debugging that there is a some org.apache.catalina exceptions :-) which is why I wondered..
08:35.26deebowhy the fuck is my tomcat trying to find a WEB-INF/classes/logging.properties for all my contexts and the crashes when its not found
08:40.44kjkoster5489deebo: that's really odd.
08:41.16deebofound out, it was a policy bug
08:42.04kjkoster5489?
08:42.15kjkoster5489Could you explain that, please?
08:43.33deebodebian package installation is total bullshit regarding java policies
08:43.39deeboit doesnt allow anything
08:43.52deebocant even use System.getEnv
08:44.53CaBa|is there a way to access an enum item by name... a String to be more precise? something like Class.forName() but for references? :P
08:44.53kjkoster5489Hmm. I tend to tell people to not use re-packaged Tomcats.
08:44.53kjkoster5489I see that that is sound advice. :)
08:44.53deebokjkoster5489: me too, but this time i have to use prepackaged due to some scripts i need to run
08:45.28kjkoster5489CaBal: you'll have better luck on #java with that question.
08:46.54kjkoster5489Cabal: Check the javadoc of java.lang.Enum. Specifically the valueOf() method. Does that do what you would like to have done?
08:47.02kjkoster5489deebo: I see.
08:50.11*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
08:51.27CaBa|kjkoster5489: looks good! thx...
08:51.44kjkoster5489np
08:52.47deeboanyone got a /etc/init.d/tomcat script for a package installation
08:52.56deebothe one with debian packaging is too specific to tomcat
08:53.45azkahi there!
08:54.18azkahas anyone ever had troubles with tomcat not closing properly his File Descriptors?
08:56.17kjkoster5489azka: I had trouble with my code not doing so, but not Tomcat. What are you seeing?
09:11.54azkakjkoster5489: a huge FDs leak
09:12.15kjkoster5489No kidding? Duh. I figured that.
09:12.25kjkoster5489What OS are you on?
09:13.02azkaI have 2 boxes: same OS, same environment, exactly the same tomcat version and configuration, and on 1 of the 2 boxes, tomcat doesn't close properly his FDs so lsof returns ~ 20000 FDs after tomcat running for 2 hours
09:13.10kjkoster5489Try running fdstat (or equivalent) to figure out what FD's are in use by your tomcat..
09:13.27kjkoster5489What type of fd?
09:13.27azkaos is rhel ES release 4
09:13.35kjkoster5489Network/file/other?
09:13.41azkafiles on disk
09:13.55*** join/#tomcat hooch (n=hooch@203.98.74.2)
09:14.26kjkoster5489What files?
09:14.48kjkoster5489Is this an app you wrote?
09:15.13kjkoster5489Same app and app version on both machines?
09:16.02azkafiles are little executables available to download on a website
09:16.40azkayes, i've copied the whole tomcat directory to be sure
09:17.01azkaand the network environment (LB, Firewall, etc.) is the same too
09:17.26kjkoster5489So you serve up files from Tomcat and the fd's to those files do not get closed?
09:17.36azkayes
09:17.58kjkoster5489Are these files generated?
09:18.10kjkoster5489As part of the request, I mean.
09:18.44azkano, they're just stocked on a local hd and selected by the client
09:18.59azka(if i understand well your question)
09:19.40kjkoster5489Hmm. So you have two identical setups and one misbehaves.
09:19.48kjkoster5489That's odd.
09:20.15azkayes exactly. also, i'm using a perl script to check that every of these files is available to download (i'm not downloading them really, and i suspect this to be the issue)
09:20.20kjkoster5489Are you sure these are identical? Same user they run as, same file permission, same permissions on the directoies that the files are in?
09:20.36kjkoster5489How so?
09:20.51azkathe script is runned every 2 hours, and i can see the FDs grows very fast when the script is running
09:21.51kjkoster5489And when you run the script against the other tomcat it does not grow on that machine?
09:21.51azkayes, the user is the same (with exactly the same rights on files etc.), and the whole directory has been copied with option to keep files attributes
09:21.56azkayes
09:22.19kjkoster5489There must be a difference between the two systems.
09:22.23azkawell, it grows, but after a few minutes it goes down again
09:24.02kjkoster5489Are these both local disk systems, or does one use a network mounted disk?
09:24.31kjkoster5489Different versions of Java?
09:26.13azkathey are nfs (not the tomcat dir, but just the dir containing the files)
09:27.40kjkoster5489On both machines?
09:27.45azkayes
09:27.49kjkoster5489Hmm.
09:27.51azkaand java version is the same
09:28.01kjkoster5489NFS mount options are the same?
09:28.59kjkoster5489What you could try is to move the files to a local disk, just to test.
09:29.17azkayes nfs options are the same (ro,soft)
09:29.26kjkoster5489NFS is not free of bugs, in my meagre experience.
09:29.54hoochwhat's the best way to set up tomcat5.5 with apache these days?
09:30.02kjkoster5489mod_proxy
09:30.22kjkoster5489Or just skip Apache entirely if all it does is delegate to Tomcat.
09:30.36kjkoster5489mod_proxy_http
09:30.40hoochso mod_jk and all that is history?
09:32.36hoochlike, ajp, etc
09:32.57hoochi haven't set up a tomcat app since tomcat 4.0
09:34.57kjkoster5489They are around and will work fine. From the admins I spoke to I heard that they prefer mod_prxy_http because you can leave out the AJP connector on Tomcat.
09:35.05kjkoster5489It's just simpler.
09:35.09azkakjkoster5489: the only difference i see in autofs is the pgrp option. Do you know what it is exactly?
09:37.04kjkoster5489No idea. What does the man page say? I have no RH box to read the man page on.
09:37.08hoochusing mod_proxy_http a lot for other contexts, yes as Ruby on Rails
09:37.21kjkoster5489Perhaps pastebin the relevant man page section?
09:37.59kjkoster5489hooch: so you are already familiar with it? Then it is an even better route to explore. :)
09:38.29hoochthanks kjkoster5489
09:38.32kjkoster5489Though again: if all Apache does is front for tomcat, better leave it out.
09:38.34kjkoster5489np
09:40.21hoochkjkoster5489: best not to bother tomcat with static content requests though, is it?
09:41.21kjkoster5489There is a dude on this channel who wrote a book on Tomcat administration. His tests suggest that Tomcat is actually faster alone, even with static content.
09:41.42kjkoster5489I'm not sure if that is still the case when Tomcat and Apache get their own machines or clusters.
09:42.17kjkoster5489Personally I would use Tomcat stand-alone until it buckles and then start to find solutions.
09:42.42kjkoster5489Tomcat can be clustered too (if your apps are well-written).
09:43.03kjkoster5489I'd say it depends more on what your shop is like.
09:43.56kjkoster5489If you have Apache all set up and serving up your stuff, delegate to Tomcat using mod_proxy. If you have to install a special machine with Apache for that, leave Apache out and save some time,
09:44.53kjkoster5489Tomcat is multithreaded and I'm sure that you won't notice static content requests in the performance, especially on SMP machiens.
09:47.29internat85lyken: dont make me slap you stupid :P
09:48.18hoochkjkoster5489: cheers for that
09:48.36kjkoster5489np
09:49.20lykeninternat85: BRING IT ON !
09:49.24lykenhey dude btw ;)
09:56.51*** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net)
09:56.56internat85hi hi :)
09:57.18internat85any particular reason i was a douche bag before, or just the usual greeting?
09:57.35lykenjust the usual
09:57.37lykeni was bored at work
10:45.04*** join/#tomcat _milligan (n=Milligan@82.148.189.34)
10:58.47kjkoster5489azka: found the issue yet?
10:59.44*** join/#tomcat miligan (n=Milligan@82.148.189.34)
11:10.44*** join/#tomcat Dwayne_Hicks (n=elsie@adsl-68-74-74-168.dsl.emhril.ameritech.net)
11:13.09*** join/#tomcat _ProZaC_ (n=none@201.73.96.194)
11:24.43*** join/#tomcat GroundHack (i=GroundHa@mue-88-130-21-129.dsl.tropolys.de)
11:35.32azkakjkoster5489: no :(
11:35.39azkareally odd issue
11:35.51azkasame box, same softs, same config
11:43.20*** join/#tomcat _change (n=_change@195.250.132.186)
12:30.48*** part/#tomcat CaBa| (i=caba@unique-inter.net)
12:35.36*** join/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
12:36.20cloviswhi, anyone know how to configure tomcat 6.0.16 to use a JDBC 3.0 driver?
12:37.33puckosocken23: clovisw http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
12:40.14cloviswpucko: with that i only can use the Driver version, i dont find a way to use the class that implements javax.sql.DataSource, i want to configure com.sap.dbtech.jdbcext.DataSourceSapDB but just works with com.sap.dbtech.jdbc.DriverSapDB, using DataSourceSapDB the DBCP says that isnt a suitable driver, appears that DBCP dont check the instace of javax.sql.DataSource.
12:40.33*** join/#tomcat clajo04 (n=clajo04@152.sub-75-193-109.myvzw.com)
12:40.53cloviswthe documentation about the drivers is at http://maxdb.sap.com/doc/7_6/ef/2de883d47a3840ac4ebb0b65a599e5/frameset.htm
13:25.01*** join/#tomcat maier (n=maier@p15-15.med.unc.edu)
13:27.33*** join/#tomcat dmorris__ (n=dmorris@core-edge-dq-src-a.dynamicquest.com)
13:27.41*** part/#tomcat dmorris__ (n=dmorris@core-edge-dq-src-a.dynamicquest.com)
13:37.46*** join/#tomcat dmorris__ (n=dmorris@core-edge-dq-src-a.dynamicquest.com)
13:42.14*** part/#tomcat dmorris___ (n=dmorris@core-edge-dq-src-a.dynamicquest.com)
13:47.34*** join/#tomcat marciofrayze (n=user@189.100.109.110)
13:47.37marciofrayzehi all
13:48.03*** join/#tomcat dmorris (n=dmorris@core-edge-dq-src-a.dynamicquest.com)
13:51.19*** join/#tomcat fjt6q (n=chatzill@forgery.sys.Virginia.EDU)
13:51.42*** join/#tomcat fjt6q (n=chatzill@d-128-6-213.bootp.Virginia.EDU)
13:51.49fjt6qhello
13:52.07*** join/#tomcat dmorris___ (n=dmorris@core-edge-dq-src-a.dynamicquest.com)
13:53.18fjt6qNickServ
13:55.36dmorris___How do I get identified?
13:56.36*** part/#tomcat dmorris___ (n=dmorris@core-edge-dq-src-a.dynamicquest.com)
13:56.53fjt6qyeah
14:01.27marciofrayzeTomcat: 5.5.17 Java: 1.6 Netbeans: 5.5.1 OS: Windows XP - SP2. When I try to deploy and/or run the aplication from netbeans I get an error on a class that I already changed. Its using an outdated .class file and I have no idea why.. alredy deleted the .wa
14:05.25*** join/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com)
14:16.41*** join/#tomcat clajo04 (n=clajo04@178.sub-75-221-210.myvzw.com)
14:27.06fjt6qhello?
14:31.12MHSLmarciofrayze, try to delete your build directory or do a clean and build
14:34.15MHSLfjt6q, ask your question if you need help
14:37.55cloviswanyone knows a good connection pool for JDBC for tomcat?
14:42.29fjt6qhello there
14:42.36fjt6qi am trying to install Axis 2
14:42.47fjt6qmy Tomcat works I believe
14:42.54fjt6qand I can access localhost8080
14:43.14fjt6qI downloaded Axis 2 and unzipped in in the webapps folder
14:43.21fjt6qis this where I should put it?
14:43.49pucko<Resource name="jdbc/mySapjndi" auth="Container" type="javax.sql.DataSource" username="foo" password="bar" driverClassName="com.sap.dbtech.jdbc.DriverSapDB" url="jdbc:sapdb://localhost/database_name*" />
14:44.16puckofjt6q: you should probably ask Axis-guys about that.
14:44.40fjt6qwho are the axis guys?
14:44.46fjt6qdo they have an IRC
14:44.47MHSLfjt6q, you mean the war file? yes you can simply extract it to webapps dir under axis2 folder or something
14:45.15fjt6qi downloaded the binary dist
14:45.22fjt6qdo I only need to downlaod the .war file?
14:45.29MHSLfjt6q, you need to read axis2 documentation
14:45.39fjt6qits right here
14:45.49fjt6qwha tis the difference between the war file and the binary dist?
14:46.01MHSLfjt6q, then you should know the difference
14:46.43randrewjclovisw: dbcp, which comes with tomcat, is ok. it's a good idea to test that it's doing what you expect.
14:46.54fjt6qi says you can drag and drop it
14:47.12fjt6qbut i did so in the webapps
14:47.19MHSLfjt6q, http://ws.apache.org/axis2/1_4/installationguide.html#servlet_container
14:47.19fjt6qand it still doesnt allow me to use axis
14:47.19cloviswrandrewj: with that i only can use the Driver version, i dont find a way to use the class that implements javax.sql.DataSource, i want to configure com.sap.dbtech.jdbcext.DataSourceSapDB but just works with com.sap.dbtech.jdbc.DriverSapDB, using DataSourceSapDB the DBCP says that isnt a suitable driver, appears that DBCP dont check the instace of javax.sql.DataSource.
14:48.07cloviswrandrewj: now i think to implement my own pool control
14:48.08MHSLclovisw, driverClassName means the driver class name not data source
14:48.40cloviswMHSL: but how to tell DBCP to use the DataSource class ?
14:48.56MHSLclovisw, you dont need to
14:49.18fjt6qTTP Status 404 - /axis2
14:49.20fjt6qtype Status report
14:49.21fjt6qmessage /axis2
14:49.23fjt6qdescription The requested resource (/axis2) is not available.
14:49.24fjt6qApache Tomcat/6.0.16
14:49.28MHSLclovisw, if you want to use the dbcp comes with tomcat, then you don't care about the data source, what you need to configure is the driver not data source
14:49.41MHSLfjt6q, do you have a directory named axis2 under your webapps folder
14:49.42MHSL?
14:49.44*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
14:49.56fjt6qyes
14:49.58puckoyo jason
14:50.35cloviswMSHL: but how do if i need to use the DataSource class, and dont the driver class?
14:50.59cloviswMSHL: i think that, then i must create my own type of pool, right?
14:51.01MHSLclovisw, you can't, on driverclassname you specify the driver class name not data source
14:51.09fjt6qi got to localhost:8080/axis2    to access it right?
14:51.22puckothe stuff I pasted before shows the configuration
14:51.31MHSLclovisw, no, that's the whole poing of using jdbc resource with tomcat, it will maintain the connection pool for you
14:51.39MHSLpoint*
14:52.03cloviswMSHL: ok, but if i must use DataSource class and dont the driver, then i must create my own pool control that uses the com.sap.dbtech.jdbcext.DataSourceSapDB
14:52.07MHSLfjt6q, are the files inside axis2 the contents of war file?
14:52.29fjt6qyes
14:52.41fjt6qthe axis2.war is that all it is? one file?
14:52.59MHSLclovisw, you can't do that with the jdbc resource, but if you use the data source directly in your code, then yes you have to either implement your own connection pool or use existing ones (recommended)
14:53.19marciofrayze<PROTECTED>
14:53.22MHSLfjt6q, 1) do you know how to deploy webapp on tomcat? 2) do you know what a war file is?
14:53.42cloviswMSHL: do you know one that deals well with classes that implements javax.sql.ConnectionPoolDataSource ?
14:54.25fjt6q1)never done it 2)never seen it
14:54.26fjt6qill look into that real quick
14:55.10fjt6qany info on those things?
14:55.15MHSLclovisw, no, i don't really need to know that, because i'm using c3p0 for connection pool on java app, and jdbc resource on tomcat
14:55.22MHSLfjt6q, tomcat.apache.org
14:56.34fjt6qhttp://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html   ?
14:57.26jasonbgood morning pucko
14:57.47fjt6qis downloading the tomcat client deployer absolutely necessary
14:57.56*** join/#tomcat Infinito_ (n=yingyang@201-2-47-90.gnace701.dsl.brasiltelecom.net.br)
14:58.06jasonbfjt6q: No.
14:58.38fjt6qwhich method do you think is best?
15:00.05jasonbfjt6q: I think you'd benefit from reading about deployment on Tomcat in our book Tomcat: The Definitive Guide, 2nd Edition (O'Reilly).  It has all of the detailed explanations you would need on how to choose, and how each option for deployment works.
15:00.50fjt6qum, i've love to get the book, but I happen to need to do this today.
15:01.42jasonbfjt6q: Then you can always read it online (right now) on O'Reilly's Safari web site.
15:03.21jasonbhttp://safari.oreilly.com
15:03.50fjt6qfound it.
15:03.58fjt6qchapter?
15:04.32*** part/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
15:05.54jasonbChapter 3.
15:06.55jasonbHave a look at the sections on deploying a war file and deploying an unpacked directory.
15:07.44jasonbI also suggest you have a look at the section on the Manager webapp.
15:14.34fjt6qOk I get it
15:14.43fjt6qCopy the .war file into the webapps folder
15:14.52fjt6qthats all it says to do
15:15.12fjt6qam I missing some huge part of this process?
15:15.42jasonbWell, not huge, really, but you do need to pay attention to your settings on your <Host> element, as our text shows.
15:16.40fjt6qin the axis2 text?
15:16.59jasonbThe Tomcat: The Definitive Guide text.
15:18.05fjt6qi dont see that change.
15:18.23fjt6qit says you can access apps by going to your host/xxx
15:23.57fjt6qdo I need apache Ant
15:26.43jasonbYou probably don't need it.  You especially don't need it if you're not rebuilding any of these OSS packages.. you can just use the release binaries.
15:26.56jasonbI don't know what you're developing, though, if anything.
15:28.39fjt6q*sigh
15:28.51fjt6qi dont see what im doing wrong
15:37.13fjt6qokay im setting up the tomcat manger
15:53.34fjt6qim stuck creating a manger.
15:58.38*** join/#tomcat Quiddity (n=steve@ng1.cptxoffice.net)
16:04.36fjt6qcan anyone help me
16:06.58*** join/#tomcat tieTYT (n=none@216.174.112.81)
16:06.59tieTYThello
16:07.03tieTYTin the conf folder
16:07.27tieTYTi've got 3 potential server.xml's.  One is called server.xml.bkp, the other is called server-minimal.xml, the other is called server.xml
16:07.33tieTYTis tomcat using the server.xml?
16:07.54tieTYTor does it depend on some other config option?  I want to make sure i'm changing the one that's in use
16:08.03QuiddityYes, it's using server.xml
16:08.08tieTYTdoh
16:08.15tieTYTi ran into that problem again
16:08.40tieTYTwhere it complains that i need to change maxthreads from 200 to something larger.  But server.xml doesn't even have the number 200 in it
16:09.12^Quidditywell, 200 is the default value, so it's implied if no other value is specified
16:09.16^Quiddityfor that setting any how
16:09.46fjt6qim trying to create a manager role, by defining th euser and setting the role, however the specified user and password do not work
16:10.03tieTYT^Quiddity: good to know
16:10.16tieTYTmaybe i'll set the other Connectors into this file to 201, 202... so i can tell which one is the problem
16:10.36tieTYTthe one listening to port 8080 is set to 250 so it's apparently not that one
16:11.48fjt6qshould i "restart" tomcat and is that even possible
16:22.49fjt6qhas no one had any experience with tomcat manager?
16:40.47*** join/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
16:41.08cloviswanyone know the svn link to see the sources of tomcat-dbcp.jar ?
16:52.36*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
16:55.22*** join/#tomcat CaBa| (i=caba@unique-inter.net)
16:55.25CaBa|hi
16:57.26*** join/#tomcat erstazi (n=erstazi@unaffiliated/erstazi)
17:05.04cloviswanyone know the svn link to see the sources of tomcat-dbcp.jar ?
17:11.28*** join/#tomcat ox1 (i=trallall@zue-tix-bbcs-dynip-168-236.vtx.ch)
17:17.14*** join/#tomcat gregor_k (n=a@stgt-4dbdaf51.pool.einsundeins.de)
17:22.56*** join/#tomcat maier_ (n=maier@p15-15.med.unc.edu)
17:27.02*** join/#tomcat maier (n=maier@p114-152.med.unc.edu)
17:36.52*** join/#tomcat andyt (n=andyt@THOMPSON-LAPTOP.ADMIN.SCPS.NYU.EDU)
17:50.16*** join/#tomcat blistov (n=blistov@static-66-38-159-228.gtcust.grouptelecom.net)
17:50.50blistovi'm having problems convincing mod_jk.so to mount anything.
17:51.01blistovhttp://pastebin.ca/1039670
17:51.57blistovidea's?
17:59.06randrewjblistov: is tomcat running and listening for ajp at 127.0.0.1:8009?
18:00.24*** join/#tomcat maier_ (n=maier@p15-15.med.unc.edu)
18:08.13blistovYes, I figured it out though.
18:08.18blistov:) took 2 days though.
18:08.33blistovalias cannot be the same name as your webapp.
18:10.14*** join/#tomcat odin_ (n=dlm@host86-128-203-229.range86-128.btcentralplus.com)
18:11.04*** part/#tomcat odin_ (n=dlm@host86-128-203-229.range86-128.btcentralplus.com)
18:11.48*** join/#tomcat odin_ (n=dlm@host86-128-203-229.range86-128.btcentralplus.com)
18:31.12*** join/#tomcat rambo123 (n=viny@59.94.102.146)
18:40.42*** part/#tomcat yassine (n=yassine@unaffiliated/yassine)
18:51.12*** join/#tomcat clajo04 (n=clajo04@cpe-72-229-214-63.nyc.res.rr.com)
19:01.48*** join/#tomcat SiftLinux (n=Siftzill@bas6-montrealak-1167862415.dsl.bell.ca)
19:05.17cloviswabout things on JDBC Data Sources causing many threads to be BLOCKED and freeze the tomcat for some time, is better to discuss here, or with DBCP folks?
19:18.55*** part/#tomcat blistov (n=blistov@static-66-38-159-228.gtcust.grouptelecom.net)
19:34.34*** join/#tomcat a4akba (n=a4akb@62.215.156.215)
19:44.23*** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com)
19:46.46randrewjclovisw: it's non-trivial to get that stuff right. there is not likely to be much interest in discussing re-implementation of dbcp here.
19:48.51cloviswrandrewj: isnt a reimplementation, but maybe a problem that causes system Freeze, i opened a BUG report on tomcat since i dont know if its a problem on DBCP or in the tomcat-dbcp.jar
19:49.12cloviswrandrewj: if you like to see about its is https://issues.apache.org/bugzilla/show_bug.cgi?id=45144
19:52.05*** join/#tomcat JZA (n=jza@189.132.183.80)
19:52.19JZAhi I want to know how can I verify that a tomcat app is actually running
19:52.30JZAthe server.xml says that it will run on 8080
19:52.43JZAthe /etc/init.d/ service is running
19:53.00JZAhowever I lynx to localhost:8080 and I get that the site is unreachable
19:57.45JZAanyone?
20:01.35fjt6qhello
20:01.40fjt6qdoes anyone have experience with
20:01.42fjt6qhttp://wso2.org/library/1719
20:07.57randrewjclovisw: interesting. dbcp svn is http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/, but not sure what version is in the tc you're using.
20:08.55randrewjJZA: is a java process running?
20:10.07randrewjclovisw: for that bug it might be useful to know the dbcp params you're setting
20:10.23JZArandrewj: how can I check that, it should be running
20:10.30*** join/#tomcat dfas (n=none@10.201.216.81.static.s-o.siw.siwnet.net)
20:10.55cloviswrandrewwj: ok i will update with how Resource is configured
20:11.06*** part/#tomcat dfas (n=none@10.201.216.81.static.s-o.siw.siwnet.net)
20:11.12JZArandrewj: I did a top -b |grep java and there are pid of java running
20:15.48JZArandrewj: is that what you meant?
20:18.29*** join/#tomcat blistov (n=blistov@static-66-38-159-228.gtcust.grouptelecom.net)
20:18.32blistovhttp://pastebin.com/m554f74b2
20:18.40blistovHaving problems still with mod_jk.so
20:18.46blistovAs referenced above.
20:18.50blistovAny ideas?
20:20.10*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
20:21.12cloviswrandrewj: i updated the BUG with how Resource is configured
20:22.02randrewjJZA: yeah, how about something like: /usr/sbin/lsof -i TCP:8080
20:24.34*** part/#tomcat erstazi (n=erstazi@unaffiliated/erstazi)
20:28.42randrewjclovisw: when the problem occurs, how many connections are there to the db?
20:29.46cloviswrandrewj: about 73
20:30.52cloviswrandrewj: but really need to connect is 32
20:31.08clovisw73 is at database monitor of sessions opened
20:31.25cloviswi think that 73 is the max opened and the 32 is the currently active
20:31.31cloviswor running
20:34.17cloviswif you see the full stack, you can see all 32 connection BLOCKED waiting to lock PoolableConnectionFactory
20:40.11JZArandrewj: nothing
20:41.25JZAalthought I could see a couple of tomcats running
20:43.13randrewjclovisw: dunno, maybe some clues here: http://www.mail-archive.com/user@commons.apache.org/msg00640.html
20:45.21randrewjJZA: you need to clarify whether the tomcat you are intending to run is running
20:46.25JZAyes how do I do that, or rather I think it might colliding with other tomcats so the question will be how can I configure tomcat listening on another port
20:47.38JZAcan I know from lsof the path of the tomcat process?
20:48.17JZAthis is my pastebin
20:48.40JZAthis is the server.xml on the conf folder from the tomcat i want to run
20:48.42JZAhttp://pastebin.mozilla.org/452505
20:48.47JZAat least a snippet
20:49.26JZAI am a bit confused between the Connector port and the server port
21:05.30randrewjJZA: ps -e -o "%p %a"|grep java
21:05.33JZAnope
21:05.34JZAI get a whole buch of things as output but nothing that tells me that is coming from my path
21:05.34JZAmost of them come with the system tomcat at /usr/share/tomcat5.5/
21:05.34JZAso my next question is how to run the tomcat on /opt/
21:05.34JZAand what could make this tomcat not run
21:05.35randrewjJZA: it will not run if some other tomcat is already using the ports  and it will not run if your config is broken
21:05.35JZAwell bad news is that I just broke the config :p
21:05.35JZAnow when I try to restart I get that the deamon is not running
21:05.35JZAbut PID file exists
21:05.36randrewjJZA: learning a little more unix would probably be handy at this point
21:05.36JZArandrewj: lol, I do know unix, just not tomcat
21:05.36*** join/#tomcat pfn (n=pfnguyen@hanhuy.com)
21:06.08randrewjJZA: hehe.
21:08.32randrewjJZA: when you see those tomcat processes, look at the catalina.home and catalina.base params.   the real config file is $catalina.base/conf/server.xml
21:09.21blistovanyone have any idea's on why i get this?/   Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13 failed errno = 111
21:09.33blistovsays its trying for 127.0.0.1:8009, which is listening.
21:09.45blistovwhen i curl http://127.0.0.1:8009, i get no response.
21:10.25*** join/#tomcat ruxpin (n=pkunk@195.148.225.17)
21:14.14randrewjJZA: you should be certain that whatever mechanism you are using to start tomcat is using the config file you intend, and if it doesn't start you should look for a message logs/
21:14.42blistovthis is the only error message being written to any log.
21:15.02blistovhttp://pastebin.com/m2fbf4696
21:15.14blistovcatalina.out says everything is well.
21:15.31blistovpart of the jakarta script that starts, initiates a telnet session to a database, which also works fine.
21:15.40JZArandrewj: yes thats what I thought initially but the log folder is empty, it might be because the debug parameter is set to 0
21:15.52blistovdebug for everything is set to 9
21:16.02JZArandrewj: is my first experience with tomcat so please forgive my discovery process :)
21:24.47randrewjblistov: you need to verify that tomcat is configured with an ajp connector at 127.0.0.1:8009, and is running. curl is good for testing http but not ajp.
21:26.57randrewjJZA: how are you attempting to start tomcat?
21:27.43*** part/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
21:31.04*** part/#tomcat randrewj (n=raj-user@user-160u629.cable.mindspring.com)
21:32.14ox1hi
21:33.00ox1does anyone know if it's possible to override a web.xml file?
21:34.00ox1I deployed a web application to /sharedwebapp and I'm consuming it in /instance1 and instance2
21:35.33ox1the webapps /instance1 and /instance2 which have their docbase set to the dir of /sharedwebapp both have a META-INF dir with a context.xml which overrides the context.xml from /sharedwebapp
21:42.01JZAI actually uninstall the program and gonna start over
21:42.12JZAthe problem is that I have system tomcat and an application tomcat
21:42.17JZAas stand-alone
21:43.43ox1I assume overriding is somehow possible, because I believe the web.xml from a webapp usually overrides the web.xml in tomcat conf dir
21:46.21*** part/#tomcat JZA (n=jza@189.132.183.80)
21:53.44*** join/#tomcat spundun (n=spundun@playa.isi.edu)
21:54.34spundunhi all... I have started the tomcat using startup.sh, but the localhost:8080 page is empty... is that right? or should I see some apache tomcat welcome page?
22:04.56*** join/#tomcat balla (n=balla@adsl-ull-103-28.51-151.net24.it)
22:09.03spundunI did tail on catalina.out and catalina-2008-6-5.log and then tried tomcat startup again... here is what I got. http://pastebin.com/m399d5a7d
22:10.10spundunthe log has no errors, and a bunch of info, including "XML validation disabled" and...
22:10.21spundun"The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:...<paths>"
22:10.56spundunthen I goto http://localhost:8080/ and the page I get is blank (not any 404 errors or anything like that).
22:18.49ox1spundun: how did you install tomcat?
22:20.26ox1the localhost:8080 should show a tomcat info page by default
22:20.56ox1spundun: what's in your webapps/ROOT dir?
22:30.29*** part/#tomcat blistov (n=blistov@static-66-38-159-228.gtcust.grouptelecom.net)
22:32.21ox1does anyone know if it's possible to override WEB-INF/web.xml settings from a docBase?
22:35.09spundunoxl: I installed tomcat through fink on my mac osx macbookpro, 10.4 Tiger
22:36.57spundunoxl: ok.... my prefix is /sw
22:37.10spunduntomcat is installed in var/tomcat5
22:37.18spundunso that's the catalina home I think.
22:37.24ox1spundun: well, I'm not sure if you really need to use fink
22:37.33spundunin there there is a webapps... and there is a server/webapps
22:37.40ox1maybe you could just run tomcat local, as it's java
22:37.42spundunwhich one should I use...
22:37.47spundunoxl: hmmm
22:38.07spundunI am running tomcat local only...
22:38.20spundunbut using fink as my package management system
22:38.21ox1I ran the same version on windows and on debian
22:38.30ox1I assume it runs fine on osx too
22:38.38spundundo you know which webapps directory I should look into?
22:38.51ox1well, there should be only on webapps dir
22:38.59spundunthere are two... oneis tomcat5/webapps and the other is tomcat5/server/webapps
22:39.17ox1that's unusual
22:39.40ox1but I'n not familiar how fink dudes thought about configuring tomcat for osx
22:39.56ox1but I don't believe only one of those is used
22:40.04ox1have a look at your server.xml
22:40.07spunduntomcat5/webapps is a broken link to ../../shar/webapps
22:40.15spundunlemme check
22:40.26ox1there you should be able to see what it's using
22:41.03spundun<Host name="localhost" appBase="webapps"
22:41.14spundunthat means it's using tomcat5/webapps rightr?
22:41.23ox1yep
22:41.32spundunthats unfortunately a broken softlink over here...
22:41.52ox1well, then delete it and create a working softlink
22:41.55spundunI'm going to move the server/webapps to ../../share/webapps and see what happens
22:42.02spundunyeah :_
22:42.04spundun:)
22:42.21ox1I forgot the synta x to create a softlink in osx
22:42.27ox1something like ln -s
22:42.30ox1not sure
22:43.20ox1in the end, ls in tomcat5/webapps should show you some dirs
22:45.24ox1spundun: any news?
22:48.30spundunox1: now the webapps is there... and I think I'm getting one extra message... - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
22:48.30spundun- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
22:48.45spundunand the front page is still blank
22:49.10spundunwebapps folder has the following directories admin           axis            host-manager    manager
22:49.32ox1great
22:49.40ox1no ROOT dir?
22:49.55spundunnope...
22:50.10ox1what do you see in http://localhost/manager/html ?
22:50.22ox1I mean http://localhost:8080/manager/html
22:50.41spundunchecks
22:50.54spundunusername and password
22:51.01ox1good
22:51.06spundunI have no idea how to authenticate though
22:51.31spundunI'm glad *something* is working...
22:51.39ox1tomcat-users.xml
22:51.50ox1it might contain user and password
22:52.06ox1seems like fink dudes have preconfigures some stuff in your tomcat dist
22:52.23spundunok logged in.
22:52.29ox1I recommend to google for some osx tutorials to find out how they configured it
22:53.10ox1well, the manager app for now is probably not that important for you if you're just getting started
22:53.11spundunI doubt there is any... I mean I am slightly (only) better at looking at fink source code than I am at looking at tomcat installations :)
22:53.20spundunok...
22:53.23ox1alright
22:53.32spundungotcha... it just shows that tomcat is at least working
22:53.36spundunthanks ...
22:53.43ox1ok, you could try this:
22:53.44spundunnow I have to see if axis is happy or not
22:53.49spundunyeah?
22:53.53ox1create a folder named ROOT in webapps
22:53.59ox1uppercase is important
22:54.23ox1then create a file index.html in webapp/ROOT
22:54.34ox1and fill index.html with some random
22:54.57ox1then open http://localhost:8080/index.html
22:54.58spundunyou know what ... I'll go with your directions, although I see the axis path is responding with an html page.. thats where I want to go
22:55.50spundunyeah that ROOT/index.html file... I can see through the browser
22:55.59ox1you probably won't need axis if you're getting started
22:56.07spundunummm... :)
22:56.07ox1great
22:56.16spundunI'm getting started.. yes... but my boss is not
22:56.24ox1:-)
22:56.33spundunI need to get this soap based client/server java app running
22:56.36spundun:)
22:56.41ox1aha, ok
22:56.57ox1your webapp is a .war file?
22:57.09spundunclicks on the axis validation link...
22:57.14spundunumm not really
22:57.20spundunit's an eclipse project
22:57.28ox1hmm, then you're on your own
22:57.36spundunI'm not there yet... testing the server wise
22:57.44spunduntaking it one step at a time..
22:58.00ox1but I'd just check some things: that your required resources are set up
22:58.17spundunError: could not find class javax.activation.DataHandler from file activation.jar
22:58.17spundunAxis will not work.
22:58.28ox1that you don't miss any jars in the tomcat lib or in your webapp WEB-INF/lib dir
22:58.39spundunsure!
22:58.42spundunlistening
22:58.56ox1first find the class javax.activation.DataHandler
22:59.21ox1open your jars with a zipp program and search for that class to make sure you find where it is
22:59.55ox1if you find it in some jar, then copy that jar to your WEB-INF/lib dir and to the tomcat5/lib dir just to really make sure it's there
23:00.07spundunok...
23:00.07ox1even though you only need it at one of those dirs
23:01.47ox1further set your webapp privileged for now
23:02.22spundunhehe... again... there are three lib directories... tomcat5/common/lib tomcat5/server/lib and tomcat5/shared/lib
23:02.24ox1you may do that in META-INF/context.xml in your webapp or in tomcat5/conf/server.xml
23:02.44ox1hmm
23:03.08ox1i'd just put your jar containing the missing classes in all of those lib dirs
23:03.13*** part/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net)
23:03.22spundunno META-INF directory here... :(
23:03.25spundun:) ok
23:03.34ox1and when it works start reading the tomcat5 manual and delete one after one and check
23:03.57spundunok
23:04.02ox1well, you might copy the META-INF dir from manager to your webapp
23:04.14spundunhmmm
23:04.37spundunheh... there isn't one
23:04.58ox1well, then just create a META-INF dir in your webapp
23:05.03spundunok
23:05.18ox1and create a file META-INF/context.xml and fill it with: <Context privileged="true" />
23:05.38ox1that gives your webapp access to tomcat's lib folders
23:05.40spundunlooks like these guys stripped down a lot of tomcat stuff ?
23:05.56spundunoh ok
23:06.02ox1well I'm not so sure about that
23:06.11ox1I'm working with tomcat6 here
23:06.29ox1but I'm pretty sure that works for tomcat5 too
23:06.51ox1and I also believe they fiddled around with your install
23:07.11spundunok
23:07.16ox1that's why I'd recommend to just download the latest tomcat6 tar and use that one
23:07.52ox1anyway, copying the jars to your lib dirs and setting that context.xml that I told you aren't that bad ideas
23:08.09ox1that ensures you don't run into classpath issues
23:09.41ox1and restart tomcat twice each time you try some stuff
23:10.09spundunoxl: I just figured out one thing... they split the webapps into a separate package tomcat5-webapps... now I have a proper ROOT and everything...
23:10.15spundunugh...
23:10.23ox1and delete the conf/Catalina folder when you change things in your context.xml
23:10.41ox1hmm, weird
23:11.07ox1they probably split it up in management webapps and in example webapps
23:12.24ox1I recommend you to test your webapp on tomcat6 on windows or linux first and then move it
23:13.02ox1just get it to run on linux and then move the whole tomcat folder to osx and try to get it running again
23:13.39spundun<PROTECTED>
23:13.52ox1I don't think so
23:14.06ox1I'd do: <!-- foo bar -->
23:14.10spundunoh yeah
23:14.12spundunright
23:14.21spundunok
23:16.49spundunhmm, ok, I might try that once I get comfy with tomcat...
23:17.00spundunaxis seems happy now.. time to try the real server...
23:17.27spundunthanks oxl...  if you ever wander by Marin Del Rey, CA.. I owe you a beer...
23:18.37ox1hehe, lol
23:18.40ox1alright
23:34.03*** part/#tomcat yassine (n=yassine@unaffiliated/yassine)
23:42.24SiftLinuxI have installed tomcat 5 on a centos server using their repo.  How do I start it?

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