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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

New Install of Windchill 11.0 will not start after server reboot

BenLoosli
23-Emerald II

New Install of Windchill 11.0 will not start after server reboot

I installed Windchill 11.0 on a test system and loaded base data. The system starts and I can login. However, if I shutdown Windchill or log off that computer, Windchill will not start again. The MethodServer log file shows this error:

2018-03-15 11:34:18,398 ERROR [main] wt.method.server.startup.services  - Failure to start manager wt.audit.StandardAuditService
wt.services.ManagerException: Could not initialize Auditing service.
Nested exception is: wt.org.OrganizationServicesIEException: Error while attempting to obtain lock for task uri file://E:\ptc\Windchill_11\Windchill\tasks/wt/federation/QueryPrincipals.xml; nested exception is:  java.io.FileNotFoundException: E:\ptc\Windchill_11\Windchill\tasks\codebase\com\infoengine\compiledTasks\file\E$3a$5cptc$5cWindchill_11$5cWindchill$5ctasks\wt\federation\.lock (Access is denied)
 at wt.org.LdapServices.queryPrincipalsFromLdap(LdapServices.java:924)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
 at com.sun.proxy.$Proxy48.queryPrincipalsFromLdap(Unknown Source)
 at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:8227)
 at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:7912)
 at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:7878)
 at wt.org.StandardOrganizationServicesManager._queryPrincipals(StandardOrganizationServicesManager.java:7869)
 at wt.org.StandardOrganizationServicesManager._queryPrincipal(StandardOrganizationServicesManager.java:7810)
 at wt.org.StandardOrganizationServicesManager.getAuthenticatedUser(StandardOrganizationServicesManager.java:2344)
 at wt.org.StandardOrganizationServicesManager.getUser(StandardOrganizationServicesManager.java:2466)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
 at com.sun.proxy.$Proxy47.getUser(Unknown Source)
 at wt.session.StandardSessionManager.getUser(StandardSessionManager.java:449)
 at wt.session.StandardSessionManager.getAdministrator(StandardSessionManager.java:321)
 at wt.session.StandardSessionManager.setAdministrator(StandardSessionManager.java:284)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at wt.services.ServiceFactory$ServerInvocationHandler.invoke(ServiceFactory.java:399)
 at com.sun.proxy.$Proxy36.setAdministrator(Unknown Source)
 at wt.audit.StandardAuditService.performStartupProcess(StandardAuditService.java:287)
 at wt.services.StandardManager.startup(StandardManager.java:459)
 at wt.services.ManagerImplementation.startup(ManagerImplementation.java:363)
 at wt.services.DefaultStartupHandler.startup(DefaultStartupHandler.java:112)
 at wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:166)
 at wt.services.StandardManager.startup(StandardManager.java:459)
 at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:44)
 at wt.method.MethodServerMain.run(MethodServerMain.java:603)
 at wt.method.MethodServerMain.main(MethodServerMain.java:373)
2018-03-15 11:34:18,507 INFO  [main] wt.method.server.shutdown.services  - All managers shut down.

 

I have looked at other responses to this error, but they all are from a rehost, not a clean install.

 

ACCEPTED SOLUTION

Accepted Solutions

As it looks like the Windows user which starts Windchill has not access to this folder:

E:\ptc\Windchill_11\Windchill\tasks\codebase\com\infoengine\compiledTasks\file\E$3a$5cptc$5cWindchill_11$5cWindchill$5ctasks\wt\federation\.lock (Access is denied)

 

So the easiest thing it to go the folder E:\ptc and give the System (or the user which starts Windchill) full rights to all subfolders and files

View solution in original post

1 REPLY 1

As it looks like the Windows user which starts Windchill has not access to this folder:

E:\ptc\Windchill_11\Windchill\tasks\codebase\com\infoengine\compiledTasks\file\E$3a$5cptc$5cWindchill_11$5cWindchill$5ctasks\wt\federation\.lock (Access is denied)

 

So the easiest thing it to go the folder E:\ptc and give the System (or the user which starts Windchill) full rights to all subfolders and files

Announcements


Top Tags