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.04 | pfn | yobo2, 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.41 | rabby__ | 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.34 | rabby__ | 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.42 | rabby__ | 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.39 | MHSL | rabby__, maybe you should read tomcat documentation |
14:46.15 | MHSL | rabby__, 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.11 | MHSL | rabby__, 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.30 | MHSL | rabby__, also check your server.xml |
14:55.03 | *** join/#tomcat vdv (i=1000@pop-31b-111.azeronline.com) |
14:55.06 | vdv | hi all |
14:55.23 | rabby__ | ah, that was the problem. i tried to use it in the /usr/share/tomcat5/webapps/ |
14:55.30 | rabby__ | now i moved it to /usr/share/tomcat5/webapps/test/ and it works |
14:55.31 | rabby__ | thx |
15:00.16 | vdv | my 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.14 | MHSL | vdv, 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.57 | vdv | org.springframework.web.servlet.view.UrlBasedViewResolver |
15:05.12 | vdv | i.e. i'm trying to use Spring |
15:05.18 | MHSL | ok |
15:05.21 | MHSL | never use it |
15:05.34 | vdv | why? :) |
15:05.53 | MHSL | just dont have the chance to use it yet i guess |
15:05.55 | rabby__ | 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.17 | MHSL | rabby__, of course, you must compile your class file |
15:06.34 | MHSL | rabby__, and you must put the compiled class file under WEB-INF/classes |
15:07.08 | rabby__ | MHSL: tomcat does not want to do this job for me? |
15:07.30 | vdv | MHSL: 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.45 | MHSL | rabby__, lol, of course not, it wont compile it for you |
15:08.02 | MHSL | vdv, so that's your ${ctx} problem |
15:08.30 | vdv | who must substitute that variable, jsp container? |
15:08.35 | rabby__ | MHSL: everything i have to do on my own. though, i will see if jsp is an alternative for asp friends... |
15:08.59 | MHSL | rabby__, not everything, tomcat will convert your jsp to servlet and compile it for you |
15:09.43 | MHSL | vdv, dont know, never saw that before, i dont think there is such a thing, at least not in standard jsp el |
15:10.07 | vdv | ah, that must be some tag library, yes? |
15:10.30 | MHSL | maybe? |
15:11.41 | *** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl) |
15:12.28 | MHSL | vdv, this will return the context path according to jsp 2.0 ${pageContext.request.contextPath} |
15:12.54 | vdv | MHSL: ok, thanks a lot |
15:13.36 | MHSL | np |
15:15.18 | rabby__ | MHSL, now i have class files created with javac and copied them to my new directory ./test/WEB-INF/classes/ |
15:15.40 | MHSL | rabby__, file |
15:15.41 | rabby__ | 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.41 | MHSL | [23:06] <MHSL> rabby__, and you must put the compiled class file und |
15:15.44 | MHSL | ups |
15:16.06 | MHSL | rabby__, is your webjava a package? if yes, then you must put it under webjava directory as well |
15:16.57 | MHSL | rabby__, please read the doc http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html |
15:17.05 | rabby__ | yes, it is a package and it lies there, too |
15:17.23 | MHSL | vdv, if you're using jee 5, you can try ${pageContext.servletContext.contextPath} |
15:17.53 | MHSL | rabby__, i.e. WEB-INF/classes/webjava/Eintrag.class? |
15:19.51 | rabby__ | MHSL: after tomcat restart it works. very strange! |
15:20.26 | MHSL | that means your context was not reloaded |
15:45.19 | rabby__ | how to compile f2.java if it depends on a class of f1.java? |
15:45.40 | rabby__ | in my book it says it is not necessary to import/include the other one because javac is smart enough... |
15:46.05 | rabby__ | 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.14 | MrMMyErS | hi there |
20:06.03 | rabby__ | it is correct to put my classes (for the package webjava) to C:\xampp\tomcat\webapps\ROOT\A5_rabuser\WEB-INF\classes? |
20:06.12 | rabby__ | tomcat is not able to find it :( |
20:09.47 | MrMMyErS | does only tomcat can handle async web connexion ? |
20:09.56 | MrMMyErS | can't do it with apache ? |
20:18.30 | rabby__ | on a unix server, i have tomcat running, too. there the script has another problem :( |
20:18.49 | rabby__ | the server only tells me: http://nopaste.info/72a1b25d0b.html and this does _not_ help |
20:20.02 | MrMMyErS | i 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.39 | jasonb | MrMMyErS: You heard wrong. |
20:55.41 | MrMMyErS | jasonb : ok so i can replace my apache + php by tomcat + php ? |
20:57.56 | jasonb | MrMMyErS: You could, yes. For running PHP, use Quercus. |
20:58.19 | MrMMyErS | ok thx :) |
20:58.40 | MrMMyErS | and then i can add ajax features with icefaces ? |
20:58.48 | rabby__ | where does tomcat save internal errors? |
20:59.00 | MrMMyErS | you must have logs |
20:59.01 | rabby__ | 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.37 | rabby__ | 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.43 | MHSL | rabby__, you failed, i've told you to read the doc |
23:46.19 | MHSL | rabby__, 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.37 | MHSL | rabby__, don't ask anymore questions if you dont want to read the doc |