Skip to main content

Posts

Showing posts from September, 2012

Skin Analysis on WebCenter Spaces Page Template

Oracle WebCenter Spaces provides framework and resources that ready for business users to use after installation and configurations. But we all know the default look and feel of the site is really not appealing. I’ve seen prospective customers direct eyes on the WebCenter great features but step back because of the look and feel. I will have to confirm them that the site can be skinned and customized to whatever you want the site to look like. And that’s true, there are indeed great looking sites out there using sophisticated CSS and JavaScript (e.g. JQuery). Those sites are mostly designed from a HTML markup perspective and mixed with ADF components, which could make the source codes of the pages hard to read and maintain. Hard to read? Who cares, as long as it works for what the customer wants. But one of the drawbacks I’ve seen and it’s worthy to mention is it breaks the partial page rendering because of the mix of html and ADF components. Most of the pretty WebCenter public sites

Set a PanelTab height dynamically using JavaScript

It's not a common scenario but interesting to note down what's the use case and how to implement it. The use case is to get the view port height on the ADF page and set height to the PanelTab or other component related to the view port height. Most sites are still designed with flow layout on fixed width of the page. Users would have all kinds of different desktop resolutions so that their browser would render the ADF pages a bit differently. Some with large resolution would have large blank space. To make the site more appealing (or even readable at least) and fit into different browser window sizes, we can definitely control the heights of ADF components using JavaScript. In this example, we will look at the PanelTab component but it can be applied to any other ADF components. There is actually a web design - responsive web design - supposed to solve these kind of problems and render the site in multiple platforms. But the solution in this blog is more or less a fix/worka

Manully Change the WebLogic Security Authenticator Type

It's triggered by a configuration mistake on LDAP authenticator provider. I was trying to register the OpenLDAP store with Weblogic Server. But by mistake, I chose "LDAPAuthenticator" as the provider type  which should be "OpenLDAPAuthenticator". I didn't realize the mistake until I restarted the Admin server and got the errors - " JPS-00027: internal error You configured a generic WLS LDAPAuthenticator ". Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-00056: Failed to create identity store service instance idstore.ldap.provider:idstore.ldap. Reason: oracle.security.jps.JpsRuntimeException: JPS-00027: internal error You configured a generic WLS LDAPAuthenticator. The identity store type cannot be determined. Please choose an LDAP Authentication provider that matches your LDAP server.                 at oracle.security.jps.internal.idstore.ldap.LdapIdentityStoreProvider.getIdStoreConfig(Ldap

Setup your own WebCenter Suite on a VM from scratch

I’d like to share my own “Install Notes” on step-to-step how to build your own WebCenter Suite on a VM from scratch. If you follow my notes here, you should have your own WebCenter work station in a few hours. The install notes here are based on the Linux 64 OS which is the industry standard. Let’s begin. Software needed (can be obtained from e-delivery) a.        Oracle Linux64 bit (ver6.2 or whatever latest) b.       Oracle VirtualBox c.        Oracle DB XE11g Linux 64 d.       Oracle RCU e.       Oracle Weblogic Server 11g Linux f.         Oracle WebCenter 11g g.        Oracle UCM 11g h.       Oracle Web Tier 11g Create a new Virtual Disk a.        Install VirtualBox on your host. Start the virtualbox and create a new virtual disk. b.       Set the memory to 4096Mb or above depending on how much RAM you have on your host. c.        Storage: choose “dynamic” and set the size to 50Gb Install Linux 64bit Download the Linux 64bit and install it on the vir

JDBC Data Sources and Connection Pooling

Here I am describing JDBC Data Sources and Connection Pooling using a few slides that I borrowed from Oracle Weblogic 12c BootCamp. 1. What's JDBC Data Source? 2.  Scope of Data Source: system or application.  All JDBC configurations must conform to the new weblogic-jdbc.xsd schema. IDE can validate the JDBC modules based on the schema. 3.  What’s a Connection Pooling? 4. How Connection Pooling works? 5. Benefits of Connection Pooling? 6. How Data Source Connection Pooling is used? 7. Connection Pooling Configuration 8. Connection Pooling Hints

Oracle Weblogic 12c

I attended the Weblogic 12c boot camp this week and learned some great features of it and I like to share some of them. The Cloud Application Foundation : everything you need in one box. It’s the foundation of the next generation of Fusion Middleware stack. Oracle traffic directory sitting on the top serves the software load balancer (can replace web cache server). Virtual assembly builder sitting at the bottom better simplifies the deployment process for multi-tier application topologies in a centralized virtualized environment. Oracle Traffic Director : Oracle Traffic Director is a fast, reliable, and scalable layer-7 software load balancer that you can deploy as the reliable entry point for all HTTP and HTTPS traffic to application servers and web servers in your network. OTD will replace Oracle Web Cache as a software load balancer on Oracle Exalogic Elastic Cloud. Oracle says it delivers a 3 to 4 times performance boost to the Oracle WebLogic applications. OTD Dat

How to get the source codes of Build-In WebCenter Spaces Task Flows

Since WebCenter PS5, Oracle brings lots of standard task flows inside WebCenter Spaces. Some of them are already registered within the resource catalog and ready to use, most of them are also ready but you need to add them to the resource catalog first for business users to utilize. But from a developer standpoint, you may be interested in reviewing the source codes of the standard task flow shipped with Oracle WebCenter Spaces. Today I will show you how to locate the EAR or WAR file and take the advantages of build-in task flows. After the Oracle WebCenter Spaces is installed, go to the following directory and you will find the relevant EAR and WAR files are already installed. In my case, it’s WebCenter PS5 but it’s applicable to other 11g releases. $FMW_HOME/<WebCenter Instance Name>/webcenter/modules/oracle.webcenter.spaces_11.1.1 The one we are interested is the one at the bottom ‘oracle.webcenter.spaces.webapp.war’ file. You can ftp the