This may seem very basic to you :)
Sometimes a TC Rich client gets messed up(because of Java or NX errors or whatever) and user needs to close the Teamcenter forcibly by ending the process with Task Manager.
Then they restart the rich client, try to log on and get an error message saying "A connection is already established"
When I run "list_users" in the corporate server, I see the user still listed there even though he does not run TC.
Which is the most convenient way to delete that user from thinking he is still logged on to the server?
(TAO is already closed on the client)
Solved! Go to Solution.
TCCS or FMS is still running in the background, you need to stop them too using the appropriate utility.
For Tc 10.1 this is %TC_ROOT%\tccs\bin\fccstat
Production: NX10.0.3, VERICUT 8.2, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0
Employees of the customers, together we are strong ;)
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
Try running "clearlocks -verbose".
If it does not work, try "clearlocks <hostname of the user> -assert_dead -u=infodba -p=<password> -g=dba".
Naturally, clearlocks won't work as the session is still valid and the utility should be avoided in a 4tier environment as other valid sessions might be killed due to an access timeout (like users gone to lunch or in a long meeting). The right way to kill a session is to use the admin console.
The Server Administration Console is a web application created during the installation of the .NET Web Tier. The default port is 8080, the default user is admin and the default password is admin. You *might* be able to uninstall and reinstall the .NET Web Tier to get back to the defaults. Good luck!
Try logging into the admin console from the Teamcenter server using http://localhost:<port>/tc/admin
This way it will use the local account credentials and won't ask the password. Then locate the process from the list and use the options on the webpage to stop the tcserver process.
I created a simple .NET application that the user can user to kill their process.
It uses their AD account login ID (matches Tc login ID).
It sends the request from the users computer to an application running on a server. The server application parses the "Show Servers" pool manager webpage to find the tcserver process. Once the process has been identified, it calls the shutdown page for that process to end the user's pool connection.