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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Translate the entire conversation x

WBM Extractor WBMMappingClient Issue - WBMMappingClient fails to execute

AK_10995767
6-Contributor

WBM Extractor WBMMappingClient Issue - WBMMappingClient fails to execute

[wcadmin@modlenServer Windchill]$ windchill com.ptc.windchill.migration.wbm.wc2wc.mapping.client.WBMMappingClient -u wcadmin -p <password>
[2025-Mar-31 05:35:11,334][main]  INFO client.WBMOrgMappingClientHelper                   - Creating mapping xml for WTOrganization
[2025-Mar-31 05:36:34,911][main] ERROR client.WBMMappingClient                            - ================================================================
[2025-Mar-31 05:36:34,911][main] ERROR client.WBMMappingClient                            - Exception Occured
[2025-Mar-31 05:36:34,921][main] ERROR client.WBMMappingClient                            - The data "/Default/Projects/Front Classic/14. Accessory Definition
                                                                                                                                                               (Product accessory availability List)" is not legal for a JDOM attribute: 0x000b is not a legal XML character.
org.jdom2.IllegalDataException: The data "/Default/Projects/Front Classic/14. Accessory Definition
                                                                                                   (Product accessory availability List)" is not legal for a JDOM attribute: 0x000b is not a legal XML character.
        at org.jdom2.Attribute.setValue(Attribute.java:487) ~[wc3rdpartylibs.jar:?]
        at org.jdom2.Attribute.<init>(Attribute.java:221) ~[wc3rdpartylibs.jar:?]
        at org.jdom2.Attribute.<init>(Attribute.java:244) ~[wc3rdpartylibs.jar:?]
        at org.jdom2.Element.setAttribute(Element.java:1299) ~[wc3rdpartylibs.jar:?]
        at com.ptc.windchill.migration.wbm.wc2wc.commoncore.core.xml.WBMXMLElement.addAttribute(WBMXMLElement.java:34) ~[codebase/:?]
        at com.ptc.windchill.migration.wbm.wc2wc.mapping.client.WBMOrgMappingClientHelper.writeOrgMappingXml(WBMOrgMappingClientHelper.java:107) ~[codebase/:?]
        at com.ptc.windchill.migration.wbm.wc2wc.mapping.client.WBMOrgMappingClientHelper.createOrgMappingXml(WBMOrgMappingClientHelper.java:58) ~[codebase/:?]
        at com.ptc.windchill.migration.wbm.wc2wc.mapping.client.WBMMappingClient.main(WBMMappingClient.java:53) ~[codebase/:?]
[2025-Mar-31 05:36:34,922][main] ERROR client.WBMMappingClient

2 REPLIES 2

Hi @AK_10995767 

 

Thank you for your question! 

 

I’d like to recommend to bring more details and context to your initial inquiry. For example:

  • Can you describe the steps you have taken so far to execute the WBMMappingClient command?
  • Are you encountering any specific error messages or issues related to illegal XML characters, as indicated by the IllegalDataException?
  • Have you checked the configuration and setup of your Windchill environment to ensure it supports the WBMMappingClient command?

Please add screenshot(s) to better understand what you are trying to do in your process. 

 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,


Catalina
PTC Community Moderator
PTC
AK_10995767
6-Contributor
(To:Catalina)

Dear @Catalina ,

Please find the below answers for the details:

  • Can you describe the steps you have taken so far to execute the WBMMappingClient command?
    • 1st, we have installed WBM extractor in the Windchill server.
    • Then we have run the windchill com.ptc.windchill.migration.wbm.wc2wc.util.AttDefAnalizerClient -a
    • Then trying to execute windchill com.ptc.windchill.migration.wbm.wc2wc.mapping.client.WBMMappingClient -u wcadmin -p <pwd>
      • Here we are getting the above mentioned error
  • Are you encountering any specific error messages or issues related to illegal XML characters, as indicated by the IllegalDataException?
    • There is no log captured in MS log
    • Please let me know if we need to refer any other log
  • Have you checked the configuration and setup of your Windchill environment to ensure it supports the WBMMappingClient command?
    • We are going as per the PTC guide. As AttDefAnalizerClient command execution was successful, so for next step we are trying to run WBMMappingClient.

Please find the below screenshot of MappingClient command execution.

AK_10995767_0-1743411077466.png

 

Announcements

Top Tags