icon-arrow icon-check icon-mail icon-phone icon-facebook icon-linkedin icon-youtube icon-twitter icon-cheveron icon-download icon-instagram play close close icon-arrow-uturn icon-calendar icon-clock icon-search icon-chevron-process icon-skills icon-knowledge icon-kite icon-education icon-languages icon-tools icon-experience icon-coffee-cup
Werken bij Integration & Application Talents
Blog 24/03/2015

Access Denied when logging in to OSB 12c console

Access denied

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 FilesJavajdk1.7.0_xx"

In Linux the home is probably set by alternatives. In that case /bin/javapoints 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.

Enter:

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 startWebLogic.sh is displayed. in my case: /root/.jdeveloper/system12.1.3.0.41.140521.1008/DefaultDomain/bin/startWebLogic.sh. In the same directory is the file setDomainEnv.sh. 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.

Geen reacties

Geef jouw mening

Reactie plaatsen

Reactie toevoegen

Jouw e-mailadres wordt niet openbaar gemaakt.

Geen HTML

  • Geen HTML toegestaan.
  • Regels en alinea's worden automatisch gesplitst.
  • Web- en e-mailadressen worden automatisch naar links omgezet.

Wil je deel uitmaken van een groep gedreven en ambitieuze experts? Stuur ons jouw cv!