Oracle XE

Check if JVM is Installed in Oracle

I recently thought of using a Java method in PL/SQL. And so I wrote the Java stored procedure and ran it on Oracle XE.

Things didn’t go as planned.

[click to continue…]

{ 0 comments }

I recently upgraded Oracle XE from 10G to 11G, and found that none of the PL/SQL code using UTL_HTTP was working after upgrade.

The code failed with the error:

declare
*
ERROR at line 1:
ORA-29273: HTTP request failed
ORA-06512: at "SYS.UTL_HTTP", line 1130
ORA-24247: network access denied by access control list (ACL)
ORA-06512: at line 47

Oracle 10G used to be happy as long as the user running network packages like UTL_HTTP had execute permission on the package. Oracle 11G and above are not so easy to please (and rightly so!) — they enforce extra security, which means you need more access control configuration to get this working.

[click to continue…]

{ 1 comment }

Sometimes you try to login to your Oracle XE on your home computer, and get this curt blocking response:

ORA-12560: TNS:protocol adapter error

Here’s the top reason why ORA-12560: TNS:protocol adapter error might occur and how to fix it.

[click to continue…]

{ 1 comment }

Here is a simple guide to help you learn Oracle as a developer from scratch, on your own. For an absolute beginner to Oracle, it helps you navigate your way around the sea of information available at your disposal.

[click to continue…]

{ 4 comments }

Quick tip to unlock database user account in Oracle Express Edition (XE) – this is among the first things you’d need to do when you start using Oracle XE.

The default user HR in Oracle Express Edition is locked when you first try to login after database installation.

SQL> conn hr/hr
ERROR:
ORA-28000: the account is locked

This is apparently due to security reasons, and needs to be unlocked by the administrator.

To unlock HR — or any other database user account in Oracle Database XE – follow the steps below.

[click to continue…]

{ 5 comments }

Oracle Database Express Edition (Oracle Database XE) is a free, lightweight version of Oracle.

If you’re a small enterprise with modest database needs, or an individual looking to learn Oracle on your home computer, Oracle Express Edition is just the answer for you.

This starter version of Oracle is free to download, distribute and deploy. It supports up to 4GB of user data, in addition to Oracle system data.

A demo database called HR is provided with the installation.

[click to continue…]

{ 0 comments }