Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Translate the entire conversation x

Error while windchill installation

RB_10166275
10-Marble

Error while windchill installation

Version: Windchill 12.1

 

Use Case: Getting an error message when trying to install windchill


Description:

Attached is the log file.

ACCEPTED SOLUTION

Accepted Solutions

The installer wants to add "Windchill" as the core service name.

It looks like you entered windchill.com as web server name. So the solution is to go with a different name for the web server, something like "your organization.your top domain" (localhost, ptc.com or trucks.us would be valid examples). I don't know what will be a valid FQDN name for your server, but you have go with a resolvable hostname in order to access the web server. 

View solution in original post

9 REPLIES 9

The log often contains this error - "LDAP: error code 32": https://www.ptc.com/en/support/article/CS175650 

Hello VladimirN,

Thanks for the quick reply.

But I am having this issue while initial installation, this case mentioned by you is related to upgradation, I guess.
Solution for this case is to do changes from Site->Utilities, but in my case still I don't windchill installed.

Some additional useful articles:

I got below article.

Article - CS403792 - PSI throwing ERROR com.infoengine.exception.adapter.IEAdapterException: Duplicate entry not allowed in Windchill

 

But I'm not understanding which entry is duplicate in adapterservice.json file. 

 

[
{
"ptcServiceName": [
"com.windchill.namingService"
],
"ptcMetaType": "Naming Service",
"ptcProperty": [
"com.windchill.namingService.serviceSearchBase=cn=configuration,cn=windchill,o=ptc"
],
"ptcRuntimeServiceName": "com.windchill.namingService",
"dn": "ptcServiceName=com.windchill.namingService,dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc",
"objectClass": [
"ptcApplicationProperties",
"ptcApplicationService",
"ptcInfoEngineService"
]
},
{
"ptcServiceName": [
"com.windchill.Windchill"
],
"ptcMetaType": "Windchill Adapter",
"ptcProperty": [
"com.windchill.Windchill.home=D:/ptc/Windchill_12.1/Windchill",
"com.windchill.Windchill.load.balancer=wt.adapter.LoadBalancer"
],
"ptcRuntimeServiceName": "com.windchill.Windchill",
"ptcServiceAddress": [
"windchill.com:10002"
],
"ptcServiceClassName": "wt.method.WTAdapterImpl",
"dn": "ptcServiceName=com.windchill.Windchill,dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc",
"objectClass": [
"ptcApplicationProperties",
"ptcApplicationService",
"ptcInfoEngineAdapter"
]
},
{
"ptcServiceName": [
"com.windchill.servlet"
],
"ptcMetaType": "Info*Engine Servlet",
"ptcProperty": [
"com.windchill.servlet.taskPrefix=/Windchill/servlet/IE/tasks",
"com.windchill.servlet.compiler.classpath=D:/ptc/Windchill_12.1/Windchill/codebase/WEB-INF/classes;D:/ptc/Windchill_12.1/Windchill/lib/servlet.jar",
"com.windchill.servlet.codebase=/tmp/ptcServlet",
"com.windchill.servlet.compiler.libDirectory1=D:/ptc/Windchill_12.1/Windchill/codebase/WEB-INF/lib",
"com.windchill.servlet.home=D:/ptc/Windchill_12.1/Windchill",
"com.windchill.servlet.taskRootDirectory=D:/ptc/Windchill_12.1/Windchill/tasks",
"com.windchill.servlet.administration.baseUri=ldap://localhost/dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc",
"com.windchill.servlet.ieServerName=com.windchill.Windchill"
],
"ptcRuntimeServiceName": "com.windchill.servlet",
"dn": "ptcServiceName=com.windchill.servlet,dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc",
"objectClass": [
"ptcApplicationProperties",
"ptcApplicationService",
"ptcInfoEngineService"
]
},
{
"ptcServiceName": [
"com.windchill.rpc"
],
"ptcMetaType": "Info*Engine Servlet",
"ptcProperty": [
"com.windchill.rpc.ieServerName=com.windchill.Windchill"
],
"dn": "ptcServiceName=com.windchill.rpc,dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc",
"objectClass": [
"ptcApplicationProperties",
"ptcApplicationService",
"ptcInfoEngineService"
]
}
]

DEBUG 13-01-2025 11:49:23 - Creating new entry for I*E config@:D:\ptc\Windchill_12.1\Windchill\IEConf\adapterservice.json
DEBUG 13-01-2025 11:49:23 - reading I*E config for:D:\ptc\Windchill_12.1\Windchill\IEConf\adapterservice.json
DEBUG 13-01-2025 11:49:23 - Creating entry: ptcServiceName=com.windchill.Windchill,dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc
TRACE 13-01-2025 11:49:23 - Full Object: ServiceAdapter [ptcServiceName=[com.windchill.Windchill], ptcCoresidentService=null, ptcMetaType=Windchill Adapter, ptcObjectSerializationType=null, ptcProperty=[com.windchill.Windchill.home=D:/ptc/Windchill_12.1/Windchill, com.windchill.Windchill.load.balancer=wt.adapter.LoadBalancer], ptcRepositoryDomain=null, ptcRepositoryGUID=null, ptcRuntimeServiceName=com.windchill.Windchill, ptcServiceAddress=[windchill.com:10002], ptcServiceClassName=wt.method.WTAdapterImpl, seeAlso=null, repositoryDefination=null, getPtcServiceName()=[com.windchill.Windchill], getPtcCoresidentService()=null, getPtcMetaType()=Windchill Adapter, getPtcObjectSerializationType()=null, getPtcProperty()=[com.windchill.Windchill.home=D:/ptc/Windchill_12.1/Windchill, com.windchill.Windchill.load.balancer=wt.adapter.LoadBalancer], getPtcRepositoryDomain()=null, getPtcRepositoryGUID()=null, getPtcRuntimeServiceName()=com.windchill.Windchill, getPtcServiceAddress()=[windchill.com:10002], getPtcServiceClassName()=wt.method.WTAdapterImpl, getSeeAlso()=null, getRepositoryDefination()=null, getDn()=ptcServiceName=com.windchill.Windchill,dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc, getParentDn()=dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc, getObjectClass()=[ptcApplicationProperties, ptcApplicationService, ptcInfoEngineAdapter], getDescription()=null, hashCode()=734653968, getClass()=class com.infoengine.au.json.ServiceAdapter, toString()=com.infoengine.au.json.ServiceAdapter@2bc9ee10]
ERROR 13-01-2025 11:49:23 - duplicate entry not allowed! entry::ServiceAdapter [ptcServiceName=[com.windchill.Windchill], ptcCoresidentService=null, ptcMetaType=Windchill Adapter, ptcObjectSerializationType=null, ptcProperty=[com.windchill.Windchill.home=D:/ptc/Windchill_12.1/Windchill, com.windchill.Windchill.load.balancer=wt.adapter.LoadBalancer], ptcRepositoryDomain=null, ptcRepositoryGUID=null, ptcRuntimeServiceName=com.windchill.Windchill, ptcServiceAddress=[windchill.com:10002], ptcServiceClassName=wt.method.WTAdapterImpl, seeAlso=null, repositoryDefination=null, getPtcServiceName()=[com.windchill.Windchill], getPtcCoresidentService()=null, getPtcMetaType()=Windchill Adapter, getPtcObjectSerializationType()=null, getPtcProperty()=[com.windchill.Windchill.home=D:/ptc/Windchill_12.1/Windchill, com.windchill.Windchill.load.balancer=wt.adapter.LoadBalancer], getPtcRepositoryDomain()=null, getPtcRepositoryGUID()=null, getPtcRuntimeServiceName()=com.windchill.Windchill, getPtcServiceAddress()=[windchill.com:10002], getPtcServiceClassName()=wt.method.WTAdapterImpl, getSeeAlso()=null, getRepositoryDefination()=null, getDn()=ptcServiceName=com.windchill.Windchill,dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc, getParentDn()=dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc, getObjectClass()=[ptcApplicationProperties, ptcApplicationService, ptcInfoEngineAdapter], getDescription()=null, hashCode()=734653968, getClass()=class com.infoengine.au.json.ServiceAdapter, toString()=com.infoengine.au.json.ServiceAdapter@2bc9ee10]
ERROR 13-01-2025 11:49:23 - Error in file creation
com.infoengine.exception.adapter.IEAdapterException: Duplicate entry not allowed.

Above is the error in log file.

Hello,

I think the duplicate entry is about the windchill node:
getParentDn()=dc=windchill,dc=com,cn=configuration,cn=windchill,o=ptc

 

Do you really have to go with the domain "windchill.com"?

The installation script seems to add "Windchill" for the Windchill Adapter, so if you are setting the DNS domain to windchill.com we would end up with duplicate values:
com.windchill.Windchill.load.balancer

What can be done in this situation?

 

The installer wants to add "Windchill" as the core service name.

It looks like you entered windchill.com as web server name. So the solution is to go with a different name for the web server, something like "your organization.your top domain" (localhost, ptc.com or trucks.us would be valid examples). I don't know what will be a valid FQDN name for your server, but you have go with a resolvable hostname in order to access the web server. 

Announcements



Top Tags