• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

CFGFWK-64062: Parsing the config-nodemanager.xml failed

 
Sheriff
Posts: 3122
459
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to configure a new domain based on a template for a working domain configuration that I created using Domain Template Builder (./Oracle_Home/oracle_common/common/bin/config_builder.sh), however the Configuration Wizard (./Oracle_Home/oracle_common/common/bin/config.sh) fails, reporting a failure prsding the config-nodemanager.xml file.  I get the same error using WLST.

CFGFWK-64062
Domain template "rcma_domain:12.2.1.3.0 [/home/rcma/rcma_domain_template.jar] " could not be loaded:
    com.oracle.cie.domain.TemplateLoaderException:
    Parsing the config-nodemanager.xml failed!:
    config-nodemanager.xml




Does WebLogic 12cR2 (12.2.1.3.0) require that Node Manager configuration be included in the template even if a Node Manager is not going to be used?  This wasn't the behaviour with 12.1.3.


Configuration Wizard Log
2018-03-31 12:16:17,027 INFO  [13] com.oracle.cie.domain.DomainRegistryWrapper - The domainRegistrydocument object needs to be Initialized
2018-03-31 12:16:17,091 INFO  [13] com.oracle.cie.domain.info.variable.DomainVariableServiceImpl - initializing domaininformation object.
2018-03-31 12:16:17,376 INFO  [13] com.oracle.cie.domain.info.variable.DomainVariableServiceImpl - initializing domaininformation object.
2018-03-31 12:16:53,525 INFO  [13] com.oracle.cie.domain.security.DomainSecurityService - Time required to process encryption was longer than expected:  256ms; possible lack of entropy might result in poor performance (getEncryptionContext)
2018-03-31 12:16:53,657 SEVERE [13] com.oracle.cie.domain.WLSTemplateBuilder - config-nodemanager.xml: failed to parse the template!(/home/rcma/rcma_domain_template.jar): Parsing the config-nodemanager.xml failed!
com.oracle.cie.domain.TemplateLoaderException: Parsing the config-nodemanager.xml failed!
       at com.oracle.cie.domain.WlsTemplateLoader.getNodeManagerInfo(WlsTemplateLoader.java:169)
       at com.oracle.cie.domain.WLSTemplateBuilder.parseTemplate(WLSTemplateBuilder.java:697)
       at com.oracle.cie.domain.WLSTemplateBuilder.parseDomainTemplate(WLSTemplateBuilder.java:624)
       at com.oracle.cie.domain.WLSTemplateBuilder.buildDomainTemplate(WLSTemplateBuilder.java:2425)
       at com.oracle.cie.domain.WLSTemplateBuilder.buildTemplate(WLSTemplateBuilder.java:2154)
       at com.oracle.cie.domain.WLSTemplateBuilder.buildTemplate(WLSTemplateBuilder.java:2176)
       at com.oracle.cie.wizard.domain.helpers.TemplateSelectionTaskDelegate.addSelectedTemplates(TemplateSelectionTaskDelegate.java:288)
       at com.oracle.cie.wizard.domain.helpers.WLSTemplateSelectionTaskDelegate.addSelectedTemplates(WLSTemplateSelectionTaskDelegate.java:235)
       at com.oracle.cie.wizard.domain.gui.tasks.MultipleTemplateSelectionGUITask.processTemplate(MultipleTemplateSelectionGUITask.java:1170)
       at com.oracle.cie.wizard.domain.gui.tasks.MultipleTemplateSelectionGUITask.okNext(MultipleTemplateSelectionGUITask.java:1326)
       at com.oracle.cie.wizard.internal.cont.GUITaskContainer$MethodRunner.run(GUITaskContainer.java:217)
       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
       at java.awt.EventQueue.access$500(EventQueue.java:97)
       at java.awt.EventQueue$3.run(EventQueue.java:709)
       at java.awt.EventQueue$3.run(EventQueue.java:703)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.reflect.InvocationTargetException
       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 com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:48)
       at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:20)
       at com.oracle.cie.domain.security.DomainSecurityService$1.decrypt(DomainSecurityService.java:293)
       at com.oracle.cie.domain.security.DomainSecurityService.mima(DomainSecurityService.java:362)
       at com.oracle.cie.domain.DomainNodeManagerHelper.decodeConfigNodeManager(DomainNodeManagerHelper.java:473)
       at com.oracle.cie.domain.WlsTemplateLoader.getNodeManagerInfo(WlsTemplateLoader.java:164)
       ... 24 more
Caused by: weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
       at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:144)
       at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:177)
       at weblogic.security.internal.encryption.ClearOrEncryptedService.decryptBytes(ClearOrEncryptedService.java:129)
       ... 34 more
Caused by: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
       at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
       at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:129)
       ... 36 more
2018-03-31 12:16:54,368 SEVERE [13] com.oracle.cie.wizard.domain.helpers.TemplateSelectionTaskDelegate - There was an exception while building the domain
com.oracle.cie.domain.TemplateLoaderException: Parsing the config-nodemanager.xml failed!: config-nodemanager.xml

       at com.oracle.cie.domain.WLSTemplateBuilder.parseTemplate(WLSTemplateBuilder.java:958)
       at com.oracle.cie.domain.WLSTemplateBuilder.parseDomainTemplate(WLSTemplateBuilder.java:624)
       at com.oracle.cie.domain.WLSTemplateBuilder.buildDomainTemplate(WLSTemplateBuilder.java:2425)
       at com.oracle.cie.domain.WLSTemplateBuilder.buildTemplate(WLSTemplateBuilder.java:2154)
       at com.oracle.cie.domain.WLSTemplateBuilder.buildTemplate(WLSTemplateBuilder.java:2176)
       at com.oracle.cie.wizard.domain.helpers.TemplateSelectionTaskDelegate.addSelectedTemplates(TemplateSelectionTaskDelegate.java:288)
       at com.oracle.cie.wizard.domain.helpers.WLSTemplateSelectionTaskDelegate.addSelectedTemplates(WLSTemplateSelectionTaskDelegate.java:235)
       at com.oracle.cie.wizard.domain.gui.tasks.MultipleTemplateSelectionGUITask.processTemplate(MultipleTemplateSelectionGUITask.java:1170)
       at com.oracle.cie.wizard.domain.gui.tasks.MultipleTemplateSelectionGUITask.okNext(MultipleTemplateSelectionGUITask.java:1326)
       at com.oracle.cie.wizard.internal.cont.GUITaskContainer$MethodRunner.run(GUITaskContainer.java:217)
       at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
       at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
       at java.awt.EventQueue.access$500(EventQueue.java:97)
       at java.awt.EventQueue$3.run(EventQueue.java:709)
       at java.awt.EventQueue$3.run(EventQueue.java:703)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
       at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
       at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
       at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
       at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
       at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
       at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: com.oracle.cie.domain.TemplateLoaderException: Parsing the config-nodemanager.xml failed!
       at com.oracle.cie.domain.WlsTemplateLoader.getNodeManagerInfo(WlsTemplateLoader.java:169)
       at com.oracle.cie.domain.WLSTemplateBuilder.parseTemplate(WLSTemplateBuilder.java:697)
       ... 23 more
Caused by: java.lang.reflect.InvocationTargetException
       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 com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:48)
       at com.oracle.cie.common.ReflectionHelper.process(ReflectionHelper.java:20)
       at com.oracle.cie.domain.security.DomainSecurityService$1.decrypt(DomainSecurityService.java:293)
       at com.oracle.cie.domain.security.DomainSecurityService.mima(DomainSecurityService.java:362)
       at com.oracle.cie.domain.DomainNodeManagerHelper.decodeConfigNodeManager(DomainNodeManagerHelper.java:473)
       at com.oracle.cie.domain.WlsTemplateLoader.getNodeManagerInfo(WlsTemplateLoader.java:164)
       ... 24 more
Caused by: weblogic.security.internal.encryption.EncryptionServiceException: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
       at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:144)
       at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:177)
       at weblogic.security.internal.encryption.ClearOrEncryptedService.decryptBytes(ClearOrEncryptedService.java:129)
       ... 34 more
Caused by: com.rsa.jsafe.JSAFE_PaddingException: Invalid padding.
       at com.rsa.jsafe.JSAFE_SymmetricCipher.decryptFinal(Unknown Source)
       at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:129)
       ... 36 more
 
Ranch Hand
Posts: 356
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may happen when you have a wrong password for nodemanager.
 
Ron McLeod
Sheriff
Posts: 3122
459
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I never did get this resolved, but found that using the Pack and Unpack tools served my needs to package-up a domain configuration and install it on another machine.
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic