Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Changing Character Set causes failure in EM UI Load.

user6730127Feb 25 2015 — edited Feb 26 2015

Hello All

I am following this step to change the Oracle DB Character Set to UTF-8. However once I set this and restart the Oracle DB, The Enterprise Manager UI never comes up.

STEPS

Login to SQLPlus Client using SYS as SYSDBA.

To find Character set in Oracle DB.

SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET';

To update Character set in Oracle.

Update sys.props$ set value$='UTF8' where name='NLS_NCHAR_CHARACTERSET' Or name = 'NLS_CHARACTERSET';

To Commit changes.

commit;

To recycle Oracle DB for changes to take effect. SHUTDOWN.

SHUTDOWN IMMEDIATE.

To recycle Oracle DB for changes to take effect. STARTUP.

STARTUP

Now Open EM UI and access via a browser.

Error seen in browser.

Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in a response. Please consult the application log for details.

NOTE : If I stop and start Oracle Database without making the UTF-8 query changes as suggested in our AM / RM documentation. Everything works fine. Hence it seems to me that when we make that change as per our needs, something cascading gets ruptured. Has anyone seen such an issue, when using Oracle as the Store.

Regards

Hubert

Comments

unknown-951199

>Update sys.props$ set value$='UTF8' where name='NLS_NCHAR_CHARACTERSET' Or name = 'NLS_CHARACTERSET';

Above renders null & void any support contract between you & Oracle.


I hope you have a good backup that was completed before your fatal modification.


Hemant K Chitale

See the strongly worded warning in Oracle Support Note "Changing Or Choosing the Database Character Set ( NLS_CHARACTERSET ) (Doc ID 225912.1)"

Hemant K Chitale

Srini Chavali-Oracle

To update Character set in Oracle.

Update sys.props$ set value$='UTF8' where name='NLS_NCHAR_CHARACTERSET' Or name = 'NLS_CHARACTERSET';

As stated, this is not supported - it will corrupt your database beyond repair. You will have to restore from a good backup taken before this statement was issued.

The supported methods are documented -

http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch11charsetmig.htm#NLSPG467

Database Migration Assistant for Unicode - Overview

1 - 4
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 26 2015
Added on Feb 25 2015
4 comments
1,573 views