IRC log for #tomcat on 20100623

00:34.14*** join/#tomcat Vanuatoo (~Vanuatoo@92.54.192.70)
01:19.36*** join/#tomcat pives (~pives@c-76-124-191-235.hsd1.pa.comcast.net)
01:58.35*** join/#tomcat karstensrage (~karstensr@c-71-202-243-186.hsd1.ca.comcast.net)
02:06.20*** join/#tomcat BRA|rst (~ack_syn@200.218.196.12)
02:41.32*** join/#tomcat stoppa (4b3d6c6c@gateway/web/freenode/ip.75.61.108.108)
02:44.43stoppatomcat:6.0.14, jdk:1.6.0, OS:win7 - someone setup a simple web app on my machine. I forgot the url to get to it, (what comes after http://localhost, for example it's something like http://localhost/app ), what is a simple way of determining this?
02:47.17karstensrageprobably something like http://localhost:8080/app
02:49.40stoppakarstensrage - /app doesn't work... where would I find this setting?
02:51.15karstensragedo you have access to the machine?
02:51.29stoppayeah i'm on it
02:51.41karstensragelook under $CATALINA_HOME/webapps
02:51.45karstensragethe contexts are under there
02:53.35stoppathere are two dirs, "app" and "ROOT"
02:53.47stoppain "app" there is an index/jsp
02:53.50stoppain "app" there is an index.jsp
02:54.18stoppaplus a few other subdirs
03:00.30stoppaso does that mean http:/localhost/app is the right url? when I try to load that my browser says the link is broken..
03:05.36karstensragehmmm
03:05.46karstensrageis there anything in ROOT?
03:12.55stoppajust an mp3 file, unrelated
03:13.48stoppaHere is some more info from a log file (I think localhost/app is the right url): Jun 22, 2010 6:42:55 PM org.apache.coyote.http11.Http11Protocol init SEVERE: Error initializing endpoint java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind
03:18.49stoppai figured it out, skype was using port 80. why the heck would skype do that, its not a web server
04:02.46*** part/#tomcat stoppa (4b3d6c6c@gateway/web/freenode/ip.75.61.108.108)
04:07.05*** join/#tomcat ExtraSpice (~ExtraSpic@78-62-86-161.static.zebra.lt)
04:11.20*** join/#tomcat jiska (jiska@libri.sur5r.net)
04:17.45*** join/#tomcat cmayo (~cmayo@146-115-19-14.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)
04:44.29*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:54.45*** join/#tomcat km (~km@adsl-99-54-9-184.dsl.pltn13.sbcglobal.net)
05:18.29*** join/#tomcat km (~km@adsl-99-54-9-184.dsl.pltn13.sbcglobal.net)
05:23.28*** join/#tomcat tess (~tess@c-24-130-52-152.hsd1.ca.comcast.net)
05:31.38*** join/#tomcat mahiti_skt (~mahiti@122.166.13.202)
05:36.41*** part/#tomcat tess (~tess@c-24-130-52-152.hsd1.ca.comcast.net)
05:41.33*** join/#tomcat tess_ (~tess@c-24-130-52-152.hsd1.ca.comcast.net)
05:44.03*** join/#tomcat tess (~tess@c-24-130-52-152.hsd1.ca.comcast.net)
06:23.43*** join/#tomcat mattock (~samuli@dyn55-11.yok.fi)
06:26.13*** join/#tomcat msusky (~msusky@a182054.studnetz.uni-leipzig.de)
06:42.51*** join/#tomcat cofeineSunshine (~justinas@78-60-23-252.static.zebra.lt)
06:49.25*** join/#tomcat prgrmr (~prgrmr@unaffiliated/prgrmr)
07:14.08*** join/#tomcat harpoon (~michael.s@194.50.47.114)
07:15.43*** join/#tomcat Serge_HID (~serge_hid@93.185.192.67)
07:45.38*** join/#tomcat relachs (~relachs@f055019005.adsl.alicedsl.de)
07:51.24*** join/#tomcat bhagat (~bhagat@218.248.24.19)
08:14.53*** join/#tomcat Chrisalys (~a@82.166.252.88)
08:15.08ChrisalysHi everyone, I have tomcat running web services and wish to authenticate them via windows authentication, what should I use?
08:16.21harpoonjust again Chrisalys and a little slower
08:16.59harpoonplease give us your complete set-up as requested in the topic
08:17.10Chrisalysharpoon: I have a webapp under tomcat that implements a few axis Web Services, and a java client that accesses it
08:17.34Chrisalysnow I wish only code that is being run from within a valid domain user to be able to authenticate against the web service
08:18.43harpoondomainuser configured in active directory?
08:18.43ChrisalysI'm using tomcat 6 and java 1.6
08:18.55Chrisalysharpoon: yes
08:19.06Chrisalysbut I rather use sspi than ldap
08:19.13Chrisalysto verify authentication
08:19.22harpoonwell first thing you need is to configure an ldap-realm for tomcat
08:19.38harpoonyou can do this in the server.xml file
08:19.49harpoontomcat documentation gives you some help there
08:20.02Chrisalysharpoon: I read on that, but, won't that mean I will have to send the user/password along with the web service call?
08:20.30harpoonyou can confiure client-cert authentication
08:20.43*** join/#tomcat relachs (~relachs@f055019005.adsl.alicedsl.de)
08:20.44harpoona little more work because of all that ssl stuff
08:20.49harpoonbut works fine
08:20.49*** join/#tomcat sjuan (~fredd@188.92.169.188)
08:21.20harpoonalternäh configure
08:21.43harpoondont't drink at the evening before and chat at the next morning...
08:21.46Chrisalysyou mean use ws-security
08:22.03harpoonthat's another alternative
08:22.24harpoonabut no
08:22.47*** join/#tomcat heldt (~heldt@62.116.228.62)
08:23.05harpoonyou have four ways of authentication in a web-application or web-service
08:23.26Chrisalyswhat are they?
08:23.29harpoonhttp-basic, form-based, client-cert and digest
08:24.04Chrisalysok, in http-basic I just send the user/password, which is something I can't do since I don't want to send them explicitly but use the current user logged on
08:24.10harpoonclient-cert needs the webservice listiting at a https-connector and https complete
08:24.24sjuanHello! Trying to set up my liferay bundled with tomcat. Windows7 32, liferay-portal-5.2.3, tomcat-6.0.18 and jdk1.6.0_20. Get this funny error: http://pastebin.com/vyHQzYB8. The thing confusing me is:  Error creating bean with name 'org.springframework.webflow.mvc.portlet.FlowHandlerAdapter#0'. I.e the #0 after FlowHandlerAdapter. Dunno if this is the right place to go but I'm out of ideas...
08:24.33harpoonthe idea is, that the client sending a client-certificate back to the server
08:24.58harpoonthe server checks the certificate to authenticate the user
08:25.18harpoonno passwords the username is coded in the commonName field of the certificate
08:25.34harpoonlittle more effort in configuration, but works fine
08:25.59heldtHi, I'm using a properties file for my servlet. The servlet reads a .properties file with configuration. Is there a way to set tomcats env variables in the propertyfile?
08:26.38*** join/#tomcat relachs2 (~relachs@f055019005.adsl.alicedsl.de)
08:28.22Chrisalysharpoon: that basically means I have to create a certificate for each user that wants to call the web service... that is problematic for our deployment, since we may have many users and issuing a certificate in large orgnaizations is a painful process...
08:28.43Chrisalyshrapoon: There is no other way to get the current logged in user and use mod_auth_sspi or something the like to confirm it?
08:29.30harpoonsomething kerberos like with security-tokens
08:29.59harpoonbut no idea how to configure that with windows and tomcat
08:30.02harpoonnever tried
08:36.40Chrisalysharpoon: would that be done with JAAS?
08:43.23harpoonthat' one technology
08:43.44harpoonbut as I told. I've never tried
08:46.00Chrisalysok, thanks
08:47.22*** join/#tomcat marthinal (~chatzilla@27.Red-79-156-222.staticIP.rima-tde.net)
09:40.13*** join/#tomcat dmb (~dmb@unaffiliated/dmb)
09:47.13*** join/#tomcat kjkoster5489 (~kjkoster@193.79.224.62)
09:47.33*** join/#tomcat Advant (~Advant@125-238-240-197.jetstream.xtra.co.nz)
09:47.42AdvantI want to be able to change my configuration of my deployed app in tomcat on the fly.  Is the best way to create a MBean, and modify config settings over JMX?  Or is there an easier way?
09:48.08AdvantDOing some file change listener thread?
10:08.08*** part/#tomcat Advant (~Advant@125-238-240-197.jetstream.xtra.co.nz)
10:36.28*** join/#tomcat mahiti_skt (~mahiti@122.166.13.202)
11:23.39*** join/#tomcat kjkoster5489 (~kjkoster@unl201395.nl.customer.alter.net)
11:35.34*** join/#tomcat pives (~pives@75-147-111-177-Philadelphia.hfc.comcastbusiness.net)
11:48.35*** join/#tomcat tarik (~chatzilla@41.140.248.167)
11:55.28*** join/#tomcat vicky_ (~vicky@115.117.5.201)
12:00.11*** join/#tomcat vicky__ (~vicky@115.117.5.201)
12:04.04*** join/#tomcat vicky__ (~vicky@115.117.5.201)
12:05.21|fly|hi2all
12:05.48|fly|can i use activemq as servlet container?
12:07.21vicky__No.
12:07.30|fly|why?
12:07.41|fly|as i can see it have webapps folder
12:07.48|fly|and jetty inside
12:07.49vicky__because it is not servlet container
12:07.57|fly|really?
12:08.28vicky__logically the jetty part in it would be for web admistration part in activemq
12:08.51vicky__please google and figure out more !
12:09.35deeboactivemq "package" is not activemq
12:09.49deeboit also has the administration interfaces etc it runs via jetty
12:10.48|fly|<PROTECTED>
12:11.05|fly|im talking about this distribuition
12:11.38deeboyes, it contain lots of stuff, not just plain activemq
12:12.06|fly|and where can i find plain activemq?
12:18.26*** join/#tomcat Serge_HID (~serge_hid@93.185.192.67)
13:20.13*** join/#tomcat vicky__ (~vicky@115.117.5.201)
13:30.27*** join/#tomcat umashanthi (~umashanth@112.135.158.80)
13:38.18*** join/#tomcat balintx (~balintx@fibhost-67-58-201.fibernet.hu)
13:39.38*** join/#tomcat tarik_ (~chatzilla@41.250.221.22)
13:39.45*** join/#tomcat aixenv (~aixenv@vm01.zeus.ul.zerolag.com)
13:40.15aixenvhey guys i have a problem on one of our older tomcat boxes, debian install tomcat5.5 (yes i know this is ancient), and for whatever reason it stopped outputting to any log files
13:40.23aixenv$tomcat_home/logs/ = empty
13:41.46aixenvlogging.properties looks to be setup to put everything to ${catalina.base} but again empty
13:43.56*** join/#tomcat la00 (3e309f12@gateway/web/freenode/ip.62.48.159.18)
13:44.04la00hello
13:44.51la00tomcat 6 windows 2003 as a service   where I set JAVA_OPTS=-Xss256k  -Xms256m  -Xmx512m  -XX:NewSize=128M  -XX:MaxPermSize=128M
13:45.04la00on catalina.bat ? or catalina.sh?
13:45.30*** join/#tomcat sander_ (~sander@office.jdi-ict.nl)
13:45.47sander_hi
13:45.55sander_anyone available for answering a small question?
13:48.19pawelzno. Noone knows question.
13:48.32sander_?
13:48.51pawelzNoone will answer until you ask your question.
13:50.26LzrdKingi knoes queztion
13:50.51sander_I'm using tomcat 6 and would like to add multiple versions of the same library to the shared libraries
13:50.57sander_can it be done?
13:55.27sander_and even more important: I want to be able to select per application which version to use. I've a way by extending the WebAppClassLoader but it's quite dirty
13:55.50la00JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m  -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m  -XX:MaxPermSize=256m -XX:+DisableExplicitGC" this is valid for tomacat 6»?
13:56.44la00I'm getting a OutOfMemoryError: PermGen space
14:11.20balintxSpermGen?
14:12.09la00we have a comediant here
14:13.09sander_maybe you could increase the maxpermsize?
14:13.24la00JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m  -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m  -XX:MaxPermSize=256m -XX:+DisableExplicitGC"
14:13.30la00trying to do wit this
14:13.42la00but not sure if doing the right way
14:14.01la00setting in the beginig of catalina.bat
14:14.06la00and catalina.sh
14:14.23la00I'm on windows so I supposed the .bat is the corrert one
14:14.43sander_it seems okay?
14:14.57sander_did you try?
14:15.06la00yes
14:15.11la00same thing.
14:15.15la00restarted the server
14:15.22la00when I open /alfresco
14:15.29la00got the exception
14:15.48la00I'm using this:  -Xss256k  -Xms256m  -Xmx512m  -XX:NewSize=128M  -XX:MaxPermSize=128M
14:15.52la00on eclipse
14:15.56la00and it works...
14:16.05sander_are you sure the options set
14:16.12la00but now I've install tomcat as a windows service
14:16.23la00not sure
14:16.33la00I realy don't now If I can set
14:16.38sander_put some rubbish in it and it'll probably fail
14:16.49la00JAVA_OPTS="-Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1536m  -Xmx1536m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m  -XX:MaxPermSize=256m -XX:+DisableExplicitGC"
14:17.06la00on the begining of the catalina.bat file
14:19.05la00followed this: http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-space/
14:19.56sander_thats for the catalina.sh file..
14:20.19la00how it done on .bat?
14:20.51sander_i believe something with set but im not sure. linux only here
14:22.03la00I'll try it
14:34.07*** join/#tomcat Thijssss (thijssss@op.tsip.nl)
14:39.42la00is there a way to cat the current options?
14:41.08deebothey get appended to the command line
14:41.27la00using a windows service
14:42.08la00glassfish jboss got a http ui that show this stuff
14:42.19la00the tomcat manager has the same?
14:43.19deeboglassfish and jboss are j2ee application servers
14:43.25deebotomcat is a servlet container
14:44.05la00so a a servlet container cannot have the current JAVA_OPTS
14:44.13la00or CATALINA_OPTS
14:44.23la00be shown?
14:44.42deebosure they can
14:44.56la00so what is your point?
14:44.57deebobut a servlet container is basically much mroe light weight
14:45.07la00I know what glassfish and jboss are
14:45.08deeboso there might not be much of a management system
14:45.17la00oh ok
14:45.20la00now I get you
14:45.21deeboive never run tomcat with the manager etc appas
14:45.25deeboi always delete them
14:45.41la00but you are an experienced user
14:46.36LzrdKingi delete them too, and i'm not experienced
14:46.41LzrdKingbut i was told to do it
14:46.51la00well
14:46.53deeboby default tomcat ships with all those ups
14:46.56la00I'm not using them
14:46.56deeboapps even
14:47.03la00to
14:47.08deebojust go to the frontpage and it has all the links etc
14:47.40la00they don't help a bit...
14:48.04la00I just whant to increase the pemgen size
14:48.34*** join/#tomcat joshuah (~jhoff@MaverickSoftware1.UnivSquare.MNSU.EDU)
14:50.05joshuahhello, I'm trying to get a test spring mvc project up and running following this tutorial: http://static.springsource.org/docs/Spring-MVC-step-by-step/part1.html and am having some troubles.  I seem to be missing 'tools.jar' in  my JAVA_HOME/lib dir, and also I'm getting missing library errors when running ant.  does anyone have nay suggestions on how I could fix this?
14:52.25*** join/#tomcat acidjnk (acid@119-239-103-86.dynamic.dsl.tng.de)
14:52.35joshuahit seems "<taskdef name="install" classname="org.apache.catalina.ant.InstallTask">
14:52.35joshuah<PROTECTED>
14:55.28*** join/#tomcat vicky__ (~vicky@115.117.4.182)
15:00.22*** part/#tomcat joshuah (~jhoff@MaverickSoftware1.UnivSquare.MNSU.EDU)
15:02.53*** join/#tomcat cofeineSunshine (~justinas@78-60-23-252.static.zebra.lt)
15:21.11*** join/#tomcat rmrfslash (~quassel@140.247.89.17)
15:24.20*** join/#tomcat sysiphus (~sysiphus@117.196.140.64)
15:26.14*** join/#tomcat km (~km@65.115.85.247)
15:31.39*** join/#tomcat msusky (~msusky@a182054.studnetz.uni-leipzig.de)
15:38.09*** join/#tomcat CWFEU (~cmayo@146-115-25-70.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)
15:46.21*** join/#tomcat cmayo (~cmayo@146-115-25-70.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)
15:47.42*** join/#tomcat jasonb (~jasonb@m420536d0.tmodns.net)
16:00.24*** join/#tomcat calavera (~calavera_@83.50.71.14)
16:03.53*** join/#tomcat vicky__ (~vicky@115.117.92.227)
16:10.53*** join/#tomcat relachs (~relachs@g226247118.adsl.alicedsl.de)
16:19.13*** join/#tomcat jiska_ (jiska@libri.sur5r.net)
16:42.59*** join/#tomcat tess (~tess@c-24-130-52-152.hsd1.ca.comcast.net)
16:43.45*** join/#tomcat joe-mac (~mickysanc@67.110.140.194.ptr.us.xo.net)
16:43.51*** part/#tomcat joe-mac (~mickysanc@67.110.140.194.ptr.us.xo.net)
16:52.23*** join/#tomcat vicky__ (~vicky@115.117.4.94)
16:53.37*** join/#tomcat jasonb (~jasonb@dsl092-009-225.sfo1.dsl.speakeasy.net)
16:58.56*** join/#tomcat rmrfslash_ (~quassel@140.247.89.17)
17:09.04*** join/#tomcat calavera (~calavera_@83.50.71.14)
17:13.28*** join/#tomcat relachs (~relachs@g226247118.adsl.alicedsl.de)
17:40.18*** join/#tomcat ExtraSpice (~ExtraSpic@78-62-86-161.static.zebra.lt)
17:44.43*** join/#tomcat acidjnk (acid@119-239-103-86.dynamic.dsl.tng.de)
17:52.16*** part/#tomcat aixenv (~aixenv@vm01.zeus.ul.zerolag.com)
17:56.48*** join/#tomcat Luminari (~Nate@pool-71-247-93-98.nycmny.east.verizon.net)
17:57.03Luminariwhat is the largest session timeout you can have in tomcat 6.0.26?
18:07.14*** join/#tomcat deeeed (~deeeed@c-98-210-131-226.hsd1.ca.comcast.net)
18:07.16deeeedhi
18:25.26*** join/#tomcat Serge_HID (~serge_hid@93.185.192.67)
18:46.29*** join/#tomcat umashanthi (~umashanth@112.135.180.56)
18:50.26*** join/#tomcat pives (~pives@75-147-111-177-Philadelphia.hfc.comcastbusiness.net)
19:01.47*** join/#tomcat acidjnk (acid@119-239-103-86.dynamic.dsl.tng.de)
19:05.26*** join/#tomcat umashanthi1 (~umashanth@112.135.185.183)
19:11.58*** join/#tomcat pives (~pives@75-147-111-177-Philadelphia.hfc.comcastbusiness.net)
19:30.07*** join/#tomcat JohnBat26 (~Eugene@nas-5.emserv.ru)
19:40.16*** join/#tomcat rmrfslash (~quassel@140.247.89.17)
20:16.43*** join/#tomcat tess_ (~tess@c-24-130-52-152.hsd1.ca.comcast.net)
20:37.14*** join/#tomcat balintx (~balintx@fibhost-67-58-201.fibernet.hu)
20:45.48*** join/#tomcat Serge_HID (~serge_hid@93.185.192.67)
20:50.38*** join/#tomcat relachs (~relachs@g226247118.adsl.alicedsl.de)
21:03.13*** join/#tomcat tess_ (~tess@c-24-130-52-152.hsd1.ca.comcast.net)
21:40.04*** join/#tomcat Serge_HID (~serge_hid@93.185.192.67)
21:55.49*** join/#tomcat JAMMAN2110 (~James@unaffiliated/jamman2110)
22:48.17*** part/#tomcat Luminari (~Nate@pool-71-247-93-98.nycmny.east.verizon.net)
23:08.07*** join/#tomcat relachs (~relachs@g226247118.adsl.alicedsl.de)
23:10.27*** join/#tomcat MHSL (~mhsl@cm42.eta6.maxonline.com.sg)

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