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

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

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
5
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today