Troubleshooting
Problem
IBM UrbanCode Deploy Download Artifacts step yields the error "java.lang.NoClassDefFoundError: java/text/Normalizer...".
Symptom
When a component tries to execute a Download Artifact step, the step fails with the following exception:
Caught: java.lang.NoClassDefFoundError: java/text/Normalizer$Form java.lang.NoClassDefFoundError: java/text/Normalizer$Form at com.urbancode.vfs.client.PatternPathFilter.(PatternPathFilter.java:37) at downloadByLabel.run(downloadByLabel.groovy:435)
image
Cause
IBM UrbanCode Deploy Versioned File Storage plugin requires java.text.Normailzer class which is available in JDK 1.6 or greater.
Diagnosing The Problem
Verify the version of Java in use:
- Go to Resources > Agent
- Select the agent that you tried to deploy
- Click Configuration > Agent Properties
- Check the JAVA_HOME properties
image
If the JDK’s version is 1.5 or below, you need to upgrade system JDK.
Resolving The Problem
Procedure:
- Login to the machine that hosts the agent
- Install JDK 1.6 or higher to the machine
- Go to the agent bin directory and execute the stop command
Example: <agent_home>/bin/ibm-ucdagent stop
- In <agent_home>/bin directory, use a text editor to edit ibm-ucdagent file
- Update JAVA_HOME property value so that it points to the new JDK directory and save the file
- Go to <agent_home>/conf/agent > and open installed.properties file with a text editor
- Update IBM\ UrbanCode\ Deploy/java.home property with the new JDK path and save the file
- Go to the agent bin directory and execute the start command
Example: <agent_home>/bin/ibm-ucdagent start
It the issue persists, contact IBM support.
[{"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0;6.0.1;6.0.1.1;6.0.1.2;6.0.1.3;6.0.1.4","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21672458