Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Unable to start IBM URBANCODE DEPLOY 6.1.0. on RHEL

2700034H6E gravatar image
Question by Mallikarjuna Manoj Kandala  (18) | Apr 30, 2015 at 04:02 AM urbancodedeployucdlinuxjre

I had installed the IBM UCD 6.1.0.3 by using the IBM JRE (Downloaded from UCD package of Extreme Leverage).

Snapshot of the installation where I mentioned the JRE path :

  ****[echo] Installing IBM UrbanCode Deploy to: /home/ucd/ibm-ucd/server
  [echo] Please enter the home directory of the JRE/JDK used to run the server. [Default: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.34.x86_64]

/home/ucd/JRE/ibm-java-x86_64-70/jre [echo] JVM Version detected: 1.7.0 [echo] JAVA_HOME: /home/ucd/JRE/ibm-java-x86_64-70/jre [echo] What host name will users access the Web UI at? [Default:

If you observe here, I have manually provided the IBM JRE path to override the default OPEN JDK.

We are using the DB2 9.7.

Now, when I am trying to start the IBM UCD server, it fails with below error in the log : seployserver.out :


2015-04-30 20:42:29,884 INFO main com.urbancode.ds.UDeployServer - Configuring Replicated Codestation... 2015-04-30 20:42:29,933 INFO main com.urbancode.ds.UDeployServer - done 2015-04-30 20:42:29,933 INFO codestation.upgrader com.urbancode.ds.repl.codestation.upgrade.CodestationUpgrader - Upgrader Running. 2015-04-30 20:42:29,935 WARN main com.urbancode.ds.UDeployServer - Property encryption.keystore.password not set. Using value from property server.keystore.password 2015-04-30 20:42:29,952 ERROR main com.urbancode.container.tomcat.Container - Failed to start IBM UrbanCode Deploy java.lang.RuntimeException: Failed to start IBM UrbanCode Deploy at com.urbancode.ds.UDeployServer.start(UDeployServer.java:441) at com.urbancode.container.tomcat.Container.run(Container.java:94) at com.urbancode.ds.UDeployServer.main(UDeployServer.java:289) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:607) at com.urbancode.launcher.Launcher.invokeMainMethod(Launcher.java:235) at com.urbancode.launcher.Launcher.launch(Launcher.java:161) at com.urbancode.launcher.Launcher.main(Launcher.java:89) Caused by: java.io.IOException: com.sun.crypto.provider.SealedObjectForKeyProtector at com.ibm.crypto.provider.JceKeyStore.engineLoad(Unknown Source) at java.security.KeyStore.load(KeyStore.java:1214) at com.urbancode.ds.UDeployServer.loadKeyStore(UDeployServer.java:1913) at com.urbancode.ds.UDeployServer.retrieveSecretKey(UDeployServer.java:1866) at com.urbancode.ds.UDeployServer.initializeEncryptionKey(UDeployServer.java:1847) at com.urbancode.ds.UDeployServer.start(UDeployServer.java:427) ... 9 more 2015-04-30 20:42:29,956 INFO main com.urbancode.ds.UDeployServer - Checking in server license... 2015-04-30 20:42:30,024 INFO main com.urbancode.ds.UDeployServer - done 2015-04-30 20:42:30,024 INFO main com.urbancode.ds.UDeployServer - Stopping codestation... 2015-04-30 20:42:30,027 INFO main com.urbancode.ds.UDeployServer - stopped 2015-04-30 20:42:30,027 INFO main com.urbancode.ds.UDeployServer - Stopping resource role scheduler... 2015-04-30 20:42:30,032 INFO main com.urbancode.ds.UDeployServer - stopped 2015-04-30 20:42:30,032 INFO main com.urbancode.ds.UDeployServer - Stopping scheduler... 2015-04-30 20:42:30,033 INFO main com.urbancode.ds.UDeployServer - scheduler stopped 2015-04-30 20:42:30,033 INFO main com.urbancode.ds.UDeployServer - Stopping event service... 2015-04-30 20:42:30,034 WARN main com.urbancode.air.services.event.EventService - 11 EventListeners left registered at shutdown 2015-04-30 20:42:30,034 WARN main com.urbancode.air.services.event.EventService - 2 EventListeners left registered at shutdown 2015-04-30 20:42:30,037 INFO main com.urbancode.ds.UDeployServer - event services stopped 2015-04-30 20:42:30,037 INFO main com.urbancode.ds.UDeployServer - done 2015-04-30 20:42:30,037 INFO main com.urbancode.ds.UDeployServer - Stopping agent task processor... 2015-04-30 20:42:30,041 ERROR main com.urbancode.ds.UDeployServer - Stopping agent task processor java.lang.NullPointerException at com.urbancode.ds.subsys.deploy.agent.AgentTaskBatcher.stop(AgentTaskBatcher.java:66) at com.urbancode.ds.UDeployServer.shutdown(UDeployServer.java:834) at com.urbancode.container.tomcat.Container.run(Container.java:105) at com.urbancode.ds.UDeployServer.main(UDeployServer.java:289) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:607) at com.urbancode.launcher.Launcher.invokeMainMethod(Launcher.java:235) at com.urbancode.launcher.Launcher.launch(Launcher.java:161) at com.urbancode.launcher.Launcher.main(Launcher.java:89) 2015-04-30 20:42:30,041 INFO main com.urbancode.ds.UDeployServer - Stopping network connectors...


[root@bnmtp020 log]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.3 (Santiago) [root@bnmtp020 log]#


Please provide help to resolve this issue.

Thanks in advance !

Sean Wilbur

People who like this

  1   Show 1
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
2700034H6E gravatar image Mallikarjuna Manoj Kandala (18)   Apr 30, 2015 at 08:53 AM 0
Share

Log

Also, just want to mention that I tried to set the JAVA_HOME to IBM JRE just before starting the UCD server with no luck as the errors remains same

ucd-server-start-failure-ssl.txt (9.9 kB)

2 answers

  • Sort: 
2700031EPW gravatar image
Accepted answer

Answer by abhipatti (2677) | May 06, 2015 at 12:29 PM

The cause of the issue was due to

" The file encryption.keystore contains a secret key used to encrypt secured properties stored in the UrbanCode Deploy Database. The IBM JDK cannot open the file encryption.keystore created by the OpenJDK because the underlying formats are different.

As a consequence, any UrbanCode Deploy server installed with the OpenJDK cannot start with the IBM JDK because the server cannot read the secured properties from the database."

As mentioned in the technote - http://www-01.ibm.com/support/docview.wss?uid=swg21692970

User contacted the support and supported provided a utility to to convert the encryption.keystore created by the OpenJDK into a keystore that the IBM JDK can read and it resolved the issue

Comment
Mallikarjuna Manoj Kandala
Sean Wilbur

People who like this

  2   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270005WCDF gravatar image

Answer by ucdabhi (16) | Apr 30, 2015 at 12:04 PM

The reason you are unable to start the UCD server is because , during the installation you have provided OpenJDK . But the JAVA_HOME points to IBM JRE due to which the UCD which has JAVA_HOME pointed to IBm JRE is unable to use keystore created by openjdk when starting the server.

This is reason you are seeing the following error

Caused by: java.io.IOException: com.sun.crypto.provider.SealedObjectForKeyProtector at com.ibm.crypto.provider.JceKeyStore.engineLoad(Unknown Source)

To resolve the issue you need to set JAVA_HOME to explicitly use the OPEN JDK and start the server again

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

26 people are following this question.

Answers

Answers & comments

Related questions

Linux UCD agent service as non root 1 Answer

Jenkins Plugin for UCR is not working 1 Answer

REST API run application process result 0 Answers

Jenkins urbancode plugin gets error publishing a second time 1 Answer

Urbancode Deploy Agent connection 3 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges