Tag Archives: webcenter

Solving Java code in jsp source files is not allowed in ojsp.next mode

Java code in jsp source files is not allowed in ojsp.next mode

when I got this error searched over the net and found this link


but this changes didn’t help me much. Finally removed all the entries from web.xml to resolve this.

UCM connection to a file from Java

Here is the snippet to connect to UCM from java

// create the IDC Client Manager manager
IdcClientManager manager = new IdcClientManager();

// build a client that will communicate using the HTTP protocol
IdcClient idcClient;

try {
//context with ucm username and password
IdcContext user = new IdcContext ("webadmin", "passw0rd");
//ucm link
idcClient = manager.createClient("idc://ucmwebcenterqa01.group.com:4444");

// get the binder
DataBinder binder = idcClient.createBinder();

// populate the binder with the parameters
binder.putLocal ("IdcService", "GET_FILE");
binder.putLocal("dDocName", "UCM_CLUSTER1001204");
binder.putLocal("RevisionSelectionMethod", "Latest");

try {
ServiceResponse response = idcClient.sendRequest (user, binder);

// get the response as a string
String responseString = response.getResponseAsString ();
//dispaly the content of the file
System.out.println ("" + responseString);

} catch (IdcClientException e) {
} catch (IOException e) {
} catch (IdcClientException e) {

Iterative Development – Webcenter

Ho to enable Iterative Development in Web-center?

Iterative Development helps the developer to see the changes by just a refresh of the page in the integrated Server.

This makes the portal application development easy and rapid development.

Disadvantages of enabling this is that the application will run slowly as all the performance optimization settings will all be disabled. The ‘Delete Customization Before every run‘ is to be checked if we plan to enable the iterative Development option.

Started my New Video Blog

I am happy to say that I have started a new Video blog at


Webcenter – How to create a Space

In this post i will quickly help you how to create a group space.

What is a Space?

WebCenter Spaces provides the Spaces, which bring content together through a single access, accessible through the WebCenter Spaces application of by direct URL, to help groups of people to share information and interact in a collaborative fashion.

Example of Spaces?

  • Large Company intranet with multiple departments like HR, Finance, Administration etc
  • Internet Groups that share common interest

How to create a space in Webcenter Spaces?

When you login to the spaces the application looks like the following screenshot. You have to click on the Spaces tab to view all available spaces.

To Create the space , you will have to click on the Create Space link that is marked to open a dialog to create the space. The Name, Description and the Keywords are entered to create a space. Adding keywords will help to find your space  from the available spaces.

The next section will allow you to provide the URL for your space. You can also set your access level in this section. You can make the space visible to anyone by making it Public or set an invitation based access with the Private access. Keeping it hidden makes your space not visible to others and will not appear in the search results also.

The final step is to choose the template that your spaces is targeted for. There are 6 templates available for you to choose from the option.

Hope this post helps you to know about Spaces and to create it using webcenter.


useful webcenter resources




system folder not getting deleted… uffff

I am fed of this Jdeveloper.. Its behaving weird sometimes and will no listen to what I say..

quite many of us would feel the same way and there is only one way to fix this..

Deleting the system folder… 🙂

this post will tell the exact location where you can find the system folder in windows..

One issue that we face is that how much ever you try to delete sometime you will get

so what’s the reason:

This issue is because of the limitation in windows machine that the maximum length of the folder hierarchy is 255 to 260.. not sure about that but its less than 260 characters.. [path+filename]

and to identify in our system folder.. the following path violates the above max limits.

C:\Documents and Settings\{user_id}\Application Data\JDeveloper\system11.\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework.view

(all folders [3 mostly] that starts with oracle.webcenter.framework under _WL_user)


move all the three folders that starts with oracle.webcenter.framework to much higher level .. say.. outside the actual system folder itelf.. [C:\Documents and Settings\{user_id}\Application Data\JDeveloper\].. and delete it..

now your system folder will get deleted easily.. 🙂

Webcenter Services at a glance

Analytics – Google Analytics – shows analytics for the personal site

Announcements – Google calendar announcement about the birthdays and anniversary

Blog – Blogspot for blogging

Discussions – Forums to discuss anything

Documents – Google Docs for content management

Events – Google calendar to mark events

Instant Messaging and Presence – Gtalk for messaging

Links – Google bookmarks for storing links

Lists – Listing of ongoing/pending tasks


Notes – Google Notes

Notifications – Facebook posting on walls

People connectionsFacebook

Polls – Facebook polling for suggestions

Personalizations – iGoogle to personalize home page

Recent Activities – Facebook activities

Activity Graph – Google site statistics

RSS – Blog feed for updates

Search – Google search

TagsPicasa photo tags

Wiki – Wikipedia for informations

WorkLists – todo lists for daily Agenda