cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Problem installing Windchill as a Windows Service

bbailey
3-Visitor

Problem installing Windchill as a Windows Service



Hi,

I just finished an installation of PDMLink 10.0 M010. All appeared to go
well and I don't see any errors in the installation logs. However, when I
run the command to install Windchill as a Windows Service, I see the
following:

Buildfile: build.xml does not exist!
Build failed

Anybody seen this before?

Thanks,

Ben
6 REPLIES 6

Hi Ben,



This means that you are executing the command from the wrong folder. Either
try executing from codebase or from the ntservice folder.



Regards,

Rohan Kalbhor

<">http://plmdays.blogspot.com>
bbailey
3-Visitor
(To:bbailey)


Hi Rohan,

Doesn't seem to work from either the codebase or ntservice folders.

Thanks,

Ben


Are you running the command prompt "As Administrator"?

Patrick Williams | Engineering Systems | o: 616.698.3766 | c: 616.947.2110
[cid:image001.jpg@01CCF14C.7165D790]
bbailey
3-Visitor
(To:bbailey)

Hi Patrick,

I am running as Administrator.

Thanks,

Ben
bbailey
3-Visitor
(To:bbailey)


Hi All,

This problem has been solved. Ray Connole of Lockheed Martin suggested
that the already installed and running WindchillDS Windows Service was
somehow interfering with the ant command.

I stopped that service, set it to Manual, rebooted and ant ran fine. Not
sure what that means for the future.

Most suggestions revolved around running in the folder where the .xml file
existed
The need to run as an Administrator was also suggested.

Thanks to all who replied!!!

Ben

You don't have to reboot to uninstall a service. Just stop the service and run the ant command with the uninstall option. For example:

ant -f config.xml uninstallService -DJAVA_HOME=%JAVA_HOME% -DserviceName=WindchillTomcat

We had to do this when installing the agents for the PTC System Monitor (A.k.a. dynaTrace). The tomcat agent wouldn't start without uninstalling and re-installing the service. As a side note, we had to up the memory for tomcat, because the agent was causing it to bump against the limit.

David Haigh
Top Tags