This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

tcserver installed in wrong location

Just downloaded tcserver. Installation of the AMS admin server and agent seems to have been successful, but when I try to install a tcserver instance, the instance is created on the wrong drive.

The run.bat file is in a folder on the D: drive, but during the installation process I specified C:\Program Files\tcserver as the location for the install. This seems to have been ignored and the instance has been created in the location where the run.bat file is running. The specified folder does exist and must be writable because that is where the AMS components have been created.

Comment

Excellent - thank you. When I looked in wrapper.conf in the directory structure of the SpringSource layout tcserver instance created, the line in there said set JAVA_HOME=C:\Program so it looks like there is a problem in the code creating the tcserver instances. Once I amended that to the correct path the server started successfully.

Comment

Just downloaded tcserver. Installation of the AMS admin server and agent seems to have been successful, but when I try to install a tcserver instance, the instance is created on the wrong drive.

The run.bat file is in a folder on the D: drive, but during the installation process I specified C:\Program Files\tcserver as the location for the install. This seems to have been ignored and the instance has been created in the location where the run.bat file is running. The specified folder does exist and must be writable because that is where the AMS components have been created.

Hi bevr,
To go back to your original problem, I think you may have failed to put quotes around your install path. Any time you install into a path with spaces, you're going to need to wrap it in quotes.

-Dan

Comment

Thanks for your help, Jason. Finally got the AMS Server starting up and made the suggested changes in the AMS Agent bat file.

Had a slight further issue when starting up an agent for the first time because the script and some of the documentation says that the default AMS admin password is blank. However, other docs say correctly that it is the same as the username i.e. hqadmin.

So, I finally have a product to play with - thanks for the help.

dcarwin - I think you're probably right and at some stage I may go through the process again with the double quotes around the Java home path to see whether this solves all the problems. But, as C:\Program Files is given as the default path, it would be nice if the script reminded you that Windows needs double quotes around such paths.