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: 1992.93 MB
Powered by
Channel Info
Network: freenodeChannel: #tomcat |
Search in www.irclog.org
Log from #tomcat at freenode 2006-07-04
[13:46]<_mzcjw_>i just have a question: i follow a tutorial from onjava, and it uses ant to create a war file, and unpack it into tomcat, why create a war file and then use ant to unpack it into tomcat instead of just write everything into tomcat without using ant?
[13:46]<_mzcjw_>maybe it's a stupid question, but i just wonder
[13:46]<_mzcjw_>:)
[14:03]<frrrfd_>why not deploy the war to begin with?
[14:03]<_mzcjw_>i dont see the usage of creating the war file:S
[14:04]<frrrfd_>it makes stuff easier, and it's not all the time you've shell on your app server
[14:04]<_mzcjw_>true
[14:04]<_mzcjw_>ok, then i understands that, but i get an error when i run ant install
[14:05]<_mzcjw_>i get a java.net.ConnectException: Connection refused
[14:38]<sldncnd>hello!
[14:38]<sldncnd>in my docs they write: "Use Tomcat Manager for deploying xinco.war on your server"
[14:38]<sldncnd>what do they mean with that?
[14:39]<fdcgg>tomcat has an app called the tomcat manager
[14:39]<fdcgg>and when thats installed and setup
[14:39]<fdcgg>you log into the manager and youc an deployr your .war file by simply uploading it
[14:40]<sldncnd>so the tomcat manager is some sort of admin webinterface for tomcat?
[14:40]<drssygn>spiekey, yes dont forget that you need to create a manager role first and assign it to your main user
[14:41]<drssygn>otherwise you wont be able to access the manager application
[14:41]<sldncnd>i see.
[14:41]<drssygn>when everything is done http://localhost:8080/manager/html/list log in et voila :)
[14:42]<fdcgg>in otherwords 'add one line to the tomcat-users.xml file in the conf dir'
[14:42]<drssygn>lyken, i will add this point to my collection too :)
[14:45]<_mzcjw_>where can i find the packages javax.servlet?
[14:45]<_mzcjw_>does it come with tomcat?
[14:48]<fdcgg>it should..
[14:48]<_mzcjw_>i cant find it, i set the classpath to $CATALINA_HOME/common/lib
[14:49]<drssygn>lyken, do you have skype ?
[14:49]<fdcgg>no
[14:49]<drssygn>_MrCox_, where did you set the classpath ?
[14:49]<drssygn>:/ oki
[14:49]<_mzcjw_>to tomcat_home/common/lib
[14:49]<drssygn>i just wanted to test something
[14:50]<drssygn>in catalina.properties ?
[14:51]<_mzcjw_>yassine: i set the classpath in /etc/environment
[14:51]<drssygn>ahh okay
[14:51]<drssygn>so you are trying to make that packages available server wide
[14:52]<_mzcjw_>yes
[14:52]<_mzcjw_>or is it some way to set the classpath to the javax.servlet lib's so i just can use em with tomcat?
[14:52]<_mzcjw_>and if so, how and where do i do that?
[14:52]<drssygn>you can see in the catalina.properties since they set the classpath there and maybe you will finde there where the package in question is beeing loader from
[14:53]<sldncnd>"FAIL - Invalid application URL /tmp/xinco.war was specified" -> why is that?
[14:53]<_mzcjw_>where can i find catalina.properties?
[14:53]<drssygn>in $CATALINA_HOME/bin
[14:54]<drssygn>i think
[14:54]<drssygn>have a look there please
[14:54]<_mzcjw_>nope
[14:54]<_mzcjw_>:( i also looked in $CATALINA_HOME/conf
[14:54]<_mzcjw_>isn't there either
[14:54]<_mzcjw_>:(
[14:55]<drssygn>one sec
[14:55]<_mzcjw_>but the classpath for JAVA_HOME for tomcat is set in /etc/default/tomcat5 and in the startup script under init.d
[14:55]<_mzcjw_>installed tomcat with .deb
[14:55]<drssygn>mhh
[14:55]<drssygn>i have it in the conf directory
[14:56]<_mzcjw_>it was there when i installed tomcat for 1 year ago, but then i installed it from source, not with .deb
[14:56]<drssygn>_MrCox_, avoid using distros packages (its just a ton of problems if its not well made)
[14:56]<_mzcjw_>k
[14:57]<_mzcjw_>but it seems like if i want to set the classpath only for tomcat i have to set it in /etc/default/tomcat5
[14:57]<_mzcjw_>:S
[14:57]<drssygn>its juts a suggestion i dont like using a differnt layout of application just to fit to the distro's layout im working on
[14:57]<_mzcjw_>but where can i find the javax.servlet packages?
[14:57]<_mzcjw_>yassine: true
[14:57]<_mzcjw_>but it's not my server:(
[14:58]<drssygn>mhh
[14:58]<_mzcjw_>if it had been i would installed tomcat from source
[14:59]<drssygn>_MrCox_, my catalina.properties looks like this: common.loader= ${catalina.home}/common/classes,\ ${catalina.home}/common/i18n/*.jar,\ ${catalina.home}/common/endorsed/*.jar,\ ${catalina.home}/common/lib/*.jar
[14:59]<drssygn>so i guess in one of these diretories the package is hiding
[14:59]<drssygn>im sorry need to go to work now
[14:59]<_mzcjw_>k, i'll try to set the classpath to these dir's
[14:59]<_mzcjw_>k, snx
[15:00]<_mzcjw_>thx for the help
[15:00]<_mzcjw_>:)
[15:57]<dzssygnwjzc>re *
[16:25]<erfrfjvvr>hello
[16:26]<erfrfjvvr>is there anyway to make tomcat a little bit more verbose on startup
[16:26]<erfrfjvvr>for some reason my tomcat won't startup anymore, but I can't determine why
[16:28]<dzssygnwjzc>zambaroo, start it manually and see what happens
[16:29]<dzssygnwjzc>are you one Windows or linux ?
[16:30]<dzssygnwjzc>zapalotta,
[16:30]<dzssygnwjzc>are you one Windows or linux ?
[16:33]<erfrfjvvr>yassinework: : MacOS
[16:33]<dzssygnwjzc>mhh
[16:33]<erfrfjvvr>yassinework: It used to work until I restarted the server
[16:33]<dzssygnwjzc>try to go to $CATALINA_HOME/bin
[16:33]<dzssygnwjzc>and start catalina.sh run
[16:33]<fdcgg>id assume cause java_home isnt set
[16:33]<erfrfjvvr>it is
[16:34]<dzssygnwjzc>try running catalina.sh run so you will get more log data on the console
[16:35]<erfrfjvvr>http://phpfi.com/127444
[16:36]<erfrfjvvr>The env Variables are OK, they are the same as the ones in my StartupItem
[16:36]<erfrfjvvr>it used to run before with these settings
[16:46]<erfrfjvvr>isn't there any way to increase the verbosity level for tomcat to tell me about the real Problem?
[16:48]<dzssygnwjzc>which version are you running ?
[16:48]<erfrfjvvr>5.5.17
[16:50]<fdcgg>how did you isntall tomcat?
[16:50]<dzssygnwjzc>have a look at have a look at logging.properties in conf







