Chat with us, powered by LiveChat
Disable Apache Derby in Weblogic 12c

In Weblogic 12c, unlike previous versions, the Derby database that is embedded with the installation starts automatically.

That database is fine if our intention is to use it for a test or to develop, but not for a productive environment.

In either case, if it is necessary to prevent it from starting, we have several alternatives:

1. Change the start instruction to false in the file setDomainEnv.cmd or setDomainEnv.sh if it is Linux that is in the path $ WL_DOMAIN_HOME $ \ bi

2. As you will see in the previous image, a validation is made of whether the derby.jar file exists, so another alternative is to rename this file, so the validation will fail and the Derby database will not start.

 

Comments are closed.