Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

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

$
0
0

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

clip_image002[3]

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.

BlogTwitterLinkedInMixForumWiki


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>