IRC log for #tomcat on 20070723

00:04.33*** join/#tomcat prgrmr (n=prgrmr@bzq-88-155-188-178.red.bezeqint.net)
01:07.36seevashSpaghetti codes are fun.
01:07.40seevashTime to hella refactor.
02:56.22*** join/#tomcat codeshepherd (n=codeshep@61.8.208.15)
03:31.47*** join/#tomcat a4akb (n=a4akb@62.215.156.215)
03:33.04*** part/#tomcat a4akb (n=a4akb@62.215.156.215)
05:48.39*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-21-157.w83-114.abo.wanadoo.fr)
06:18.53*** join/#tomcat slapd (n=martian@69.177.26.119)
06:30.40slapd(java version "1.4.2")(Apache/2.2.3 (Fedora))(ApacheTomcat/5.5.17)(2.6.20-1.2933.fc6)
06:30.48slapdplease help
06:31.47slapdhttp://localhost/examples...... works great
06:32.18slapdhttp://localhost:8080....... works great
06:33.38slapdhow do i add another connector so i can get the display from the 2nd way to work under http://localhost/tomcat.....?
06:34.07lykenmod proxy
06:34.48slapdthe proxy_ajp.conf file?
06:45.26slapdis that what i want to do is add another connector?
06:50.34*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-244-242-211.telkomadsl.co.za)
07:01.04*** join/#tomcat compair1 (i=ariel@gateway/tor/x-2386c9d5aa080fc7)
07:11.57*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-51-151.telkomadsl.co.za)
07:37.43*** join/#tomcat _seshf_ (i=kvirc@mx1.hesgdv.de)
08:12.19*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
08:13.28*** join/#tomcat varek (n=sh2-136@storkey.plus.com)
10:00.08*** join/#tomcat Chrysalis (n=i@89.0.147.171.dynamic.barak-online.net)
10:00.11Chrysalishi everyone
10:00.26ChrysalisI have a trivial question: Suppose I use tomcat as my application server, and deploy several EJB's on it
10:00.45Chrysalishow will I go about and activate these EJB's from a desktop swing application? What are the protocols involved?
12:47.05*** join/#tomcat joered (n=chatter@85-18-136-70.fastres.net)
13:36.44*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
13:49.29*** join/#tomcat darren (n=darren@81.168.73.203)
13:52.19*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
13:55.12*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
14:07.19*** join/#tomcat a4akb (n=a4akb@62.215.156.215)
14:07.26a4akbHi.
14:08.26yassinewb a4akb
14:08.44a4akbty yassine
14:13.20a4akbdo you know of a way to assign auto urls of a files listed under a tomcat dir?
14:14.32a4akbinstead of dir listing, the complete path, preferrably masked, appears
14:21.27chrisjwhmm
14:21.28chrisjwimport javax.servlet.ServletException;
14:21.28chrisjw^
14:21.28chrisjwHelloServlet.java:7: cannot find symbol
14:21.33chrisjwtomcat 6.0 winxp
14:21.48chrisjwi don't know why it's doing this
14:22.00a4akb^?
14:22.15chrisjwjust something javac is showing me
14:22.32a4akbtry #java
14:22.56chrisjwbut isn't the servlet api related to tomcat?
14:23.24a4akblooks more like java
14:24.09chrisjwbut java itself doesn't have a servlet api does it?
14:24.10chrisjw:S
14:24.15a4akbcheck line 7 of HomieServlet.java
14:24.25chrisjw"public class HelloServlet extends HttpServlet {"
14:28.40chrisjwdoes your silence mean you dont know
14:32.57*** join/#tomcat Thorn (n=Thorn@unaffiliated/thorn)
14:51.25chrisjwnevermind i found the problerm
14:51.29chrisjwit wasn't a java problem
14:51.35chrisjwbut thanks for all your help a4akb
15:16.20*** join/#tomcat DarrylT (n=user@209.248.139.122.nw.nuvox.net)
15:16.49*** part/#tomcat DarrylT (n=user@209.248.139.122.nw.nuvox.net)
15:22.57*** join/#tomcat acidjnk (i=acid@p5B06B15F.dip0.t-ipconnect.de)
15:24.51chrisjwquestion.. is the application scope for all the web apps or just the currently executing webapp
15:25.22chrisjwi.e. storing an object in webapps/lol - could webapps/lol2 access that object?
15:36.47XiXaQthat doesn't really sound like a tomcat-spesific question, but a java ee one.
15:50.31randrewchrisjw: that's in the servlet spec, version 2.2.  For increasingly muddled answers, see later versions of the spec.
15:51.56*** join/#tomcat marcuz (n=marco@pdpc/supporter/active/marcuz)
15:52.43*** join/#tomcat nemo_home (i=nemo@c-76-21-160-106.hsd1.md.comcast.net)
15:53.15*** join/#tomcat kab (n=abarrera@148.229.1.11)
15:55.39marcuzhello all. os: debian etch, tomcat: 5.5.20-2, java: 1.5.0-10-3. i installed tomcat5.5-admin debian package, but when i try to access it i get the following error: "HTTP Status 503 - Servlet admin.login_jsp is currently unavailable". i googled a lot, but i can't get a solution. can anyone help me? thank you.
15:58.59nemo_workchecked your logs yet?
16:00.05nemo_workFor the channel at large, I specified factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"  in my server.xml for two resources, but Tomcat still seems to be trying org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory instead
16:00.09nemo_workany ideas why it is ignoring me?
16:00.46marcuznemo_work: sure, i get only "23-lug-2007 17.54.40 org.apache.catalina.core.ApplicationDispatcher invoke WARNING: Servlet admin.login_jsp is currently unavailable"
16:02.36nemo_work*shrug* not much one can do with that, then.
16:02.42nemo_workseems a tad unlikely though
16:02.46nemo_workp'raps checking wrong log
16:03.18nemo_work503 just means "something went boom"
16:04.15marcuzi see :-P
16:04.36nemo_workactually, my issue appears to be with Eclipse's publishing. n/m
16:10.11nemo_workhm. or not
16:10.22nemo_workpublished correctly in Eclipse as far as I can tell, still getting same error
16:21.24nemo_workok. anyone know how to make tomcat 5.5 not ignored the factory attribute...
16:51.46*** join/#tomcat codeshepherd (n=codeshep@bb121-6-16-31.singnet.com.sg)
16:54.57*** join/#tomcat syntaxx (n=patrick@unaffiliated/syntaxx)
16:55.31syntaxxanyone know a site on how to implement ssl on tomcat5 the debian way?
17:03.29randrewnemo_work: i can't see the difference between "org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" and org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
17:18.06*** join/#tomcat karstensrage (n=karstens@75.55.199.5)
17:20.29*** part/#tomcat syntaxx (n=patrick@unaffiliated/syntaxx)
17:28.50nemo_workrandrew: oops. my bad
17:28.54nemo_workrandrew: ok. rephrase.
17:29.10nemo_workFor the channel at large, I specified factory="org.apache.tomcat.dbcp.BasicDataSourceFactory"  in my server.xml for two resources, but Tomcat still seems to be trying org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory instead
17:30.02nemo_worksome other people have been complaining about factory= getting ignored in 5.5 too
17:30.21nemo_workhttp://www.nabble.com/UserTransaction,-JOTM-and-Tomcat-5.5.x-t1073172.html
17:30.53nemo_workhttp://www.mail-archive.com/dev@tomcat.apache.org/msg11198.html  here's the issue I ran into
17:31.05nemo_workthe common-dbcp thing spans ubuntu, gentoo and fedora core
17:31.22nemo_workright now though, it seems there is no way to tell tomcat to use common-dbcp instead of its own internal "repackaging"
17:33.08*** join/#tomcat pithen (n=pithen@dsl093-233-040.hfd1.dsl.speakeasy.net)
17:33.34pithenShould questions regarding jk be directed here or perhaps #apache?
17:38.32pithenTomcat 5.5.23, Apache 2.2.3, Jrockit 1.5.0_11-b03, Deb Etch:I have two ajp13 workers set up to load balance. I make a request to apache, which is sent to the first worker.. i then disable the first worker, and am forced to login again to create a session on the second worker. if i then bring first up again, the request is sent back to the first where i again have to relogin, rather than sticking wi
17:38.33pithenth the second worker. How can I avoid this?
17:48.00*** part/#tomcat pfn (n=pfnguyen@hanhuy.com)
17:48.21*** join/#tomcat pfn (n=pfnguyen@hanhuy.com)
17:52.08*** join/#tomcat snuf1 (n=daron@58.174.216.162)
17:52.18snuf1#join #j2ee
17:52.27snuf1sorry
18:03.11*** join/#tomcat dvayanu (n=another@ppp-82-135-68-145.dynamic.mnet-online.de)
18:17.13a4akbfw:
18:17.29*** join/#tomcat crackintosh (n=crackint@70.88.73.93)
18:33.17*** part/#tomcat snuf1 (n=daron@58.174.216.162)
18:43.50*** join/#tomcat XiXaQ (n=joerlend@123-191.dsl.freewave.no)
18:49.05a4akbHow do I display file path name in a directory listing?
18:50.15a4akbhomies?
18:54.14*** join/#tomcat kadams (n=J4V4@adsl-074-171-216-244.sip.bgk.bellsouth.net)
19:05.36nemo_workFYI to all, my issues with factory= are a problem with Tomcat 5.5 and GlobalNamingResources
19:05.43nemo_workhttp://bugs.gentoo.org/show_bug.cgi?id=144276#c7
19:05.51nemo_workall better. later y'all
19:06.10nemo_worka4akb: and personally, sorry, no clue.
19:06.12*** part/#tomcat nemo_work (i=nemo@c-76-21-160-106.hsd1.md.comcast.net)
19:07.06crackintoshCan someone look at this log file? Is tomcat not running because of permissions, Apache Tomcat Native library or both? http://pastebin.com/d3091e03b
19:11.18*** part/#tomcat a4akb (n=a4akb@62.215.156.215)
19:20.46crackintoshI guess nobody is here today :-/
19:27.40kadamscrackintosh: it appears that permission on /usr/local/tomcat/temp/sampleCache1.data is causing problems
19:29.11*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-51-151.telkomadsl.co.za)
19:39.45crackintoshthank you
19:42.51*** join/#tomcat _crYpe (i=crYpe@noxfire.org)
19:50.07*** join/#tomcat columbo (n=Miranda@pool-71-104-45-67.lsanca.dsl-w.verizon.net)
19:52.19*** join/#tomcat columbo (n=Miranda@pool-71-104-45-67.lsanca.dsl-w.verizon.net)
19:53.27*** join/#tomcat Speedy059 (i=Speedy05@mail.ellsworthpublishing.com)
20:04.04*** join/#tomcat prgrmr (n=prgrmr@bzq-88-155-188-178.red.bezeqint.net)
20:08.51*** join/#tomcat crackintosh (n=crackint@70.88.73.93)
20:48.59crackintoshCan someone paste the output of cat /etc/passwd | grep tomcat
20:49.30crackintoshMy developers box is having permissions problems and he doesnt have a user for tomcat. it is running as root.
20:49.39crackintoshim sure the problems are much deeper but I have to start somewhere.
20:51.31dvayanuerr, cracintosh just create a user?
20:52.58crackintoshyeah I guess I could.
20:54.08crackintoshI was running tomcat as root on a dev box and the permissions werent correct, which seems strange to me.
20:54.27*** join/#tomcat tomisina (n=tbs@c-71-195-76-7.hsd1.pa.comcast.net)
20:55.45*** part/#tomcat tomisina (n=tbs@c-71-195-76-7.hsd1.pa.comcast.net)
20:55.50*** join/#tomcat tomisina (n=tbs@c-71-195-76-7.hsd1.pa.comcast.net)
20:58.00tomisinadoes anyone know a good reference or guide to keeping clean paths/uri's?
21:00.16tomisinai ask because i think it seem silly to have .jsp appended to everything...
21:03.04*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
21:15.24crackintoshCall me a little rusty on the topic but I dont see how adding a user named tomcat will solve the problem if tomcat wasnt working properly when owned by root.
21:16.14crackintoshis there a file somewhere that says what the user should be named? I dont want to arbitrarily name a user tomcat or tomcat55.
21:38.36*** join/#tomcat igel (n=igel@dslb-088-073-076-098.pools.arcor-ip.net)
21:38.42igelhi
21:39.27igelunfortunately I always get the msg "Error listenerStart" when trying to start my app. Do you know what to do?

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