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>
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.
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?
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
After some days without changes , I push a new .war...and now a got that error
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