IRC log for #tomcat on 20081102

00:43.02*** join/#tomcat tanto_ (i=tanto@bipolar.obliviated.org)
01:48.14*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
02:01.26*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-d40b6b4268a94729)
02:33.58*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
02:43.04pfnyobo2, javax.servlet.error.exception
02:46.40*** join/#tomcat clajo04_ (n=clajo04_@17.255.240.2)
02:47.46*** part/#tomcat clajo04_ (n=clajo04_@17.255.240.2)
03:13.49*** join/#tomcat aLoSs (n=Geveze@78.172.44.30)
03:13.56*** part/#tomcat aLoSs (n=Geveze@78.172.44.30)
03:25.34*** join/#tomcat e319 (n=e319@rrcs-208-125-31-87.nyc.biz.rr.com)
04:37.32*** join/#tomcat acidjnk (i=acid@pD950ABEE.dip0.t-ipconnect.de)
05:13.56*** join/#tomcat ptmahent (n=ptmahent@bas21-toronto12-1242364844.dsl.bell.ca)
05:57.25*** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
07:19.03*** join/#tomcat ptmahent__ (n=ptmahent@bas21-toronto12-1242364844.dsl.bell.ca)
07:37.30*** join/#tomcat acidjnk (i=acid@pD950ABEE.dip0.t-ipconnect.de)
07:52.34*** join/#tomcat acidjnk (i=acid@pD950AADF.dip0.t-ipconnect.de)
09:01.43*** part/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
09:03.05*** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
09:09.18*** join/#tomcat ufk (n=ufk@bzq-219-151-204.static.bezeqint.net)
09:37.50*** join/#tomcat loiseau (n=marius@dslb-084-063-018-106.pools.arcor-ip.net)
10:30.44*** join/#tomcat gottadoit (n=gottadoi@unaffiliated/gottadoit)
12:08.33*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
12:10.24*** join/#tomcat Orphis_ (n=quassel@belgarath.moomoocamp.net)
12:33.21*** join/#tomcat rabby__ (n=rabby@p4FCEA6B3.dip0.t-ipconnect.de)
12:33.41rabby__hi, where to find the default www directory of tomcat?
12:36.44*** join/#tomcat ptmahent (n=ptmahent@74.12.29.122)
12:51.43*** join/#tomcat like2ride (n=like2rid@75.81.117.121)
12:53.37*** join/#tomcat ptmahent__ (n=ptmahent@74.12.29.122)
13:09.34rabby__i put a a.html file into /usr/share/tomcat5/webapps with the content "a" and if i request http://localhost:8180/a.html it shows me an empty file :/
13:09.42rabby__no error page and no content, too :(
13:09.46*** join/#tomcat jfclere (n=jfclere@198.80.6.3)
14:16.50*** join/#tomcat acidjnk (i=acid@pD950AADF.dip0.t-ipconnect.de)
14:24.24*** join/#tomcat rabby__ (n=rabby@p4FCEA6B3.dip0.t-ipconnect.de) [NETSPLIT VICTIM]
14:24.24*** join/#tomcat Infinito- (n=kuhn@li6-217.members.linode.com) [NETSPLIT VICTIM]
14:24.24*** join/#tomcat ohsix (i=ohsix@66.220.111.222)
14:24.24*** join/#tomcat dyre (i=dyremahl@trivini.no) [NETSPLIT VICTIM]
14:24.24*** join/#tomcat crYpe (i=bnccrype@noxfire.org) [NETSPLIT VICTIM]
14:25.03*** join/#tomcat Necker (n=Necker@0x50c4f3e2.ronxx1.dynamic.dsl.tele.dk)
14:43.32*** join/#tomcat ufk (n=ufk@bzq-219-151-204.static.bezeqint.net)
14:45.39MHSLrabby__, maybe you should read tomcat documentation
14:46.15MHSLrabby__, there is no such default www directory like with apache. however, there is a default webapp directory where you put all our webapps
14:47.11MHSLrabby__, so i assume your default webapps directory is /usr/share/tomcat5/webapps, hence you must create a directory under it and put your webapp files there, then access it using /directoryname if you want it to be accessible via / then you must name the directory as ROOT, i.e. /usr/share/tomcat5/webapps/ROOT
14:47.30MHSLrabby__, also check your server.xml
14:55.03*** join/#tomcat vdv (i=1000@pop-31b-111.azeronline.com)
14:55.06vdvhi all
14:55.23rabby__ah, that was the problem. i tried to use it in the /usr/share/tomcat5/webapps/
14:55.30rabby__now i moved it to /usr/share/tomcat5/webapps/test/ and it works
14:55.31rabby__thx
15:00.16vdvmy jsp is in webapps/proj/WEB-INF/jsp and my css file is in webapps/proj/css/ directories correspondingly. i'm including css file in my jsp in the following way: <link rel="stylesheet" type="text/css" href="${ctx}/css/screen.css" media="screen" title="screen" /> Is that incorrect?
15:04.14MHSLvdv, yes, assuming ${ctx} contains your webapp context path, but i have 1 question though, how can you access your jsp if it's under WEB-INF directory?
15:04.57vdvorg.springframework.web.servlet.view.UrlBasedViewResolver
15:05.12vdvi.e. i'm trying to use Spring
15:05.18MHSLok
15:05.21MHSLnever use it
15:05.34vdvwhy? :)
15:05.53MHSLjust dont have the chance to use it yet i guess
15:05.55rabby__tomcat does not like my beans: i saved the files to e.g. /usr/share/tomcat5.5/webapps/test/WEB-INF/src/webjava/Eintrag.java
15:06.17MHSLrabby__, of course, you must compile your class file
15:06.34MHSLrabby__, and you must put the compiled class file under WEB-INF/classes
15:07.08rabby__MHSL: tomcat does not want to do this job for me?
15:07.30vdvMHSL: in my case ${ctx} becomes empty, so in html i get:<link rel="stylesheet" type="text/css" href="/css/screen.css" media="screen" title="screen" />
15:07.45MHSLrabby__, lol, of course not, it wont compile it for you
15:08.02MHSLvdv, so that's your ${ctx} problem
15:08.30vdvwho must substitute that variable, jsp container?
15:08.35rabby__MHSL: everything i have to do on my own. though, i will see if jsp is an alternative for asp friends...
15:08.59MHSLrabby__, not everything, tomcat will convert your jsp to servlet and compile it for you
15:09.43MHSLvdv, dont know, never saw that before, i dont think there is such a thing, at least not in standard jsp el
15:10.07vdvah, that must be some tag library, yes?
15:10.30MHSLmaybe?
15:11.41*** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl)
15:12.28MHSLvdv, this will return the context path according to jsp 2.0 ${pageContext.request.contextPath}
15:12.54vdvMHSL: ok, thanks a lot
15:13.36MHSLnp
15:15.18rabby__MHSL, now i have class files created with javac and copied them to my new directory ./test/WEB-INF/classes/
15:15.40MHSLrabby__, file
15:15.41rabby__though, it returns the error: org.apache.jasper.JasperException: /test.jsp(11,0) The value for the useBean class attribute webjava.Eintrag is invalid.
15:15.41MHSL[23:06] <MHSL> rabby__, and you must put the compiled class file und
15:15.44MHSLups
15:16.06MHSLrabby__, is your webjava a package? if yes, then you must put it under webjava directory as well
15:16.57MHSLrabby__, please read the doc http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html
15:17.05rabby__yes, it is a package and it lies there, too
15:17.23MHSLvdv, if you're using jee 5, you can try ${pageContext.servletContext.contextPath}
15:17.53MHSLrabby__, i.e. WEB-INF/classes/webjava/Eintrag.class?
15:19.51rabby__MHSL: after tomcat restart it works. very strange!
15:20.26MHSLthat means your context was not reloaded
15:45.19rabby__how to compile f2.java if it depends on a class of f1.java?
15:45.40rabby__in my book it says it is not necessary to import/include the other one because javac is smart enough...
15:46.05rabby__but if i try to do so, javac tells me: cannot find symbol
17:05.31*** join/#tomcat jfclere (n=jfclere@63.85.187.2)
18:17.35*** join/#tomcat relachs (n=relachs@g228161106.adsl.alicedsl.de)
18:28.01*** part/#tomcat relachs (n=relachs@g228161106.adsl.alicedsl.de)
18:39.14*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
18:50.18*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
18:59.08*** join/#tomcat etag (n=etag@60-240-24-249.static.tpgi.com.au)
19:01.47*** join/#tomcat loiseau (n=marius@dslb-084-063-018-106.pools.arcor-ip.net)
19:27.38*** join/#tomcat jfclere (n=jfclere@63.85.187.2)
19:44.44*** join/#tomcat magentar (n=magentar@p57A95D4E.dip.t-dialin.net)
20:01.51*** join/#tomcat MrMMyErS (i=M_MyErS@dou59-1-82-238-54-105.fbx.proxad.net)
20:02.14MrMMyErShi there
20:06.03rabby__it is correct to put my classes (for the package webjava) to C:\xampp\tomcat\webapps\ROOT\A5_rabuser\WEB-INF\classes?
20:06.12rabby__tomcat is not able to find it :(
20:09.47MrMMyErSdoes only tomcat can handle async web connexion ?
20:09.56MrMMyErScan't do it with apache ?
20:18.30rabby__on a unix server, i have tomcat running, too. there the script has another problem :(
20:18.49rabby__the server only tells me: http://nopaste.info/72a1b25d0b.html and this does _not_ help
20:20.02MrMMyErSi heard tomcat is not that stable to handle too many connections
20:52.28*** join/#tomcat Alpha-tan (n=the7thgh@c8u.is.edu.ro)
20:53.39jasonbMrMMyErS: You heard wrong.
20:55.41MrMMyErSjasonb : ok so i can replace my apache + php by tomcat + php ?
20:57.56jasonbMrMMyErS: You could, yes.  For running PHP, use Quercus.
20:58.19MrMMyErSok thx :)
20:58.40MrMMyErSand then i can add ajax features with icefaces ?
20:58.48rabby__where does tomcat save internal errors?
20:59.00MrMMyErSyou must have logs
20:59.01rabby__within /var/log/tomcat5.5 i can not find it
20:59.08*** join/#tomcat prgrmr (n=prgrmr@bzq-79-183-13-114.red.bezeqint.net)
21:01.37rabby__MrMMyErS, where to find it? or do i have to "active" logging as it is not on by default?
21:20.10*** join/#tomcat gottadoit` (n=gottadoi@unaffiliated/gottadoit)
21:28.34*** join/#tomcat chrisjw (n=mementoO@5ac791d3.bb.sky.com)
21:51.32*** join/#tomcat gottadoit (n=gottadoi@unaffiliated/gottadoit)
22:18.26*** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl)
23:01.15*** join/#tomcat jfclere (n=jfclere@198.80.6.3)
23:23.23*** join/#tomcat magentar (n=magentar@p57A95D4E.dip.t-dialin.net)
23:45.43MHSLrabby__, you failed, i've told you to read the doc
23:46.19MHSLrabby__, C:\xampp\tomcat\webapps\ROOT\A5_rabuser\WEB-INF\classes -> this obviously will not work, since the WEB-INF directory is supposed to be under ROOT not in another subdirectory
23:46.37MHSLrabby__, don't ask anymore questions if you dont want to read the doc

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