It's all about the answers!

Ask a question

Jazz initial server startup Permission denied on Windows 7


Sean F (52212129) | asked Jan 25 '13, 12:39 p.m.
retagged Jan 29 '13, 7:53 a.m. by Laura Kuczarski (21137)
Installed the Jazz team server on Win 7 for evaluation.

Try to start the server so I can run the setup wizard but server won't start - the WAR file deployment fails with failure to create directories.Is there a workaround?

Works OK on XP so must be a win 7 permissions thing

Errors:-

Throwable occurred: java.io.IOException: Unable to create the directory [C:\Prog
ram Files\IBM\JazzTeamServer\server\tomcat\webapps\jts\WEB-INF\eclipse\plugins\c
om.ibm.team.server.war.template_1.1.200.v20120901_0511\META-INF]
        at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:132)
       
..............................

SEVERE: The scratchDir you specified: C:\Program Files\IBM\JazzTeamServer\server
\tomcat\work\Catalina\localhost\_ is unusable.
26-Jan-2013 05:22:20 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9080"]
26-Jan-2013 05:22:20 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9443"]
26-Jan-2013 05:22:20 org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-9009"]
26-Jan-2013 05:22:20 org.apache.catalina.startup.Catalina start
INFO: Server startup in 954 ms

3 answers



permanent link
Robin Bater (3.4k47) | answered Jan 25 '13, 12:45 p.m.
JAZZ DEVELOPER
Which folder location did you install the JTS? 

If it is something like C:/Program Files/... are you running the start up of the JTS with administrator privileges?

For example for Tomcat

https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Fm_s_server_installation_start_tomcat.html

Starting the server on Windows

If you ran the installation procedure by using IBM® Installation Manager, you can start the server from the Windows Start menu. Otherwise, you can start the server from the command line.

  1. To start the server, complete one of these steps:
    1. From the Windows Start menu, click Start > All Programs > IBM Collaborative Lifecycle Management > Start the Jazz Team Server.
    2. To start the server from the command line, change to the JazzInstallDir /server directory and run the following command:
      server.startup.bat
      				
      Note: A separate Apache Tomcat console window opens. If you close this window, the server stops. Depending on your installation options, the server startup might take a few minutes. After the server is started, the startup time in millisecond is displayed in the Tomcat window. For example, a line like this might be displayed: Server startup in 203645 ms.

    Important: If the server is installed in the default Program Files directory, to be able to write to this directory, you must run the startup program as an administrator in Windows Server 2008 R2 or Windows 7.


permanent link
Chris Marsh (37226) | answered Jan 25 '13, 12:55 p.m.
 I also notice that if you are using the "Start the Jazz Server" script, be sure to right click it, and "Run as Administrator".

Hope that helps. 

Comments
Sean F commented Jan 25 '13, 12:58 p.m. | edited Oct 01 '13, 8:08 a.m.

>>right click it, and "Run as Administrator".

That was the trick, thanks


permanent link
Michael Afshar (7014) | answered Jan 25 '13, 12:45 p.m.
JAZZ DEVELOPER
Hi Sean,

If you don't have Administrator privileges on the system, try selecting  Non-Administrator in the Launchpad.



Comments
Michael Afshar commented Jan 25 '13, 12:48 p.m.
JAZZ DEVELOPER

For some reason my screenshot didn't paste. At the bottom of launchpad, there is a drop-down box that says "Select user mode for Installation Manager"

Your answer


Register or to post your answer.