Posts

Creating Weblogic Domain with SOA support.

Image
This is the final post in continuation for the creation of the weblogic domain with the SOA support. In last two post I described component required and placement of the each artifact required for the creation of the SOA server. Now everything in place and we can start building a server which will support soa. There are two ways a SOA server can be configured 1. All in one Admin server 2. Soa server as a managed server to Admin server. In weblogic we can create a number of managed server under a admin server each of these managed server are like different serving point. In a cluster environment two or more managed server worked as a single unit, to increase availability. Each managed server can be controlled from Admin server and while startup it takes all the configuration related information from the Admin server. While for the study purpose its better to have a all in one admin server which take less resource to run and require less steps to shutdown or start, which we must have to ...

Current Date in ADF.

Image
In adf a number of places you want to set the currentDate as a default parameter, you can use the groovy expression to set this. Like for a bind parameter if you want to set the default value use the value option and set the currentDate from the adf. In case if you want to set the value less then 10 days to current date you can use it adf.currentDate -10. This will give you date 10 days less then current date. If you want date and time both you can use adf.currentDateTime. In some of the cases you may need to execute the custom methods defined in your entityImpl then you need to use adf.object for that. Like in the below case if a custom method has been coded in the entityImpl to get the default value like getDefaultDepartmentCode. If you need to set the same for your variable you need to use it adf.object.getDefaultDepartmentCode

Oracle Soa Server Installation

Image
Now we can start with soa specific installation. There is quite confusion over the oracle soa 11.1.1.3.0 installation. The issue is is a 11.1.1.3.0 patchset rather then a complete installer, hence first 1.1.1.2.0 need to be installed and then we need to install 11.1.1.3.0 at the top of it. So we need both the files, that is the reason I mentioned both the files in the prerequisite. 3. SOA Server Installation. 3.1 Unzip the files ofm_soa_generic_11.1.1.2.0_disk1_1of1.zip and ofm_soa_generic_11.1.1.3.0_disk1_1of1.zip both. 3.2 Start your database if not in the running condition. 3.3 Now go to the directory ofm_soa_generic_11.1.1.2.0_disk1_1of1\Disk1 and then click on setup.exe, it will ask you the location of your JDK. JDK is a part of the standard weblogic installation. So check the directory where you have installed the weblogic in the previous step jdk must be there, for me the location is D:\Oracle\MW_HOME\jdk160_21. Paste this location to the command window and pre...

Creating a weblogic domain with SOA Server -11.1.1.3.0

Image
I was trying to install oracle soa server, but there was a lot of issues, I faced and then decide to write this blog. There is a lot of help available but the problem is its spread across a number of sites and documents. A developer with some basic knowledge and if want to learn Oracle Soa will be in the net of all these sites and documents to install a basic SOA server. So I am trying to point out the basic steps which need to configure a Oracle SOA server. Prerequisite There are number of pieces you need to download before starting the installation. my advice is first download all these files because these are quite large files and in the installation process you need all these files, which will make installation task 10-20 job once you have all these files. Another prerequisite is oracle database. That is must for SOA installation, if you don't have oracle database installed you may need to install oracle database too. I would advice to go for oracle xe, a small light weight...

Take database schema dump and export

Today I need to migrate my schema from oracle xe in my system to another system which is a Linux box. I had to revisit a number of command, which is quite helpful. I used the export import utility provided by oracle. Its quite easy and straight forward. Step 1 Exporting schema to a dump file D:\Oracle\db\app\oracle\product\10.2.0\server\BIN>expdp system/**** schemas= hr directory=C:\Temp dumpfile=hrdump.dmp logfile=rexp.log Export: Release 10.2.0.1.0 - Production on Monday, 31 January, 2011 5:51:24 Copyright (c) 2003, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productio n ORA-39002: invalid operation ORA-39070: Unable to open the log file. ORA-39087: directory name C:\TEMP is invalid Then l reliesed that oracle does not know my directory. Then create this directory by login to database with user name and password system/****** sqlplus> create directory hrdump as 'C:\Te...