To test that you've correctly set the paths, open a command window and type
'cd %java_home%'.  This should put you in the java home dir.  Then try 'cd
%catalina_home%.  If this puts you in the Tomcat home dir, you're good so
far.  Now, type 'catalina run'.  This should start tomcat in the same
window, and if it still fails to start, you'll have a trace to look at for
further clues.

Wendell


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 12:03 PM
To: [EMAIL PROTECTED]
Subject: RE: Installation problem


How are you starting Tomcat? You maybe should try setting the variables
globally via Windows Environment settings (on Windows XP, right-click on My
Computer, select Properties, Advanced tab, Environment Variables button).
Add entries under System variables for CATALINA_HOME and JAVA_HOME here and
then try starting tomcat. It may not be picking up your environment variable
changes and thus won't start. Not sure if Tomcat 5 supports it, but you
could also try running the Set commands then starting tomcat manually by
running tomcat 5.0/bin/startup...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 19, 2003 2:02 PM
To: Tomcat Users List
Subject: RE: Installation problem


Hi angelina,

Tried as told.

set the path in the older windows way, but still finding the same flickering
window.

if i type manually
"http://127.0.0.1:8080/";
i get page cannot be displayed message.

Dont know what to do. 

Hoping to recover from this problem

Please help.

Thanks in anticipation

> 
> Sometimes we've had problems with older Tomcats on Windows because of 
> the space in the path name for your environment variable. I'd bet it'd 
> help here too.
> 
> Try doing it the old Windows way, like this:
> 
> c:\>Set CATALINA_HOME=C:\Progra~1\Apache~1\Tomcat~1.0
> c:\>Set JAVA_HOME=C:\Progra~1\j2sdk_nb\j2sdk1.4.2
> 
> BTW, you can double-check these from a Windows command
> prompt by running dir /X.
> 
> Good luck!
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 19, 2003 1:30 PM
> To: Tomcat Users List
> Subject: Re: Installation problem
> 
> 
> Hi Harry,
> 
> Did as told.
> 
> c:\>Set CATALINA_HOME=C:\Program Files\Apache Software 
> Foundation\Tomcat 5.0
> 
> c:\>Set JAVA_HOME=C:\Program Files\j2sdk_nb\j2sdk1.4.2
> 
> Still i am getting this flickering screen.
> 
> Please tell me how to solve this problem.
> 
> Thanks in anticipation
> 
> > 
> > Hello
> > 
> > > I changed that path name to
> > > 
> > > "C:\Program Files\j2sdk_nb\j2sdk1.4.2"
> > 
> > If you are talking about your $PATH system environment variable, the  
> > setting should be:
> > 
> > "C:\Program Files\j2sdk_nb\j2sdk1.4.2\bin"
> > 
> > > Til now , I didnt try to create any path for JAVA_HOME AND 
> > > CATALINA_HOME, do i have to do that?
> > 
> > You need both. JAVA_HOME should be:
> > 
> > "C:\Program Files\j2sdk_nb\j2sdk1.4.2"
> > 
> > CATALINA_HOME should be the root-installation folder for Tomcat,  
> > wherever it is - analogous to JAVA_HOME.
> > 
> > Good luck!
> > 
> > Harry Mantheakis
> > London, UK
> > 
> > 
> > > I uninstalled and reinstalled tomcat still
> > > experiencing the same flickering window error.
> > > 
> > > While installing tomcat during the JVM path selection
> > > the default path listed was
> > > 
> > > "C:\Program Files\Oracle\jre\1.1.7"
> > > 
> > > I changed that path name to
> > > 
> > > "C:\Program Files\j2sdk_nb\j2sdk1.4.2"
> > > 
> > > Til now , I didnt try to create any path for JAVA_HOME AND 
> > > CATALINA_HOME, do i have to do that?
> > > 
> > > Your help is most appreciated..
> > > 
> > > Thanks in anticipation.
> > > 
> > > bfn
> > >> 
> > >> Try uninstalling, and then re-installing Tomcat.  It
> > should then  >> pick up your J2SDK install path.  If
> > this doesn't work, then try  >>
> "�TALINA_HOME%\bin\catalina run"
> > , >> and post the error messages on the list for more
> > help. >>
> > >> <[EMAIL PROTECTED]> wrote in message
> > >> news:[EMAIL PROTECTED]
> > >>> Sorry to bother you with this elementary question.
> > But being a  >>> neebie I am finding difficulties in installing >> 
> > tomcat 5.0 >
> > >>> 1. I ran the installation file for installing the
> > tomcat >>> 5.0.
> > >>> 2. Then I ran the j2sdk setup file , since tomcat
> > was asking for a  >>> JVM. 3.
> > >>> i. Now, i clicked the "Start Tomcat" icon the
> > windows >>> key + Program files + Apache tomcat. I find
> > a window >>> disappearing as soon as it appears.
> > >>> 
> > >>> ii. I tried again by running the catalina.bat or
> > startup.exe file  >>> icon in the bin folder of tomcat. Again >>> , 
> > i find the disappearing window.
> > >>> 
> > >>> iii. Even if i run that file in the command prompt i
> > am >>> getting the same response.
> > >>> 
> > >>> I also need to know as to how I could allow a friend
> > access my  >>> files via the browser. i.e where should i make >>> 
> > the appropriate modifications to allow him to view my >> files. >
> > >>> 
> > >>> Your help will be most appreciated.
> > >>> 
> > >>> Thanks for your help inanticipation
> > 
> > 
> >
> >
> ----------------------------------------------------------
> > ----------- To unsubscribe, e-mail:
> [EMAIL PROTECTED] For additional
> > commands,  e-mail: [EMAIL PROTECTED]
> >
> 
> ----------------------------------------------------------
> ----------- To unsubscribe, e-mail: 
> [EMAIL PROTECTED] For additional commands, 
> e-mail: [EMAIL PROTECTED]
> 
> ----------------------------------------------------------
> ----------- To unsubscribe, e-mail: 
> [EMAIL PROTECTED] For additional commands, 
> e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to