forbidden Derby database starting with weblogic instance

Now doing a new project  which  choose the newest weblogic 12.1.2.0.0 as web container.But found the Derby database also popping out with  weblogic start up.

below is the solution to enabled Apache Derby Database start or disabled it .

- make sure you have the WebLogic samples and the sample DB installed.

- create a new domain.

- in the domain’s setDomainEnv.sh under DOMAIN_HOME/bin
change the DERBY_FLAG from false to true.

- start the Admin server which will start the Derby database as well.

- Create a data source using the following values:

 DBName: medrec

 Host: localhost

 Port: 1527

 Username: medrec

 Password: medrec

- Test the connection pool after creating it. It should work right away.

Done!

 

你可能感兴趣的:(weblogic)