IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.71 MB
Powered by
Channel Info
Network: freenodeChannel: #tomcat |
Search in www.irclog.org
Log from #tomcat at freenode 2006-06-10
[07:50]<r9rc2>jasonb: Yo.
[07:50]<r9rc2>lyken: Yo.
[07:53]<r9rc2>yassine: meyo
[07:56]<pyguwpznac>yo.
[07:57]<r9rc2>linuxfreckles: Yo.
[07:58]<r9rc2>sup?
[08:02]<sz__>hi
[08:16]<r9rc2>sr__: hello
[15:06]<drssygn>morning *
[17:48]<-- dvxn|syzzzyus xzs>http://www.bagdadsoftware.de")
[18:57]<grdnpnss|rpc>someone willing to help an utterly n00b with gettin tomcat to cooperate? :P
[18:58]<grdnpnss|rpc>not sure if it actually works :s
[19:33]<prffjuv>did you read the topic?
[19:34]<prffjuv>SLOW-MOTION CHANNEL (we all have jobs): Ask
[19:34]<prffjuv> your question, then wait; check back often to see if anybody answered.
[20:09]<grdnpnss|rpc>:P
[20:09]<grdnpnss|rpc>checking answer now
[20:09]<grdnpnss|rpc>still going rather slowmotion :P
[20:09]<grdnpnss|rpc>anyways kinda wonder how to check if tomcat is actually active (correctly)
[20:13]<rrsjg2>nameless|afk: Checking for an answer _before_ asking a question won't yield you much though. :)
[20:14]<grdnpnss|rpc>yes doing that rather.. though i'm not so sure if it went right
[20:15]<grdnpnss|rpc>isnt like i see a process running
[20:15]<grdnpnss|rpc>thats what makes me worried weather its working or not :s
[20:16]<prffjuv>heh
[20:17]<grdnpnss|rpc>doing this user thing
[20:17]<grdnpnss|rpc>added a manager
[20:17]<prffjuv>so your question is wether tomcat is running or not?
[20:17]<grdnpnss|rpc>and then i'm supposed to restart tomcat
[20:17]<grdnpnss|rpc>but nothing happens :(
[20:17]<cnsv>what do you expect to happen ?
[20:17]<prffjuv>s/wether/whether
[20:18]<grdnpnss|rpc> sudo tomcat_ctlcluster user__ restart
[20:18]<grdnpnss|rpc>sudo: tomcat_ctlcluster: command not found
[20:18]<grdnpnss|rpc>something showing 'its alive' :P
[20:19]<prffjuv>what user should it be running as?
[20:19]<grdnpnss|rpc>well i installed it as root
[20:19]<prffjuv>how did you start it?
[20:19]<prffjuv>and what user did you start it as?
[20:20]<prffjuv>have you examined the log files to see if there are errors, warnings, or info messages?
[20:20]<grdnpnss|rpc>ah spank me :( found a problem
[20:20]<grdnpnss|rpc>it claims jdk isnt installed
[20:20]<grdnpnss|rpc>though... it is :(
[20:20]<prffjuv>perhaps you need to set $JAVA_HOME ?
[20:22]<grdnpnss|rpc>hmm
[20:22]<grdnpnss|rpc>seems better now
[20:22]<grdnpnss|rpc>nameless@libertine:/etc/init.d$ sudo ./tomcat5 start
[20:22]<grdnpnss|rpc>Starting Tomcat 5 servlet engine using Java from /usr/lib/jvm/java-gcj: nameless@
[20:22]<grdnpnss|rpc>i get no error
[20:22]<grdnpnss|rpc>so.. should be ok then?
[20:22]<grdnpnss|rpc>back in 20 mins
[20:22]<grdnpnss|rpc>so far
[20:22]<grdnpnss|rpc>so confusing :s
[20:26]<prffjuv>well, no error on the console does not necessarily mean everything is ok- but it may be a start.
[20:44]<grdnpnss|rpc><o>
[21:07]<grdnpnss|rpc>ok i improved teh errors :P
[21:07]<grdnpnss|rpc>Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0/lib/tools.jar
[21:07]<grdnpnss|rpc>Buildfile: build.xml does not exist!
[21:07]<grdnpnss|rpc>Build failed
[21:07]<grdnpnss|rpc>:P
[21:11]<prffjuv>ruh roh
[21:11]<prffjuv>find / -name tools.jar ?
[21:12]<prffjuv>and echo $JAVA_HOME
[21:13]<grdnpnss|rpc>it is present
[21:13]<grdnpnss|rpc>but i guess its not in the path?
[21:13]<grdnpnss|rpc>atleast according to the error i get
[21:13]<prffjuv>sounds like that is the case.
[21:13]<prffjuv>where is it?
[21:13]<grdnpnss|rpc>find: /-name: No such file or directory
[21:13]<grdnpnss|rpc>find: tools.jar: No such file or directory
[21:13]<grdnpnss|rpc>find: ?: No such file or directory
[21:13]<prffjuv>what os?
[21:13]<grdnpnss|rpc>/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/lib/tools.jar
[21:13]<grdnpnss|rpc>linux
[21:13]<prffjuv>what distro?
[21:14]<grdnpnss|rpc>ubuntu
[21:15]<prffjuv>that command was "find / -name tools.jar"
[21:15]<prffjuv>if you have gnu find utils
[21:16]<prffjuv>what do you have $JAVA_HOME set to?
[21:16]<grdnpnss|rpc>JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/
[21:17]<prffjuv>was that the only tools.jar it found?
[21:17]<grdnpnss|rpc>yes
[21:17]<grdnpnss|rpc>if i do locate tools.jar
[21:17]<grdnpnss|rpc>thats the only tools.jar
[21:17]<prffjuv>k.
[21:21]<cnsv>you probably should have $JAVAHOME/bin in your path
[21:21]<cnsv>err $JAVA_HOME/bin ... but you get the idea
[21:24]<cnsv>and it should be before any of the regular path elements, since you also have gcj installed and don't want to get those two mixed up
[21:25]<grdnpnss|rpc>kesV dont get me wrong.. but i dont get the idea, i was already pretty like.. wtf i get my computer working with ubuntu :P
[21:25]<prffjuv>nameless|afk: you have both gnu java and sun's java installed from the sounds of it
[21:26]<prffjuv>and that can be rather problematic.
[21:26]<grdnpnss|rpc>ah :P
[21:26]<prffjuv>so see $PATH
[21:26]<grdnpnss|rpc>thats rather possible.. i installed a 86mb package
[21:26]<grdnpnss|rpc>and a 36mb package
[21:26]<prffjuv>and you probably want sun's java first.
[21:26]<grdnpnss|rpc>well just 1 i think i'm happy with :P







