00:22.26 | *** join/#tomcat npm (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com) |
00:41.48 | *** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net) |
00:56.54 | *** join/#tomcat internat1 (n=nf@123-243-184-161.static.tpgi.com.au) |
01:29.43 | *** join/#tomcat bwr (n=bwr@adsl-75-34-65-74.dsl.spfdmo.sbcglobal.net) |
01:40.10 | bwr | Hi, I am trying to learn how to use Joid the openid library. I am just trying to use the example war provided in tomcat 6.0.18. I get an error "SEVERE: Error filterStart" and "SEVERE: Context [/joid] startup failed due to previous errors" but nothing else. I have tried searching but haven't been able to figure out what might be the problem and I can't figure out anything from the output. Any ideas? |
01:42.38 | *** join/#tomcat rchern-afk (n=UPP@unaffiliated/rchern) |
01:43.25 | *** join/#tomcat vinse_ (n=vinse_@208.253.223.146) |
01:46.49 | *** join/#tomcat SJr|Work (n=unknown@216.152.207.157) [NETSPLIT VICTIM] |
01:46.51 | *** join/#tomcat mirari (n=iostream@89.221.166.136) [NETSPLIT VICTIM] |
02:48.29 | karstensrage | bwr, check all the logs in $CATALINA_HOME/logs |
02:48.40 | karstensrage | and see if you can find an exception or something |
02:49.48 | bwr | yea, i've looked and haven't been able to figure anything out. I switched libraries to openid4java now |
03:04.52 | *** join/#tomcat jimmygoon (n=jimmygoo@pcp085179pcs.unl.edu) |
03:05.17 | jimmygoon | Ok, so I want to add -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n to my launch configuration... where does this go? |
03:46.15 | karstensrage | jimmygoon, 'set CATALINA_OPTS = ' |
03:46.41 | karstensrage | or maybe.. hold on a sec |
03:47.25 | jimmygoon | karstensrage: well I ran catalina.sh debug but it just hangs at $ ./catalina.sh debug |
03:47.25 | jimmygoon | Using CATALINA_BASE: /home/xxx/tomcat |
03:47.25 | jimmygoon | Using CATALINA_HOME: /home/xxx/tomcat |
03:47.26 | jimmygoon | Using CATALINA_TMPDIR: /home/xxx/tomcat/temp |
03:47.26 | jimmygoon | Using JAVA_HOME: /usr/java/jdk1.6.0_06 |
03:47.26 | jimmygoon | Initializing jdb ... |
03:47.28 | jimmygoon | > |
03:47.38 | jimmygoon | {{ and then it hangs }} |
03:47.49 | karstensrage | set JDPA_OPTS? |
03:47.59 | karstensrage | set JPDA_OPTS? |
03:48.56 | jimmygoon | karstensrage: the debug option in the catalina.sh script launches it in debug mode with JPDA_OPTS :/ |
03:56.31 | jimmygoon | I just don't understand why it hangs there :/ |
03:59.53 | karstensrage | whats it doing in the shell? |
04:14.10 | jimmygoon | Well when I run ./catalina.sh debug it just sits there and no jdb seems to start, but tomcat does _not_ run |
04:14.40 | jimmygoon | and when I run ./catalina.sh jdba start then it runs tomcat but does not create an open port on port 8000 as it should and I can confirm w/ netstat |
04:27.11 | *** join/#tomcat Gopaul (n=chatzill@61.17.185.118) |
04:34.10 | jimmygoon | so now I get : "Listening for transport dt_socket at address: 8000" |
04:34.15 | jimmygoon | when I use ./catalina.sh jdba run |
04:34.26 | jimmygoon | but netstat -n says there is nothing listening on port 8000 |
04:42.36 | *** join/#tomcat acidjnk (i=acid@pD950A4E8.dip0.t-ipconnect.de) |
04:50.36 | *** join/#tomcat trifon (n=chatzill@79.124.70.209) |
04:52.22 | *** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
05:27.03 | *** join/#tomcat shashi (n=shashi@122.181.1.158) |
06:30.16 | *** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net) |
07:15.56 | *** join/#tomcat dvayanu (n=another@ppp-93-104-113-185.dynamic.mnet-online.de) |
07:28.09 | *** join/#tomcat JohnBat26 (n=Eugene@89.175.77.49) |
07:28.15 | JohnBat26 | hello |
07:28.22 | JohnBat26 | I use tomcat 5.5 |
07:28.58 | JohnBat26 | and my several threads hangup after failed jdbc connection |
07:29.29 | JohnBat26 | and they hangs very long |
07:29.59 | JohnBat26 | Q: How in tomcat terminate threads which is hangs? |
07:30.53 | deebo | fix your app |
07:30.58 | deebo | i doubt its tomcats fault |
07:35.06 | kjkoster5489 | JohnBat26: make thread dumps and find the faulty code that way. |
07:39.51 | JohnBat26 | kjkoster5489: ok, but may I kill hang thread? |
07:40.17 | JohnBat26 | kjkoster5489: by timeout? |
08:05.40 | kjkoster5489 | You have to examine the code that the thread runs and make sure it handles the failed JDBC connection by terminating. |
08:19.46 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
08:38.46 | *** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net) |
08:53.48 | *** join/#tomcat dvayanu_ (n=another@host-62-245-224-138.customer.m-online.net) |
09:12.05 | *** join/#tomcat Yves_ (n=quassel@195.46.234.222) |
10:49.46 | *** join/#tomcat Yves_ (n=quassel@195.46.234.222) |
10:55.07 | *** join/#tomcat l3v0n (n=l3v0n@p579F4D07.dip.t-dialin.net) |
12:00.12 | *** join/#tomcat coachz (i=40108302@gateway/web/ajax/mibbit.com/x-efcb22fdd015de2c) |
12:02.49 | coachz | Hi, i'm running Tomcat 5.5.23 on Centos5.2 and i have my Java and Tomcat running but my Hello.jsp page doesn't process. The setup web page didn't give me much more to go on. Is there another page with detail setup steps to get my page processing please ? |
12:03.42 | coachz | i have not edited tomcat.conf yet, i guess that's next |
12:08.31 | *** join/#tomcat acidjnk (i=acid@pD950A4E8.dip0.t-ipconnect.de) |
12:09.09 | *** join/#tomcat stimpie (n=michiel@84-104-5-142.cable.quicknet.nl) |
12:10.55 | coachz | isn't this wrong: JAVA_HOME=/usr/lib/jvm/jre-1.6.0-sun don't i need to point to the JDK directory instead ? |
12:12.55 | stimpie | somebody knows why I get this error in my jsp: The method replaceAll(String, String) is undefined for the type String? |
12:13.04 | stimpie | using it in a standalone application works perfectly |
12:39.42 | kjkoster5489 | stimpie: check your Java versions at run-time. |
12:39.56 | kjkoster5489 | coachz: tomcat worls well in a JRE and does not need a ful jdk. |
12:46.09 | stimpie | kjkoster5489, getProperty("java.version") returns 1.6.0_10 |
12:46.34 | kjkoster5489 | In the JSP? |
12:46.40 | stimpie | yes |
13:25.03 | coachz | new Tomcat5.5 install.......firewall 8080 open in iptables and tomcat5, JAVA_HOME is set in tomcat5.conf My Hello.jsp page opens blank. Any ideas ? Without 8080 in the url it opens unprocessed too. |
13:25.51 | kjkoster5489 | Stock tomcat or apt/rpm one? |
13:26.08 | coachz | centos 5.5 yum package |
13:26.34 | kjkoster5489 | Hmm. Try a stock one, just to be sure the package is not broken. |
13:26.39 | kjkoster5489 | Check catalina.out for messages/ |
13:28.05 | coachz | catalina.out just says the server started. this is the package that Red Hat enterprise so i'm sure it's not broken |
13:28.34 | coachz | here's catalina.out http://rafb.net/p/XLspk938.html |
13:29.04 | coachz | java -version shows java version "1.6.0_11" |
13:31.41 | *** join/#tomcat randrew (n=raj@dyn-128-59-52-242.dyn.columbia.edu) |
13:33.07 | kjkoster5489 | coachz: rpm's for Tomcat are a pain, see e.g. http://java-monitor.com/forum/showthread.php?t=4 |
13:33.33 | kjkoster5489 | Try a real one from Apache.org and see if that one does work. |
13:33.54 | kjkoster5489 | If that one fails too more people can help you, because then it is not a packaging issue. |
13:34.08 | coachz | i can't imagine that red hat enterprise tomcat is broken |
13:34.21 | kjkoster5489 | I can. |
13:35.02 | kjkoster5489 | It is not broken by accident, it is packaged differently from the standard tomcat so it works differently in unexpected ways. |
13:35.21 | kjkoster5489 | Try a real one, just to prove me wrong. |
13:35.31 | coachz | do i have to compile the other one ? |
13:36.08 | kjkoster5489 | No. |
13:36.27 | coachz | ok, i'll get it now, thank you |
13:36.31 | kjkoster5489 | Just download from tomcat.apache.org (core zip), unzip, chmod 755 bin/*.sh and bin/startsup.sh |
13:36.34 | kjkoster5489 | Poof. |
13:36.46 | coachz | i like POOF |
13:38.41 | kjkoster5489 | :) |
13:40.51 | coachz | should i put it back in /etc/tomcat5 ? |
13:43.32 | coachz | or in /usr/share/tomcat5 |
13:45.11 | kjkoster5489 | Any place you like. It is a self-contained folder. |
13:45.26 | coachz | and do i need to create a user "tomcat" |
13:45.31 | kjkoster5489 | Just make sure you run it withut any CATALINA_* env settigns. |
13:45.33 | kjkoster5489 | No. |
13:45.56 | kjkoster5489 | You can do all that later, once it works. :) |
13:48.54 | *** join/#tomcat randrew (n=raj@dyn-128-59-52-242.dyn.columbia.edu) [NETSPLIT VICTIM] |
13:48.54 | *** join/#tomcat acidjnk (i=acid@pD950A4E8.dip0.t-ipconnect.de) [NETSPLIT VICTIM] |
13:51.01 | coachz | i ran it and it says it's Using CATALINA_BASE......blah blah |
13:51.08 | kjkoster5489 | ok |
13:51.10 | coachz | and it sees my JRE_HOME |
13:51.32 | kjkoster5489 | But does it show the demo page on 8080? |
13:51.45 | coachz | yes |
13:51.48 | kjkoster5489 | Hmm. |
13:51.54 | coachz | Apache Tomcat/5.5.27 |
13:52.27 | kjkoster5489 | If you are not tied to a version, better use 6.0.18. |
13:52.45 | kjkoster5489 | Does this solve the problem you had earlier? |
13:52.56 | coachz | i don't think coccon or maven uses 6 |
13:53.23 | coachz | i'm getting closer :-) my Hello.jsp page doesn't run yet |
13:53.39 | *** join/#tomcat lrk (n=lrk@193.42.156.205) |
13:53.50 | kjkoster5489 | See what I mean with the RPM being broken, though? |
13:54.12 | coachz | well, maybe it needs some funky setting, that's typical for me in linux |
13:54.38 | coachz | what's the pass for tomcat manager |
13:55.08 | *** join/#tomcat coachz (i=40108302@gateway/web/ajax/mibbit.com/x-3dc15b15ccbfdc47) |
13:55.22 | kjkoster5489 | Don't use the manager, it is an attack vector for viruses. |
13:55.36 | kjkoster5489 | Just create your webapp under ${tomcat}/webapps/ |
13:55.36 | coachz | how about tomcat administrator |
13:55.47 | kjkoster5489 | ? |
13:57.08 | coachz | does my Hello.jsp go under /usr/share/tomcat5/webapps too ? I put it there but i get a 404 |
13:57.57 | kjkoster5489 | Put it into ${tomcat}/webapps/ROOT and see. |
13:58.16 | kjkoster5489 | You can access it using http://localhost:8080/Hello.jsp |
13:58.19 | coachz | success ! |
13:58.34 | coachz | thank you kjkoster5489 for the spoonfeeding |
13:58.42 | kjkoster5489 | I'll send the bill. :) |
13:59.06 | coachz | i don't see any limits on cocoon so i'll get the latest tomcat |
14:06.59 | coachz | cool, running 6.0.18 now. very simple to get going at least. thanks again |
14:12.39 | kjkoster5489 | np |
14:12.46 | *** join/#tomcat randrew1 (n=raj@dyn-128-59-52-242.dyn.columbia.edu) |
14:12.58 | coachz | i'm reading about the best way to start it on boot up |
14:13.20 | coachz | looks good http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/ |
14:15.14 | *** join/#tomcat randrew (n=raj@dyn-128-59-52-242.dyn.columbia.edu) [NETSPLIT VICTIM] |
14:15.14 | *** join/#tomcat acidjnk (i=acid@pD950A4E8.dip0.t-ipconnect.de) [NETSPLIT VICTIM] |
14:23.38 | *** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net) |
14:54.29 | *** join/#tomcat prgrmr_ (n=prgrmr@unaffiliated/prgrmr) |
15:56.26 | *** join/#tomcat C_Kode (n=_C_Kode@38.108.104.210) |
15:59.36 | C_Kode | Hi, mod_jk question: I have mod_jk 1.2.27 with the new settings (ping_mode etc) socket_connect_timeout and socket_timeout. Is socket_timeout how long a socket can be open before it's closed, or how long it waits for a responce after a message (or whatever else) is sent? |
16:37.23 | *** join/#tomcat MHSL- (i=Linux@cm18.eta6.maxonline.com.sg) |
16:39.30 | *** join/#tomcat IIVQ (n=Tijmen@a80-101-215-78.adsl.xs4all.nl) |
16:39.46 | IIVQ | hey |
16:40.27 | IIVQ | question: While working on a new tomcat app I get the following error |
16:40.28 | IIVQ | org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could not create connection to database server. |
16:41.02 | IIVQ | however, one week ago, it worked fine with the same db & settings, and I can manually connect to the db |
16:41.12 | IIVQ | any idea how I can get a more elaborate message? |
16:41.42 | IIVQ | btw: Tomcat 6.0.14 from XAMPP + mysql 5 on windows vista |
16:52.23 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
16:59.56 | *** join/#tomcat karstensrage (n=chatzill@75-55-199-5.mobitv.com) |
17:39.19 | *** join/#tomcat PeepOle (i=7c7ce905@gateway/web/ajax/mibbit.com/x-821bc1a410ccacaa) |
17:42.10 | IIVQ | found the errror: in my vista-> hosts file, the localhost was set to ::1 instead of 127.0.0.1 |
17:42.13 | IIVQ | strangely enough |
17:44.22 | PeepOle | Hi all. I have Tomcat 6.0.18-0ubuntu3.1, java version "1.6.0_0", Ubuntu 8.10. I have just started to use tomcat. I have copied a war file xyz.war to /usr/share/tomcat6/webapps/. However http://localhost:8080/xyz shows error "Requested resource is not available" HTTP Status 404. What have I done wrong? |
17:48.18 | *** join/#tomcat da_krowa (i=Miranda@chello089078230060.chello.pl) |
17:50.27 | *** part/#tomcat coachz (i=40108302@gateway/web/ajax/mibbit.com/x-3dc15b15ccbfdc47) |
17:53.33 | *** join/#tomcat PeepOle (i=7c7ce905@gateway/web/ajax/mibbit.com/x-5d5893ccc9b145eb) |
17:53.51 | PeepOle | Whooo, am back. Any answers yet? |
17:58.00 | *** join/#tomcat karstensrage (n=chatzill@75-55-199-5.mobitv.com) |
17:58.53 | pfn | your situation is too vague to answer |
17:58.57 | *** join/#tomcat fommil (n=samuel@host-80-192-121-116.static.telewest.net) |
18:00.02 | fommil | I have an AJP 1.3 Connector on port 8010, which I've flagged as secure="true" scheme="https". This only receives requests that have arrived via Apache + SSL. However, servlets are reporting request.getProtocol of HTTP/1.1 |
18:00.45 | fommil | how can I make the servlets see requests on this port as if they were arriving through tomcat's raw SSL server |
18:01.23 | pfn | fommil, req.isSecure() |
18:01.28 | pfn | protocol is always HTTP/1.1 |
18:01.58 | pfn | well, I suppose it could be HTTP/1.0 |
18:02.02 | pfn | but no one really sends that anymore |
18:02.05 | fommil | ok, now here's the thing... this essentially completely breaks response.sendRedirect |
18:02.22 | pfn | no it doesn't |
18:02.25 | pfn | your code is wrong then |
18:02.59 | fommil | my code does response.sendRedirect(request.getRequestURI() + "someparams") |
18:03.24 | fommil | what's broken with that? should I be skipping the getRequestURI ? |
18:10.43 | pfn | how does that break sendRedirect then? Location: should always be a full URL, use something to read the HTTP headers to determine what url you are being redirected to |
18:10.48 | pfn | because there's nothing there that should break |
18:11.05 | pfn | if it's sending you back to http:, then it's likely a browser issue |
18:13.24 | fommil | pfn: it's an Apache issue... Apache is https port 443, but then it's getting passed to Tomcat through AJP + secure set |
18:13.55 | *** join/#tomcat oxi (n=oxi@213.189.154.84) |
18:13.56 | pfn | that has nothing to do with it |
18:13.57 | oxi | hi |
18:14.01 | fommil | pfn: is there a convenience method to obtain the full URI |
18:14.13 | pfn | fommil, you also are neglecting to use response.encodeRedirectURL |
18:14.19 | oxi | can anyone please help me to setup tomcat as a service on windows 2003? |
18:14.41 | oxi | I'm having trouble creating an own user for that and running it under that created user |
18:14.52 | oxi | I have no trouble running tomcat as a system user |
18:15.20 | fommil | pfn: i'll do that... the docs do not say if it needs to be relative or absolute. If I feed it relative, will it make absolute? |
18:15.22 | oxi | I tried creating an own user for tomcat named "Tomcat" and put that user in the "Users" group |
18:15.39 | pfn | no |
18:15.51 | pfn | well, if you feed encodeRedirectURL it should |
18:15.53 | oxi | now I get a timeout trying to access the tomcat webserver |
18:16.03 | pfn | HTTP *specification* has always required a full url for the Location: header |
18:16.15 | pfn | most browsers will support malformed Location: headers and do their own thing |
18:16.39 | oxi | is there a way to give my "Tomcat" user credentials to open a port and access to required runtime stuff (tomcat.exe, java, ...)? |
18:16.47 | pfn | shrugs |
18:16.49 | pfn | not a windows guy |
18:17.03 | oxi | or do I have to run tomcat on a "administrator" user account on windows |
18:17.19 | oxi | pfn: yeah, that's the trouble, I'm also not really a windows guy anymore |
18:17.20 | oxi | :-) |
18:17.39 | oxi | I find it much harder to setup than on *nix or bsd |
18:18.02 | pfn | best to ask a windows-specific channel |
18:18.09 | pfn | ##windows |
18:19.04 | oxi | I tried |
18:19.05 | oxi | :-) |
18:22.16 | pfn | keep trying |
18:24.52 | jasonb | "contact your vendor.." :) |
18:25.24 | *** part/#tomcat fommil (n=samuel@host-80-192-121-116.static.telewest.net) |
18:26.04 | *** join/#tomcat vncsnvs (n=vncsnvs_@201.86.135.130.dynamic.adsl.gvt.net.br) |
18:26.37 | oxi | jasonb: lol :-) |
18:31.05 | oxi | I had to give the user the rights to access files in the tomcat installation folder |
18:31.23 | oxi | seems natural, but in windows doooh, you never know |
18:50.42 | vncsnvs | hello! i'm getting the following error: http://www.pastebin.ca/1359195 , ne1 knows something about it? |
18:52.02 | pfn | that message has nothing to do with tomcat |
18:52.18 | pfn | javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.23.jar.so) |
18:52.22 | vncsnvs | pfn, whatz the broblem? |
18:52.24 | pfn | heh, built into .so? eh? |
18:52.33 | pfn | vncsnvs, openbravo |
18:54.13 | vncsnvs | pfn, i'm new with tomcat |
18:54.19 | vncsnvs | pfn, don't know where i start! |
18:54.38 | Lede | setting up tomcat is a pain |
18:54.48 | Lede | i really recommend a good book |
18:55.01 | Lede | unless you like banging your head against the documentation |
18:56.33 | pfn | or you are extraordinarily skilled :) |
18:58.11 | Lede | or that yeah |
19:17.19 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
19:18.40 | *** join/#tomcat rightsprocket (n=mrray@c-68-35-224-69.hsd1.fl.comcast.net) |
19:19.14 | *** part/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com) |
19:23.11 | rightsprocket | Hello. I am trying to track down information on how to manage the amount of memory tomcat / apache solr are allowed to use on my server. I have it up and running fine but am having a hard time understanding the documentation. Is there a tutorial or some reading someone could recommend. I am not that familiar with java based apps. Apache Tomcat/6.0.18 JVM = Sun 1.6.0_12-b04 Cent OS 2.6.9-023stab046.2-enterprise |
19:23.15 | *** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com) |
19:23.15 | rightsprocket | Thank You. |
19:24.17 | pfn | there is no way to quota precise amount of memory used |
19:25.11 | jasonb | That's a very old CentOS. |
19:25.35 | rightsprocket | Hmm sorry that was from the jvm status |
19:26.15 | rightsprocket | CentOS release 5 |
19:26.23 | jasonb | That's much better. :) |
19:26.25 | rightsprocket | :) |
19:26.31 | pfn | 2.6.9 is the kernel version, obviously :p |
19:26.33 | rightsprocket | Sorry |
19:26.43 | rightsprocket | Yea that was what is should have put :) |
19:26.48 | pfn | 2.6.9 is awfully old, though, for centos5 |
19:26.56 | rightsprocket | It is a virtual server |
19:27.05 | rightsprocket | I let the company manage the OS so I can focus on apps |
19:27.15 | rightsprocket | However I am always open too suggestions :) |
19:27.36 | rightsprocket | SOrry if this question has been asked a lot but I am not a java person but need to run tomcat / solr |
19:27.57 | rightsprocket | Is there a config that allows you to just limit how much memory it can use at one time? |
19:28.00 | pfn | no |
19:28.04 | pfn | not a drop-dead limit |
19:28.08 | pfn | not a physical ram limit |
19:28.11 | rightsprocket | ah |
19:28.27 | pfn | you can define a VM limit that has no real correlation to "reality" |
19:29.21 | rightsprocket | Are you referring to the JVM heap size? |
19:29.32 | pfn | basically, yes |
19:30.48 | rightsprocket | So if I set a heap size of 512mb ram it is basically telling the JVM to not go over that size? |
19:31.06 | rightsprocket | Can you tell I am a front end web developer :) |
19:31.27 | pfn | it's telling the JVM that its heap cannot go beyond that size |
19:31.39 | pfn | the JVM has other ram usage besides just the heap |
19:31.44 | pfn | thread stack, native code, etc. |
19:31.45 | rightsprocket | ah |
19:32.01 | pfn | so even if you set a limit of 100MB, it doesn't mean physical ram usage will only be 100MB max |
19:32.11 | pfn | but it'll be 100MB + other overhead |
19:32.39 | rightsprocket | Generally speaking is the overhead usually low versus the application? Or is that app dependant? |
19:32.46 | rightsprocket | dependent? |
19:32.52 | pfn | very app dependent |
19:33.23 | rightsprocket | I read by default the heap size is 64mb is that correct? |
19:35.42 | pfn | it depends |
19:35.48 | pfn | but a client VM is probably about that |
19:36.15 | rightsprocket | Thank you for your time. This helps to ensure I am looking in the right direction. |
19:37.01 | *** part/#tomcat rightsprocket (n=mrray@c-68-35-224-69.hsd1.fl.comcast.net) |
19:37.08 | *** join/#tomcat rightsprocket (n=mrray@c-68-35-224-69.hsd1.fl.comcast.net) |
19:49.22 | *** join/#tomcat trifon (n=chatzill@79.124.70.209) |
20:06.52 | *** join/#tomcat oxi (n=oxi@dyn.144-85-157-251.dsl.vtx.ch) |
20:14.53 | deebo | can tomcat serve jsp as source? |
20:15.02 | deebo | similiar to apache able to do .phps |
20:19.06 | *** part/#tomcat randrew1 (n=raj@dyn-128-59-52-242.dyn.columbia.edu) |
20:29.58 | *** part/#tomcat vncsnvs (n=vncsnvs_@201.86.135.130.dynamic.adsl.gvt.net.br) |
20:33.34 | pfn | deebo, sure, disable jsp |
20:34.02 | deebo | :P |
20:34.07 | deebo | .phps does syntax highlighting etc |
20:49.29 | pfn | no |
20:49.41 | pfn | why would you ever want to serve your jsp as source anyway |
20:49.49 | pfn | if you want syntax highlighting, no, it doesn't do that either |
20:54.36 | *** join/#tomcat dvayanu (n=another@ppp-93-104-113-185.dynamic.mnet-online.de) |
21:03.22 | *** join/#tomcat IoNu|z (n=Ionut@adsl-99-160-57-241.dsl.bcvloh.sbcglobal.net) |
21:04.10 | *** part/#tomcat C_Kode (n=_C_Kode@38.108.104.210) |
21:04.36 | IoNu|z | anybody know what this error is? |
21:04.37 | IoNu|z | http://pastebin.com/d31602471 |
21:28.06 | *** join/#tomcat Inc` (n=incendiu@pool-72-64-103-206.dllstx.fios.verizon.net) |
22:05.41 | *** join/#tomcat dMaggot (n=david@201.227.175.3) |
22:07.15 | dMaggot | is there anything I'm missing about Tomcat5.5+Java 6? I'm using that combinatino in a Debian Lenny system and is awfuly slow |
22:07.52 | dMaggot | an hour ago I was still working with Java 5 and it was ok |
22:14.15 | *** join/#tomcat rightsprocket (n=mrray@c-69-246-170-128.hsd1.fl.comcast.net) |
22:19.25 | *** join/#tomcat oxi (n=oxi@dyn.144-85-157-251.dsl.vtx.ch) |
22:30.13 | *** part/#tomcat dMaggot (n=david@201.227.175.3) |
22:30.43 | *** join/#tomcat legistrate (i=89801b11@gateway/web/ajax/mibbit.com/x-8bc2eb1f0e862d75) |
22:35.29 | legistrate | Apache Tomcat/5.0.30 Java 1.4.2 Win Server 2003 |
22:36.04 | *** part/#tomcat mirari (n=iostream@89.221.166.136) |
22:36.22 | legistrate | I am looking for a way to force the returned octet content of a page into an InputStream using the seesion information to grab the page |
22:36.57 | legistrate | I was trying to use java.net.URLConnection, but it is opening a new session that is not authenticated as the user |
22:37.26 | legistrate | the page I am trying to grab content from is the PDF return of an Apache FOP servlet |
22:38.11 | legistrate | I would like the content in an InputStream because thats how the propiety API call that wraps my database takes in BLOBs to be stored with an "object" entry |
22:40.17 | legistrate | because the new URL("https:\\domain\mypath\pdfFile.jsp").getInputStream() is being called in a JSP file on the same server as the jsp that forwards the the FOP servlet, using the same context should solve my authentication failure result currently of Error 401 |
22:41.39 | legistrate | Is there some way that I can grab the binary return of the JSP page after it calls the servlet using the current Session to store the result in an InputStream? |
22:45.49 | legistrate | Another problem is that I use different servers for test, development, and production, but the URL() parser doesnt have a context, so it wants the protocal, and full path, I would prefer to give \Base\Project\file.jsp, rather than https:\\Domain\Base\Project\file.jsp |
22:47.17 | legistrate | But Im guessing a solution that uses the session information might also solve that. If it comes to it, there are other ways to find out the full path, but I would prefer to be able to keep the path relative |
22:56.26 | legistrate | :(, well I have to go(involves logging out), but hopfully I will be able to ask later, cya |
23:16.27 | *** join/#tomcat Nicke_ (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
23:18.47 | *** join/#tomcat clovisw (n=Clovis@189.115.66.9) |