Saturday, January 16, 2010

Oracle Identity Manager installation tips

I will not be able to post right now the complete installation steps for Oracle Identity Manager with JBoss as the application server, because it will take a lot of time, but I will add some tips here to be be taken in consideration during OIM installation.

- If you are using Sun JVM and JBoss, you need to make one more modification in run.bat (JBoss starting Batch) ro JAVA_OPTS parameter which is -XX:MaxPermSize=256m

set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m -XX:MaxPermSize=256m

- When you start JBoss and you want it to listen (or bind) to any available IP, run JBoss starting batch like this

run.bat -b 0.0.0.0


- After installing OIM Design Console, take copy from log4j.jar from inside JBoss and rename it to log4j-1.2.8.jar then replace log4j-1.2.8.jar from inside OIM Design Console installation directory.

- Take care when installing JBoss in your development or testing machine, some applications my be using JBoss ports like MS Exchange uses 1099 and 1098, Oracle UCM uses 4444 and 4445, and of course Apache Tomcat. So you need to change JBoss ports, to do that take a look at the following page which explains to you which files you will change

http://www.thedance.net/~roth/TECHBLOG/jbossports.html

If you want to know which applications is using your machine's ports, download ActivePorts program from the following link

http://download.cnet.com/Active-Ports/3000-2651_4-29653.html?tag=mncol

If you changed 1099 port after you have installed OIM, you should change it too in xlconfig.xml for OIM Server and OIM Design Console. Also If you changed 8080 port after you have installed OIM, you should change it too in xlconfig.xml for Design Console.

- To deploy SMPL WebService, take a look at the following link

http://download.oracle.com/docs/cd/E14899_01/doc.9102/e14763/spml.htm#BEIDGDGE

Also note you need in this case to download apache commons-discovery library and add it to [jboss_install_dir]/server/default/lib


Friday, December 11, 2009

I am W A V I N G

I have been invited to google wave from days thanks to Amr Gawish, I didn't do a lot of things in it yet, but I liked it. I like the way of collaboration using google wave. Currently I have 7 invitations if you need one just send to me.

I hope in the future no one is chatting, all of us gonna be waving :)

Expanding my blog topics

I am currently moving to a new company with new position, where I will be Senior Oracle Middleware Consultant. So that I will more topics in my blog, I will not only concentrate with ECM. I am intending to talk about Identity Management, SOA, and others.

Soon I will try to post things about integration between UCM and Oracle IDM solutions. Also integration between IDM and E-Business Suite, and UCM and E-Business Suite. But give me an excuse If I was late because I am currently in the process of handing-over my tasks with my old employer Egabi Solutions.

Lastly I want to mention that my new employer is Catalyst Solutions, it's an American Indian company and it's working mainly with oracle solutions, they have 6 branches in Africa, and we will be concentrating on African market. I wish I will be helpful for them in the area of MiddleWare solutions.


Friday, October 16, 2009

No Posting from days ...

I didn't post anything from days, because I am currently engaged in J2EE application for Vodafone Egypt with my current employer (Egabi Solutions) where we have lack of J2EE resources, and hopefully I will finish my tasks by the end of this month. For the first time I am coding using Hibernate and Struts, I was confused about them at the beginning but now I know how to work with them, and I like them especially hibernate.

Friday, October 2, 2009

Oracle Database RAC configuration with UCM

If want to configure Oracle Database RAC with Oracle UCM, you will need only to change database connection string inside UCM configuration file (/config/config.cfg), also you can change the connection string using System Properties utility if you want.

The new UCM configurations are:

JdbcDriver=oracle.jdbc.driver.OracleDriver
JdbcConnectionString=jdbc:oracle:thin:@(description=(address_list=(address=(host=your.host1.name)(protocol=tcp)(port=123))(address=(host=your.host2.name)(protocol=tcp)(port=123))(load_balance=yes)(failover=yes))(connect_data=(service_name=service.name)))

Saturday, August 29, 2009

IRM Blog

I was searching for any available resources about IRM, and I discovered that there is an official Oracle blog for IRM http://blogs.oracle.com/irm/



Saturday, August 22, 2009

Create a new webService based on an existing content sever service

In latest release of Oracle UCM (10gR3 release), WSDLGenerator component has became one of the system components, which means when we install UCM, we will have that component installed and enabled for us to be used. That component is very important, because it facilitates the integration with Oracle UCM, i.e. we got 8 WSDL files with this component that WSDL files give us the most required webservices like a webservice for checking in a content.

But sometimes, we want to have some other webservices based on an existing content server service that service may be created by you. Next I will show you how to create a webservice that can create a virtual folder, the new webserice name will be CreateFolder, where that webservice will be based on COLLECTION_ADD -content server service.

Note all WSDL files are saved under the following path [UCM_INSTALL_DIR]/weblayout/groups/secure/wsdl/custom/

Steps For How To Create "CreateFolder" Webservice
1- Login as sysadmin user

2- Under Administration menu, click on the menu item Soap Wsdls, then Wsdl List page will open
3- From Actions menu choose Add WSDL


4- Next add the Wsdl Name which will be Folders and add Wsdl Description

5- Then Click on Add button, then you will be directed to Wsdl Information Page
6- Inside Wsdl Information Page, from Actions menu choose Add Service


7- Next add the Webservice Name, which will be CreateFolder, and IdcService Name which will be Collection_ADD


8- Then click on Add button, then you will return to the Wsdl Information Page again, and you can see a new webservice has been added to Services list
9- Click on Edit for the webservice CreateFolder, you will be directed to the Service Information Page


10- From Actions Menu, choose Update Request Parameters, and add the following parameters
Note:
The request (input) parameters for COLLECTION_ADD IdcService are divided to three parts,
the first part is related to folder information (first five parameters), the second part is the default metadata fields for the folder where any content added to the folder will inherent the metadata values, we can add them one by one or we can use another predefined type (d:CommonDocMetaFields) that holds all of them, and the third part is the custom metadatafields, also we have a predefined type (propertylist:CustomDocMeta) that will define them to be taken dynamically with specific names (you can add them one by one but in that case they will be static so if you deleted any custom metadata field you need to remove it manually from the Wsdl file)

11- From Actions Menu, choose Update Response Parameters, and add the following parameter

12- Inside Service Information Page click on update
13- Inside Wsdl Information Page click on update
14- Now you are in Wsdl List Page, from Actions menu, choose Generate Wsdls

Next after creating the webservice, we need to test it, we can do this using a Webservice testing tool, I am using SoapUI.