> -----Original Message-----
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Sent: Tuesday, July 13, 2010 8:27 AM
> To: Tomcat Users List
> Subject: RE: Tomcat not working after moving installation folder
> 
> > From: André Warnier [mailto:a...@ice-sa.com]
> > Subject: Re: Tomcat not working after moving installation folder
> >
> > Kannan J wrote:
> > > I ran out of disk space on C: so I moved C:\Tomcat5.5 to
> D:\Tomcat5.5
> > and also edited the executable path in the windows service registry.
> 
> Probably not a safe way to do it, since you likely didn't find
> everything that needed changing.  The best thing to do (besides getting
> a bigger disk drive) is to remove the existing service by running
> "service.bat remove", then reinstall it with "service.bat install".  If
> you don't have the service.bat script in your download, get the .zip
> form of Tomcat and extract it from there.
> 
> > > Listening for transport dt_socket at address: 8000
> >
> > This does not really look like a Tomcat message (but I may
> > be wrong here).
> 
> It's from the Windows service wrapper, not Tomcat itself.
> 
> > Maybe you overlooked the fact that the system variable CATALINA_HOME
> is
> > still set to the C:\tomcat5.5 directory ?
> 
> Environment variables are not used when running Tomcat as a Windows
> service, to that's not relevant.
> 
>  - Chuck

Actually, CATALINA_HOME is used, it's just set in the registry instead of as a 
environment variable.  It's set in the Procrun portion of the tree.
It does appear that he didn't make all the changes needed in the registry.  The 
easiest way is to correct this is to do as Chuck says and use the service.bat 
script to do a remove and reinstall.  The second easiest method is to make all 
the corrections useing the "Configure Tomcat" option and changing all the 
appropriate paths you find there.  There also appear to be two locations in the 
registry tree for Tomcat, one is under the SERVICES, "ImagePath", and the other 
is under SOFTWARE, "InstallPath", though I can't tell you for sure that this 
one needs to be changed.
Do yourself a favor and follow Chuck's instructions.

__________________________________________________________________________

Confidentiality Notice:  This Transmission (including any attachments) 
may contain information that is privileged, confidential, and exempt from 
disclosure under applicable law.  If the reader of this message is not 
the intended recipient you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly prohibited.  

If you have received this transmission in error, please immediately reply 
to the sender or telephone (512) 343-9100 and delete this transmission 
from your system.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to