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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content