Additional parameters that were set in a property are not respected

Solution Verified - Updated -

Issue

There is a property placeholder being used to set a bean configuration (database endpoint as example) and additional parameters that were set for it does not seem to be respected.

A property could be defined as following:

db.url = jdbc:mysql://some_host:some_port/some_schema?characterEncoding=UTF-8&characterSetResults=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull

In that case auto reconnect will not happen.

It does not matter how a property value has been specified, using external property files (Config Admin in standalone mode) or using PID in profiles (Fabric mode), tt would lead to the issue in both cases.

Environment

  • JBoss Fuse 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.