How to configure NLS parameters settings In JBoss EAP

Solution Verified - Updated -

Issue

  • We have installed JBoss EAP 6.4 on a Windows machine choosing English language, now we have this default language configuration when we make a new connection to Oracle databases through a datasource.

  • Is there a way to change this default datasource configuration or should we reinstall the server? How the server is configured in spanish language having Oracle session default parameters?

  • Is there any NLS_LANG configuration in JBoss to change the default datasource language configuration?

  • Should we put NLS_LANG as a java parameter in the starting scrips or there is a better way to configure it?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.4.8
  • Oracle

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