Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hi,
By using following command:
ant -buildfile <Windchill>\opt\ntservice\WindchillService.xml install
-DserviceName=WTService
I have added the windchill services to the windows services utility.
But it's not starting service automatically & when I tried to start it manually it's giving the error as:
"Could not start WTservice on Local computer
Error 1067:The process terminated unexpectedly "
Please reply me.
Override the default memory allocations by adding the following argument to the ant command: -DmaxHeap=6 (for 64-bit) If the service cannot be started with those settings, the service should be removed and reinstalled with higher settings for |
it may be related to the permissions on the service. are you starting the sercive as the person you installed it as?
It's not related to the permissions. When you run the script above in the Windchill Shell it setups the service to logon using a local system account.
I am also not sure if the DmaxHeap has anything do with it either.
<Windchill_Root>\opt\ntservice\WindchillService.xml install –DserviceName=Windchill –DmaxHeap=6
It's recommended to add the switch at the end of the script, but I don't think it's a must.
Have you checked yout logs to see what they say?
This is what I would do:
Error 1067:The process terminated unexpectedly: This typically means that the service has stopped because the exe is trying to execute a piece of code or process a configuration, and the executable is unable to complete it's process.