You are here

WebCenter 11g PS3 Tutorial Part1: Setting up the WebCenter Portal project

After you have read the introduction for this tutorial, we can start the real work!
As mentioned in the introduction, we will build a portal for a virtual company called Virtual Internet Education or in short, the VIE portal. What a catchy name, don't you think?

In this first part we will setup our WebCenter Portal application and configure it for our VIE portal purpose.
I will also make an overview of the administration page and tell you what the different sections of that page are. we'll also create our first pages. Yeah!

At the end I will add some exercises so you can learn the newly learned techniques... No worries, you don't need to tell me your dog ate the portal. I will not check whether or not you have done the exercises! 

Prerequisites

Because this is the first part, you really don't need a lot. Just JDeveloper 11.1.1.4 or later with the WebCenter extensions installed. If you don't know what the WebCenter extensions are or how to install them, please leave a comment and i will add the explenation in this part. (Look for the help menu and check for updates).

Creating the application

If you haven't already opened up JDeveloper, please do so now!
Click on New from the File menu.  In the General section select Applications. This way you will see a list of all the available application templates. At the bottom select WebCenter Portal Application and press OK.

A WebCenter Portal application template contains two projects:

  • Portal project: this project will contain the actual portal
  • PortalWebAssets: this project is for storing static content like CSS, JavaScript and images.

In the first screen op the wizard we need to specify a name and folder for our application:

  • Application Name: ViePortal
  • Directory: select the directory you want to save the application
    Make sure you do not have spaces in your directory because JDeveloper really dislikes spaces in application folders!

Press Next
In the next screen we need to specify the name of the portal project witch is Portal by default.
We also have to specify the technology scope of the project. The template has defined it for us so we don't need to change it.

No need to modify anything so just press Next

The next screen contains the information about the portal project. No need to change anything so just press next.

The next screen however, is very important. Make sure that you have enabled the Configure the application with standard portal features checkbox. By enabling it, JDeveloper will create all the needed portlet assets like the administration page and default navigation model and resource catalogs.

The next screens are about the PortalWebAsset project. We don't need to modify anything on that project so we can press the finish button.  

 Let's take a look at all the files that JDeveloper created for us:

As you can see, there are quiet some folders and files. Here's a small overview of what each folder contains. Don't worry if you don't understand everything at the moment, I will cover each an every file in detail in other parts.

  • catalogs: folder that contains the resource catalogs
  • navigations: folder that contains the navigation models (I will discuss this in the next part of the tutorial).
  • pagehierarchy: folder that contains the page hierarchy (this will also be covered in the next part).
  • pages: folder that contains the pages created in JDeveloper. Pages that we will create at runtime will not appear in this folder!
  • pagetemplates: folder that contains the page templates (I will cover templating in part 3).

These are the most important folders for now. No need to get into detail.
Now it's time to take a look at the power of this template:
Right click on the Portal project and press Run.

Notice that, if it's the first time you ever run a project in JDevleoper or it's the first time you run a project since you have installd the WebCenter extensions, it can take some minutes before the application starts. This is because JDeveloper will first create a local instance of the WebLogic server and extend it with the WebCenter libraries. After a few minutes your browser will popup and you will see the default home page of the portal:

 

In the next section we will create our first page! 

 

Comments

Hello,
I building a prototype with the aim of testing a migration from WCI 10.3 to WC 11g.
I'm completely new to Oracle. I've followed this article: http://download.oracle.com/docs/cd/E21764_01/install.1111/e10146.pdf
and managed to install everything.
Now I've the admin console open, the servers running but I don't know how to proceed.
I'm supposed to create and configure a portal and a UCMS website.
Could you point me in the right direction?
your article seems to fit the bill at least for the portal part (which would be enough already). Do I need the "WebCenter extensions", given all the things I have already installed?

Thanks,
Roberto.

You need to downloa jdeveloper 11.1.1.5 (not 11.1.2) and download the webcenter extensions. The stuff you have installed are the servers. You don't really need those to build a portal unless you want to use the services like discussions, linking, tagging and so on.

Thanks for your answer
I've installed jdeveloper 11.1.1.5 but in the New -> Application window I only have 7 kinds of application.
I believe I might be missing the Webcenter Extensions but I was unable to find them. Do you have a link?

Thanks,
Roberto.

I had to search for updates and select Webcenter Extensions.

Thanks again.

P.S.: looking forward to your post on the configuration of UCM

Hello, I am new to this subject and really dont know what the WebCenter extensions are or how to install them, In my jdeveloper applicans menu, It is not seen web portal application option. So please add tha info the prequests intallation etc.

hi yannick

I create a new webcenter portal application but i am not getting this structure as you show and getting this message in jdeveloper...
WARNING: ERROR_CONFIGURE_APP
java.lang.IllegalStateException: A ServiceConfigurator could not be found for WebCenter service [oracle.webcenter.portal].
at oracle.webcenter.dt.config.WebCenterConfigurator.configure(WebCenterConfigurator.java:173)
at oracle.webcenter.portal.dt.config.PortalTemplateWizardPanel.commitWizardChanges(PortalTemplateWizardPanel.java:170)
at oracle.jdeveloper.template.wizard.TemplateWizardPage.wizardFinished(TemplateWizardPage.java:96)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard.commitProjectChanges(NewObjectFromTemplateWizard.java:314)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$WizardEventAdapter.wizardFinished(NewObjectFromTemplateWizard.java:462)
at oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(BaseWizard.java:2525)
at oracle.bali.ewt.wizard.BaseWizard.processEventImpl(BaseWizard.java:2566)
at oracle.bali.ewt.LWComponent.processEvent(LWComponent.java:658)
at oracle.bali.ewt.wizard.BaseWizard.doFinish(BaseWizard.java:2171)
at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:3940)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
at java.awt.Dialog$1.run(Dialog.java:1046)
at java.awt.Dialog$3.run(Dialog.java:1098)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:1096)
at java.awt.Component.show(Component.java:1585)
at java.awt.Component.setVisible(Component.java:1537)
at java.awt.Window.setVisible(Window.java:842)
at java.awt.Dialog.setVisible(Dialog.java:986)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard.runWizard(NewObjectFromTemplateWizard.java:90)
at oracle.jdeveloper.template.wizard.GalleryItemAdapter.invoke(GalleryItemAdapter.java:54)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:372)
at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:420)
at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1089)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Did you install the WebCenter extensions properly?
can you try creating a Portlet producing application. If you have the same issue when creating that applicaiton you might want to reinstall the WebCenter extensions.

Sir,

I have sucessefully instaled JDeveloper but as per the webcenter tutorial iam not able to webcenter extenstion in the "updates under help menu" or nither any option application pl help me on this.....

What version of JDeveloper did you install? If you have installed Jdev 11.1.2 then you won't be able to download the WC extensions because webcenter is not compatible with Jdev 11.1.2. You should install JDev 11.1.1.5 instead.

Sir,

I was using 11.1.2 now iam downloading 11.1.1.5 version ...and i request you to differences between this 2 versions.....As per my knowledge 11.1.1.5 will be a older version....And request you to provide me you mail id so i will mail any query as i remember you said "discussion is becoming big".

Thanks & regards,
Naveen

The difference is that version 11.1.2 is Jdeveloper with JSF 2.0 enabled. There will be no single fusion middleware product available for that version. All products will be only compatible with 11.1.1.5. SO yes it is an "older" version but it is the latest version for WebCenter and any other product like SOA, fusion apps and so on.

For discussion, please post them on the forum: https://forums.oracle.com/forums/forum.jspa?forumID=354

Okey sir, I would post my query in the above given link......and i suggest to open a fourum on your portal which help us to disccus here it self...it even helps us track our self immediatly...

I'm very active on the forum in the link provided above so there's no need to have a separate forum :)
I'll see if I can integrate that forum on my site. Maybe it's good to have a reference.

Hi Yannick,
I wanted to know how do we configure webcenter to use username/pwd information that is stored in Active directory???
also, what is oracle webcenter ensemble?
is it a separate application or it comes with standard webcenter installation?

Sir I've already installed J Developer 11g R2 1.1.1.2.2.0 on my machine and Xe database 11g for Oracle ADF fusions web application development

should I use my current installation or install newer version and if I install and change newer installation so what about the previous Jdev version ...???

WebCenter is not available for JDeveloper R2. You should get the latest R1 version (which is 11.1.1.6 at the moment).

11.1.1.5 or 11.1.1.6 ...??? SIR

please specify all the compatible resource + what configuration along with versions you are using

Both are fine. I started writing the tutorial on PS3 (11.1.1.4) but the last part of the tutorial has been done with 11.1.1.6.
You can just download and use 11.1.1.6 and start using that.

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer