Skip to main content

SOAINFRA database connection in Default domain of SOA12c IntegratedWeblogicServer

While working on our local systems we will have some scenario in which we want to connect to SOAINFRA database of IntegratedWeblogicServer.

In this post I will explain you how to login to SOAINFRA database of default domain coming with Integrated weblogic server in JDeveloper 12c. SOAINFRA database of IntegratedWeblogicServer runs on Derby server.

Prerequisite : IntegratedWeblogicServer must be up and running before proceeding further.

Follow the below steps to connect to SOAINFRA database:

1. To connect to weblogic server connection details are required. These connection details can be found from the SOADataSource. For this login to weblogic admin console using url http://localhost:7101/console.

2. After login, click on Data Sources.



















3. Open SOADataSource and click on Connection Pool. Copy the connection URL. URL will be like
jdbc:derby://localhost:1527/soainfra;ServerName=localhost;databaseName=soainfra

Description of URL :

  • HostName : localhost
  • Port Number : 1527
  • UserName : soainfra
  • Database Name : soainfra




















4. Now open JDeveloper or any other tool to acess the SOAINFRA database.

5. Create a new database connection and and fill details as mentioned in the step 3. Select Connection Type as "Java DB (Derby)".
























6. Click on Test Connection. You may get error "Test failed: Driver class not found.
Verify the Driver location".

























7. To resolve this issue derbyclient.jar needs to be added in JDeveloper class path. To add it go to Tools -> Manage Libraries -> New -> AddEntry. A popup window will appear. From here go to java home and go to the path /jdk1.7.0_79/db/lib. Select derbyclient.jar.























8. Go back to step 6 and choose the derbyclient.jar class path under library section and click on Test Connection.

























Comments

Post a Comment

Popular posts from this blog

Difference between OSB 11g And OSB 12c

In this blog I will walk  you  through from the new features of OSB 12c as well as the difference between OSB 11g and 12c. Following are the differences between OSB 11g and 12c : In the new version Oracle Service Bus (OSB) is renamed as Service Bus. Eclipse tool is needed to develop an interface in OSB 11g where as JDeveloper tool is needed to develop an interface in OSB 12c.  Oracle has integrated OSB 12c with JDeveloper. Now there is no need of Eclipse to develop an interface in 12c. Graphical representation of OSB components are similar to SOA BPEL components. Pipeline is separated from proxy service and it is separate component in 12c. To perform operations on database, ftp and files, it is no longer required to configure adapters in JDeveloper and copy it to Eclipse, because OSB 12c service is developed using JDeveloper only.

How to generate a unique id in XSLT

In this post I will explain you how to generate a unique Id in XSLT. To Generate a unique id in XSLT use oraext:generate-guid() function. See below screen shot to generate unique id in XSLT : Result of XSLT : The function oraext:generate-guid() has generated a unique Id as 2d333136303937343532313436323038. Similarly for each run this function will generate different unique Ids.

SOA 12c : How to read a file using File Adapter

In this post I will explain how to read, delete, and archive a file from any location. This post will also explain reading content of file in 12c and configuration of NXSD (Native Format Builder). This post can be applicable for SOA 11g also. File Adapter Configuration : Drag File Adapter to Exposed Services section : Enter file adapter JNDI Name File Adapter have multiple operations read, write, sync and chunked read operations. Here we are using read operation. Enter file source and archive location. If you don't want to archive any file, uncheck the Archive check box. Specify File name pattern to read files based on any pattern. Set Polling frequency. Polling frequency is the interval in which adapter will read the file from the particular location. Now we need to define an NXSD schema, to convert the file data to XML f...