Apache’s open source Derby database to create a database instance For Weblogic Testing sample applications
Step:1 Go To below location for starting network server
E:\Middleware\Oracle_Home\wlserver\common\derby\bin>startNetworkServer
Step:2 To start the interactive shell for derby Database go to below path and start the interactive shell and execute below commands
E:\Middleware\Oracle_Home\wlserver\common\derby\lib>java -jar derbyrun.jar ij
ij version 10.11
ij> CONNECT 'jdbc:derby://localhost:1527/demodb;create=true';
ij> exit;
step:3 We need to use derby database drivers for connecting weblogic servers. So manually we need to copy the derbyclient.jar file into domain home lib directory like below screenshots.
step:4 We need to restart the weblogic admin server and check derby driver loaded (or) not check like below screenshot.
Step:5 for creating and testing derby database on weblogic admin console olease find below attached screenshots for reference.
Note: For creating derby database no need to user username and password
Comments
Post a Comment