00:18.15 | *** join/#tomcat l3v0n (n=l3v0n@p54BD2D89.dip.t-dialin.net) |
00:19.14 | *** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net) |
00:55.04 | *** join/#tomcat wltjr_ (n=wltjr@unaffiliated/wltjr) |
01:42.31 | *** join/#tomcat l3v0n_ (n=l3v0n@p54BD6054.dip.t-dialin.net) |
01:55.50 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
02:03.30 | *** join/#tomcat matiu (n=matiu@CPE-124-179-148-150.qld.bigpond.net.au) |
02:03.52 | matiu | does anyone have a good links or case studies on tomcat clustering .. load balancing ? |
03:06.31 | *** join/#tomcat JabDesign (n=Jabber@69.142.19.84) |
03:17.12 | *** join/#tomcat acidjnk (i=acid@pD950ACEA.dip0.t-ipconnect.de) |
03:18.45 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.29.183) |
04:16.24 | *** join/#tomcat benn_d_ (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:18.47 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:24.34 | *** join/#tomcat benn_d_ (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:25.28 | *** join/#tomcat alvin_2 (n=alvin_2@ool-18babac9.dyn.optonline.net) |
04:26.37 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:27.43 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:31.13 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:36.57 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:41.44 | *** join/#tomcat benn_d_ (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:42.17 | *** join/#tomcat benn_d_ (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:43.45 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:45.05 | *** join/#tomcat benn_d__ (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:47.23 | *** join/#tomcat bhagat (n=bhagat@203.129.255.188) |
04:47.42 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:51.18 | *** join/#tomcat benn_d_ (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
04:55.19 | *** join/#tomcat alvin_2 (n=alvin_2@ool-18babac9.dyn.optonline.net) |
04:59.59 | *** join/#tomcat l3v0n_ (n=l3v0n@p54BD597B.dip.t-dialin.net) |
05:25.43 | *** join/#tomcat McGo (n=McGo@host-091-097-120-233.ewe-ip-backbone.de) |
05:30.05 | *** join/#tomcat l3v0n_ (n=l3v0n@p54BD65EC.dip.t-dialin.net) |
06:50.21 | *** join/#tomcat deebo (i=globe@stonebay32.com) |
07:42.55 | *** join/#tomcat dvayanu (n=another@80.187.212.109) |
08:04.41 | *** join/#tomcat internat (n=nf@123-243-184-161.static.tpgi.com.au) |
08:09.34 | *** join/#tomcat JohnBat26 (n=JohnBat2@89.175.77.35) |
08:20.22 | *** join/#tomcat JohnBat26 (n=JohnBat2@89.175.77.35) |
08:25.23 | *** join/#tomcat l3v0n_ (n=l3v0n@p54BD31B6.dip.t-dialin.net) |
08:35.29 | *** join/#tomcat siliconmeadow (n=ricardo@80.194.82.66) |
09:19.36 | *** join/#tomcat jeph (n=chatzill@dsl-243-84-77.telkomadsl.co.za) |
09:27.56 | jeph | Hi All, I am deploying war files. Copy .war into $CATALINE_HOME/webapps/. To upgrade, cat new.war >$CATALINE_HOME/webapps/app.war. My war file in unpacked. I create data files in $CATALINA_HOME/webapps/app/WEB-INF/data/. My new.war contains an empty /WEB-INF/data directory. I just did this, and all the data files I created in /WEB-INF/data disappeared. Is /WEB-INF/data a correct place to... |
09:27.57 | jeph | ...store data files? Should I be using the work directory for permanent storage? How do I create permanent storage areas without per-installation config? And, am I upgrading correctly? Thank you very much in advance. |
09:29.15 | jeph | Linux 2.6, Sun JDK 1.6.0_16, Tomcat 6.0.18 |
09:41.57 | *** join/#tomcat magentar (n=magentar@ip-88-153-115-28.unitymediagroup.de) |
11:37.26 | *** join/#tomcat dvayanu (n=another@psdeoffgw01.parship.net) |
11:45.11 | *** join/#tomcat skybert (n=torstein@217-14-9-120-dhcp-osl.bbse.no) |
11:50.37 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.104.137) |
11:56.24 | *** join/#tomcat mturk (n=mturk@nat/redhat/session) |
12:42.30 | *** join/#tomcat l3v0n (n=l3v0n@p54BD5EB7.dip.t-dialin.net) |
12:46.28 | *** join/#tomcat jstrom (i=johan@core.stromnet.se) |
12:49.10 | jstrom | hello channel! I got a bit of a problem with tomcat 6.0.20; I got a "browser" over which im not in control of the cookies. i dispatch a request in this browser when theere is no session cookie, with an encoded jsessionid (in the url). works great. next request, sessionid goes by cookie. works great! as long as the session havent expired. |
12:50.33 | jstrom | the problem is when the session have expired, and my other app (which is spawning these requests), calls it with a new ;jesssionid=xx URL to try to use this new session (which the main app have setup and logged in with etc). the problem is that tomcat sees the URL first, then sees the cookie, and overwrites the session id in org.apache.catalina.connector.Request. so when it checks the sessionid, it only checks the one from the cookie |
12:50.33 | jstrom | never the one from the URL (since the cookie one overwrote it). |
12:51.02 | jstrom | my solution for the moment is to hack Request.java, to keep track of the jsessionid in the URL (if available), and if the one in the cookie doesnt exist/have expired, it tries with the one from the URL. |
12:51.17 | jstrom | my question is, could this have any bad sideffects that I havent thought of? |
12:53.41 | jstrom | http://pastebin.com/m4b4db2c7 |
12:53.43 | jstrom | the patch :) |
13:26.34 | karstensrage | it sounds like you patched tomcat to allow for session hijacking? |
13:28.06 | jstrom | one step easier maybee, but only by not having to remove the cookie.. |
13:28.27 | jstrom | if you remove the cookie and specfiy jsessionid on the url, you got the same problem |
13:29.01 | jstrom | so yes, the "hacker" doesnt have to remove his cookie (if he got one) in order to hijack it |
13:30.09 | jstrom | actually, if he got a cookie with a valid session, that will still be usde. only if he got a cookie with an invalid session, it would use the one one URL (same behaviour as if you didnt have a cookie at all) |
13:44.25 | *** join/#tomcat randrewj (n=u1@dyn-128-59-53-3.dyn.columbia.edu) |
14:38.02 | *** join/#tomcat orionheroku (n=orionher@user-12ldnh4.cable.mindspring.com) |
14:54.32 | *** join/#tomcat akbar (n=chatzill@195.226.233.159) |
15:05.59 | *** join/#tomcat orionheroku (n=orionher@user-12ldnh4.cable.mindspring.com) |
15:19.56 | *** join/#tomcat orionheroku (n=orionher@user-12ldnh4.cable.mindspring.com) |
15:28.04 | *** join/#tomcat anoopb (n=chatzill@38.106.143.248) |
15:29.35 | *** join/#tomcat antihc3 (n=antihc3@blender/support/antihc3) |
15:35.35 | antihc3 | I am running tomcat 6.0.20 jdk 1.6.0_14, windows server 2003, and IIS (iis is for auto login only) I have requested a cert with in iis and recieved it back. I was able to get iis to accept and use the cert but have yet to get tomcat to work. I tested with a self assigned cert last night and that worked but when i create a new keystore and import the root, chain, and server .cer i get an error jsse.invalid_ssl_conf *** Caused by: No available |
15:35.35 | antihc3 | <PROTECTED> |
15:41.31 | *** join/#tomcat karstensrage (n=chatzill@70.42.238.2) |
15:42.02 | *** join/#tomcat McGo (n=McGo@dyndsl-091-096-107-160.ewe-ip-backbone.de) |
15:52.23 | *** join/#tomcat jasonb (n=jasonb@m430536d0.tmodns.net) |
15:56.25 | *** join/#tomcat superE (n=superemi@216-75-233-106.static.wiline.com) |
15:58.18 | superE | I'm trying to find this in the docs right now too, but I thought I'd check in here. Does anyone know how to change a deployed application to, for example, listen on myserver.mydomain.com/ instead of myserver.mydomain.com/myapp in tomcat 6? |
16:19.34 | *** join/#tomcat mturk (n=mturk@20-98.dsl.iskon.hr) |
16:27.11 | superE | Ah, nevermind, got it. |
16:27.14 | randrewj | superE: If you specify a context path of an empty string (""), you are defining the default web application for this Host, which will process all requests not assigned to other Contexts. |
16:27.47 | superE | Looks like instead of just setting setting Context to "" you also have to change the name (or I did) of my applications conf/Catalina/localhost file from myapp.xml to ROOT.xml before restarting Tomcat. |
16:28.35 | superE | jinx :) |
16:33.13 | *** join/#tomcat tess (n=tess@ip65-47-28-158.z28-47-65.customer.algx.net) |
16:36.33 | *** join/#tomcat akbar (n=chatzill@195.226.233.159) |
17:00.04 | *** join/#tomcat none (n=km@66.7.254.75) |
17:05.46 | *** join/#tomcat uwe_guenther (n=uwe@p5B286544.dip.t-dialin.net) |
17:30.47 | *** join/#tomcat l3v0n_ (n=l3v0n@p54BD5C30.dip.t-dialin.net) |
18:09.06 | *** join/#tomcat da_krowa (i=Miranda@chello087207037180.chello.pl) |
18:09.21 | *** part/#tomcat uwe_guenther (n=uwe@p5B286544.dip.t-dialin.net) |
18:11.45 | *** join/#tomcat uwe_guenther (n=Miranda@p5B286544.dip.t-dialin.net) |
18:34.47 | *** join/#tomcat orionheroku (n=orionher@user-12ldnh4.cable.mindspring.com) |
18:39.38 | *** join/#tomcat magentar (n=magentar@ip-95-222-129-96.unitymediagroup.de) |
19:00.32 | *** join/#tomcat factorial (n=rewt@64.238.108.50) |
19:02.56 | factorial | tomcat 6.0.18, Java 6, Windows XP SP2. is there a way to clear Tomcat's cache other than deleting the work/Catalina directory? Tomcat appears to be using a cached version of some old db code with an old password, keeping me from connecting to MySQL. |
19:11.41 | *** join/#tomcat luyang (n=jamey@c-4f665cc4-74736162.cust.telenor.se) |
19:13.38 | luyang | Hi everyone! apache-tomcat-6.0.20, Windows XP SP3, Java 1.5. I am a beginner writing webservices and need help in understanding the differences between Metro, Axis, etc... and which is the way to go |
19:14.02 | luyang | I need to go for using Java 1.5 |
19:14.13 | *** part/#tomcat factorial (n=rewt@64.238.108.50) |
19:15.23 | luyang | Is anybody awake? I've bought the book "Java Web Services Up and Running" By Martin Kalin. It only uses annotations for web services, but when I use Eclipse it's using Axis 1 for Tomcat 6. Please help me know which way is the best for my purpose. Also I need to return a complex class with lists, dates, etc, returned from an SQL database. |
19:17.02 | luyang | There are so many ways... wsgen, Eclipse-wizard, annotations, axis, web.xml, JAXB... |
19:21.28 | *** join/#tomcat uwe_guenther (n=Miranda@p5B286544.dip.t-dialin.net) |
19:23.03 | luyang | hi uwe_guenther |
19:23.29 | uwe_guenther | hiluyang |
19:27.26 | luyang | uwe_guenther: do you have time |
19:27.37 | luyang | to help me out... can I use Metro within Tomcat |
19:28.06 | uwe_guenther | I dont know what metro is. |
19:28.41 | luyang | uwe_guenther: do you know axis1? |
19:28.51 | luyang | and JAXB? |
19:29.41 | uwe_guenther | what problems do you have? |
19:32.05 | *** join/#tomcat barkbarkmeow (n=barkbark@115.184.33.168) |
19:34.38 | luyang | I am about to write a web service for a company which returns objects with data |
19:34.49 | luyang | from a relational database with a vendor provided object layer on top |
19:35.12 | luyang | so I will create my own classes which shall be returned by the web service... there could be one-one and one-many relationships etc |
19:35.22 | luyang | and I'm thinking about using Tomcat 6 |
19:35.40 | luyang | and the client only uses Java 1.5 so I have to make sure it's compliant to that |
19:36.03 | luyang | I wanna be able to do this in the most concise, clear and robust way as possible |
19:36.59 | luyang | you fell asleep? |
19:37.11 | uwe_guenther | no I am still here |
19:37.20 | luyang | ok do you have any suggestion |
19:37.26 | *** join/#tomcat km (n=km@66-7-254-75.static-ip.telepacific.net) |
19:37.33 | luyang | shall I use JAXB for the binding? |
19:37.45 | luyang | and does it work together with Axis1? |
19:38.04 | luyang | Axis is sort of automatic in Eclipse so... |
19:38.55 | luyang | That would be the preferred method of generate the web service... unless I could integrate Metro easily |
19:38.58 | uwe_guenther | I havn't used Axis a t all and JAXB only years ago |
19:39.08 | luyang | Could anybody give input on my questions? |
19:39.13 | luyang | uwe_guenther: ok |
19:39.53 | uwe_guenther | We did a Telko job in a call center and used jaxb to interact with an C programm and its XML Parser |
19:40.02 | luyang | ok |
19:41.18 | uwe_guenther | From my point of view it comes all down to marshal and unmarshall the date you try to transport to the other side and you have to make shure that the other side gets what you try to send them. |
19:41.51 | luyang | but that's obvious |
19:41.58 | luyang | Easier said than done though |
19:47.33 | *** join/#tomcat gws (n=g@w005.z209031033.sjc-ca.dsl.cnc.net) |
19:48.39 | *** join/#tomcat psteyn (n=psteyn@196.38.199.218) |
19:49.15 | psteyn | Hi, whats the proper/safe way to upgrade tomcat from 6.0.16 to 6.0.20? Can I just replace with my webapps folder? |
19:51.29 | uwe_guenther | and maybe $CATALINA_BASE/conf/[Enginename}/[Hostname]/*.xml |
19:54.40 | *** join/#tomcat magentar (n=magentar@ip-95-222-129-96.unitymediagroup.de) |
19:55.45 | psteyn | thanks, anything in webapps specific to the tomcat version? I mean, can I just rm 6.0.20's webapps and replace with 6.0.16? |
20:00.02 | gws | webapps depend more on jvm |
20:00.14 | gws | tomcat cares more about your configuration. |
20:00.22 | gws | see release notes 16v20 |
20:00.32 | psteyn | thanks will do |
20:00.40 | gws | I would downlaod 6.0.20, unpack it |
20:00.45 | gws | set java home and min max heap |
20:00.54 | gws | then drop your webapps into new tomcat |
20:00.57 | gws | fire her up |
20:00.58 | gws | :) |
20:01.16 | gws | use the apache.org tomcat and install using the bin file |
20:01.21 | gws | always avoid redhat and rpms |
20:01.24 | gws | both are death |
20:03.23 | *** join/#tomcat matsk (n=matsk@80.78.212.14) |
20:04.11 | psteyn | sweet, yeah using apache.org one :] |
20:05.04 | *** join/#tomcat km (n=km@66-7-254-75.static-ip.telepacific.net) |
20:08.20 | matsk | Hi, I have a war-file with the name atom-mt.war, but I want the url to be http://.../api <is this possible in tomcat6? |
20:12.23 | gws | like a virtual host? |
20:12.57 | *** join/#tomcat dvayanu (n=another@ip-80-226-241-243.vodafone-net.de) |
20:13.08 | gws | you know if i were you |
20:13.19 | gws | I'd go use suns system 7 web server |
20:13.32 | gws | tomcat has no rewriting |
20:13.45 | *** join/#tomcat dvayanu (n=another@ip-80-226-241-243.vodafone-net.de) |
20:13.51 | gws | and I own the definitive guide and examples are sketchy as hell of how to do anything |
20:14.57 | matsk | I don't want to change the config of tomcat just make changes in files inside the war-file. Maybe context.xml |
20:15.38 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
20:16.12 | gws | oh well gof or it |
20:17.29 | matsk | For example: in glassfish i can add <context-root>/api</context-root> to sun-web.xml . |
20:17.49 | matsk | I want to do the same in tomcat. |
20:18.19 | uwe_guenther | just rename the atom-mt.war to api.war and drop it in the appBase aka webapps dir |
20:19.34 | matsk | Is that the only way? |
20:20.04 | uwe_guenther | and make shure not path attribute has been defined inside an $CATALINA_BASE/conf/{Engine}/{HOST}/{Context}.xml |
20:20.40 | uwe_guenther | or inside a nested /META-INF/context.xml inside your *.war or your webapp directory |
20:20.56 | uwe_guenther | of course the exploded webapp dir. |
20:21.09 | uwe_guenther | did that help you? |
20:22.21 | matsk | What about WEB-INF/context.xml. Can't I use the path and docBase attributes? |
20:22.30 | luyang | Has anyone used metro with Tomcat 6? |
20:24.26 | uwe_guenther | docBase I am sure put i don't about the path |
20:25.50 | uwe_guenther | The deploy logic in HostConfig.java takes the name of the $CATALINA_BASE/conf/{Engine}/{HOST}/{Context}.xml which gets copied out of a nested /META-INF/context.xml not from /WEB-INF/context.xml |
20:28.08 | matsk | Sorry I meant /META-INF/context.xml (typo)... |
20:32.38 | *** part/#tomcat randrewj (n=u1@dyn-128-59-53-3.dyn.columbia.edu) |
20:37.17 | *** join/#tomcat vinse (n=vinse_@208.253.223.146) |
21:41.15 | *** join/#tomcat mib_5607tb (i=cf6ca9c4@gateway/web/ajax/mibbit.com/session) |
22:25.24 | *** join/#tomcat delsvr (n=delsvr@96.57.124.162) |
22:37.24 | *** join/#tomcat benn_d (n=benn_d@c-67-175-147-46.hsd1.in.comcast.net) |
23:04.05 | *** join/#tomcat anoopb_ (n=chatzill@38.106.143.248) |
23:32.03 | *** join/#tomcat orionheroku (n=orionher@user-12ldnh4.cable.mindspring.com) |