IRC log for #tomcat on 20080909

00:41.02*** join/#tomcat roadt (n=roadt@61.191.27.34)
01:11.46*** join/#tomcat andrewaclt (n=andrew@cpe-076-182-123-173.nc.res.rr.com)
01:14.20andrewacltHi, I get http://pastebin.com/m5e3f42d4 under tomcat 5.5.26 and 5.5.27, however I am looking at the class and it corresponds to the listener class defined in web.xml. This is under linux, any ideas?
01:16.45andrewacltoh, and java is Sun Java 6.0
01:26.29andrewacltI think it's a linux issue, as I was able to deploy the same project on windows. Can anybody point me in the right direction?
01:44.22*** join/#tomcat harso (n=harso@norkia.v3.sk)
01:47.27andrewacltcould it be a bad classpath?
02:22.22*** part/#tomcat andrewaclt (n=andrew@cpe-076-182-123-173.nc.res.rr.com)
02:23.12*** join/#tomcat earl3982 (n=foo@c-24-99-69-91.hsd1.ga.comcast.net)
03:20.28*** join/#tomcat acidjnk (i=acid@pD950A025.dip0.t-ipconnect.de)
03:38.14*** join/#tomcat karstensrage (n=karstens@76.21.8.74)
03:54.59*** join/#tomcat wandana (n=chatzill@131.181.88.232)
04:28.50*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:31.27*** join/#tomcat shital12 (n=shital@121.243.177.213)
04:51.29*** join/#tomcat shashi (n=shashi@125.16.213.2)
06:10.54*** join/#tomcat rhonabwy (n=rhonabwy@dslb-084-057-003-045.pools.arcor-ip.net)
06:15.23*** join/#tomcat jfclere (n=jfclere@57.79.66.141)
06:33.23*** join/#tomcat mesut (n=power@tuxhacker/mesut)
06:40.23*** join/#tomcat Levia (n=Levia@unaffiliated/levia)
07:10.03*** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl)
07:11.28*** join/#tomcat Bollinger (n=peter@88-105-241-230.dynamic.dsl.as9105.com)
07:15.10*** join/#tomcat karstensrage_alt (n=karstens@76.21.8.74)
07:20.33*** join/#tomcat ramteid (n=ramteid@83-64-52-210.fadingerstrasse.xdsl-line.inode.at)
07:21.55*** join/#tomcat NoogiE- (n=NoogiE@nubbin.noogies.org)
07:23.09NoogiE-hi guys, having a problem thats doing my head in here upgrading from 5.5.17 to 6.0.18
07:23.27NoogiE-we run different instances with the same binaries, so CATALINA_BASE is set in my init script
07:23.47NoogiE-I've put -verbose on the jvm flags
07:24.03NoogiE-and my tomcat just shutsdown with no errors other than this
07:24.14NoogiE-[Loaded sun.misc.URLClassPath$FileLoader from /usr/jdk/instances/jdk1.6.0_07/jre/lib/rt.jar]
07:24.17NoogiE-Exception in thread "main" java.lang.NoClassDefFoundError:
07:24.20NoogiE-Caused by: java.lang.ClassNotFoundException:  at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
07:24.25NoogiE-<PROTECTED>
07:25.42NoogiE-so which class is that looking for and cant find
07:28.19NoogiE-jdk1.6.0_07 on solaris 10
07:31.57NoogiE-full output is here - http://pastebin.com/m17731ebe
07:32.33NoogiE-it seems to be more a java problem, but it works with 5.5 and java6 so i have no idea
07:46.46*** join/#tomcat Navi` (n=Navi`@217-102-250-41.zeelandnet.nl)
08:13.48*** join/#tomcat fyrestrtr (n=Burhan@pdpc/supporter/student/fyrestrtr)
08:13.58fyrestrtrhow can I know what is the default heap size for tomcat?
08:14.23lyken64mb
08:14.54kjkoster5489fyrestrtr: use jconsole to see for yourself.
08:15.15fyrestrtrI can't use jconsole since I'm running this on a headless server.
08:15.41fyrestrtr'Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:'
08:20.58fyrestrtrhrmm, from this page http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html I can see its possible to enable remote monitoring using -Dcom.sun.management.jmxremote, but how do I specify a port so I can open the port on the firewall and then monitor it from my local client?
08:28.04fyrestrtrhrmm, its saying invalid command line arguments for : Adding in custom Tomcat option(s): -Dfile.encoding=utf-8 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9898 -Dcom.sun.management.jmxremote.authenticate=false
08:34.44kjkoster5489fyrestrtr: see my opinion http://java-monitor.com/forum/showthread.php?t=37
08:35.55kjkoster5489Remote X is painful, but will work.
08:35.58*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-6a1e1b243fe718ab)
08:53.18fyrestrtris it me or is this really that difficult to get working across a firewall :/
09:04.21kjkoster5489fyrestrtr: I use zapcat and Zabbix. Alternately there are command line JMX tools that allow you to query JMX.
09:08.35ramteidfyrestrtr:  if your box has multiple IF it's sometimes helpful to add -Dcom.sun.management.jmxremote.host=PROPERIP
09:10.16fyrestrtrhrmm  -- I'll give that a try.
09:11.08ramteidfyrestrtr:  but I agree JMX and FW is no fun. (it *should* be easier...)
09:13.15kjkoster5489If you get it to work, let us know precisely how.
09:14.39ramteidkjkoster5489:  the last time I've done it I had to tunnel several FW (via ssh), so I used port forwarding and com.sun.management.jmxremote.hos=127.0.0.1 but not sure if I used jmxremote.port. If I recall correctly i fetched the used port from log and fwd that one too.
09:15.03ramteidkjkoster5489:  but it was PIA...
09:17.38ramteidkjkoster5489:  maybe also take a look at: http://blogs.sun.com/jmxetc/entry/connecting_through_firewall_using_jmx --- but it worked with 127.0.0.1 + port (I checked my notes)
09:38.43kjkoster5489ramteid: I tried that (and a lot more) and failed. I must be stupid.
09:40.07ramteidkjkoster5489:  oh. strange, my notes definitely say that it worked
09:46.28*** join/#tomcat albert_kam (n=albert@125.160.174.102)
10:21.37ramteidkjkoster5489:  ok, I nearly failed.... BUT there are *2* ports which need to be forwarded
10:21.59ramteidkjkoster5489:  first the JMX port and also the "secondary" port (I think it's the RMI registry port)
10:22.22ramteidkjkoster5489:  the hard thing is to find the rmi port...
10:24.20ramteidkjkoster5489:  if on linux just retrieved PID and netstat -anp | grep PID
11:05.06fyrestrtrthe problem is that the other port is not configurable.
11:07.04ramteidfyrestrtr: yes :(
11:31.42*** join/#tomcat gottadoit (n=gottadoi@unaffiliated/gottadoit)
11:59.12*** join/#tomcat the_bat (n=bjmm@94-40-44-2.tktelekom.pl)
12:04.46*** join/#tomcat bindaas (n=chatzill@59.94.101.114)
12:08.16*** part/#tomcat the_bat (n=bjmm@94-40-44-2.tktelekom.pl)
12:14.49*** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com)
12:26.02*** join/#tomcat p_masho (n=mash@84-45-225-28.no-dns-yet.enta.net)
12:27.49p_mashoanyone help a newbie pls. I've installed tomcat5.5 ubuntu (from the packages) and tomcat-admin. When i start tomcat /etc/init.d/toncat start . it does not appear at localhost:8080 ? any ideas
12:39.20puckop_masho: http://www.webdroid.org/archives/tomcat-package
12:45.10MHSLp_masho, maybe check whether it's listening on a different port?
12:53.17*** join/#tomcat xigamy (n=David@hnvr-4dbb63c3.pool.einsundeins.de)
12:54.56xigamyHello please help me. i am trying to add a new user or role to tomcat for 2 days now... i use java 1.6.07, windows vista and tomcat 6.0.18 Can anybody help me?
12:56.41MHSLwhat have you done so far?
12:57.32MHSLand also please tell us the outcome of your attempts
12:57.47MHSLjust saying "trying to add a new user or role" doesnt help us to help you
12:57.55xigamyok, ty ... i have a web app and declared security in the web xml ... all works fine when i use the role "manager" with the user "root" which i also have declared in the conf/tomcat-users.xml
12:58.14MHSLthen?
12:58.29xigamybut i want to use a new user with my own role. so i tried adding it to the tomcat-users.xml but wont work ...
12:59.45MHSLof course it wont, tomcat-users.xml is only for tomcat, if you have a security constraint on your web.xml you have to create your own file that contains the credentials
12:59.46xigamyi tried the user "root" and added my own role to the existing user. the result is, that i am not authorized, although root has my role.
13:00.00MHSLpost your web.xml
13:00.24xigamy<?xml version="1.0" encoding="UTF-8"?>
13:00.24xigamy<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
13:00.24xigamy<PROTECTED>
13:00.24xigamy<PROTECTED>
13:00.24xigamy<PROTECTED>
13:00.27MHSLnot here..
13:00.33MHSLbaka
13:01.00*** join/#tomcat xigamy (n=David@hnvr-4dbb63c3.pool.einsundeins.de)
13:01.14MHSLxigamy, use pastebin.com
13:01.19MHSLor something similar, dont paste here...
13:02.42fyrestrtrp_masho: default port in debian is 8180
13:02.43xigamyhttp://pastebin.com/db350915
13:06.47xigamywhere do i have to place that file whith my own credentials?
13:06.51MHSLxigamy, you said that you tried to access your webapp using root username?
13:07.08xigamyyes and it worked
13:07.31MHSLcan i see your tomcat-users.xml
13:07.34xigamybut only if i used the existing role "manager" not if i tried my own role
13:07.46xigamyyes
13:09.13xigamyhttp://pastebin.com/d79bf8cef
13:12.13*** join/#tomcat bindaas_ (n=chatzill@59.94.107.229)
13:12.36xigamybut it only works if i declare the role "manager" in the web.xml , it wont work when i declare "webdriveuser"
13:13.49xigamyi also tried to declare the roles in the tomcat-users.xml with the <role>-element or to omit that element. but it didnt make any difference
13:16.14xigamyalso when i try to login with any other user then root, it seems like tomcat doesnt know them. because when i declare the webdriveuser-role and try to login as root, then i am not authorized. but when i try to login as david, then the login prompt will not stop to popup.
13:20.29MHSLxigamy, <realm-name>Web Drive</realm-name> -> can this be anything or this should match with the one specified in server.xml?
13:21.08kjkoster5489p_masho: http://java-monitor.com/forum/showthread.php?t=4
13:21.58kjkoster5489p_masho: Better use a vanilla tomcat from apache.org
13:23.40xigamyi dont think so, because the tomcat manager app also has no matching entry in the server xml and all works fine.
13:25.01MHSLnvm, now i know what realm-name is for
13:25.59xigamyi am following this guide: http://www.onjava.com/pub/a/onjava/2001/07/24/tomcat.html
13:26.24xigamyi think it doesnt do anything, ist just a name to display for the user
13:27.04MHSLi cant see anything wrong
13:27.21xigamyoh no wait a second
13:27.21MHSLbtw, did you restart tomcat after changing tomcat-users.xml?
13:27.26xigamyyes
13:27.39MHSLok
13:30.31xigamyups
13:30.44xigamythere seems to be something really wrong with my install...
13:31.51*** join/#tomcat randrew (n=raj@dyn-128-59-53-165.dyn.columbia.edu)
13:32.26xigamywow, you wont believe this !!!!!
13:32.34xigamywindows really sucks!
13:33.13xigamyi have this file on my computer: C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\tomcat-users.xml
13:33.33MHSLthen?
13:33.39xigamywhen i double click it, then it opens in my favorite editor npp
13:34.05xigamywhen i right click and click edit, then it opens in windows notepad
13:34.16xigamybut the content of the file is different!!!!
13:34.40xigamyalthough it really is the same file! Windows Vista Business Edition
13:37.13xigamyi have seen this already before ... its only in the program files dir. somehow it depends on whether files are opened by admin or by user ... i dont understand ... but i dont like this feature
13:40.52xigamyyes, that was the problem. Somehow windows seems to maintain different versions of files with the same URI. So when i run my editor as admin then i get i different version of the file. Now i see the "real" content. probably now everything will be alright. i try and let you know.
13:47.12xigamyyes, that was the problem. i had to edit the tomcat-users.xml as admin, then everything was alright. sorry for that
13:51.58MHSLok
14:38.14*** join/#tomcat cgp_-_ (n=chatzill@165.215.99.245)
14:38.36*** join/#tomcat karstensrage (n=karstens@76.21.8.74)
14:43.31*** join/#tomcat cgp_-_ (n=chatzill@165.215.99.245)
14:43.55*** part/#tomcat cgp_-_ (n=chatzill@165.215.99.245)
14:46.45*** join/#tomcat cgp_-_ (n=chatzill@165.215.99.245)
14:50.30*** join/#tomcat gogosys (n=o2o2o2o2@87.116.224.36.strzyzow224.tnp.pl)
14:51.33gogosysHello This is possible to create connection pool where source code (jsp, java) are already using jdbc connection for each jsp page and java file?
14:51.56gogosysI'm talking about tomcat
14:52.19*** join/#tomcat cgp_-_ (n=chatzill@165.215.99.245)
14:53.01gogosysTomcat is 5.5. I think rest doesn't matter this is Linux.
14:55.11gogosysapache-tomcat-5.5.26/jdk1.5.0_14/CentOS5
15:05.12MHSLgogosys, what do you mean? you mean you want to use connection pool on top of your existing jsp and classes?
15:09.07gogosysMHSL Thank you! I have a lot of static "connection = DriverManager.getConnection("jdbc:mysql:" in JSP files. I want to use connection pool because I have limited MYSQL connections.
15:09.47gogosysThis is possible to overwrite this configuration some how just by placing connection pool in context.xml file?
15:10.50*** join/#tomcat ircleuser (n=qultum@80.187.215.186)
15:15.30MHSLgogosys, yes, you should read http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-examples-howto.html
15:29.58*** join/#tomcat bindaas_ (n=chatzill@59.94.101.133)
15:47.55*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-ecb0bff59ac085f8)
15:50.36*** join/#tomcat rewb0rn (n=chatzill@p57A0EE7F.dip.t-dialin.net)
15:51.26rewb0rnhi
15:52.33rewb0rnis there a way to upload files to a client using tomcat? using java 1.6, win xp and the latest tomcat
15:53.45chillitomrewb0rn, http://commons.apache.org/fileupload/
15:53.51rewb0rnthx
15:54.10xigamyupload to the client ?? the commons is for uploading to the server ...
15:54.25*** join/#tomcat magentar (n=magentar@ip-81-210-151-106.hsi.iesy.net)
16:00.23rewb0rnlol
16:00.51rewb0rnnever mind we do it by links now ;)
16:00.56rewb0rnhave a nice evening
16:07.13xigamyto send a file to the client i would use a servlet and set the appropriate headers in the response and attach the file , right?
16:08.20xigamybut if links work, its even easier
16:13.55*** join/#tomcat Levia (n=Levia@unaffiliated/levia)
16:14.50*** join/#tomcat linkslice (n=bryan@officefw.tac.opticfusion.net)
16:20.22*** part/#tomcat xigamy (n=David@hnvr-4dbb63c3.pool.einsundeins.de)
16:24.08*** join/#tomcat blacksheep1666 (n=chatzill@dsl-243-11-165.telkomadsl.co.za)
17:22.25*** join/#tomcat mesut (n=power@tuxhacker/mesut)
17:40.47*** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl)
17:57.28LeviaI have a problem using Tomcat 6.0.18, latest Apache, latest mod_jk and Java SE 6. I have it set up so I can access the main Tomcat page..but when I go to the manager from there, it shows a (apache) 404 error. Can someone help me with this problem? I have the configuration files ready for those who wants to have a look at them (mod_jk.conf (auto generated), httpd.conf (where I include mod_jk.conf), server.xml and workers.properties).
18:27.10*** join/#tomcat bindaas (n=chatzill@59.94.103.148)
18:50.48*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
19:12.06*** join/#tomcat Navi` (n=Navi`@a82-95-218-113.adsl.xs4all.nl)
19:20.22*** join/#tomcat joecoder (n=EricPogg@12.156.132.2)
19:20.55joecodertrying to get tomcat working on sles 10.0
19:21.04joecoderi've installed the package and the jsp-examples work
19:22.00joecoderbut when I copy my website project to /usr/share/tomcat5/webapps and access it through the browser by its folder name, I get a not available error
19:23.59joecoderalso, on windows, http://localhost:8080/manager/html takes me to the tomcat manager, but on suse it prompts for a username/password (looked in /etc/tomcat/tomcatusers.xml, it was tomcat/tomcat) and then I get an access denied error.
19:31.23*** join/#tomcat Evolution (n=jperrin@centos/admin/Evolution)
19:31.45Evolutionquick question about the new 5.5.27 tomcat release.
19:32.01EvolutionDoes it address the recent CVEs related to comcat?
19:32.04Evolutioner tomcat rather.
19:32.33Evolutionspecifically CVE 2008-1232 2008-1947, and 2008-2370 ?
19:33.21joecoderi asked a question about 12 minutes ago and this is the first chat i've seen since then.
19:34.05joecoderi know very little about tomcat, don't know what a CVEis.
19:34.08barnumpatience is the key here most people are working
19:34.31barnumCVE is common vulnerabilities and exposires
19:34.43barnumi.e. security bugs
19:34.51barnumfor all products not just tomcat
19:35.04joecoderthanks.
19:35.27barnumevolution the changelog usuallylists what vulns are addressed in a version
19:35.56joecoderi'm a developer but i sometimes find myself in the role of system administrator, which i know very little about.
19:36.02barnumhttp://tomcat.apache.org/tomcat-5.5-doc/changelog.html
19:36.07joecoderat least when it comes to java server technologies.
19:36.55Evolutionbarnum: right. I was reading that, and trying to figure out if things like 'Add additional checks for URI normalization' translated to the XSS vuln fix and such.
19:37.05Evolutionit does not specifically spell out CVE patching.
19:37.09Evolutionwhich concerns me a bit.
19:38.16barnumi know ive seen a tc page with the CVE's listed addressed
19:38.44Evolutionbarnum: that very page lists some for 5.5.26
19:38.49Evolutionjust not for 5.5.27
19:39.19*** part/#tomcat randrew (n=raj@dyn-128-59-53-165.dyn.columbia.edu)
19:45.48barnumk guess thats where i saw it before
19:45.53barnumweird they didnt include it this time
19:46.01barnumbrb
19:52.24*** join/#tomcat smoore (i=adsf@cm30.epsilon161.maxonline.com.sg)
19:52.41*** join/#tomcat IIVX (n=IIVQ@a213-84-33-86.adsl.xs4all.nl)
19:53.01IIVXhello
19:53.11IIVXI have a nice encoding problem
19:53.38IIVXI'm on a windows Vista machine, using tomcat and java and a MySQL database with data
19:54.09IIVXmy data is sent from a the database via a JSP as XML to a HTML where the javascript parses it.
19:54.16IIVXStrange characters all work fine
19:54.42IIVXnow all my code AND the database is all transferred to my colleague's computer
19:54.55IIVXnow special characters DON't work fine...
19:55.11IIVXDatabase: all columns in the table are UTF-8
19:55.50IIVXJSP: has first line <?xml version="1.0" encoding=UTF-8"?>
19:56.31IIVXand a line with <%@ page contentType="text/html;charset=UTF-8" pageEncoding="ISO-8859-1" %>
19:56.36IIVXdoesn't work
19:57.12IIVXthe a with a ^ on it (a circonflex) gets sent in the HTML as two characters (actually A+~, c+/)
19:58.10IIVXalso with pageEncoding="UTF-8" or all the other encodings as ISO-8859-1, setting the browser to ISO-8859-1 manually (it's in UTF-8 automatically) - all stays the same
19:58.19IIVXthis is all with Internet Explorer 7
19:58.24IIVXbut Chrome does the same...
19:58.35IIVXany hints?
19:59.33joecoderwhat encoding does the browser show the page
19:59.38joecoderin firefox, it's tools-> page info
20:00.18joecoderi've dealt with this problem with php, but i don't know much about java web development.
20:04.14*** part/#tomcat joecoder (n=EricPogg@12.156.132.2)
20:07.23IIVXjoecoder: UTF-8
20:16.34*** join/#tomcat GhostDWORD` (n=gottadoi@unaffiliated/gottadoit)
20:27.23LeviaI have a problem using Tomcat 6.0.18, latest Apache, latest mod_jk and Java SE 6. I have it set up so I can access the main Tomcat page..but when I go to the manager from there, it shows a (apache) 404 error. Can someone help me with this problem? I have the configuration files ready for those who wants to have a look at them (mod_jk.conf (auto generated), httpd.conf (where I include mod_jk.conf), server.xml and workers.properties).
20:38.03*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
20:59.29smoorehi, not much familiar with tomcat.. i'm handling a server from godaddy which is owned by my friend. the web developer ask  me if tomcat is connected to apache through mod_jk, how can i check this?
21:16.27*** join/#tomcat balla (n=balla@217.201.72.59)
21:23.55*** join/#tomcat gottadoit (n=gottadoi@unaffiliated/gottadoit)
22:25.07*** join/#tomcat akdfjjjj (i=adsf@cm30.epsilon161.maxonline.com.sg)
22:39.17*** join/#tomcat Infinito- (n=yingyang@li6-217.members.linode.com)
23:02.10*** join/#tomcat kim0 (n=kimoz@unaffiliated/kim0)
23:02.12*** join/#tomcat karstensrage (n=chatzill@75-55-199-5.mobitv.com)
23:02.48kim0Hello guys. My first minutes of tomcat. I am trying to deploy a webapp. I deployed, but it's not starting
23:02.55kim0where do I begin to look please ?
23:03.13kim0getting default tomcat page
23:03.20karstensrage$CATALINA_HOME/logs/catalina.out
23:03.26kim0okie
23:03.42karstensragelook very carefully , it can have a lot of cruft
23:04.20kim0hmm, doesn't mention my app name at all
23:05.07*** join/#tomcat vinse (n=vinse_@208.253.223.146)
23:05.38karstensragethen it didnt deploy
23:05.47karstensragego to the tomcat page, login to status
23:05.52karstensragego to list applications
23:06.07kim0karstensrage: I am using some configuration management tool that some other team has written. It is supposed to aid in depoying. Where do I look to make sure the correct things were written to tomcat config files ?
23:06.32kim0I need to know which files should contain what pointing to my app
23:07.22kim0karstensrage: the steps were adding a listener (IP and port), then giving it the path to the war file
23:07.43kim0I just wanna make sure the correct stuff was written afterwards
23:09.37kim0karstensrage: could you please help me with that ?
23:10.50smoore_this might be a very simple question, pardon me.. not much with tomcat.. aside from deploying the .war file from tomcat manager, is there any way of deploying it?
23:13.12kim0wants the low level steps too (copy war into ..., write this in that xml file ... etc)
23:14.02barnumdrop it in webapps and restart?
23:14.04barnumworkss for me
23:15.29kim0barnum: where would the listener IP and port be defined should I want to customize them
23:16.31barnumsec reading up
23:16.56barnumwell listner ip and port are part of the conf/server.xml
23:17.25barnumapplication specific stuff can go there but is better placed in the context.xml
23:17.38kim0barnum: is there some doc explaining how to edit and deploy that way ?
23:18.14barnumwell its not really a deployment step per se unless your considering the installation of tomcat to be a deployment
23:18.42barnumwe use global variables for our db connectors and stuff
23:18.51barnumand context specific for things like app path etc..
23:19.10kim0barnum: hmm ... I have my app-war.zip in webapps, restarted ... didn't get anything in logs about it
23:19.43barnumwhy a zip?
23:19.48barnumshould be app.war in webapps
23:20.12kim0eh .. just coz it's my first minute with tomcat :)
23:21.42barnum:)
23:21.52barnumyeah tomcat knows how to extract war files but not zips afaik
23:22.13kim0hmm ... well now the logs mention my app
23:22.18kim0it seems starting up
23:22.32kim0but I am not sure how to contact it in the browser
23:25.14kim0barnum: any help please why it's not showing up yet
23:25.36barnumhostname:port/appname/
23:25.48barnumdoes it have a default index
23:26.04barnumwhat port is tomcat running on?
23:26.05kim0what would that be
23:26.07kim08080
23:26.14barnumok so try ip:8080/app/
23:26.22barnumor ip:8080/app/url
23:27.25kim0barnum: cool stuff ... Yeeeeeeeha
23:27.39kim0that's actually pretty simple once you get it going
23:27.46kim0barnum: thanks a million man
23:27.52barnum:)
23:28.03barnumthe tomcat oreilly book that randrew worked on is pretty helpful too
23:28.53kim0barnum: assume, I wanna have that app listen to a different port 8090, I would set that in conf/server.xml or context.xml , correct ?
23:29.43smoore_hi, not much familiar with tomcat.. i'm handling a server from godaddy which is owned by my friend. the web developer ask  me if tomcat is connected to apache through mod_jk, how can i check this?
23:39.10MHSLkim0, it's server.xml not context.xml
23:40.02MHSLsmoore_, just check whether you have mod_jk on your apache and respective configuration files
23:40.24MHSLsmoore_, or check apache log, it should be specified on the server signature printed on the log (if turned on)
23:43.06smoore_alright, thanks MHSL
23:43.16MHSLnp
23:44.18MHSLkim0, refer to http://tomcat.apache.org/tomcat-6.0-doc/config/http.html

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