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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

OOPS - Incorrect host name on install. Any hope of recovery?

bbailey
3-Visitor

OOPS - Incorrect host name on install. Any hope of recovery?

Hi All,

While, loading PDMLink 9.1 on Windows Server 2003 R2, I entered the fully
qualified DNS hostname incorrectly. A call to Tech Support had me use
xconfmanager to adjust the value of java.rmi.server.hostname. That fixed
the problem of not being able to see the sever remotely, but it looks like
problems still exist with the local LDAP server. I can't create new
users. I get some sort of LDAP error.

Any hope of fixing this? If not, what's the best method for blowing away
a PDMLink install? This is a sandbox, so nothing vital will be lost. Just
my pride...

Ben
5 REPLIES 5
bbailey
3-Visitor
(To:bbailey)

Hi,

Got some feedback that I should post errors. Sorry.

Here is what I see in the Tomcat start shell. ttuc-pdmlinkdev.us.ray.com
is the incorrect name. It should be ttuc-pdmlinkdev.tuc.us.ray.com

INFO: Server startup in 4200 ms
2009/10/15-14:34:12.428#:#ttuc-pdmlinkdev#:#-IE-#:#JNDIAdapterImpl: caught
excep
tion, no retryldap://localhost
javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient
Access R
ights]; remaining name
'ptcServiceName=com.ray.us.ttuc-pdmlinkdev.servlet,dc=ttu
c-pdmlinkdev,dc=us,dc=ray,dc=com,cn=configuration,cn=Windchill_9.1,o=ptc'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3013)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)
at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1441)
at
com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(Compo
nentDirContext.java:255)
at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(
PartialCompositeDirContext.java:172)
at
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(
PartialCompositeDirContext.java:161)
at
javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirC
ontext.java:148)
at
com.infoengine.jndi.DirContextWrapper.modifyAttributes(DirContextWrap
per.java:363)
at com.infoengine.jndi.UpdateObject.run(UpdateObject.java:183)
at
com.infoengine.jndi.JNDIAdapterImpl.processRequest(JNDIAdapterImpl.ja
RandyJones
19-Tanzanite
(To:bbailey)



In Reply to Ben Bailey:

Hi All,

While, loading PDMLink 9.1 on Windows Server 2003 R2, I entered the fully
qualified DNS hostname incorrectly. A call to Tech Support had me use
xconfmanager to adjust the value of java.rmi.server.hostname. That fixed
the problem of not being able to see the sever remotely, but it looks like
problems still exist with the local LDAP server. I can't create new
users. I get some sort of LDAP error.

Any hope of fixing this? If not, what's the best method for blowing away
a PDMLink install? This is a sandbox, so nothing vital will be lost. Just
my pride...

Ben

The ant command is



ant -f webAppConfig.xml regenAllWebApps



Best Regards

Rajesh Balasundaram
RandyJones
19-Tanzanite
(To:bbailey)



In Reply to Rajesh Balasundaram:

The ant command is



ant -f webAppConfig.xml regenAllWebApps

That is good to know however that can't be the whole story. Without changing some configuration file(s) first, running this ant command isn't going to change anything. So the question is: What configuration file(s) need to be changed and what is the format needed to change these files? It is also not obvious to the illiterate ant user (like me) where the webAppConfig.xml file resides. I see at least one of them under the WC_INSTALL_DIR/Apache/ directory. I see the procedure using ant as this:

1. change configuration file(s) that are used by ant

2. run "ant -f webAppConfig.xml regenAllWebApps"

3. restart Windchill, Apache, Tomcat

Step 1 involves lots of time figuring out what actually needs to be done. Or you could just make a 3 second change to Apache's config files. I am assuming that if you actually figure out how to do this changing the "ant" way then the changes would survive a Windchill upgrade. Which would give a lot of points to doing it the ant way.





Best Regards

Rajesh Balasundaram

The best way to blow away a PDMLink install on a windows system is initial uninstall aphelion because aphelion won't let you have multiple install in windows. There is an uninstall script in aphelion located at <aphelion_load point=">\UninstallerData, the script is called Uninstall aphelion.exe. Once aphelion is uninstalled you can basically then rename the entire PDMLink install folder or delete it, and redo the installation.

HTH,


Alexius C. Chukwuka
IT Analyst, PDP Systems
John Deere Power Systems
Product Engineering Center
*Voice: 319-292-8575
*Mobile: 319-429-5336
*FaxFax:319-292-6282
*E-Mail: -

CONFIDENTIALITY. This electronic mail and any files transmitted with it may contain information proprietary to Deere & Company, or one of its subsidiaries or affiliates, and are intended solely for the use of the individual or entity to whom they are addressed, shall be maintained in confidence and not disclosed to third parties without the written consent of the sender. If you are not the intended recipient or the person responsible for delivering the electronic mail to the intended recipient, be advised that you have received this electronic mail in error and that any use, dissemination, forwarding, printing, or copying of this electronic mail is strictly prohibited. If you have received this electronic mail in error, please immediately notify the sender by return mail.


Announcements


Top Tags