IRC log for #tomcat on 20090811

01:01.54*** join/#tomcat rmrfslash (i=44094a54@gateway/web/freenode/x-8ea7183647a596c2)
01:02.14rmrfslashis there a channel for JSP?
01:30.03*** join/#tomcat saulus_ (n=saulus@c135017.adsl.hansenet.de)
01:55.41*** join/#tomcat karstensrage (n=karstens@c-71-202-243-186.hsd1.ca.comcast.net)
03:15.26*** join/#tomcat perr0 (n=dalanis@c-75-72-9-167.hsd1.mn.comcast.net)
03:16.07perr0jasonb where are youuuuuuuuuuuuuuuuuuuu!
03:26.41*** join/#tomcat km (n=km@adsl-99-173-24-119.dsl.pltn13.sbcglobal.net)
04:55.37*** join/#tomcat bhagat (n=bhagat@218.248.24.18)
06:26.27*** join/#tomcat benn_d (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net)
06:32.11*** join/#tomcat tess (n=tess@c-76-21-110-252.hsd1.ca.comcast.net)
06:36.35*** join/#tomcat tess_ (n=tess@c-76-21-110-252.hsd1.ca.comcast.net)
07:06.48*** join/#tomcat tess (n=tess@c-76-21-110-252.hsd1.ca.comcast.net)
07:31.11*** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.static.glaslokaal.nl)
09:05.33*** join/#tomcat magentar (n=magentar@ip-94-79-137-123.unitymediagroup.de)
09:16.21*** join/#tomcat RedShift (n=glenn@d51A5124D.access.telenet.be)
09:16.27RedShifthello all
09:16.34RedShiftwhat is tomcat native?
09:16.40RedShiftwhat's the difference between tomcat 6?
09:17.31deebotomcat native is an elusive species driven to extinction by spanish tomcats
09:17.34deebonow they mostly own casinos
09:17.52RedShiftcool
09:21.21RedShiftwell it appears the documentation for tomcat-native is non-existant, but some other website provided some information: http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Tomcat+Native+Library
10:28.57*** join/#tomcat napnap (n=greg@217.108.190.173)
10:31.52napnapHi, I've make a website which use SSI under tomcat. I've make it in a subdirectory of the context path and all works fine. Since I've moved all in the parent directory, file inclusion doesn't work... (#include--Couldn't include file: ../header-une.html      java.io.IOException: Normalization yielded null on path: /../header-une.html)                    
10:33.27napnapmy website is under webapps/vivant .  When it is on webapps/vivant/new all works, when I move it under webapps/vivant/ file inclusion doesn't work..
10:33.35napnapI don't understand, is very strange..
10:33.51napnapI use Tomcat 5.5.27 under windows server 2003
10:34.39napnapIf anyone can give me some help...
11:14.08*** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.static.glaslokaal.nl)
11:53.29*** join/#tomcat o_leo_o (n=leo@116.233.155.4)
12:04.09*** join/#tomcat mgerlich (n=mgerlich@router-sub.ipb-halle.de)
12:04.45*** join/#tomcat fosser_josh (n=prathame@59.95.32.248)
12:04.55*** part/#tomcat fosser_josh (n=prathame@59.95.32.248)
12:19.29napnapSOS ..._ _ _...
12:32.36*** join/#tomcat sebar (n=sebar@mail.saint-elmos.com)
12:34.30sebarHi everybody. I've just downloaded Tomcat 6.0.20 and the newest JRE
12:35.47sebarHow can I setup the default web directory. Let's say I want to have the ROOT pointing to C:\myproject like I can do in apache
12:36.34sebarIf you now what I mean. I'm new to Tomcat and just using it to develop a simple session store script in JSP
12:39.57sebarOups.... i'm using Win NT 5.1 and JRE 1.6.0.14
12:41.50*** join/#tomcat randrew (n=raj@dyn-128-59-53-15.dyn.columbia.edu)
12:47.03*** join/#tomcat codeshah (n=codeshah@S0106001d60dec20b.ed.shawcable.net)
12:49.30sebarhummmmm... what else do you want know to give me a answer
12:49.41sebar???
12:57.56*** join/#tomcat mturk (n=mturk@nat/redhat/x-de6f14f2bf001fd7)
13:04.02*** join/#tomcat haxplorer (n=haxplore@nat/yahoo/x-5f2f82c8733d6ee7)
13:04.18*** join/#tomcat Shorin (n=chatzill@216.107.215.202)
13:05.04sebarokay, thanks.
13:05.09*** part/#tomcat sebar (n=sebar@mail.saint-elmos.com)
13:05.20ShoryuAnybody here?
13:07.50Shoryu(Tomcat 5.5.27, WinXP Pro SP3, Java 1.6) Having trouble with Context path in host setup. For some reason all the links in the application are NOT relative to the 'path'
13:12.07ShoryuSet in the context
13:14.42ShoryuThis is truly retarded... i may have to go in the application and change all the links to include some sort of context path...
13:20.42*** join/#tomcat benn_d (n=benn_d@c-67-176-147-20.hsd1.in.comcast.net)
13:31.10*** join/#tomcat magentar (n=magentar@ip-94-79-137-123.unitymediagroup.de)
13:32.05ShoryuAnybody have an answer?
13:47.22*** join/#tomcat magentar (n=magentar@ip-94-79-137-123.unitymediagroup.de)
13:50.46ShoryuCan anybody help?
14:05.47*** join/#tomcat Entwicklung (n=chatzill@dhcp-wlce249124.zim.uni-duisburg-essen.de)
14:09.45kjkoster5489Shoryu: servletcontext.getPath()?
14:10.17Shoryuyeah, but i still have to prepend that to EVERY url in the application.
14:10.24ShoryuI happened to find my own solution.
14:10.36kjkoster5489Unless you use relative urls in all JSPO's.
14:10.40kjkoster5489JSP's.
14:10.45Entwicklungtomcat 6.18 java ee windows vista can anyone tell me why tomcat escapes a java html string that is pure html string without escape characters?
14:11.20Shoryukjjkoster5489: use prepend "../" to every URL that was accessing root path
14:12.02Shoryu'/path' = 'server/path' to the browser, so '../path' would go up to the root folder rather than the server root (or the server root if that were so)
14:13.13ShoryuI think i still have to use 'get context path' or something in the java files though.
14:13.36Shoryuluckily, that's going to be global for the entire app...
14:16.17kjkoster5489Shoryu: your apps should not be dependent like that.
14:16.34kjkoster5489So the fact that this is difficult is by design. You are violating the spec.
14:16.55Shoryu??
14:17.27Shoryuthe Context entry in server.xml has the path attribute set
14:18.02Shoryuso that each webapp is reached by its path attribute in the context.
14:18.08ShoryuThat is by design.
14:18.24kjkoster5489Yes, but a webapp that is named "foo" cannot use stuff that it is in ROOT.
14:18.25ShoryuThe webapp deployment isn't moved physically.
14:18.34kjkoster5489It should only use stuff that is in /foo/
14:19.08Shoryuthat makes sense, but this is how tomcat seems to be operating.
14:19.30ShoryudocBase is set to an absolute path in this case, actually
14:19.57Shoryuits a path that's also off of the appBase of the host
14:24.35*** join/#tomcat rmrfslash (i=8cf7f7e4@gateway/web/freenode/x-78a6242a2b4a29f5)
14:25.04rmrfslashIs there a way to restrict someone only to say index.jsp in the root of a webapp?
14:25.39kjkoster5489use a filter that does that
14:25.50kjkoster5489google for servlet filter.
14:28.36Shoryukjkoster5489: I checked what you said, and the webapp cannot access stuff at the root.
14:28.42Shoryui mean the appbase
14:28.56Shoryuit can't go above the level of the docBase set in the context it seems.
14:29.26kjkoster5489Well, you can specify "/dontdothis.png" to load something from the ROOT context in the foo context.
14:29.33kjkoster5489But that makes these two dependent.
14:30.32Shoryui tried adding lines like <img src='../arealimageatroot.jpg'/>
14:30.50Shoryualso tried navigating to a file off the root and it gives me 400 bad request.
14:30.53kjkoster5489Yes, that will work.
14:31.11kjkoster5489Well, you can have Apache runing in front of Taomcat that makes this hard./
14:31.36ShoryuTomcat is running alone as far as I know... there's no connector set up to my knowledge.
14:32.13Shoryuyeah, i'm 99% confident that apache isn't installed...
14:32.51Shoryui'm pretty sure stuff at the webapps root can't be accessed at all.
14:33.51Shoryuso no worries, the whole path thing fixes it, i just have to be mindful of when the JSP file i'm in is AT the root.
14:38.22*** join/#tomcat _bradk (n=brad@c122-107-36-228.blktn5.nsw.optusnet.com.au)
14:46.56*** join/#tomcat raddy (n=raddy@123.237.216.137)
14:47.07*** part/#tomcat raddy (n=raddy@123.237.216.137)
15:09.08rmrfslash<PROTECTED>
15:18.18*** join/#tomcat dvayanu (n=another@81.92.18.42)
15:27.56haxplorerI'm accessing a https server using a HttpClient instance. But I know that the server is going to give me some certificate that is self issued or of a different domain. I want to ignore this and proceed with the http method. How do I do this?
15:46.55*** join/#tomcat km (n=km@66-7-254-75.static-ip.telepacific.net)
15:57.09*** join/#tomcat tess (n=tess@c-76-21-110-252.hsd1.ca.comcast.net)
15:58.47*** join/#tomcat arricherekk (n=Owner@99-195-236-10.dyn.centurytel.net)
16:03.16*** join/#tomcat tess__ (n=tess@c-76-21-110-252.hsd1.ca.comcast.net)
16:04.20arricherekkI'm trying to run Tomcat 5.5.27 on a Windows Vista (ugh) with jre1.6_03.  When I try to run it, it fails, saying something along the lines of "Access is denied. Unable to open the service Tomcat5". I receive a similar message when I attempt to delete the service.  Any ideas?
16:04.34RedShift<PROTECTED>
16:04.45arricherekkI am logged in as an administrator.
16:05.10RedShiftthe default vista users are not really administrators
16:05.55arricherekkhm, the User Accounts page says that the default user is an administrator
16:06.09RedShiftyeah but it's "underprivileged"
16:06.26RedShiftto run something with full admin privileges, right click and select "run as administrator"
16:06.34arricherekkalright
16:06.38arricherekkGeez, I hate vista
16:06.54arricherekkThanks
16:07.55*** part/#tomcat arricherekk (n=Owner@99-195-236-10.dyn.centurytel.net)
16:13.41*** join/#tomcat da_krowa (i=Miranda@chello087207037180.chello.pl)
16:15.08*** join/#tomcat thorat (n=thorat@unaffiliated/thorat)
16:48.25*** join/#tomcat Anarch (n=w3@elrond.hsl.washington.edu)
16:58.16*** join/#tomcat |MHSL| (i=mhsl@cm16.eta6.maxonline.com.sg)
17:03.21*** join/#tomcat azlev (n=ze@200.234.206.72)
17:14.40*** join/#tomcat haxplorer (n=haxplore@122.167.177.193)
17:28.06*** join/#tomcat haxplorer (n=haxplore@122.167.177.193)
18:07.33*** join/#tomcat haxplorer (n=haxplore@122.167.177.193)
18:11.48*** join/#tomcat km (n=km@66-7-254-75.static-ip.telepacific.net)
18:13.41*** join/#tomcat haxplorer (n=haxplore@122.167.177.193)
18:14.56*** join/#tomcat azlev (n=ze@200.234.206.72)
18:20.10*** join/#tomcat rmrfslash (i=8cf7f7e4@gateway/web/freenode/x-c2b23150bd296a75)
18:21.20rmrfslashI'm noticing that everytime I output a block of JSP code (<% %>), it introduces a newline. It is only noticable when a user is wget-ing the page output. Browsers obviously ignore newlines
18:21.41rmrfslashAnyway to avoid this?
18:23.59Shoryu<B>probably don't have any newlines between</B><%JSP!!%><a href="#'>page source</a>
18:24.11Shoryuif you know what i mean.
18:33.52Anarchrmrfslash: Since you're actually outputting the output of the JSP code, presumably that output ends with a newline.  If you output it to a file, can you check for that newline, then find a way to get rid of it?
18:34.57rmrfslashAnarch: I actually found some stuff via Google. They say to close a JSP tag on the same line as opening a new one. Or, use JSP XML tags e.g. <jsp:root> but I don't know how to use these.
18:35.25rmrfslashAnarch: Is there a tutorial on this that you or someone might be able to show to me?
18:36.00rmrfslashAnarch: A tutorial on using JSP tags like <jsp:directive> <jsp:root> etc.
18:36.07*** join/#tomcat BarryNL (n=goltharn@82-95-227-51.xs4all.nl)
18:44.07Anarchrmrfslash: The Google hits are the best I know (Sun and Wikipedia).
19:00.35jawbrkrso i compiled apache portable runtime, tomcat native, the libraries are in /usr/local/apr/lib, I've modified the ld_path in .bash_profile for tomcat but I'm still getting the following error INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:
19:08.54*** join/#tomcat BarryNL_ (n=goltharn@82-95-227-51.xs4all.nl)
19:11.13*** join/#tomcat peruano (n=peruano@201.240.104.22)
19:11.18peruanoEscriba el texto aquĆ­....olaaaaaaaaaaaaaaaaa
19:12.32*** join/#tomcat tuxplorer (n=haxplore@122.167.177.193)
19:44.42*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
19:45.25rouehola
19:48.02roueI'm running tomcat tomcat 6.0.14 under java 1.6.0_14 under RedHat Enterprise Linux 5.3. I've been provided with a WAR file to deploy and that works fine. I'd like to add a few JSPs to the $CATALINA_HOME/webapps/this_app/ directory, but I don't have the build tree for the original WAR. Is this just a terrible idea? thanks.
19:54.31rouesorry, that's tomcat 6.0.20
19:54.42*** join/#tomcat karstensrage (n=chatzill@70.42.238.2)
19:55.08karstensragedoes localhost_access get written to after the request returns or when the request is made?
19:57.16*** join/#tomcat haxplorer (n=haxplore@122.167.177.193)
20:11.15randrewroue: what does the WAR distributor say?
20:11.37rouerandrew I haven't asked, I'm just wondering about general best practice.
20:14.19randrewroue: if you aren't able to judge for yourself you would do well to follow the WAR distributor's guidance.
20:17.06rouerandrew fair enough, but not exactly the answer I was looking for. From what you're saying is it safe to assume that there are some circumstances where it's okay to add files to those extracted when deploying a WAR file?
20:17.29*** join/#tomcat haxplorer (n=haxplore@122.167.177.193)
20:21.05*** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com)
20:31.31*** part/#tomcat randrew (n=raj@dyn-128-59-53-15.dyn.columbia.edu)
20:53.06*** join/#tomcat clajo05 (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com)
21:14.43*** join/#tomcat tuxplorer (n=haxplore@122.167.177.193)
21:36.11*** join/#tomcat bassinboy (i=d86e5de2@gateway/web/freenode/x-2fcdeb6e19a48052)
21:36.40bassinboyis there a connection timeout that users placed into acceptcount queueing are subjected too?
22:00.01*** join/#tomcat azlev (n=ze@200.234.206.72)
22:20.25*** join/#tomcat _bradk (n=brad@c122-107-36-228.blktn5.nsw.optusnet.com.au)

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