IRC log for #tomcat on 20090201

01:28.46arricherekkDoes anyone know what the "Apache Tomcat Native Library" is?  I'm using Tomcat 5.5.26
01:29.32MHSLcheck tomcat doc
01:29.33MHSLhttp://tomcat.apache.org/tomcat-6.0-doc/apr.html
01:30.10*** join/#tomcat bijoo_webdev (n=bijoo_we@c-98-204-54-131.hsd1.dc.comcast.net)
01:42.46arricherekkEverything I'm finding about the library indicates that it is unnecessary, which is strange because tomcat won't start on my machine and the log files seem to be pointing to that.
01:51.54*** join/#tomcat bijoo_webdev (n=bijoo_we@c-98-204-54-131.hsd1.dc.comcast.net)
02:09.50MHSLarricherekk, that's just a warning printed on tomcat log, that wont affect your tomcat operation
02:15.03*** join/#tomcat bijoo_webdev (n=bijoo_we@c-98-204-54-131.hsd1.dc.comcast.net)
03:03.19*** join/#tomcat Afterlawl (n=_@79-75-16-243.dynamic.dsl.as9105.com)
03:44.45arricherekkMHSL, ok, any idea how to fix an issue such as this?
03:45.07MHSLwhat issue?
03:45.09MHSLneed more info
03:45.23MHSLthe apr running doesnt affect anything
03:45.35arricherekkok
03:45.36arricherekkwell
03:45.54arricherekkTomcat 5.5.26, WinXP, jdk1.6.0_05
03:46.07arricherekkThe progress bar will fill about half full when I attempt to start it
03:46.10arricherekkand then it dies
03:46.13arricherekkand it doesn't start.
03:46.26arricherekkLet's see
03:46.44arricherekkIt's throwing an InvocationTargetException.
03:47.14MHSLplease post the full log especially the exceptions
03:47.16MHSLnot here
03:47.23arricherekkWhere?
03:48.38MHSLpastebin.com
03:49.43arricherekkHere you are: http://pastebin.com/m5d75e481
03:50.59MHSLarricherekk, this is what you should take note Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
03:51.29arricherekkalright.
03:59.03arricherekkShould I have a path variable pointing to a jar file?  Or what?
04:02.55MHSLarricherekk, i dont know which webapp requires that jar file, but you should put the jar file in either tomcat lib directory or the webapp WEB-INF/lib directory
04:03.07MHSLi guess you're not even sure how the webapp is structured
04:03.57arricherekkWell, the odd thing is
04:04.00arricherekknow that I've reinstalled it
04:04.10arricherekkMy webapps are gone, and have been replaced by the defaults
04:04.16arricherekkThe old setup should be there
04:04.18arricherekkbut it's not.
04:04.24arricherekkThe default pages don't work.
04:06.41MHSLreinstalled what?
04:06.41arricherekkTomcat
04:06.41arricherekkthe whole thing.
04:06.41MHSLyou mean you reinstalled tomcat using the exe file? did you backup your webapp before you uninstall tomcat?
04:06.41*** join/#tomcat bijoo_webdev (n=bijoo_we@c-98-204-54-131.hsd1.dc.comcast.net)
04:06.42MHSLdid you check whether your webapp was still there after uninstallation?
04:06.42arricherekkI backed up the webapp in a different dirrectory, and I used the exe file.
04:06.42arricherekkYes.
04:06.42arricherekkI checked.  The only thing in the webapp dir was the default stuff.
04:06.56MHSLif tomcat removes its installation directory during the uninstallation process then it makes sense to only have the default webapps after it's reinstalled
04:07.06arricherekkRight.
04:07.08MHSLwhat's so confusing about that
04:07.15arricherekkThe default stuff doesn't work, either.
04:07.28MHSLdid tomcat start successfully?
04:07.38MHSLwhat do you mean by doesnt work? you got 404 or what?
04:07.53arricherekkNo, Tomcat won't start at all.
04:08.01arricherekkThat's what I'm saying.
04:08.09MHSLthen that doesnt mean the default stuff doesnt work, check the log for any errors
04:08.20arricherekkI did.
04:08.25MHSLif you got the same error, then download commons-logging and put it under tomcat common/lib directory
04:08.26arricherekkI get the exception that I posted.
04:08.43arricherekkok
04:08.45MHSLif you're using tomcat 5.5, if you're using tomcat 6, put the jar file under tomcat lib directory
04:08.46arricherekkWhat will that do?
04:08.59MHSLdo you know what it means by ClassNotFoundException?
04:09.23arricherekkYes, it's thrown when a class isn't found.
04:09.32arricherekkI've dealt with that many a time in regular Java programming.
04:09.59MHSLthen why did you ask "what will that do"? since you should have known the effect of adding that missing jar file
04:10.12MHSLyou should also read tomcat documentation
04:10.28arricherekkI didn't know that that was the missing file.
04:10.38MHSLread this for tomcat 6 http://tomcat.apache.org/tomcat-6.0-doc/class-loader-howto.html and this http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html for tomcat 5.5
04:10.58MHSLyou can see that it's missing org.apache.commons.logging... that's contained under commons-logging jar file
04:11.13MHSLif you dont know, then check google
04:33.24*** part/#tomcat arricherekk (n=Owner@99-195-233-237.dyn.centurytel.net)
04:33.31*** join/#tomcat bijoo_webdev (n=bijoo_we@c-98-204-54-131.hsd1.dc.comcast.net)
04:58.14*** join/#tomcat roue (n=roue@75-134-153-46.dhcp.roch.mn.charter.com)
04:58.36*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:08.00*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
06:31.45*** join/#tomcat gps23 (n=ethias@59.94.254.178)
06:31.48gps23hi
06:32.36gps23please tell me where to put my servlet's .class file in tomcat. I am using kubuntu 8.10 and tomcat 6. everything is set as default
06:38.57MHSLgps23, read http://tomcat.apache.org/tomcat-6.0-doc/appdev/deployment.html
06:39.14MHSLgps23, or follow this http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html
06:40.04gps23MHSL, i will read them, thanks
08:36.41*** join/#tomcat MHSL- (i=Linux@cm18.eta6.maxonline.com.sg)
08:59.52*** join/#tomcat trifon_ (n=chatzill@79-100-32-16.btc-net.bg)
09:49.02*** join/#tomcat tom17bombadil_ (n=tom@BAAc430.baa.pppool.de)
10:29.03*** join/#tomcat trifon (n=chatzill@79-100-32-16.btc-net.bg)
11:49.20*** join/#tomcat dvayanu (n=another@ppp-93-104-44-34.dynamic.mnet-online.de)
12:08.11*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
12:09.15*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
12:17.18*** join/#tomcat nixblicker (n=nixblick@dslb-088-074-062-220.pools.arcor-ip.net)
12:59.11*** join/#tomcat trifon (n=chatzill@79-100-32-16.btc-net.bg)
13:00.56*** join/#tomcat loddafnir (n=mike@electra.aic.at)
13:01.06*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
13:22.36*** join/#tomcat da_krowa (i=Miranda@chello089076117162.chello.pl)
13:27.09*** join/#tomcat relachs (n=relachs@78.52.251.141)
13:29.53*** join/#tomcat acidjnk (i=acid@pD950A53E.dip0.t-ipconnect.de)
14:14.59*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
14:37.24*** join/#tomcat trifon_ (n=chatzill@87-126-216-207.btc-net.bg)
15:04.29*** join/#tomcat Afterlawl_ (n=Afterlaw@79-75-16-243.dynamic.dsl.as9105.com)
17:27.33*** join/#tomcat relachs (n=relachs@78.52.251.141)
17:44.59*** join/#tomcat trifon (n=chatzill@79.100.219.195)
17:57.42*** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70)
19:15.49*** join/#tomcat loddafnir (n=mike@chello080108111137.5.11.univie.teleweb.at)
19:34.01*** join/#tomcat Afterlawl (n=Afterlaw@79-75-16-243.dynamic.dsl.as9105.com)
19:48.34*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
19:52.39*** join/#tomcat Lintlock (n=lintlock@cpe-075-183-106-093.triad.res.rr.com)
20:21.35*** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
20:25.22*** join/#tomcat bv5 (n=bv5@124.123.47.47)
20:27.35*** join/#tomcat baz (n=baz@c-67-160-118-87.hsd1.wa.comcast.net)
20:32.31bazif i want to upload/deploy my webapp, how should I give myself write permissions to the webapp folder? Should I chown own the folder, or chmod it to my account, or create a new group and add myself to it - what is the common practice?
20:34.50*** part/#tomcat bv5 (n=bv5@124.123.47.47)
20:36.22*** join/#tomcat localt (n=chatzill@c-98-221-250-160.hsd1.nj.comcast.net)
20:37.34localtHello, I'm using Tomcat 6.0.18 and JDK 1.6.0.7. I'm using AJAX in site and I wondered if there is a way to go to the previous page on the serverside?

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