Re: beginer question abt JSP with Tomcat

2007-09-14 Thread David Smith
Not without source code. What's your jsp example look like? --David minky arora wrote: AND I also tried running my own JSP example file and this is wat I get: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar file

Re: beginer question abt JSP with Tomcat

2007-09-14 Thread Pid
minky arora wrote: > AND I also tried running my own JSP example file and this is wat I get: > org.apache.jasper.JasperException: The absolute uri: > http://java.sun.com/jsf/html cannot be resolved in either web.xml or > the jar files deployed with this application > > org.apache.jasper.comp

Re: beginer question abt JSP with Tomcat

2007-09-14 Thread Pid
minky arora wrote: > OK..as expected , I may need little more help. > > I am trying to shutdown Tomcat and am getting the foll: > *** > RNAi:/users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin > meenaksharora$ ./shutdown.sh > Using CATALINA_BASE: /users/meenaksharora/java/tomcat/apache

Re: beginer question abt JSP with Tomcat

2007-09-14 Thread minky arora
AND I also tried running my own JSP example file and this is wat I get: org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application org.apache.jasper.compiler.DefaultErrorHandler.jspE

Re: beginer question abt JSP with Tomcat

2007-09-14 Thread minky arora
OK..as expected , I may need little more help. I am trying to shutdown Tomcat and am getting the foll: *** RNAi:/users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin meenaksharora$ ./shutdown.sh Using CATALINA_BASE: /users/meenaksharora/java/tomcat/apache-tomcat-6.0.14 Using CATALINA_HOM

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
Hey Chris, Yes that Index.JSP works for me...it takes me to the home page of Tomcat. Also, just to let u knw wat I have in my Webapps: I see ROOT, examplesdocs,manager,host-manager Under examples i see a folder called JSP, another called Servelets and one index.html file and another folder calle

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
GREAT NEWSS... the JSP date example works..i have only tested the date exampls soo far aand after the HUGEE help that I got from everyone, I am thrilled.Thanks a lot evryone..at this point it is working,..I hope it stays that way.. i thing i DID change though. I changed my JAVA_HOME to /usr/bin

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Minky, minky arora wrote: > AS per christopher's intructions: Excellent. Everything looks good, and Tomcat appears to be running. These lines: > Sep 13, 2007 11:10:05 AM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Brian Munroe
Oops, I stand corrected, as I see further along in the thread that JAVA_HOME is pointing to where I suggested. See I knew I shouldn't have jumped in here! :) -- brian On 9/13/07, Brian Munroe <[EMAIL PROTECTED]> wrote: > On 9/11/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > > > > > ?? On my

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Hassan Schroeder
On 9/13/07, minky arora <[EMAIL PROTECTED]> wrote: > Sep 13, 2007 11:10:05 AM org.apache.coyote.http11.Http11Protocol start > INFO: Starting Coyote HTTP/1.1 on http-8080 > Sep 13, 2007 11:10:05 AM org.apache.jk.common.ChannelSocket init > INFO: JK: ajp13 listening on /0.0.0.0:8009 > Sep 13, 2007 1

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Brian Munroe
On 9/11/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > > ?? On my Mac (OS X.4.10) $JAVA_HOME is: > > /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0 > Hi everyone. I don't mean to cloud the discussion with a possible non-issue, but for fun, I just tried defining my JAVA_HOME as y

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
AS per christopher's intructions: Catalina.out Sep 13, 2007 11:10:03 AM org.apache.catalina.core.AprLifecycleListener init INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Minky, minky arora wrote: > SO, when i shutdown tomcat, using > $CATALINA_HOME/bin/shutdown.sh > > it says no such file or dir... Really? Where? I don't see such a message in your attached console output. I'm guessing that $CATALINA_HOME is not set

RE: beginer question abt JSP with Tomcat

2007-09-13 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > SO, when i shutdown tomcat, using > $CATALINA_HOME/bin/shutdown.sh > > it says no such file or dir... Because you don't have CATALINA_HOME set (nor do yo

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread Hassan Schroeder
On 9/13/07, minky arora <[EMAIL PROTECTED]> wrote: > SO, when i shutdown tomcat, using > $CATALINA_HOME/bin/shutdown.sh > > it says no such file or dir... then likely your CATALINA_HOME isn't set. > and if I do ./shutdown.sh, then I get the foloowing. > Sep 13, 2007 10:09:22 AM org.apache.catali

Re: beginer question abt JSP with Tomcat

2007-09-13 Thread minky arora
upgrade your commons-logging package to 1.0.4 or point your JAVA_HOME to a 1.3 JRE. * On 9/12/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: minky arora [mailto:[EMAIL PROTECTED] > > Subject: Re: beginer question abt JSP with Tomcat > > > > I d

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > the home page opens at http://localhost:8080/ That just doesn't jibe with this: > > > Sep 11, 2007 6:15:24 PM org.apache.catalina.connector.Connector stop > > > SEVERE: Coyote connector has not been started Please stop Tomcat, clear your logs

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > I did...there IS an entry...sorry forgot to mention that.it is there > in hosts file.And I also checked with the loopback address, same issue > there..."afari can&

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
the home page opens at http://localhost:8080/ I am guessing that this means that Tomcat is running, as per wat I read . On 9/12/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > > > safari shows the message: > > Safari can't open the page > > "

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > safari shows the message: > Safari can't open the page > "http://localhost:8080/examples/jsp/dates/dates.jsp"; because it could > not connect to the server "localhost". > > The log file is as follows: > * > > at > org.apache.catalina.st

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
t;127.0.0.1". On 9/12/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > From: minky arora [mailto:[EMAIL PROTECTED] > > Subject: Re: beginer question abt JSP with Tomcat > > > > Safari can't open the page > > "http://localhost:8080/examples/jsp

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Safari can't open the page > "http://localhost:8080/examples/jsp/dates/dates.jsp"; because it could > not connect to the server "localhost". We alread

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
I am trying to run few example scripts that come with Tomcat.. The URL is http://localhost:8080/examples/jsp/dates/dates.jsp safari shows the message: Safari can't open the page "http://localhost:8080/examples/jsp/dates/dates.jsp"; because it could not connect to the server "localhost". The log f

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > I am not sure as its the same problem still.Tomcat is running on > Localhost::8080.but JSP is not. What do you mean by that? Pick one of the example JSPs and send us the URL you tried, describe what happened, and send the relevant part of the l

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
JSP is not running. On 9/12/07, Propes, Barry L <[EMAIL PROTECTED]> wrote: > are your paths set correctly now? > > -Original Message- > From: minky arora [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 12, 2007 11:17 AM > To: Tomcat Users List > Subject: R

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Propes, Barry L
are your paths set correctly now? -Original Message- From: minky arora [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 11:17 AM To: Tomcat Users List Subject: Re: beginer question abt JSP with Tomcat OK..I followed all the steps..All well..but JSP is not running...Foll are

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, Pid <[EMAIL PROTECTED]> wrote: > To be more precise, you may not need to *manually* set JRE_HOME. > My OSX install didn't require it to be configured, neither is it > available as a shell variable. Interesting. I'm so used to manually setting it that it's automatic :-) So, if the OP

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Pid
Caldarale, Charles R wrote: >> From: Pid [mailto:[EMAIL PROTECTED] >> Subject: Re: beginer question abt JSP with Tomcat >> >> You may not need to set JAVA_HOME in this case, and can probably >> comment the references to it out, in your 'profile' file.

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Minky, minky arora wrote: > RNAi:/users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin > meenaksharora$ ./startup.sh > Cannot find > /Systems/Library/Frameworks/JavaVM.framework/Versions/1.5.0/bin/setclasspath.sh > This file is needed to run this

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > yes i can still open the tomcat welcome page.. > > If i use localhost / 127.0.0.1..same error ?? If Tomcat's not running, and Safari 404s trying to access it, how can you "still open the tomcat welcome page"??? -- Hassan Schroeder

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
somethin new...I am trying to do ./startup.sh I see something else here: RNAi:/users/meenaksharora/java/tomcat/apache-tomcat-6.0.14/bin meenaksharora$ ./startup.sh Cannot find /Systems/Library/Frameworks/JavaVM.framework/Versions/1.5.0/bin/setclasspath.sh This file is needed to run this

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Safari can't open the page > "http://localhost:8080/screensaver/jsp/header.jsp"; because it could > not connect to the server "localhost". That jus

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
and specify the port as in http://localhost:8080/screensaver/jsp/header.jsp same thing.. Safari can't open the page "http://localhost:8080/screensaver/jsp/header.jsp"; because it could not connect to the server "localhost". *** On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > yes i

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
yes i can still open the tomcat welcome page.. If i use localhost / 127.0.0.1..same error On 9/12/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > > > Sep 12, 2007 12:23:43 PM org.apache.coyote.http11.Http11Protocol destroy > > INFO: Stopping

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread David Smith
Caldarale, Charles R wrote: From: minky arora [mailto:[EMAIL PROTECTED] Subject: Re: beginer question abt JSP with Tomcat Safari can't open the page "http://meenaksharora/screensaver/jsp/header.jsp"; because it can't find the server "meenaksharora"... This

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > Sep 12, 2007 12:23:43 PM org.apache.coyote.http11.Http11Protocol destroy > INFO: Stopping Coyote HTTP/1.1 on http-8080 Look at the above line -- Tomcat *isn't running*. You have to start it, and see that you can at least access the welcome pag

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Safari can't open the page > "http://meenaksharora/screensaver/jsp/header.jsp"; because it can't > find the server "meenaksharora"... T

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
Ok... java -version gives java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing) here is the o/p of tail catalina.log RNAi:/users/meenaksharora/java/tomcat/apache-to

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: Pid [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > You may not need to set JAVA_HOME in this case, and can probably > comment the references to it out, in your 'profile' file. The Tomcat startup scripts require either JAVA_H

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > yes...TC was running yesterday as well..JSP not running..ALso i had to > restart my comp and now echo JAVA_HOME is not giving anything..do i > have to do this each time? If you open a different shell, yes. But until you get your environment stra

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Pid
Hassan Schroeder wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > > OK, one more time: > >> export JAVA_HOME="watevr".but still nothing. > > First, open a new terminal window. The default OS X shell is > tcsh, so first thing type "bash". (erm, why?) > At the next prompt type "

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
yes...TC was running yesterday as well..JSP not running..ALso i had to restart my comp and now echo JAVA_HOME is not giving anything..do i have to do this each time? Thanks for being so patient .. On 9/12/07, Hassan Schroeder <[EMAIL PROTECTED]> wrote: > On 9/12/07, minky arora <[EMAIL PROTECTED]>

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > OK..I followed all the steps..All well..but JSP is not running...Foll > are the log > Sep 12, 2007 10:55:12 AM org.apache.coyote.http11.Http11Protocol init > SEVERE: Error initializing endpoint > java.net.BindException: Address already in use:80

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
OK..I followed all the steps..All well..but JSP is not running...Foll are the log >From Localhost: Sep 12, 2007 10:19:15 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Sep 12, 2007 10:19:15 AM org.apache.catalina.core.ApplicationContext log INFO: Ses

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: OK, one more time: > export JAVA_HOME="watevr".but still nothing. First, open a new terminal window. The default OS X shell is tcsh, so first thing type "bash". At the next prompt type "echo $JAVA_HOME". If that returns nothing, type "expo

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
Sorry but I am pasting an output from my Profile file where I am trying to include JAVA_HOME.I tried changing from command line using export JAVA_HOME="watevr".but still nothing. * # System-wide .profile for sh(1) PATH="/bin:/sbin:/usr/bin:/usr/sbin" export PATH JAVA_HOME

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread Hassan Schroeder
On 9/12/07, minky arora <[EMAIL PROTECTED]> wrote: > Yes I have changed the JAVA_HOME but still its not working.Is it > possible to over-ride the JRE_HOME in some way or to delete it > completely.I think thats wat causing confusion and I guess for TC, > JAVA_HOME needs to be set, JRE_HOME is not im

RE: beginer question abt JSP with Tomcat

2007-09-12 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Is it possible to over-ride the JRE_HOME in some way > or to delete it completely. You're in complete control of the environment variables for your process. > I

Re: beginer question abt JSP with Tomcat

2007-09-12 Thread minky arora
Yes I have changed the JAVA_HOME but still its not working.Is it possible to over-ride the JRE_HOME in some way or to delete it completely.I think thats wat causing confusion and I guess for TC, JAVA_HOME needs to be set, JRE_HOME is not important..is that right? On 9/11/07, Hassan Schroeder <[EMA

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread Hassan Schroeder
On 9/11/07, minky arora <[EMAIL PROTECTED]> wrote: > Using JRE_HOME: /Library/Java/Home > Pls guide me on wat all paths to change , if any?? Did you /try/ using the JAVA_HOME setting I previously sent? -- Hassan Schroeder [EMAIL PROTECTED] --

RE: beginer question abt JSP with Tomcat

2007-09-11 Thread Caldarale, Charles R
> From: minky arora [mailto:[EMAIL PROTECTED] > Subject: Re: beginer question abt JSP with Tomcat > > Using JAVA_HOME: /System/Library/Frameworks/JavaVM/Versions/1.3.1/Home Tomcat 6 requires JRE 1.5 or later. You should delete that ancient version, install a proper one, set J

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread minky arora
I guess simply put, this is wat i get when i run startup.sh for Tomcat * Using CATALINA_BASE: /Users/meenaksharora/java/tomcat/apache-tomcat-6.0.14 Using CATALINA_HOME: /Users/meenaksharora/java/tomcat/apache-tomcat-6.0.14 Using CATALINA_TMPDIR: /Users/meenaksharora/java

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread Hassan Schroeder
On 9/11/07, minky arora <[EMAIL PROTECTED]> wrote: > sorry the files are here. You can't send attachments to the list. Stop TC, delete your logs, restart and go to one page to generate the error; paste the result into your mail. > > Sorry I am really confused as to how to connect JAVA and tomcat

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread minky arora
sorry the files are here. On 9/11/07, minky arora <[EMAIL PROTECTED]> wrote: > I am attching the 2 log files: one for localhost and the other for > catalina logs.I am sorry cnt figure out much as I am really a Newbie. > > As for the context part, I was following point-point instructions > online t

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread minky arora
I am attching the 2 log files: one for localhost and the other for catalina logs.I am sorry cnt figure out much as I am really a Newbie. As for the context part, I was following point-point instructions online to test the first JSP files from the Dates folder..And it says that if that doesnt run,

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread Hassan Schroeder
On 9/11/07, minky arora <[EMAIL PROTECTED]> wrote: > Yes I can see the welcome page.HOWEVERR If i run the date.jsp or any > other exapmles provided by tomcat then I get, > > ype Status report > > message /tomcat-docs/config/context.html That's not a JSP page, eh? Have you confirmed that the contex

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread minky arora
Yes I can see the welcome page.HOWEVERR If i run the date.jsp or any other exapmles provided by tomcat then I get, ype Status report message /tomcat-docs/config/context.html description The requested resource (/tomcat-docs/config/context.html) is not available. On 9/11/07,

Re: beginer question abt JSP with Tomcat

2007-09-11 Thread Hassan Schroeder
On 9/11/07, minky arora <[EMAIL PROTECTED]> wrote: > I am not able to run the examples/dates/date.jsp files and the like. ? Does Tomcat start? Can you see the default welcome page in your browser? If not, what is in the logs? If so, what do you mean by "not able to run ..."? Symptom(s)? Log outp

beginer question abt JSP with Tomcat

2007-09-11 Thread minky arora
Hi ALl. I have installed Tomcat 6.0.14 on my MAC OSX.It is running Java version 1.5 I am not able to run the examples/dates/date.jsp files and the like. SO far I have done EXPORT JAVA_HOME=/usr/bin/java i am not sure what I need to do to get this going or rather wat all i need to check, which P