apache & tomcat on xserve leopard

2008-07-20 Thread Dave
Hi, I have a new xserve and it is running both apache and tomcat But it doesn't seem like they are hooked together. I am looking to deploy open bluedragon via war file with tomcat and still use apache to server up coldfusion 8. If I edit the files manually it works fine but the issue is that

Re: Tomcat 5.5 help needed

2008-07-20 Thread Deepak Mishra
On Mon, 21 Jul 2008 11:37:20 +0530, suman <[EMAIL PROTECTED]> wrote: Any idea wht's going wrong here. Please let me know how to start and stop this server like we do for other daemons. e.g /etc/init.d/httpd start /etc/init.d/httpd stop etc. for starting/stopping tomcat you should try: sudo s

Tomcat 5.5 help needed

2008-07-20 Thread suman
Hello, I install Apache 5.5 on Ubuntu as super user. I also do following: I also create executable tomcat in /etc/init.d with following contents: export JAVA_HOME=/sw/jdk1.5.0_16 export PATH=$JAVA_HOME/bin:$PATH export CATALINA_HOME=/sw/tomcat55 cd $CATALINA_HOME ./bin/jsvc -Dj

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
Hi Andre, Thanks a lot for your help and time , i really appreciate your patience to explain me everything step by step. I did the exactly what u suggested. I have tomcat running on port 9080(as well as 8180) and 8009 is ajp listner. http://www.jaatmusic.com:9080 http://www,jaatmusic.com:8180

SOLVED Re: p6Spy logging

2008-07-20 Thread Tokajac
I solved the problem: Tokajac wrote: > > Hello, > > > I want to log my Tomcat app with > http://www.p6spy.com/ > > I did the setup as it is told on the website, but it's still not working. > My configuration in the app's META-INF/context.xml is: > > dr

Re: Multiple websites in tomcat

2008-07-20 Thread André Warnier
Do not despair. If you have removed the Alias line, it is totally normal that your first link does not work. That's because in your case that link is *supposed* to be served by Apache, but there is no file to serve at /usr/java/tomcat-5.5/webapps/servlets-examples/servlet/HelloWorldExample (a

Re: [OT] Performance Requirements

2008-07-20 Thread Leon Rosenberg
Thank you all for the answers and please apologize my late answer, my family obligated me to a 10 day vacation without internet... I added Franks recommendation (mainly because it was the first to come :-)) to my recommendations to the client, and we both thought them reasonable... However, now he

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
ya thats true propblems gives u more knowledge..but this one is killing me :) i have removed the alias line too. now none of the link is working :( I dont know whats wrong now httpd.conf has only this line JkMount /ex/servlet/HelloWorldExample testWorker. I really dont know what i am mis

Re: in need of concepts

2008-07-20 Thread Filip Hanik - Dev Lists
start out by taking some servlet tutorials, if you understand servlets and web application archives (WAR) then tomcat wont be confusing anymore. Filip Deepak Mishra wrote: hi, i am pretty new to tomcat. currently i have tomcat6 on ubuntu-linux. i have pursued some books on tomcat , but they ca

p6Spy logging

2008-07-20 Thread Tokajac
Hello, I want to log my Tomcat app with http://www.p6spy.com/ I did the setup as it is told on the website, but it's still not working. My configuration in the app's META-INF/context.xml is: spy.properties is in {TomcatHome}/common/classes folder p6spy.jar is in {TomcatHome}/co

RE: some concepts needed

2008-07-20 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: some concepts needed > > jsp files are compiled first to .java source code and then > further compiled to .class files (servlets to be specific). Jasper does the translation from .jsp to .java; it can be configured in conf/web.xml to us

Re: some concepts needed

2008-07-20 Thread Deepak Mishra
thanks a lot david, just one last query (if i a mnot irritating you), when you say that tomcat has its "own" compiler, then you mean a compiler other than jasper ..right ?? On Sun, 20 Jul 2008 23:55:35 +0530, David Smith <[EMAIL PROTECTED]> wrote: as you said, tomcat has a java compiler for c

Re: some concepts needed

2008-07-20 Thread David Smith
as you said, tomcat has a java compiler for compiling jsp -> servlets "called" jasper. this is what i read in the wikipedia : "Jasper parses JSP files to compile them into Java code as servlets" by that definition, is it right to call jasper a java compiler ?? it is just a jsp parser, and it can

Re: some concepts needed

2008-07-20 Thread Deepak Mishra
as you said, tomcat has a java compiler for compiling jsp -> servlets "called" jasper. this is what i read in the wikipedia : "Jasper parses JSP files to compile them into Java code as servlets" by that definition, is it right to call jasper a java compiler ?? it is just a jsp parser, and it c

Re: some concepts needed

2008-07-20 Thread David Smith
BTW: java is the JVM, javac is the compiler. David Smith wrote: Tomcat does have a java compiler (jasper) to compile jsp pages to servlets, but it also needs a JVM (java). Setting CLASSPATH is a big no-no. Put any required jars your webapp might need in the proper place. If you use tomcat

Re: some concepts needed

2008-07-20 Thread David Smith
Tomcat does have a java compiler (jasper) to compile jsp pages to servlets, but it also needs a JVM (java). Setting CLASSPATH is a big no-no. Put any required jars your webapp might need in the proper place. If you use tomcat's internal pooling for db connections, that means putting driver j

some concepts needed

2008-07-20 Thread Deepak Mishra
hi, i am pretty new to tomcat. currently i have tomcat6 on ubuntu-linux. i have pursued some books on tomcat , but they cant help me getting some concepts, they simply point to "using tomcat" here is one of my doubts i got during database connection.. does tomcat have its own java compiler ?

in need of concepts

2008-07-20 Thread Deepak Mishra
hi, i am pretty new to tomcat. currently i have tomcat6 on ubuntu-linux. i have pursued some books on tomcat , but they cant help me getting some concepts, they simply point to "using tomcat" here is one of my doubts i got during database connection.. does tomcat have its own java compiler ?

Re: Apache 2.2.8+tomcat 6.0.16+Window vista & http 404

2008-07-20 Thread David Smith
my mod_jk.conf looks like somthing like this: LoadModule jk_module "C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so" JkWorkersFile "C:/softwares/Apache/apache-tomcat-6.0.16/apache-tomcat-6.0.16/conf/jk/workers.properties" JkLogFile "C:/softwares/Apache/apache-tomcat-6.

Re: Multiple websites in tomcat

2008-07-20 Thread André Warnier
The good news is that you will learn more by encountering problems and solving them, than if everything worked correctly on the first pass. Ravi Sharma wrote: [...] Alias /ex /usr/java/tomcat-5.5/webapps/servlets-examples JkMount /ex/servlet/* testWorker I think that the two lines above conf

Re: Multiple websites in tomcat

2008-07-20 Thread Ravi Sharma
Thanks Andre. I fixed the file and now my code looks like as follows but still my servlets are not being called. Basically apache is not passing requests to tomcat, only Alias is working but not JkMount *So now my worker's file looks like this, i added testWorker* worker.list=wlb,jkstatus,testWo