Tuesday, July 16, 2013

How to configure the HTTPS Port for EM Database Express 12c

Configuring the HTTPS Port for EM Database Express 12c

If you used dbca to configure your database and enabled to configure also the EM Express you can find the EM Express URL provided by DBCA in the latest GUI screen.
If you forget the URL you can use the following SQL statement to find the port for EM Express:
[oracle@vsi08devpom ~]$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.1.0 Production on Tue Jul 16 13:31:31 2013

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> select dbms_xdb_config.gethttpsport() from dual;

DBMS_XDB_CONFIG.GETHTTPSPORT()
------------------------------
              5500
In your web browser enter the EM Express URL in this format to go to the login page: https://hostname:portnumber/em/
When EM Express prompts you for your username and password, log in as a user with DBA privilege (such as SYSTEM or SYS). 

If you want to change the default HTTPS Port for EM Express, that is 5500, you can proceed following these steps (as seen on Oracle documentation):

1. Configure and start the Oracle Net Listener (the listener). You can use lsnrctl to start, stop, and view the status of the listener

2. If the listener is running on a nonstandard port (for example, not 1521), then the init.ora file for the database you want to manage using EM Express must contain a local_listener entry so that the HTTPS port can register with the correct listener. The local_listener entry references a TNSNAMES entry that points to the correct listener. For example:
local_listener=inst1
where inst1 is a TNSNAMES entry defined in tnsnames.ora that points to the listener. For example:
inst1= (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)(PORT=1234))
(CONNECT_DATA=(SERVICE_NAME=service_name)(SERVER=DEDICATED)))
In this example, 1234 is the nonstandard port on which the listener has been configured to listen.

3. Enable the TCP dispatcher by adding the following entry to the init.ora file for the database you want to manage using EM Express:
dispatchers="(PROTOCOL=TCP)(SERVICE=XDB)"
In my case, because the database SID is CDB001 I have:
SQL> show parameter dispatchers

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
dispatchers                 string     (PROTOCOL=TCP) (SERVICE=CDB001
                         XDB)
max_dispatchers              integer

4. Restart the database so that the changes made in the init.ora file take effect.

5. Use the PL/SQL procedure DBMS_XDB_CONFIG.SETHTTPSPORT to set the HTTPS port for EM Express. This will update the HTTPS port in the xdbconfig.xml file in the Oracle XML DB Repository. You must connect as SYS / AS SYSDBA to run the procedure. In my case I'm going to change the default port 5500 to 5555:
SQL> exec DBMS_XDB_CONFIG.SETHTTPSPORT(5555);

PL/SQL procedure successfully completed.

6. To access EM Express, enter a URL in the following format in a Web browser: https://hostname:portnumber/em/

Have a look at the following picture:

When prompted for your username and password, log in as a user with DBA privilege (such as SYSTEM).
 
Simply executes the same procedure to set again the default port number to 5500.


That's all.









11 comments:

Unknown said...

Hello,

Please can you let me know how to upgrade EM Database Express 12c to Enterprise Manager Cloud control 12c R3.

Thanks & regards
Sunil

eMarcelCom said...

Hi Mate!
did you try to disable SSL in DB Express and connect via http?

Cheers!

oakleyses said...

oakley sunglasses, prada handbags, oakley sunglasses, longchamp handbags, longchamp handbags, louboutin shoes, louis vuitton handbags, coach factory outlet, tiffany and co, coach purses, louis vuitton outlet, polo ralph lauren outlet, air max, prada outlet, longchamp outlet, oakley sunglasses cheap, ray ban sunglasses, louboutin outlet, michael kors outlet, michael kors outlet, tiffany and co, burberry outlet, christian louboutin shoes, coach outlet store online, jordan shoes, polo ralph lauren outlet, louboutin, kate spade handbags, michael kors outlet, coach outlet, air max, gucci outlet, michael kors outlet, ray ban sunglasses, chanel handbags, michael kors outlet, tory burch outlet, nike free, kate spade outlet, louis vuitton outlet, burberry outlet, louis vuitton outlet stores, louis vuitton, nike shoes, michael kors outlet

oakleyses said...

abercrombie and fitch, instyler, ghd, bottega veneta, ugg boots, jimmy choo outlet, soccer shoes, ugg pas cher, herve leger, beats by dre, birkin bag, abercrombie and fitch, north face jackets, soccer jerseys, mont blanc, rolex watches, lululemon outlet, celine handbags, nike roshe run, nike trainers, giuseppe zanotti, hollister, wedding dresses, nike huarache, mcm handbags, vans shoes, chi flat iron, babyliss pro, north face outlet, nike roshe, ugg australia, ugg, marc jacobs, barbour, nfl jerseys, p90x, new balance shoes, asics running shoes, ferragamo shoes, mac cosmetics, insanity workout, uggs outlet, reebok outlet, longchamp, valentino shoes

Unknown said...

In 2004, Mark saw Rooney in Branson, Mo., where Chris had booked Mickey and Jan for a gig. Mark says he found Chris "already positioning himself" to get access to Rooney's money, having persuaded Mickey and Jan to move out of their "big and beautiful" home in Sherman Oaks and into a "really michael kors sale crappy rental home" in Westlake Village. Moreover, recalls Mark, "He was on the phone shopping for new Porsches. The guy said he needed to check Chris' credit and paperwork and he goes, 'You've got to check my f—ing credit? I'm a f—ing millionaire! What are you talking about?' And michael kors outlet online sale I'm like, 'Wait a minute, what's going on here?' "
Demi Lovato has a lot to celebrate this week — she debuted the music video for "Confident," released her fifth studio album of the same name, which Billboard described as a "surprisingly compelling listen," and now she's landed a michael kors outlets modeling contract.The "Cool for the Summer" singer has been signed with Wilhelmina Models, the agency announced on Friday. Lovato is in good company at Wilhelmina, joining Nick Jonas, Sydney Sierota, Ellar Coltrane and Empire's Trai Byers as part of the agency's impressive roster."We are so thrilled to represent such 2015 michael kors outlet a sophisticated, confident and talented woman, as Demi," said Alex Vaickus, CEO of Wilhelmina Models, in a release. "She has proved that she is an accomplished singer and actress, and we look forward to seeing her success within the modeling realm."
Anna Wintour is a busy lady, and her michael kors stores time is money — $25,000 to be exact. That's what it will cost for a meet-and-greet with the legendary Vogue editor in chief at the Conde Nast HQ at 1 World Trade Center in New York City. But don't worry, the money is all for a good cause. The michael kors outlet online meet-and-greet as well as host of goodies from the closet (including Vera Wang and Michael Kors swag) is part of a Charity Buzz auction raising money for the United States Tennis Foundation. Bidding closes on Sept. 14, so make your move quick.
When Gigi Hadid isn't working the runways michael kors uk and shutting down Internet trolls, she apparently directs music videos in her spare time (because starring in one just won't cut it). Yes, the 20-year-old face of Guess co-directed boyfriend Joe Jonas' new music video, "Cake by the Ocean," a dance-rock track by Jonas' new band, DNCE.Just as the michael kors outlet online store 49.00 outlet song suggests,

oakleyses said...

jordan shoes, christian louboutin, uggs outlet, michael kors outlet online, uggs on sale, louis vuitton outlet, louis vuitton outlet, louis vuitton, ray ban sunglasses, replica watches, christian louboutin uk, chanel handbags, michael kors outlet online, uggs outlet, longchamp outlet, nike air max, michael kors outlet, burberry handbags, tiffany and co, polo outlet, nike free, nike air max, ugg boots, oakley sunglasses, ray ban sunglasses, michael kors outlet online, oakley sunglasses, christian louboutin outlet, longchamp outlet, prada handbags, gucci handbags, prada outlet, oakley sunglasses wholesale, michael kors outlet, oakley sunglasses, kate spade outlet, christian louboutin shoes, louis vuitton outlet, tory burch outlet, ugg boots, michael kors outlet online, burberry outlet, cheap oakley sunglasses, louis vuitton, ray ban sunglasses, nike outlet, longchamp outlet

oakleyses said...

sac vanessa bruno, new balance, vans pas cher, ray ban uk, nike blazer pas cher, true religion outlet, michael kors outlet, true religion outlet, replica handbags, polo lacoste, oakley pas cher, coach purses, hollister uk, abercrombie and fitch uk, nike free uk, north face uk, louboutin pas cher, polo ralph lauren, hollister pas cher, nike air max uk, michael kors pas cher, nike air max, true religion jeans, timberland pas cher, nike air max uk, coach outlet, air max, michael kors, jordan pas cher, sac hermes, north face, lululemon canada, coach outlet store online, nike roshe, sac longchamp pas cher, nike air force, mulberry uk, hogan outlet, ralph lauren uk, longchamp pas cher, michael kors, converse pas cher, burberry pas cher, nike roshe run uk, true religion outlet, kate spade, nike free run, nike tn, ray ban pas cher, guess pas cher

Anonymous said...

Hello,

how can i get the EM express url to put in my web browser, please?

Thanks in advance.

Vale Co Xenia said...

This is really such a great article. I really enjoyed it. Thank you for sharing.

IEEE Projects on Cloud Computing



JavaScript Training in Chennai


Final Year Projects for CSE



JavaScript Training in Chennai

anti snoring device said...

The ClipAir for snoring is a very soft, high quality little clip that is inserted in the nose to increase airflow.  It will:
1. Improve quality of sleep by reducing or eliminate snoring sounds
2. Improve your mood
3. Improve the mood of your partner
4. Prevent you from being sent to the couch by that same partner
Now the exact solution has been found to get rid of this disease. ClipAir Nasal Dilator is one such device that can be easily fitted in the nose to get rid of snoring all night. There is no need to do any kind of surgery to apply it in the nose. This clip can be easily fitted to the nose. This clip is very soft and comfortable, by applying it, there will be no pain in your nose. Its price is also not much. you can buy ClipAir Nasal Dilator from our website as we are authorised dealer available in Canada & USA. If you or your partner has this type of disease, you can buy it from here
snoring mouth gaurd
how to stop snoring
snoring nose clip
anti snoring solution
snoring remedies
clip air nasal dilator
nasal dilator
anti snoring device
snoring solutions

Bernard Crosby said...

I ennjoyed reading this