SOA : Deleting from MDS

You might want to delete unused artifacts from the central MDS.
You can do so by following the below steps:
Make sure the WebLogic server is runinng before proceeding ahead.



Step 1
Open command prompt and go to the following location:
<mw_home>\Oracle_SOA1\common\bin\
mw_home : Folder where all the SOA Components like WebLogic are installed.

SOA : WebLogic startup Out Of Memory Errors


While starting the WebLogic SOA Server you might see the following error sometimes.

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.


There are two ways to resolve this error.
1) Reduce the MaxPermSize if you don’t have enough RAM(less than 4GB) or if you are running a 32-bit OS.
2) Use a 64-bit JDK if you have enough RAM(more than 4GB) and a 64-bit OS.

Creating Database and Application Server Connections in Jdeveloper


Lets see how to create the Database and Application Server connections in Jdeveloper.

1) Creating a database Connection.

First you need to unlock the sample hr schema that comes with the Oracle XE db.

Expand Application Resources on the left-hand side in Jdeveloper.
Right Click 'Connections' and select 'New Connection –> Database.


Image 008

SOA : Deploying XSD to Central MDS

Storing common artifacts that are used across projects in the MDS repository is a good idea.
It ensures that the artifacts are centrally managed and any changes are easily propagated to all the consumers.
Lets see how to deploy XSD files to the MDS in SOA.
First you need to create a Central MDS connection. See here.
By doing this you can use the same XSD file from the central MDS in multiple projects.


Step 1
First, we need to create a new SOA project.
Right Click on the application and select New Project.

Image 001

SOA : Creating DataSource in WebLogic console


In this post we'll see how to create a JDBC data source in the weblogic console.
First you need to unlock the HR schema in the oracle database.

Open the weblogic console at the following URL
http://localhost:7001/console
Username/password : weblogic/welcome1