Follow Us on Twitter

Access Denied when logging in to OSB 12c console

by Patrick Sinke on March 24, 2015 · 0 comments

The Oracle SOA Suite 12c quick start is an excellent way to get started with all the new features of 12c. I imagine it must be frustrating when you log in to http://localhost:7101/servicebus and are confronted with an 401 – Access Denied error message. Rest assured, there is nothing wrong with your credential configuration. The cause is likely much more simple; you use the wrong Java version.

Although the certification matrix for FMW 12.1.3 lists JDK 1.7.0_55+ (I’d think that would include 1.8), it will most likely cause problems when you use java 8. The solutions is easy.

Point the default JAVA_HOME to an Oracle JDK 1.7.

In Unix  type:

JAVA_HOME=$HOME/Java/jdk1.7.0_xx export JAVA_HOME

In Windows:

SET JAVA_HOME="C:\Program Files\Java\jdk1.7.0_xx"

In Linux the home is probably set by alternatives. In that case /bin/java points to /usr/bin/java, which points to /etc/alternatives/java, which finally points to something like/usr/share/jvm/java-x-oracle. Where x is the current JDK version.


sudo update-alternatives --config java

And choose the correct java version (in this case, java-7-oracle).

If this doesn’t work, there might be a setting still pointing to java-8. When you start the IntegratedWebLogicServer, the location to the is displayed. in my case: /root/.jdeveloper/system12. In the same directory is the file Replace all the java paths to the java 7 version and restart your Weblogic server. You should be able to login into the Service Bus console now.

Access Denied when logging in to OSB 12c console, 5.0 out of 5 based on 1 rating
VN:D [1.9.22_1171]
Rating: 5.0/5 (1 vote cast)

{ 0 comments… add one now }

Leave a Comment


Previous post:

Next post:

About Whitehorses
Company profile

Whitehorses website

Home page

Follow us
Blog post RSS
Comment RSS