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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Windchill 8.0 Re-hosting LDAP problems

gsimms
1-Visitor

Windchill 8.0 Re-hosting LDAP problems

I am currently attempting to re-host a Windchill 8.0 system, from backups without access to the original server. I was thinking I was getting close but I have been having issues with the LDAP server entries I restored from the backup ldif files.

I had to do some editing of the LDAP directory to change from the old to new server name (for some reason the Ant script wasn't working)

I am now getting the following error when I start the method server and it looks like I messed up something fairly fundamental and I am hoping someone here can shed some light on what may be broken.

Tue 2/22/11 16:37:18: main: Introspection Runtime Mode = true
Tue 2/22/11 16:37:19: main: wt.util.WTException
Tue 2/22/11 16:37:19: main: Nested exception is: java.lang.NullPointerException
Tue 2/22/11 16:37:19: main: at wt.federation.PrincipalManager.DirContext.getPrimaryName(DirContext.java:499)
Tue 2/22/11 16:37:19: main: at wt.org.StandardOrganizationServicesManager.getDirectoryService(StandardOrganizationServicesManager.java:5153)
Tue 2/22/11 16:37:19: main: at wt.org.OrganizationServicesManagerFwd.getDirectoryService(OrganizationServicesManagerFwd.java:3216)
Tue 2/22/11 16:37:19: main: at wt.org.GenericDirectoryContextProvider.<init>(GenericDirectoryContextProvider.java:276)
Tue 2/22/11 16:37:19: main: at wt.org.StandardOrganizationServicesManager.newDirectoryContextProvider(StandardOrganizationServicesManager.java:7142)
Tue 2/22/11 16:37:19: main: at wt.org.OrganizationServicesManagerFwd.newDirectoryContextProvider(OrganizationServicesManagerFwd.java:4337)
Tue 2/22/11 16:37:19: main: at wt.session.StandardSessionManager.getExchangeContext(StandardSessionManager.java:642)
Tue 2/22/11 16:37:19: main: at wt.session.StandardSessionManager.getUser(StandardSessionManager.java:589)
Tue 2/22/11 16:37:19: main: at wt.session.StandardSessionManager.getAdministrator(StandardSessionManager.java:369)
Tue 2/22/11 16:37:19: main: at wt.session.StandardSessionManager.setAdministrator(StandardSessionManager.java:331)
Tue 2/22/11 16:37:19: main: at wt.session.SessionManagerFwd.setAdministrator(SessionManagerFwd.java:192)
Tue 2/22/11 16:37:19: main: at wt.audit.StandardAuditService.performStartupProcess(StandardAuditService.java:196)
Tue 2/22/11 16:37:19: main: at wt.services.StandardManager.startup(StandardManager.java:622)
Tue 2/22/11 16:37:19: main: at wt.services.ManagerImplementation.startup(ManagerImplementation.java:446)
Tue 2/22/11 16:37:19: main: at wt.services.DefaultStartupHandler.startup(DefaultStartupHandler.java:205)
Tue 2/22/11 16:37:19: main: at wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:211)
Tue 2/22/11 16:37:19: main: at wt.services.StandardManager.startup(StandardManager.java:622)
Tue 2/22/11 16:37:19: main: at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:43)
Tue 2/22/11 16:37:19: main: at wt.method.MethodServerMain.run(MethodServerMain.java:325)
Tue 2/22/11 16:37:19: main: at wt.method.MethodServerMain.start(MethodServerMain.java:224)
Tue 2/22/11 16:37:19: main: at wt.method.MethodServerMain.main(MethodServerMain.java:191)
Tue 2/22/11 16:37:19: main: ManagerServiceFactory: All managers shut down.
Tue 2/22/11 16:37:19: main: ManagerServiceFactory: Unable to start all managers.
Tue 2/22/11 16:37:19: main: ManagerServiceFactory: All managers shut down.\

Thanks

Graham.

2 REPLIES 2
BobLehman2
12-Amethyst
(To:gsimms)

Are the lines in the file truncated at 80 characters. If so you need to
rejoin the lines



rkalbhor
2-Explorer
(To:gsimms)

Graham,

The error is as in logs,

at wt.org.StandardOrganizationServicesManager.getDirectoryService

It is not able to get the directory service, check
CodebaseWEB-INF\ie.properties and search base of the JNDI adapters
Check all the LDAP related properties from wt.properties especially the
directoryservices property.

*Regards**,*
*Rohan *

* *

*Rohan Kalbhor*

*Delivery Module Lead - PLM Practice | MphasiS an HP Company*

*Mobile : +91 9011759898 *

* **rohan.kalbhor@mphasis.com | rohan.kalbhor@eds.com | -
*

*3B076, Tower 4, Cybercity | Magarpatta City | Pune | India 411013*




On Wed, Feb 23, 2011 at 4:16 AM, Graham Simms <graham.simms@impacsystems.com<br/>> wrote:

> I am currently attempting to re-host a Windchill 8.0 system, from backups
> without access to the original server. I was thinking I was getting close
> but I have been having issues with the LDAP server entries I restored from
> the backup ldif files.
>
> I had to do some editing of the LDAP directory to change from the old to
> new server name (for some reason the Ant script wasn't working)
>
> I am now getting the following error when I start the method server and it
> looks like I messed up something fairly fundamental and I am hoping someone
> here can shed some light on what may be broken.
>
> Tue 2/22/11 16:37:18: main: Introspection Runtime Mode = true
> Tue 2/22/11 16:37:19: main: wt.util.WTException
> Tue 2/22/11 16:37:19: main: Nested exception is:
> java.lang.NullPointerException
> Tue 2/22/11 16:37:19: main: at
> wt.federation.PrincipalManager.DirContext.getPrimaryName(DirContext.java:499)
> Tue 2/22/11 16:37:19: main: at
> wt.org.StandardOrganizationServicesManager.getDirectoryService(StandardOrganizationServicesManager.java:5153)
> Tue 2/22/11 16:37:19: main: at
> wt.org.OrganizationServicesManagerFwd.getDirectoryService(OrganizationServicesManagerFwd.java:3216)
> Tue 2/22/11 16:37:19: main: at
> wt.org.GenericDirectoryContextProvider.<init>(GenericDirectoryContextProvider.java:276)
> Tue 2/22/11 16:37:19: main: at
> wt.org.StandardOrganizationServicesManager.newDirectoryContextProvider(StandardOrganizationServicesManager.java:7142)
> Tue 2/22/11 16:37:19: main: at
> wt.org.OrganizationServicesManagerFwd.newDirectoryContextProvider(OrganizationServicesManagerFwd.java:4337)
> Tue 2/22/11 16:37:19: main: at
> wt.session.StandardSessionManager.getExchangeContext(StandardSessionManager.java:642)
> Tue 2/22/11 16:37:19: main: at
> wt.session.StandardSessionManager.getUser(StandardSessionManager.java:589)
> Tue 2/22/11 16:37:19: main: at
> wt.session.StandardSessionManager.getAdministrator(StandardSessionManager.java:369)
> Tue 2/22/11 16:37:19: main: at
> wt.session.StandardSessionManager.setAdministrator(StandardSessionManager.java:331)
> Tue 2/22/11 16:37:19: main: at
> wt.session.SessionManagerFwd.setAdministrator(SessionManagerFwd.java:192)
> Tue 2/22/11 16:37:19: main: at
> wt.audit.StandardAuditService.performStartupProcess(StandardAuditService.java:196)
> Tue 2/22/11 16:37:19: main: at
> wt.services.StandardManager.startup(StandardManager.java:622)
> Tue 2/22/11 16:37:19: main: at
> wt.services.ManagerImplementation.startup(ManagerImplementation.java:446)
> Tue 2/22/11 16:37:19: main: at
> wt.services.DefaultStartupHandler.startup(DefaultStartupHandler.java:205)
> Tue 2/22/11 16:37:19: main: at
> wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:211)
> Tue 2/22/11 16:37:19: main: at
> wt.services.StandardManager.startup(StandardManager.java:622)
> Tue 2/22/11 16:37:19: main: at
> wt.services.StandardServicesHandler.start(StandardServicesHandler.java:43)
> Tue 2/22/11 16:37:19: main: at
> wt.method.MethodServerMain.run(MethodServerMain.java:325)
> Tue 2/22/11 16:37:19: main: at
> wt.method.MethodServerMain.start(MethodServerMain.java:224)
> Tue 2/22/11 16:37:19: main: at
> wt.method.MethodServerMain.main(MethodServerMain.java:191)
> Tue 2/22/11 16:37:19: main: ManagerServiceFactory: All managers shut down.
> Tue 2/22/11 16:37:19: main: ManagerServiceFactory: Unable to start all
> managers.
> Tue 2/22/11 16:37:19: main: ManagerServiceFactory: All managers shut down.\
>
>
>
> Thanks
>
> Graham.
>
>
Announcements


Top Tags