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!

 

posted on 2013-10-11 01:26  七月逆流  阅读(311)  评论(0编辑  收藏  举报