URGENT PLZ: Not able to install ControlTier

34 views
Skip to first unread message

Khokhar

unread,
Feb 12, 2010, 9:40:05 AM2/12/10
to ControlTier
Greetings,

I know this is a very basic question but the fact is that I am unable
to intsall ControlTier on my machine, I am using jdk1.5 and using
ControlTier-3.4.9.jar file to install CT server and during
intsallation I also have tick start services checkup. Now once the
intsllation is complete following is what I get at the last step of
installation Step 10 of 12:

===========================================================================
C:\Documents and Settings\khokharm\Desktop>set JAVA_HOME=C:\Program
Files\Java\jdk1.5.0_15

C:\Documents and Settings\khokharm\Desktop>set CTIER_ROOT=C:\ctier

C:\Documents and Settings\khokharm\Desktop>cd "C:\ctier\pkgs
\ControlTier-3.4.9"

C:\ctier\pkgs\ControlTier-3.4.9>call INSTALL.BAT

-check-prereqs:
[echo] Using compatible Java version: 1.5

-pre-server-install:

-load-props:
[echo] System hostname: ukwy11303
[echo] Using CTIER_ROOT: C:\ctier
[echo] Using server HOSTNAME: ukwy11303
[echo] Using client HOSTNAME: ukwy11303

check-client-env:

check-server-env:

clean-client:

expand-client:
[mkdir] Created dir: C:\ctier\pkgs\ctl-1.4.9
[copy] Copying 2383 files to C:\ctier\pkgs\ctl-1.4.9
[copy] Copied 159 empty directories to 2 empty directories under
C:\ctier\pkgs\ctl-1.4.9

configure-client:
[mkdir] Created dir: C:\ctier\ctl
[mkdir] Created dir: C:\ctier\ctl\var\tmp\downloads
[exec] 'C:\Program' is not recognized as an internal or external
command,
[exec] operable program or batch file.

Setup failed.
C:\ctier\pkgs\ControlTier-3.4.9\etc\xml\install.xml:1272: C:\ctier\ctl
\etc not found.


C:\Documents and Settings\khokharm\Desktop>set JAVA_HOME=C:\Program
Files\Java\jdk1.5.0_15

C:\Documents and Settings\khokharm\Desktop>if NOT "true" ==
"true" (GOTO:EOF)

C:\Documents and Settings\khokharm\Desktop>CD "C:\Documents and
Settings\khokharm"

C:\Documents and Settings\khokharm>CALL CTIER.BAT
'CTIER.BAT' is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\khokharm>CD "C:\ctier\pkgs
\jetty-6.1.14\bin"
The system cannot find the path specified.

C:\Documents and Settings\khokharm>ECHO Installing jetty as a windows
service ...
Installing jetty as a windows service ...

C:\Documents and Settings\khokharm>Jetty-Service.exe --install jetty-
ctier-service.conf
'Jetty-Service.exe' is not recognized as an internal or external
command,
operable program or batch file.

C:\Documents and Settings\khokharm>ECHO Starting jetty...
Starting jetty...

C:\Documents and Settings\khokharm>start Jetty-Service.exe --start
jetty-ctier-service.conf
The system cannot find the file Jetty-Service.exe.

C:\Documents and Settings\khokharm>EXIT 0
==============================================================================

And following ERROR message displays:
Jetty-Service.exe
---------------------------
Windows cannot find 'Jetty-Service.exe'. Make sure you typed the name
correctly, and then try again. To search for a file, click the Start
button, and then click Search.
---------------------------
OK
---------------------------


CAN ANYONE HELP ME WITH THIS INSTALLATION PLEASE.

Regards,

Mujahid

Serban Alexe

unread,
Feb 12, 2010, 10:46:47 AM2/12/10
to ControlTier
Hello,

I belive the problem is that "space" character from: JAVA_HOME=C:
\Program Files\Java\jdk1.5.0_15 .
You could try to set it to using quotes ( JAVA_HOME="C:\Program Files
\Java\jdk1.5.0_15" ) , but it would be far better if you used the
suggested "Self-contained Directory Convention" (that would make,
among other system variables, JAVA_HOME=C:\ctier\pkgs\jdk1.5.0_15 )

Take a look here http://controltier.org/wiki/Installation , more
precisely: http://controltier.org/wiki/Installation#Running_the_installer
.

Good Luck !

Charles Scott

unread,
Feb 12, 2010, 12:27:07 PM2/12/10
to contr...@googlegroups.com
I believe spaces in directories is an issue our installer does not like, such as Java being installed in "Program Files" 

see our wiki:

Set CTIER_ROOT

The first step is to choose the value of the CTIER_ROOT. For the purpose of these instructions, we assume CTIER_ROOT to have the default value. Avoid choosing a directory that contains spaces since this is not handled reliably throughout the system (this particularly eliminates anything under "C:\Documents and Settings" on Windows).

specifically for java in mentions the following:

Windows

On a Windows system, download the latest "Offline Installation" version of Sun's 1.5.0 J2SE SDK and install it into %CTIER_ROOT%\pkgs as follows:


I believe this will get you past your issue....

regards,

Chuck
--
You received this message because you are subscribed to the Google Groups "ControlTier" group.
To post to this group, send email to contr...@googlegroups.com
To unsubscribe from this group, send email to controltier...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/controltier?hl=en
http://wiki.controltier.org

Khokhar

unread,
Feb 16, 2010, 11:56:05 AM2/16/10
to ControlTier

Thanks for the help , I now have installed CTier successfuly :)

Adolfo Rodriguez

unread,
Apr 18, 2012, 1:27:02 AM4/18/12
to contr...@googlegroups.com
  • If your Java installation directory has a space in its path name, you should use the shortened path name (e.g. C:\Progra~1\Java\jre6) in the environment variable instead.

    Note for Windows users on 64-bit systems

    Progra~1 = 'Program Files'
    Progra~2 = 'Program Files(x86)'

Anthony Shortland

unread,
Apr 18, 2012, 11:36:26 AM4/18/12
to contr...@googlegroups.com
Be careful about getting paths with spaces embedded on the ControlTier configuration in general. There are some cases where it breaks things ... in particular, choosing a CTIER_ROOT such as C:\ctier for client installs is important ... see http://doc36.controltier.org/wiki/Dependencies

Anthony.

Reply all
Reply to author
Forward
0 new messages