IRC log for #tomcat on 20080324

00:23.20*** join/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
00:23.37*** part/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
01:03.12*** join/#tomcat albert_kam (n=albert_k@222.124.39.108)
01:06.00*** join/#tomcat kanai (n=kanai@124.32.114.226)
01:10.38*** join/#tomcat harurenu (n=harurenu@unaffiliated/harurenu)
01:11.49*** join/#tomcat mistik1 (n=mistik1@ool-4352c7d3.dyn.optonline.net)
01:12.03harurenuGood evening.
01:12.15mistik1Good evening to you
01:12.45nmatrix9Good Evening
01:13.04mistik1Is there a recommended way for me to make an object available across my webapp?
01:13.17nmatrix9harurenu, mistik1  you guys set up a postgresql datasource for tomcat 6 by any chance?
01:13.49mistik1sorry no, I've not done postgres in years and never to tomcat
01:13.57harurenuNope, I'm a newb actually... that's why I'm here, lol.
01:14.12nmatrix9mistik1, available across your webapp? Session scope or application scope?
01:14.26harurenuI am trying to import a class I wrote and use it in my JSP page, but I think I have my directory structure wrong, even though I've followed through the documentation.
01:14.32mistik1application
01:15.17mistik1Where would I put this so I could always to get and get that object reference
01:16.01mistik1I have problem with doing this in a normal java app but I'm still a bit new with servlets
01:18.13nmatrix9mistik1, http://java.sun.com/developer/onlineTraining/JSPIntro/contents.html#JSPIntro5
01:18.21nmatrix9scroll down to javaBean components
01:18.31nmatrix9should give you some insight in there
01:18.33mistik1thanks
03:06.14*** join/#tomcat ibot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
03:06.14*** topic/#tomcat is Stable versions: 6.0.16, 5.5.26 and 4.1.37. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org:8080/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question, including your TC, Java, & OS versions, then wait; check back often for answers...
04:03.06*** join/#tomcat ong_ (n=alex_g@p549FEFEA.dip.t-dialin.net)
04:46.34*** join/#tomcat acidjnk (n=have@pD9509E6F.dip0.t-ipconnect.de)
04:52.20*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
05:17.59*** join/#tomcat shashi (n=shashi@203.197.177.61)
05:47.48*** join/#tomcat victori_ (n=victori@cpe-75-80-141-237.san.res.rr.com)
06:30.59*** join/#tomcat olought (n=olought@12.104.6.129) [NETSPLIT VICTIM]
06:31.44*** join/#tomcat teite (i=teite@trough.maeh.org) [NETSPLIT VICTIM]
06:41.22*** join/#tomcat ___ (n=1234@cpe-71-79-32-108.cinci.res.rr.com)
06:41.22*** join/#tomcat IvrGuru (n=1234@cpe-71-79-32-108.cinci.res.rr.com) [NETSPLIT VICTIM]
06:41.22*** join/#tomcat juanez (i=kemik@idlar.nu) [NETSPLIT VICTIM]
06:41.22*** join/#tomcat pettern (i=pettern@yoper/team/pettern) [NETSPLIT VICTIM]
06:41.22*** join/#tomcat keith80403 (n=keith804@71-208-207-120.hlrn.qwest.net) [NETSPLIT VICTIM]
06:43.51*** join/#tomcat Rsulliv1 (n=rsulliv1@c-24-12-176-141.hsd1.il.comcast.net)
06:45.21Rsulliv1tomcat 6; java 1.5.0_11; windows 2003 -- Has anyone had success using tptp to profile code running on a non-local tomcat instance?
06:45.52Rsulliv1I can get a connection between the eclipse plugin and the remote agent, but no data is ever captured. I may night have the agent correctly configured.
06:45.57Rsulliv1night = might
06:47.13*** join/#tomcat tom17bombadil (n=tom@Xcf23.x.pppool.de)
06:53.04*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-c1734fb477f5de64)
06:56.33*** join/#tomcat tom17bombadil_ (n=tom@Xcf23.x.pppool.de)
09:16.52Rslv1I'm using the Java Option -agentlib:JPIBootLoader=JPIAgent:server=enabled;CGProf (or HeapProf). I can see the monitor processing bytes, but nothing is ever shown in any of the report screens.
09:24.03*** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net)
10:40.26*** join/#tomcat gregor_k (n=a@stgt-4dbda3f1.pool.einsundeins.de)
12:48.16*** join/#tomcat javaphp (n=erik@pool-71-188-83-211.cmdnnj.east.verizon.net)
12:48.18*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
13:07.01*** join/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
13:07.21*** part/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
13:07.24*** join/#tomcat nmatrix9 (n=nmatrix9@bas17-toronto12-1168030122.dsl.bell.ca)
13:52.46*** join/#tomcat tom17bombadil_ (n=tom@Xcf23.x.pppool.de)
13:57.55*** join/#tomcat bmckown (n=bmckown@rgnout.regenstrief.org)
14:10.01*** join/#tomcat {Chris} (n=cdupont@abo-44-36-68.mts.modulonet.fr)
14:53.31*** join/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
14:53.54*** part/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
15:04.33*** join/#tomcat rossan1 (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
15:09.34*** join/#tomcat rossan2 (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
15:55.27*** join/#tomcat strangedrbrow1 (n=markus@chello213047196084.tirol.surfer.at)
16:03.33strangedrbrow1hi @all, i 've got a maybee very simple question and hope you can help me. does the tomcat has any space limits for the java heap size (Xmx)?  i heard something about 2,5GB as max... i can't test this, because we only have one "live" system. with four tc-instances.. i don't find any documentation. thanks for your answers!
16:11.18strangedrbrow1oh i 've forgotten: tomcat 5.5 and jdk 1.3.0 under SLES 10
16:12.21*** join/#tomcat melter (n=Melter@dyn007.morrill-116.ndsu.NoDak.edu)
16:13.53*** part/#tomcat rossan2 (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
16:25.45*** join/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
16:25.57*** part/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
16:40.34*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
16:50.00*** part/#tomcat InsomniaCity (n=insomnia@raptor.ukc.ac.uk)
16:52.28*** join/#tomcat uprooter (n=chatzill@212.179.254.114)
16:53.18*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
16:55.50*** join/#tomcat melter (n=Melter@dyn007.morrill-116.ndsu.NoDak.edu)
17:17.47randrewstrangedrbrow1: $ java -Xmx2.5g
17:17.47randrewInvalid maximum heap size: -Xmx2.5g
17:18.55strangedrbrow1this was the error message?
17:21.01randrewstrangedrbrow1: experiment. this should also be in the jdk docs.
17:24.51*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
17:24.55*** join/#tomcat pucko_ (i=andreas@81-234-246-21-o933.tbon.telia.com)
17:25.43*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
17:28.22*** join/#tomcat pucko_ (i=andreas@81-234-246-21-o933.tbon.telia.com)
17:30.42strangedrbrow1ok thanks a lot!
17:30.46*** part/#tomcat strangedrbrow1 (n=markus@chello213047196084.tirol.surfer.at)
17:47.22*** join/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
17:47.37*** part/#tomcat clovisw (n=clovis@201-40-80-179.cscgo300.ipd.brasiltelecom.net.br)
17:52.10*** join/#tomcat a4akba (n=a4akb@62.215.156.215)
17:53.44*** join/#tomcat vinse (n=vinse_@208.253.223.146)
17:57.50a4akbavinse?
18:47.37*** join/#tomcat Zack1403 (n=zmanning@64.122.14.80)
18:48.00Zack1403hey all, what is the best way to create a url alias in tomcat?
18:52.20bmckownA url alias would be done in Apache, or the web server, not in tomcat, I think.
18:55.02Zack1403gotcha, thats what i thought, just wanted to make sure
18:59.36bmckownse fue: Gone away for now.
19:00.10*** join/#tomcat diLLec^urloib (n=dillec@dillec.biz)
19:03.57*** join/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
19:06.26*** part/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
19:16.38*** join/#tomcat tom17bombadil (n=tom@Xc009.x.pppool.de)
19:36.07Zack1403hey guys i am having a little trouble deploying an application as ROOT, ive created my META-INF folder and context.xml and specified the path as "/".  Is there more i need to do?
20:36.15andytis deployed in TOMCAT_HOME/webapps/ROOT ?
20:38.33Zack1403andyt: well i deploy it using a war, can i just put it in ROOT and it will deploy?
20:42.12andytshould just be able to drop ROOT.war in /webapps and it'll deploy itself
20:56.44Zack1403ahhh i should have known that
20:56.48Zack1403works fine
20:57.07Zack1403thank you, luckily that was a very easy question :)
20:59.10*** join/#tomcat rossan1 (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
20:59.20*** part/#tomcat rossan1 (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
21:32.22*** join/#tomcat pfn (n=pfnguyen@hanhuy.com)
22:15.55*** join/#tomcat rossand (n=rossand@CPE000c413a19a3-CM00159a025ad4.cpe.net.cable.rogers.com)
22:26.35*** join/#tomcat vadmeste (n=hannken@41.226.3.88)
22:28.56vadmestehi
22:29.00vadmestehere i have a problem
22:29.53vadmestethere is a java code which adds new username and password in tomcat-users.xml
22:29.56vadmeste?
22:35.24vadmesteso, it's so easy question or too difficult question..
22:35.28vadmeste?
22:35.45*** join/#tomcat vinse (n=vinse_@208.253.223.146)
22:37.02vadmesteif not, how can I use a Container Managed Security that verify username and password in a database
22:37.08vadmesteand not in tomcat-users.xml
23:16.02*** join/#tomcat nmatrix9 (n=nmatrix9@bas17-toronto12-1177718251.dsl.bell.ca)
23:22.00*** join/#tomcat jlpp (n=jefferso@64-105-47-59.adsl.lbdsl.net)
23:22.43jlppdoes anyone know why tomcat does not include a distribution of j2ee.jar for classes like javax.transaction.TransactionManager?
23:24.39jasonbYes, because Tomcat is not a full Java EE application server.  It is a Java EE web container, which is a subset of Java EE.
23:24.53jasonbYou can always add jars you need, though.
23:25.49jlppjasonb: does it make sense to add j2ee.jar to the tomcat classpath?  will it conflict with the default classes?
23:26.15jasonbIt would conflict with the servlet and JSP classes.
23:26.26*** part/#tomcat gregor_k (n=a@stgt-4dbda3f1.pool.einsundeins.de)
23:26.35jasonbBut, I'm not sure it would cause trouble if you put it in your webapp's own WEB-INF/lib directory.
23:27.00jlpphmm.. ok.  do you happen to use eclipse with WTP/tomcat plugin?
23:27.17jasonbNo, and I don't suggest it at this time.
23:27.22jlppwhy's that?
23:27.37jasonbUsually, it causes obscure deployment bugs.
23:28.19jlppis there a good altnerative that supports breakpoints/debugging via eclipse?
23:28.25jasonbBasically all eclipse plugins that try to integrate Tomcat have bugs that make people come in here and ask why Tomcat doesn't work.
23:28.45jasonbI just run Tomcat outside of eclipse, and run a remote debugger connection, but that's just me.
23:30.15jlppto use you ant/maven to deploy wars to tomcat's auto deploy dir?
23:30.18jlppto=>do
23:30.32jlppto use you => do you use :)
23:31.02jasonbI don't tend to generate war files since they're unnecessary.  I just deploy an unpacked webapp directory.
23:31.59jasonbI do tend to use Ant for doing that.  But, in my development environment I also have eclipse output its classes into my deployed webapp's WEB-INF/classes directory.. and I have context reloading turned on in Tomcat so the classes get reloaded when Eclipse changes them.
23:33.21jlppoh ok.. makes sense.  too bad about WTP.  i would have thought it'd be pretty mature by now.
23:33.38jasonbThey're trying.
23:34.26jasonbI have not tested it real recently, but I haven't heard people talk about how great it is, so it's probably not very good yet.
23:35.09jasonbIt might be worth trying out, with the understanding that it's probably not going to work right.
23:35.29jlppassuming WTP worked well, i guess the potential advantage over having a stand along instance of tomcat is the GUI integration of tomcat configuration and status?
23:36.09jasonbI don't know what GUI integration they've done, so I don't know.  But, I personally don't need the GUI integration.
23:42.59jlppalright, thanks for your advice jason
23:43.00*** join/#tomcat nitind (n=nitin@eclipse/developer/WebTools/kurrelgyre)
23:43.07jasonbjlpp: You're welcome.

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