Oracle Weblogic Admin Server startup | schema validation failure

While I was trying to setup Oracle Forms & Reports 14.1.2, the first attempt REPO creation didn’t report any connection issues & I was slapped with JAVA errors, especially “Schema validation failure” multiple times throughout Admin server startup. Not just the errors, the startup gave up after many errors associated and I came across a work around to start the Admin Server. It was by using one of the JAVA options.

set JAVA_OPTIONS=-Dweblogic.configuration.schemaValidationEnabled=false

After setting up this option, startWeblogic.cmd starts the Admin Server, however still throwing multiple JAVA exceptions. As we have Oracle support, two days I tried to figure out the exact reasons and gave up as there are hardly many 14.1.2 cases discussed else anywhere.

Being a Virgo has multiple caveats, one of them is doing stuffs the right way. My new VirtualBox VM will not activate Windows, that was annoying me because I couldn’t configure my desktop with icons! So I copied back my Windows 10 VM, upgraded it to Windows 11 23H2 and had to reinstall Oracle 19c database. Btw, this time I applied the latest Windows bundle patch for 19c, bringing the database to 19.25!

The first issue I noticed was while setting up the repository for Weblogic classic domain. The connection to “PDB” failed & I realized that I couldn’t do a tnsping against the PDB! Excuse me, I am not a “Certified DBA” here and I always used hacks to get stuffs done. Until the last time, once after Installing the Oracle database 19c with a PDB, I always did the following few

  • alter pluggable database all open read write services=all;
  • alter pluggable database all save state;
  • Set password reuse and password life to unlimited for the DEFAULT profile on all containers

This time I opened the pluggable database and saved the state. Didn’t use services=all part and as I am not a certified DBA, cannot confirm whether it was the reason the RCU failed to connect ;)

Anyway, as I just said above, usually I am lucky with hacks and realized that the connection issues are due to missing service entries, proceeded with creating service and database entries for the PDB using net manager.

Bounced database, restarted the listener services and REPO creation proceeded without further connection related issues.

The bonus was Weblogic Admin Server startup stopped throwing “Schema Validation Failure” JAVA exceptions and it was a really wonderful experience.