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

Error to start java app on IBM/Bluemix with DB service auto-config

310000K710 gravatar image
Question by eldevanjr  (1) | Aug 28, 2015 at 03:39 PM jdbcibmcloudservices

I have a app on java , using jpa(spring-data) and I build on bluemix with cf:push and everything its ok .. but when app beginning start throw that:

 [INFO    ] Auto-reconfiguring beans of type javax.sql.DataSource
 Failed to created cloud datasource for ubivisDB service
 [INFO    ] FFDC1015I: An FFDC Incident has been created: "org.cloudfoundry.reconfiguration.org.springframework.cloud.service.ServiceConnectorCreationException: Failed to created cloud datasource for ubivisDB service com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341" at ffdc_15.08.28_19.03.47.0.log
     at org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.DataSourceCreator.create(DataSourceCreator.java:60)
     at org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.DataSourceCreator.create(DataSourceCreator.java:23)
     at org.cloudfoundry.reconfiguration.spring.AbstractCloudServiceBeanFactoryPostProcessor.reconfigureBean(AbstractCloudServiceBeanFactoryPostProcessor.java:119)
     at org.cloudfoundry.reconfiguration.spring.AbstractCloudServiceBeanFactoryPostProcessor.processBeans(AbstractCloudServiceBeanFactoryPostProcessor.java:97)
     at org.cloudfoundry.reconfiguration.org.springframework.cloud.Cloud.getSingletonServiceConnector(Cloud.java:155)
     at org.cloudfoundry.reconfiguration.spring.AbstractCloudServiceBeanFactoryPostProcessor.processBean(AbstractCloudServiceBeanFactoryPostProcessor.java:112)
 [ERROR   ] SRVE0283E: Exception caught while initializing context: org.cloudfoundry.reconfiguration.org.springframework.cloud.service.ServiceConnectorCreationException: Failed to created cloud datasource for ubivisDB service
     at org.cloudfoundry.reconfiguration.org.springframework.cloud.Cloud.getServiceConnector(Cloud.java:245)
     at org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.DataSourceCreator.getDriverClassName(DataSourceCreator.java:81)
     at [internal classes]
     at org.cloudfoundry.reconfiguration.org.springframework.cloud.service.relational.DataSourceCreator.create(DataSourceCreator.java:50)
     ... 16 more
   

When I see if service it's bound on app with cf:services :

  mvn -P bluemix cf:services                                                                        
     [INFO] ------------------------------------------------------------------------
     [INFO] Building iservport-ubivis 0.1-RELEASE
     [INFO] ------------------------------------------------------------------------
     [INFO] 
     [INFO] --- cf-maven-plugin:1.1.2:services (default-cli) @ iservport-ubivis ---
     [INFO] Services instances
     [INFO] 
       name      service  plan        bound apps   
       --------  -------  ----------  -------------
       ubivisDB  sqldb    sqldb_free  familiasegura
     
     [INFO] ------------------------------------------------------------------------
     [INFO] BUILD SUCCESS
     [INFO] ------------------------------------------------------------------------
     [INFO] Total time: 16.947s
     [INFO] Finished at: Fri Aug 28 15:57:42 BRT 2015
     [INFO] Final Memory: 15M/197M
 

I think that could be bluemix update auto-config... any idea? ps: previously I can run without problems , but now i can't...

EDIT

Today I start to code and try to send upon bluemix and found this(below) error instead above.

 -----> Downloaded app package (42M)
 -----> Downloaded app buildpack cache (3.5M)
 SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
 [DownloadCache]                  WARN  Unable to download https://download.run.pivotal.io/auto-reconfiguration/index.yml into cache /tmp: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
 Spring Auto Reconfiguration error: Unable to find cached file for https://download.run.pivotal.io/auto-reconfiguration/index.yml
 [Buildpack]                      ERROR Detect failed with exception #<RuntimeError: Spring Auto Reconfiguration error: Unable to find cached file for https://download.run.pivotal.io/auto-reconfiguration/index.yml>
 E, [2015-08-31T13:37:51.340169 #135] ERROR -- /var/vcap/data/dea_next/admin_buildpacks/ca642e67-b6e3-4d85-a413-8d87f1195054_52b8a84cb91f02cc0da4490d05d0ccb097769ccc/lib/liberty_buildpack/buildpack.rb:50:in `rescue in drive_buildpack_with_logger': Detect failed with exception #<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed>






People who like this

  0   Show 9
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
2700060ANG gravatar image Jack Cai (447)   Aug 31, 2015 at 08:51 AM 0
Share

It will be helpful if you could attach the ffdc log. It's under logs/ffdc folder. Do "cf files logs/ffdc" to find them.

Show more comments
2700060ANG gravatar image Jack Cai (447)   Aug 31, 2015 at 12:42 PM 0
Share

My colleague told me that the DB2 support might not be there in the Spring version that's being used. On the other hand, the Liberty buildpack does create a data source "jdbc/ubivisDB" for the application automatically. Can you configure your SpringData to use this data source directly instead of relying on Spring AutoReconfiguration?

Show more comments
310000RJRU gravatar image valerio.bontempi (1)   Sep 03, 2015 at 04:48 AM 0
Share

Hello, it seems to be related to a problem with the HTTPS certificate SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed

310000K710 gravatar image eldevanjr (1)   Sep 22, 2015 at 02:47 PM 0
Share

After some days without changes , I push a new .war...and now a got that error

310000K710 gravatar image eldevanjr (1)   Sep 22, 2015 at 02:48 PM 0
Share

See same question on stackoverflow

0 answers

  • Sort: 

Follow this question

69 people are following this question.

Answers

Answers & comments

Related questions

Is there an ESB service on Bluemix 1 Answer

Insert error in db2 through jdbc 2 Answers

Dedicated services 1 Answer

Why is the "mysql" service experimental? 1 Answer

What do I put in the credentials field when creating an AlchemyAPI service? 1 Answer

  • 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