Wednesday, August 19, 2015

Oracle IT Architecture SOA 2013 Certified Architecture -1Z0-475



I completed 1Z0-478  Oracle SOA Suite 11g Certified Implementation Specialist. Now I am planning go for the Oracle IT Architecture SOA 2013 Certified Architecture Certification.

I will keep you posted about my progress.


Feel free to leave comments below!

Sunday, August 2, 2015

ADF table selectionListener issue for the first row


In the below email Frank has suggested a solution for the problem

Remove the  selectedRowKeys from the table.

selectedRowKeys="#{bindings.VtRequests.collectionModel.selectedRow}"

But note that you then - in a select listener - need to programmatically set the selected row key for the table




https://community.oracle.com/thread/2280505

Tuesday, July 14, 2015

Friday, July 10, 2015

Oracle VM VirtualBox 5.0 Now Available!!

New Oracle VM VirtualBox is released with new key features.

It helps developers to use it for the learning and testing purpose without installing all the full blow stack in their laptop.

To know more about the features visit


https://www.oracle.com/corporate/pressrelease/oracle-vm-virtualbox-5-070915.html

Monday, June 1, 2015

The Documents service is not enabled for this Portal or a parent Portal



Go to the Webcenter Portal login

1. http://hostname:8888/webcenter. Login using Administrator credentials
2. Click Administration link.
3. Click Portal tab
4. Click on the Administer link for the portal
5. Click on Tools and services
6. Select Documents
7. It may give an warning You have enabled a tool for the portal and you have been granted permissions on this tool.
Configure the security for the tool on the Security page in the portal administration, setting portal member access using Advanced Permissions on the Roles tab.


It will solve the issue.


Friday, May 8, 2015

Oracle Mobile Application Framework

There is a very good article written on Oracle MAF.

Feel free to write and add comment. I have created MAF and it has lot of advantages over old ADF Mobile.

http://middlewareforhumans.com/2014/07/03/oracle-mobile-application-framework/

Tuesday, May 5, 2015

The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem.

--------------------------- httpd.exe - System Error --------------------------- The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem. --------------------------- OK ---------------------------


/

Thursday, April 16, 2015

CMIS query UCM Document

For Database everyone is aware about SQL query. Similary for UCM there is query language that is called CMIS query. More details about the CMIS query can be found at below url.


http://docs.oracle.com/cd/E15919_01/doc.1032/e15813/toc.htm

Monday, April 13, 2015

SEVERE: Unable to retrieve trash status for repository WebCenterSpaces-ucm. When calling service COLLECTION_GET_ADMIN_MARKED_CONFIG, as user

Today I was working with on integration of  UCM and Webcenter .

I was encountering "The Document Service is unavailable. Error Contacting the Content repository"

Whenever i was trying to use any out of box taskf lows for intergrating with UCM, i was encountering this error in my logs.




SEVERE: Unable to retrieve trash status for repository WebCenterSpaces-ucm.  When calling service COLLECTION_GET_ADMIN_MARKED_CONFIG, as user 

After quite a bit of research we figured out the setting from the UCM side was off.

The folder_g folder was not enabled.

Steps to enable it:-


  1. Login to UCM Administration
  2. Select Admin Server in left navigation
  3. Select Component Manager
  4. Click on the Advance component manager
  5. In the enable component list, enable folder_g .
  6. If there is Framework folder enabled  then disable it.
Then restart the UCM managed server. Thus issue got resolved.



Monday, April 6, 2015

Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for


I was trying to deploy an application to a managed server which was on running my local integrated server .

But i encountered this exception.

It seems like some library is not present in the managed server but i was puzzled why a library may not be present in the managed server.


For my case i was missing the library Extension-Name: oracle.portlet-producer.wsrp in my managed server.

After looking at the weblogic console, i figured this library was targerted to different managed servers not to the one where i was deploying. I deployed my application to the managed server where the library was already deployed. The application deployment was successful.

[11:25:38 AM] Deploying Application...
[11:25:39 AM] [Deployer:149191]Operation 'deploy' on application 'POApp_application1' is initializing on 'WC_CustomPortal'
[11:25:39 AM] [Deployer:149193]Operation 'deploy' on application 'POApp_application1' has failed on 'WC_CustomPortal'
[11:25:39 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application POApp_application1 on WC_CustomPortal.: Failed to load webapp: 'POApp-ViewController-context-root'.
[11:25:40 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'POApp-ViewController-context-root'
[11:25:40 AM] Caused by: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@433031789[app:POApp_application1 module:POApp-ViewController-context-root path:/POApp-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: oracle.portlet-producer.wsrp, exact-match: false]
[11:25:40 AM]   See server logs or server console for more details.
[11:25:40 AM] weblogic.application.ModuleException: Failed to load webapp: 'POApp-ViewController-context-root'
[11:25:40 AM] ####  Deployment incomplete.  ####

[11:25:40 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

Sunday, April 5, 2015

Static files in Webserver OHS or Apache

You can places static images or HTML in your webserver. Oracle HTTP Server (OHS) or apache has htdocs folder.

You can place all your static files in this folder. Then you can acces it by using


http://domainname/filename


In case you places your images inside a images folder in htdocs,

the url will change to http://domainname/images/filename


The location for htdocs folder is config/OHS/<ohs_name>/htdocs

For ex:- /u01/app/oracle/product/webcenter/fmw/Oracle_WT1/instances/instance1

Monday, March 23, 2015

How to learn Python Quickly!

There are many resources on the internet which talks about learning Python Quickly and effectively.


I am posting few of them out here.


http://learnpythonthehardway.org/

Wednesday, March 11, 2015

How to start Node manager? the Node Manager associated with machine machine1 is not reachable



Steps to start all the required servers in FWM.

1.  Start the Admin Server.

Go to the Domain where you can find the StartWeblogic.sh

/u01/app/oracle/product/webcenter/domains/webcenter


Then go to nodemanager folder to start it .




/u01/app/oracle/product/webcenter/fmw/wlserver_10.3/server/bin

Then login to the admin console and then start all the managed servers.



Start the Webserver

/u01/app/oracle/product/webcenter/fmw/Oracle_WT1/instances/instance1





Thursday, February 26, 2015

Could not reserve enough space for object heap. Error starting SOA server after installing in Local


I installed SOA server domain . When i tried starting the server i encountered the following error.


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


I went ahead and changed the

this value set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m

to

set DEFAULT_MEM_ARGS=-Xms512m -Xmx700m

This mean we are reduced the memory allocation from 1024MB to 700MB.

After this setting my server is able to start again.




Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\mbanerjee>cd C:\Oracle\Middleware11_1_1_7\user_projects\do

C:\Oracle\Middleware11_1_1_7\user_projects\domains\soa_domain>start
*********************************************************
** Setting up SOA specific environment for win...
*********************************************************
PATH=C:\Oracle\MIDDLE~3\patch_wls1035\profiles\default\native;C:\Or
.
USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=
.
JAVA_OPTIONS= -Xverify:none
.
*****************************************************
** End SOA Specific environment setup  for win.
*****************************************************
*********************************************************
** SOA specific environment is already set. Skipping ...
.
.
JAVA Memory arguments: -Xms512m -Xmx1024m -XX:PermSize=128m -XX:Max
.
WLS Start Mode=Development
.
CLASSPATH=C:\Oracle\MIDDLE~3\ORACLE~1\modules\oracle.jdbc_11.1.1\oj
.
PATH=C:\Oracle\MIDDLE~3\patch_wls1035\profiles\default\native;C:\Or
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http:\\hostname:port\console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~3\JDK160~1\bin\java -client   -Xms512m -Xmx1024m -
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

C:\Oracle\Middleware11_1_1_7\user_projects\domains\soa_domain>

Tuesday, February 17, 2015

Oracle Mobile Development Certification Exam - Beta Testing Released

Hi All,

Oracle has announced the Oracle Mobile Development Certification Exam - Beta Testing. Please refer to the below link for more details.


Wednesday, February 11, 2015

How to Install Firefox 35 on Linux 6 or Oracle VM Linux box



This is remove the current firefox folder from Linux.
[oracle@webcenter ~]$ sudo rm -r /usr/lib64/firefox/


This command will copy back the firefox directory from any folder location to lib64 destination.
[oracle@webcenter ~]$ sudo mv /home/oracle/mithun/firefox  /usr/lib64/firefox





Tuesday, February 10, 2015

Database version running

How to check the database version running in the server?


There are few queries which will help,


SELECT * FROM V$VERSION

or

SELECT version FROM V$INSTANCE



Monday, February 9, 2015

Journey to become SOA certified Professional



I have decided to become a SOA certified professional in next one month. That mean to be exact i will be SOA certified by 9th March 2015.


This is pretty challenging with the fact that i have no background of SOA and i will start working on it from today only.


So i will post everything whatever i will be doing in next one month:-


1. First i have to install SOA in my local. So i started the search using  "install oracle soa suite 11g on windows 7 64 bit". I got quite a number. I  am choosing quite a few and i will work along their lines.


https://blogs.oracle.com/SOA/entry/installing_oracle_soa_suite_11

http://docs.oracle.com/cd/E28280_01/install.1111/e14318/qisoa.htm#BABIGIBD

http://www.oracle.com/technetwork/middleware/soasuite/downloads/soasuite11gdownload-2210918.html

Guided Learning Path for learning soa

https://competencycenter.oracle.com/opncc/full_glp.cc;jsessionid=dd6de94c6a07b691f945d8210df5c78ce067455ed76dfacafc7c92b594b12fde.e38Mc34Nax8Mai0LbhuNc38Nb3iPe0?group_id=13304

Installing soa 11g in windows 7 64 bit opertating system step by step



Database (I would use Oracle XE Universal which you may download from here)


Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help


I installed the Webcenter 11.8 image on the Oracle VM VirtualBox. I encountered the following error "Driver is probably stuck stopping/startingTry 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help" when i tried starting it.





Similar issue were faced by used in past but all reffered to update a particular Microsoft security patch update KB3004394. But this update was not present in my system. So it seems there were some issues with starting of the VMware services in my local. I unistalled and reinsalled the Oracle VM VirtualBox. It fixed my problem.

If someone problem is not fixed even after uninsatlling and reinsatlling the  Oracle VM VirtualBox then you may refer to below links for help.



http://superuser.com/questions/851227/virtualbox-4-3-20-stops-working-after-windows-update

http://superuser.com/questions/851148/crypt32-dll-is-broken-for-virtualbox-since-patch-tuesday-9-dec-2014

Friday, February 6, 2015

Pre-Built Developer VMs (for Oracle VM VirtualBox)


Oracle have pre-built VMs for the developer. It is a pre installed VM. So developers dont have to take the pain of setting up different installation on a box.


Just import the VM images and you are good to start the programming part.


Oracle has recently launched the new VM for Oracle WebCenter Portal 11.1.1.8.0 - Virtual Machine.

It is the latest in the series. 


It has

  • Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
  • Oracle JRockit R28.2.4-14-151097-1.6.0_33-20120618-1634-linux-x86_64
  • Oracle OHS
  • Oracle WebLogic Server 10.3.6
  • Repository Creation Utility 11.1.1.8.0
  • Web Tier Utilities 11g R1 11.1.1.7.0
  • Oracle WebCenter Content 11.1.1.8.0
  • Oracle WebCenter Portal 11.1.1.8.0
  • Oracle JDeveloper 11.1.1.7.0
  • WebCenter Extensions for JDeveloper 11.1.1.8.0



Click here to download the VM's.

Friday, January 30, 2015

Performance tuning in adf and webcenter application



How good a website is often measured with the performance. Every one wants their website to work fast. In the Oracle world, it is very challenging because of the heavy software stack used.


Without having indepth knowledge of the stack it very hard to fine tune it.


I am still putting some pointers for improving the performance of a website in general. There are certain pointers that are focused mainly for Webcenter and ADF application.




  •  Always enable client site caching. Browser caches the static data like css, javascript and images. So it will not downloaded the again and again from the server. These setting can be done in different levels.
  • Client side caching can be done by changing the setting in the Webserver level . It can be OHS or Apache whatever it is being used in the project.
  •  If you are using OAM (Oracle Access Manager). Then you need to change the setting of header value from no-cahce to blank. So all the settings from OHS server are applied.
  • Javascript partition should be used for ADF related project.
  • Minified version of CSS and JS should be placed . It reduces the content size.
  • Gzip compression can be enabled in the Webserver so all the resources will be GZip compressed, But avoid GZip compression on  images.
  • Activation and Passivation of the ADF Application Module should be tested under load.
  • Load testing can be done using JMeter. JMeter can be integrated with ADF and Webcenter Application.
  • Concept of Progressive Loading can be applied . Refer to Oracle A team blog http://www.ateam-oracle.com/improving-adf-page-rendering-time/
  • Concept of deferred loading of Taskflow can also be applied. This means, the taskflow will be called when they will be needed. Otherwise all the taskflow starts rendering when the page loads. 
To be continued!!!!!!






Wednesday, January 14, 2015

Android application in Eclipse (Main.xml) is not displaying the Graphical Layout



Problem:-

I  opened the layout file main.xml in the eclipse. Ideally it should show the Graphical layout in Eclipse but it was giving an exception


Exception raised during rendering: java.lang.System.arraycopy([CI[CII)V
Exception details are logged in Window > Show View > Error Log 


Solution:-

As the below images shows. You have to deselect the W version of android. As this is for wearable devices. It was unable to render many components used in Standard Android.

So once you change the android version it starts to render properly.





Change the Android  Version from Drop Down

Add caption