Pages

Sunday, March 7, 2010

How to recover the administrator password in a WebLogic Domain

To recover the administrator password in a WebLogic domain: (For WL version 9 and higher)

1. At the command line, change directory to the domain and run the setEnv script to set the PATH and CLASSPATH.

2. cd /security

3. mv DefaultAuthenticatorInit.ldift DefaultAuthenticatorInit.ldift_BKP

4. run java weblogic.security.utils.AdminAccount ./
-above command will Create a new DefaultAuthenticatorInit.ldift

5. cd <Domain_Name>/servers/AdminServer/data/ldap, mv DefaultAuthenticatormyrealmInit.initialized DefaultAuthenticatormyrealmInit.initialized_BKP

6. Restart the Admin Server.

7. Login with new username/password

* To change the old admin user identity, log into the admin console and change the password from console.

Wednesday, February 24, 2010

Oracle BIEE ReportUI portlet running on Oracle WebLogic Portal 10gR3

In Oracle BIEE document, it means the ReportUI portlet(sawjsr168portlets.war) can be deployed and run on Oracle Portal, Oracle WebCenter and IBM Websphere Portal successfully. But it doesn't mention the Oracle WebLogic Portal.

Recently i'v tried to deploy and use Oracle BIEE ReportUI Portlet on Oracle WebLogic Portal 10gR3. And finally it worked properly as well.

As described, ReportUI portlet is a JSR 168 based portlet, which can be running on any JSR-168 compliantportal/portlet container. But how to deploy it to make it known as a portlet on weblogic server?

After thinking it over, i'v found a simple way to reach it:

1. to extract the above portlet package (sawjsr168portlets.war), which is a war file.

2. to update some items in portlet.xml after extracting it, for example: presentation URL, username and password.

3. to copy all the source files including the updated ones in this war file into your portal project

4. After deploying your portal project on WLP, you will find there is a new portlet available to use when accessing portal administration application.

5. Then adding this portlet in your portal page

6. Configuring it by specifying the report path etc.

After all, here is what it looks like in WLP project:






Tuesday, February 23, 2010

Invoking UCM Secured Web Services in Oracle BPEL

In one case, we had to invoke Oracle UCM Secured Web Services in BPEL.

As usual, i found the UCM web service wsdl first through UCM Administration, for example:
http://brenda-demo:7777/idc/groups/secure/wsdl/custom/DocInfo.wsdl

When accessing this URL in browser, it will ask you input the credentials first by poping-up a window, which means this web service is secured.

Then i created a new partner link in BPEL project, copied and pasted this WSDL URL into this new partner link WSDL input, and clicked the Apply button.

Normally it will parse the WSDL and set the partner link type, but this time it reported 401 authorization error.

How to solve this problem?

Here is a tricky way that to open up this WSDL URL in browser first and save it as local file. In partnew link URL, to select this local file, instead of the remote WSDL URL.

Then deploy this BPEL process and run it. It will work properly.

Oracle SOA 11g with web browser

You must use Firefox 3 or IE 7 for EM of SOA 11g.

And you must use IE 7 for BAM or for FireFox with the IETab add-on (https://addons.mozilla.org/en-US/firefox/addon/1419).