Developer Partner Community

  • December 27, 2012

Using Apache Derby Database with WebLogic (the express way) by Frank Munz

Juergen Kress
PaaS & Middleware Partner Adoption

This is more a note to myself, because I keep forgetting the details and then I get angry about myself when I am in a hurry .

If you quickly require a database with WebLogic 12c (or some other version 10.3.3 or later, because since then WLS comes with Derby) and some content (e.g. to try some monitoring tool or a WLST script or something), do the following:clip_image002[1]

  • 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! more details, recipes and discussions


WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.


Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.