Migrate portlets deployed on Liferay to WebCenter

Is there a way to convert a JSR-168 portlet WSRP portlet so that it can be deployed on WebCenter?
The latest version of JDeveloper (11.1.2) supports importing of Maven projects but it does not support creation of WebCenter Applications.
The Version 11.1.1.5 of JDeveloper Supports WebCenter Application creation but we were unable to import a maven project. We Want to port our portlets (JSR 168) running on liferay to WebCenter.
Any hints on same would be helpful.
Thanks

I tell this also in all my courses I give.
Standards are good but in the end when you migrate from one system to another, you almost always end up with rewriting the whole app...
Most of the time you are interacting with the portal itself from within your portlet which completly removes the idea of loose coupling between portlet and portal.
Then there is the JSR168 standard. If you are using inter portlet communication then you are using some special technique owned by the portal which measn that it cannot be migrated.
Another thing is security. WebCenter does not work according the JEE roles which means that if you have defined security in your portlets in Liferay and used security, it will not work in webcenter unless you use WS-Security and configure quite a lot of mapping and security stores.
SO as you can see, standards are good and well but in the end they are more a pain in the ....

Similar Messages

  • Oracle E-Business PORTLETS Exposed on Liferay PORTAL

    Dear Gurus,
    I have a liferay portal 5.2.1 and i'm trying to expose Oracle EBS PORTLETS on it now i'm facing the following problem
    "The Service Is Not Available Temporarly" Inside Liferay and that error is displayed after exposing the PORTLETS on the liferay portal.
    All Steps i have processed are exist in the following document and i reach to step #5.4
    The document is named "Using Oracle Portal 10g with Oracle E-Business Suite 12.mht" and i'm trying to do the same thing on the Liferay. And This doucment is exist in metaLink.
    Summary:
    - I have a Liferay Portal Installed
    - I have a EBS Installed on another machine
    - I read the document "Using Oracle Portal 10g with Oracle E-Business Suite 12.mht" and i'm trying to do the same thing on the Liferay.
    - I reach 5.4 on the document and i have 4 PORTLETS on the liferay but there is no any one runing properly
    Goal:
    - I want to run the EBS Portlet on the liferay
    Can Anyone help me !!

    What i'm doing here is to deploy the .war file on the GlassFish application server (v 2.1) and then i go through the last steps and the log file contains the following messages:
    [#|2010-12-13T12:42:31.341+0200|SEVERE|sun-appserver2.1|javax.enterprise.system.container.web|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8181-0;_RequestID=14548697-32cd-4af7-84b7-45663be16888;|ApplicationDispatcher[/wsrp-portlet] PWC1231: Servlet.service() for servlet 2 threw exception
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultSubcode:
    faultString: caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: CHARS
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:caught exception while handling request: deserialization error: unexpected XML reader state. expected: END but found: CHARS
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1782)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2938)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at oasis.names.tc.wsrp.v1.bind.WSRP_v1_Markup_Binding_SOAPStub.getMarkup(WSRP_v1_Markup_Binding_SOAPStub.java:957)
    at com.liferay.wsrp.proxy.MarkupServiceHandler.doInvoke(MarkupServiceHandler.java:68)
    at com.liferay.wsrp.proxy.MarkupServiceHandler.invoke(MarkupServiceHandler.java:47)
    at $Proxy243.getMarkup(Unknown Source)
    at com.liferay.wsrp.portlet.ConsumerPortlet.getMarkupResponse(ConsumerPortlet.java:432)
    at com.liferay.wsrp.portlet.ConsumerPortlet.doRender(ConsumerPortlet.java:326)
    at com.liferay.wsrp.portlet.ConsumerPortlet.render(ConsumerPortlet.java:168)
    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:66)
    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:679)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:594)
    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:625)
    at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:707)
    at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:421)
    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java from :1457)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:486)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:873)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:723)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:679)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:594)
    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:3400)
    at com.liferay.portal.util.PortalImpl.renderPortlet(PortalImpl.java:3358)
    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:1106)
    at com.liferay.portal.action.RenderPortletAction.execute(RenderPortletAction.java:87)
    at com.liferay.portal.action.UpdateLayoutAction.addPortlet(UpdateLayoutAction.java:260)
    at com.liferay.portal.action.UpdateLayoutAction.execute(UpdateLayoutAction.java:211)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:152)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:585)
    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:562)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:237)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:206)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:181)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:240)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:179)
    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:37)
    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:106)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.process(SSLReadTask.java:444)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLReadTask.doTask(SSLReadTask.java:230)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    {http://xml.apache.org/axis/}hostname:ds-pc

  • Inter-portlet (JSR286) in liferay portal

    i had created two portlets using ADF and i can consume them in WebCenter Portal apps. Nothing has to do in the portal side as webcenter auto-wire the portlets. The question is how i can consume the portlets in liferay? is there any step required in the liferay portal site to 'wire' the portlets so that they can communicate with each other? or just like drag and drop in webcenter? I developed the portlets using the guide here: http://yonaweb.be/inter_portlet_communication_jsr_286_and_webcenter_11g_ps3

    Wiring portlets together in liferay not dependend on the portlet. Because your portlets are standard based, liferay doesn't care if they are ADF portlets, JSP portlets or portlets build with other technology.
    Information on how to do this in liferay should be found in the documentation of liferay: http://www.liferay.com/community/wiki/-/wiki/Main/Inter-portlet+communication
    Just a question... Did you had any issues with consuming the portlets in liferay. I have tried it in the past and had lots of issues with libraries and so on. Especially because ADF uses a lot of javascript and I had a hard time configuring it properly with liferay...

  • HOWTO : Portletizing Faces/EJB/Toplink onto Webcenter. Gotchas&Fixes

    I thought I'd share some helpful links and tips.
    If you develop ADF Faces portlets by the book you'll run into a couple of problems when trying to deploy them on the Standalone OC4J, and a couple more when deploying to Webcenter.
    I followed the ADF tutorial here...
    http://www.oracle.com/technology/obe/ADF_tutorial_1013/10131/index.htm
    Chapter 11 contains info about some extra steps that you need to carry out in order to deploy onto Webcenter.
    That chapter instructs you to create a Deployment Project, within which you create your deployment profile. That works well while you are deploying just the Faces/EJB/Toplink application. When you come to 'portletize' your JSF pages however, the deployment procedure seems to skip the WSRP/WSDL packaging step. You should be seeing this in the deployment output page.
    "Creating WSDLs for the WSRP Application - WSDLs for the WSRP Application have been created"
    It works OK if you create the ear deployment profile within your View Controller project - which contains the portlet.xml file.
    See the Portletizing viewlet here
    http://www.oracle.com/technology/products/webcenter/owcs_10132_demos.html
    - they use the same deployment profile for both Faces and Portlet deployment - stored in the faces project.
    When editing the portlet.xml file DefaultPage.view variable, miss out the "faces" part of the path to your initial JSF page - or you will get this error:-
    "SEVERE: oracle.adf.model.portlet.binding.PortletBindingException"
    See this thread...
    Re: JSF Portlets Bug
    Even if you have successfully deployed to Standalone OC4J, when you deploy to Webcenter you will get an error about "oracle.wsrp" shared library. Follow the advice on this thread to sort things out ...
    Re: PDK with OC4J 10.1.3
    Having successfully run my portletized Faces/Toplink pages served from Webcenter within a client JSF app in Jdeveloper, my next step is to deploy and run that portlet consumer on Webcenter.
    So far I'm getting MDSRuntimeException when I access the expected url.
    I believe I should look here next..
    http://download-uk.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_deploy.htm#BIHFCJDD
    I'll add more to this thread as I make more progress.
    Good luck everyone!
    Donald.

    In the viewlet
    http://www.oracle.com/technology/products/webcenter/owcs_10132_demos.html
    the user is prompted for an 'MDS' location.
    I didn't get that prompt. This problem is mentioned on another thread - the answer was to make sure the deployment profile being used was specifically a WebCenter deployment profile. I'm sure I didn't see that option in my "New..." list - until I shut down and restarted Jdeveloper. Exact name of profile type is "WebCenter Application WAR".
    I have it now. Having been prompted for an MDS location (created an empty folder for this) when I deployed my portlet client to my standalone OC4J, at last the client app runs from standalone!
    I think I still need to carry out some instructions from here
    http://download-uk.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_deploy.htm#BIHFCJDD
    in order to create a 'targeted EAR file' for deployment to WebCenter itself.
    Message was edited by:
    Mechos

  • Deployed Captcha Code on webcenter spaces using customized Task Flow

    Dears,
    i am using Captcha Code, make new Task flow and fragment to be deployed on webcenter spaces, the code working correctly when am execute RUN from JDeveloper 11.1.1.4.0, but when i deploy it on webcenter spaces version 11.1.1.5 and call this Task Flow from webcenter spaces the image not appear(Actually its Servlet code).
    as mentioned on Oracle PDF (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html ) -- > How-to use Captcha with ADF Faces and Oracle ADF
    add Servlet on web.xml, then make Managed Bean Code (add it into faces-config.xml) , then create new task flow and call the method that execute the Managed Bean from ADF Task Flow Page.
    1 - Servlet on web.xml :
    <servlet>
    <servlet-name>CaptchaServlet</servlet-name>
    <servlet-class>nl.captcha.servlet.SimpleCaptchaServlet</servlet-class>
    <init-param>
    <param-name>width</param-name>
    <param-value>250</param-value>
    </init-param>
    <init-param>
    <param-name>height</param-name>
    <param-value>75</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>CaptchaServlet</servlet-name>
    <url-pattern>/captchaservlet.jpg</url-pattern>
    </servlet-mapping>
    2 - Managed Bean :
    public void callMethod() {
    FacesContext fctx = FacesContext.getCurrentInstance();
    ExternalContext ectx = fctx.getExternalContext();
    HttpServletRequest request = (HttpServletRequest)ectx.getRequest();
    Captcha captcha = (Captcha)ectx.getSessionMap().get(Captcha.NAME);
    try {
    request.setCharacterEncoding("UTF-8");
    } catch (UnsupportedEncodingException e) {
    //bad luck - but ignore
    System.out.println("UTF not supported !");
    String answer = (String)ectx.getRequestMap().get("bestGuess");
    if (answer != null && captcha.isCorrect(answer)) {
    sendMail();
    SendMail_ToExternal();
    } else {
    fctx.addMessage(null,
    new FacesMessage(FacesMessage.SEVERITY_ERROR, "Please write the number shown in the Picture",
    null));
    i am download the Captcha JAR from Oracle : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html , Download Captcha an using it as Task Flow to deploy it on webcenter spaces, but as i told you when i Run this code from JDeveloper working correctly, but the problem when i deploy it on webcenter spaces the Servlet code with image not appear. i wanna to know if servlet code working with deployed task flows on webcenter spaces or not ?
    Please Advise..
    Thanks

    Dear Bijesh Krishnadas,
    I did not add the servlet configuration to webcenter spaces yet, just add the Servlet to web.xml to ADF application, i will try to do the steps you are sent to me ? many thanks Bijesh Krishnadas

  • Problem:programmatically portlet deployment

    Hi ...
    I want to programmatically deploy a portlet application in a portal's HOME page.
    For this i have identified following four steps:
    1. First step is to copy the J2EE resources of the portlet in a specific directory.
    2. Change the portal configuration file named xyz.portal to add this new
    portlet in the portal's HOME page.
    3. Run the "SYNC" utility to refresh the portal server.
    4. Now set the portlet properties "Visible" and "Available" to true.
    I am able to do things till step 3.
    Now i have two questions?
    1. I am able to set the property "visible" to true (by modifying the portletname.portlet
    file - mandatory element) but i could not find a way to directly
    set the "available property" to true. How can i do this programmatically.
    2. Is there a better way of doing the above four steps (for eg is there some utility
    which does the portlet deployment)
    Regards,
    Ubhay.

    Resolved it! :)
    This was the consequence of deploying portlets with invalid descriptor (not sure which one - web.xml or portal.xml - i will investigate later).
    It seems that Portal Server tries to reload all these portlets during
    "deploy redeploy" task.
    I use my own classes on portal, so executing "deploy redeploy" task is crucial for me. CLI171 error blocks the execution of this task!
    So, i deleted invalid wars and their descriptors from
    /var/opt/SUNWps/tmp/portlet/ and restarted application server - this
    solves the problem completely - and now i able to use "deploy redeploy".
    This tip may be useful during active portlet deployment:) Beware of CLI171 error! :)
    Vad.

  • Is there any way for migrating portlet 902AS to 10gAS..

    Is there any way for migrating portlet 902AS to 10gAS..
    We think to tyr to export from 902 and import to 10g..
    is it works.
    Thanks for your help...

    Did you have a chance to check out the Upgrade page on Portal Center?
    Peter

  • Portlet Deployment Error

    Hello,
    I received this error when deploying JDeveloper 11g built PDK portlet:
    Deployment failed: Nested exception
    Resolution:
    Base Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi
    Any help is appreciated. Thank you.

    There is no restriction on the number of portlets present in a war. What exceptions do you see? Which version of portal server are you using?
    Regards,
    Deepak

  • Deploy to JavaSSO  managed WebCenter

    I created a small "HelloWorld" type application that I successfully deployed to the local WebCenter instance. Now I'm trying to deploy it to a remote WebCenter instance. The remote instance uses JavaSSO for security and Oracle Internet Directory for Identity Management. When I attempt to create the Application Connection I consistently get:
    Error while getting remote MBeanServer for url: ormi://theremotehost:22667/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
    All of the examples I've run across create the application connection to the local WebCenter instance, I assume all settings are the same except for the host name (or IP), right?
    Since I'm not using the generic WebCenter install, do I still use "oc4jadmin" / "welcome" credentials? Tried them, doesn't work.
    Do I need to use credentials from Oracle Internet Directory? I'm trying "orcladmin" but that doesn't either. I tried just "orcladmin", "cn=orcladmin" as well as the fully qualified DN. Do I need to give this user additional security roles?
    Any help would be appreciated. Thanks.

    I finally figured out what I was doing wrong. Sorry, I'm new to WebCenter. If anyone else is having this problem, this is what I did:
    I was using the wrong port. I thought I was to be using port 22667. I ran the ORACLE_HOME\opmn\bin\opmnctl status -l utility to list the ports in use. I saw that the rmi port for "OC4J:OC4J_WebCent~" is 12404. I used that and it worked.

  • File download from a portletized ADF app running in webcenter spaces.

    Hi,
    I am having trouble downloading non static files from a portletized(with ADFPortletBridge) ADF application running as a portlet producer in Webcenter spaces .
    This is my scenario :
    Jdev : 11.1.1.3
    Webcenter : 11.1.1
    The ADF app has a query page, that uses the af:query component to do a query and display results on a table. This table data need to be exported as a file with some changes like splitting address to component city and state columns .
    The ADF app makes use of af:filedownloadlistener to get this(HTML formatted file with an .xls ext is our current preference to get it to open in excel, but could be anything) done . The ADF app works just fine, but as section 30.2.5.5 in the web center dev guide points out http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_bridge.htm#CACBHDEF
    > The <af.fileDownloadActionListener> component is not supported.
    The actual behavior however is that the export happens when triggered, but the component keep serving up the same file it created the first time it got invoked every subsequent time. The same file is served even across sessions.
    The alternatives I've considered so far are :
    1. <af:exportCollectionActionListener> - Exports what you see on the UI table. Would not work for us, because our exported data is different than whats on screen. (eg: whole addresses are displayed as a single column, but broken down as component city and state columns in exported data )
    UPDATE : <af:exportCollectionActionListener> exhibits the same behavior as <af.fileDownloadActionListener> in a portlet environment. The first time after deployment it works, and every subsequent time (across sessions) it serves up the same file it first generated.
    2. redirect to a servlet - admittedly half baked idea - fiire an action that will generate the report, then put it in sessionScope , redirect to a servlet that would pick up the report from session and stream it to the user by setting the servlet's response content type. Very unsure if this would fly in a portlet environment (sorry, I'm new to portlets) and even if it does, section 30.2.5.2 in the web center dev guide says :
    Do not redirect or forward a request within your JSP. JSR 168 only supports requestDispatcher.include(). The use of httpServletResponse.sendRedirect() or requestDispatcher.forward() results in exceptions and errors. Am I overlooking some feature that would let me do this or whats the recommended method to achieve this functionality of exporting a file generated at run-time in a portlet environment ?
    Edited by: Jeevan Joseph on Oct 14, 2010 1:02 PM

    I'm facing the same problem. Do you have any news on this issue?

  • Portlet deploy error (javax.faces.webapp.FacesServlet)

    Hi all,
    I am trying to deploy a portlet created in Jdev 11.1.1.2 to WLS 10.3 .
    I have included and checked all the necessary libraries in both the app and on the WLServer.
    When I try to deploy I get the error of:
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    Even though I wasn't able to deploy to the remote WLServer, I was able to deploy the portlet to the IntegratedWebLogicServer without any problem.
    The libraries I have on the WLS 10.3 are:
    DMS Application (11.1.1.1.0)
    adf.oracle.domain(1.0,11.1.2.0.0)
    adf.oracle.domain.webapp(1.0,11.1.1.2.0)
    jsf(1.2,1.2.9.0)
    jstl(1.2,1.2.0.1)
    ohw-rcf(5,5.0)
    ohw-uix(5,5.0)
    UIX(11,11.1.1.1.0)
    oracle.adf.dconfigbeans(1.0,11.1.2.0.0)
    oracle.dconfig-infra
    oracle.jrf.system.filter
    oracle.jsp.next(11.1.1,11.1.1)
    oracle.webcenter.skin(11.1.1,11.1.1)
    oracle.wsm.seedpolicies(11.1.1,11.1.1)
    Please give me any ideas or suggestions on what I am missing?
    Thank you for your time
    Edited by: user9201929 on Apr 28, 2010 2:31 PM

    I have tried to add all the possible libraries that I could and my remote WLS10.3 deployments directory is now exactly like the IntegratedWebLogicServer deployments directory.
    Yet, it still complains about the javax.faces.webapp.FacesServlet when I tried to deploy.
    Can someone give me some hints on what I am missing?
    Btw, I deployed other ADF applications on the WLS10.3 successfully before.
    Thanks

  • Portlet window size changes in Webcenter

    We have a custom portlet that is deployed in Webcenter in AviTrust using the Application Page Template. As we step through the screens in the portlet, the width of portlet window changes. The portlet content itself is in a div and does not specify a specific pixel width.
    I'm fairly new to this but the way I understand the DIV tag, the width of the DIV tag is determined by the enclosing container. This would imply that the width of the Webcenter containers enclosing the portlet content is not fixed.
    I know one can fix the size fluctuation by setting the size of the portlet after it is added to a page. Is there any other way to stop the size change without actually specifying a fixed width in pixels?
    Much appreciated if anyone could comment on this behaviour in Webcenter so I can be sure of the possible fixes for this issue!
    Thanks heaps.

    Thanks.
    I dont like full screen mode, I prefer to keep the window at a size which is comfortabe for me to work.
    From what you have said, it seems as if I cant prevent the main window from constantly changing size each tyime I select fit to screen.
    I am baffled, because I have been using Phtotoshop CS4 with a window size setting which stays the same regardless of how I zoom the image/canvas. Odd isn't it?
    Regards

  • Creator2 Portlet work on Liferay?

    Hi.
    I built 2 different portlets,by Creator2, and put it into liferay.
    Two portlests work fine when I put it in different page(portlet container??).
    But, When I put it in to same page, the secondary portlet, no matter which one, always show "xxx is temporarily unavailable", but the first one work fine.
    In console, I saw Exception thrown
    Does anyone know what happen?
    (UI Component has different ID)
    02:53:44,171 ERROR [com.sun.faces.portlet.LifecycleImpl]
    org.apache.jasper.JasperException
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:210)
    at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:77)
    at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:124)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:702)
    at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:323)
    at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:244)
    at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:327)
    at com.liferay.portal.servlet.PortletServlet.service(PortletServlet.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:297)
    at com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:573)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:609)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
    at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:380)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
    at org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(portal_005fnormal_jsp.java:1142)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
    at com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
    at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_0(portal_jsp.java:407)
    at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:356)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
    at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
    at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:184)
    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
    at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:159)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:355)
    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:124)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:534)
    javax.portlet.PortletException: javax.portlet.PortletException
    at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:341)
    at com.liferay.portal.servlet.PortletServlet.service(PortletServlet.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:297)
    at com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:573)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:609)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
    at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:380)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
    at org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(portal_005fnormal_jsp.java:1142)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.util.ThemeUtil.includeJSP(ThemeUtil.java:139)
    at com.liferay.common.taglib.util.ThemeUtil.include(ThemeUtil.java:93)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:56)
    at org.apache.jsp.html.common.themes.portal_jsp._jspx_meth_theme_include_0(portal_jsp.java:407)
    at org.apache.jsp.html.common.themes.portal_jsp._jspService(portal_jsp.java:356)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
    at com.liferay.portal.struts.StrutsUtil.forward(StrutsUtil.java:73)
    at com.liferay.portal.struts.PortalRequestProcessor.doForward(PortalRequestProcessor.java:184)
    at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
    at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:159)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:355)
    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:677)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.liferay.filters.strip.StripFilter.doFilter(StripFilter.java:95)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.liferay.filters.secure.SecureFilter.doFilter(SecureFilter.java:136)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.liferay.filters.compression.CompressionFilter.doFilter(CompressionFilter.java:124)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
    at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sun.rave.web.ui.appbase.ApplicationException: javax.portlet.PortletException
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
    at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:702)
    at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:323)
    at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:244)
    at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:327)
    ... 124 more
    Caused by: javax.faces.FacesException: javax.portlet.PortletException
    at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:126)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
    at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:132)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
    ... 128 more
    Caused by: javax.portlet.PortletException
    at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:215)
    at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:77)
    at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:124)
    ... 131 more
    Caused by: org.apache.jasper.JasperException
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:210)
    ... 133 more
    Nested Exception is com.sun.rave.web.ui.appbase.ApplicationException: javax.portlet.PortletException
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
    at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:702)
    at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:323)
    at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:244)
    at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:327)
    at com.liferay.portal.servlet.PortletServlet.service(PortletServlet.java:78)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portlet.CachePortlet._invoke(CachePortlet.java:297)
    at com.liferay.portlet.CachePortlet.render(CachePortlet.java:155)
    at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:573)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.portal.util.PortalUtil.renderPortlet(PortalUtil.java:945)
    at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:609)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
    at org.apache.jsp.html.portal.layout_jsp._jspService(layout_jsp.java:380)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
    at com.liferay.common.taglib.IncludeTag.doEndTag(IncludeTag.java:61)
    at org.apache.jsp.html.themes.classic.templates.portal_005fnormal_jsp._jspService(portal_005fnormal_jsp.java:1142)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache

    Creator doesn't officially support Liferay, but we have done some
    sanity testing, and there are
    a few Creator Customers who have successfully
    deployed their Creator-built porlets to Liferay.
    Can you deploy just the secondary portlet to make sure
    there's nothing wrong ?
    Do any of the "Create a Portlet" Tutorials help in
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index.jsp
    John

  • Portlet Javascript not working in webcenter portal application

    Hi,
    the javascript in my portlet is working fine when i deploy it as a separate application, but when i consume it in a portal application it doesnt work.
    here is the javascript that i am using in my portlet.
    <af:document id="d1">
    <trh:script>
    function displayTabbedPanel(actionEvent){
    AdfPage.PAGE.findComponent('tabbedPanel').setVisible(true);
    function enableDisable(actionEvent){
    document.getElementById(AdfPage.PAGE.findComponent('thisMonth').getClientId()).disabled=true;
    document.getElementById(AdfPage.PAGE.findComponent('nextMonth').getClientId()).disabled=true;
    document.getElementById(AdfPage.PAGE.findComponent('targetDate').getClientId()).disabled=false;
    document.getElementById(AdfPage.PAGE.findComponent('targetEnd').getClientId()).disabled=false;
    function enableDisableInputBox(actionEvent){
    document.getElementById(AdfPage.PAGE.findComponent('thisMonth').getClientId()).disabled=false;
    document.getElementById(AdfPage.PAGE.findComponent('nextMonth').getClientId()).disabled=false;
    document.getElementById(AdfPage.PAGE.findComponent('targetDate').getClientId()).disabled=true;
    document.getElementById(AdfPage.PAGE.findComponent('targetEnd').getClientId()).disabled=true;
    function validateDate(actionEvent){
    var targetEnd = actionEvent.getSource();
    var targetStart = AdfPage.PAGE.findComponent('targetDate');
    var popup = AdfPage.PAGE.findComponent('msg');
    var startDateValue = targetStart.getValue();
    var endDateValue = targetEnd.getValue();
    var month = startDateValue.getMonth();
    var day = startDateValue.getDate();
    var year = startDateValue.getYear();
    var startDate = new Date(year,month,day);
    month = endDateValue.getMonth();
    day = endDateValue.getDate();
    year = endDateValue.getYear();
    var endDate = new Date(year,month,day);
    if(startDate>endDate){
    alert("END DATE IS INVALID FOR SELECTED START DATE");
    document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=true;
    else{
    document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=false;
    function checkAlphanumeric(actionEvent){
    var requestor = actionEvent.getSource();
    var re = /^[a-zA-Z_0-9]$/;
    if (! re.test(requestor.getValue()))
    { alert("Please enter alphanumeric only");
    document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=true;
    else{
    document.getElementById(AdfPage.PAGE.findComponent('submit').getClientId()).disabled=false;
    </trh:script>
    Thanks,
    Dhiraj

    You mean you have exposed the taskflow and consumed it as a portlet in Webcenter ?
    You may want to check it on the Webcenter Portal forum too - WebCenter Portal

  • Deploy OBIEE 11g into WebCenter

    Can someone give me step by step instruction of how to deploy OBIEE Portlets into WebCenter? I don't need the high level explainations. For example, if I will need to create a .war file please tell me which files need to be included in that war file. Thanks.

    Oracle BI EE 10.1.3.3/2 – Deploying JSR 168 Portlets – Displaying Reports in Web Center Suite using JDeveloper
    Please refer this:
    As you would probably know, BI EE by default comes pre-bundled with JSR-168 portlets that can be deployed in any standard Portal that complies with WSRP and JSR-168 standards. So basically one can access the BI EE reports from any standard compliant portal. Today we shall see how to go about using these compliant portlets to retrieve a sample report into Web Center Suite using JDeveloper. The entire process can be divided into 3 main phases. They are
    1. Deploying WSRP Java Containers in an Oracle Application Server - Phase 1
    2. Deploying BI EE JSR 168 portlets into the above WSRP Java container - Phase 2
    3. Calling BI EE reports from Web Center suite using the above deployed Portlet - Phase 3
    In my case, i have the following list of components.
    1. BI EE running on a standalone OC4J in a laptop (say Machine A)
    2. A standard Oracle Application Server (10.1.2 or above) running on a seperate Machine (say Machine B. This is where we will deploy the Portlets). This Application Server has Portal and Wireless installed.
    3. JDeveloper (10.1.3.2 or above since they get bundled with a Web Center Suite OC4J) on Machine A.
    Phase 1:
    For Phase 1 ie to install the WSRP container, the documentation is very clear and you can get the list of the step by step instructions here
    Phase 2:
    1. Once the WSRP container has been created (in my case i have created a container called wsrp), go to {OracleBI}\web\sdk. There you would find a file called sawjsr168portlets.war. Copy this file to a local folder like D:\Portlets.
    2. Open a command prompt and navigate to D:\Portlets folder( the folder to which we copied the jsr168portlets.war file). Now type in the following command
    jar -xf sawjsr168portlets.war
    What this would do is it would open up the war file and will expose the contents in the same directory. So, you basically can see new directories like WEB-INF that would get created.
    3. Now go to D:\Portlets\WEB-INF and open the Portlets.xml file in a text editor. Search for oracle.bi.presentation.sawserver.URL and in the “value” tag enter the URL of the BI EE presentation services.
    For example
    <preference>
    <name>oracle.bi.presentation.sawserver.URL</name>
    <value>http://10.176.246.99:9704/analytics/saw.dll</value>
    <read-only>false</read-only>
    </preference>
    Search for oracle.bi.presentation.portlets.jsr168.reportui.AdminUserName and enter Administrator in the value tag. For example
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminUserName</name>
    <value>Administrator</value>
    <read-only>false</read-only>
    </preference>
    Search for oracle.bi.presentation.portlets.jsr168.reportui.AdminPwd and enter the password for the Administrator user. For example
    <preference>
    <name>oracle.bi.presentation.portlets.jsr168.reportui.AdminPwd</name>
    <value>welcome1</value>
    <read-only>false</read-only>
    </preference>
    Search for oracle.bi.presentation.report.Path and enter a report URL. For example
    <preference>
    <name>oracle.bi.presentation.report.Path</name>
    <value>/shared/paint demo/demo report</value>
    <read-only>false</read-only>
    </preference>
    4. Now open up web.xml in a text editor. Search for com.siebel.analytics.web.SAWServer.Host and enter the machine name/ip where BI EE is hosted. For example,
    <init-param>
    <param-name>com.siebel.analytics.web.SAWServer.Host</param-name>
    <param-value>10.176.246.99</param-value>
    </init-param>
    5. Now go back to D:\portlets via command prompt and enter the following commands.
    jar -uf sawjsr168portlets.war WEB-INF\portlet.xml
    jar -uf sawjsr168portlets.war WEB-INF\web.xml
    This would update the war file with the changes that we made above.
    6. Now go to the Application Server enterprise manager and Deploy this war file inside the WSRP container that was created above. i have used biee and /biee for the application name and its URL. Ensure that you are able to access the WSDL using the URL http://MIDTIERHOST:PORT/biee/portlets?WSDL
    Now our Phase 2 is complete.
    Phase 3:
    1. Open JDeveloper 10.1.3.2 and create a sample application using Webcenter Application as the template.
    2. Now lets register the portlet that we deployed above. Give it some name and enter the WSDL url while doing the registration. After that click on finish (keep everything else default).
    3. Once registered create a simple JSF-JSP page and include this portlet that we registered from the Component Pallette. Ensure that you are exposing the UI components with some sample class names.
    4. Now execute this JSP. You should see the sample report output.
    You can also pass the report path dynamically from within web center suite. You need to bind the parameter to the URL.

Maybe you are looking for

  • ITunes v7 no longer syncs with Outlook Calendar

    I just updated iTunes from version 6 to version 7. BIG MISTAKE. I can no longer sync my outlook calendar. It does now sync Outlook contacts which did not work with the old version, but now calendar no longer syncs but it did in the old version. My ca

  • Reserved sales order qty based on sales order

    Dear All, is there any way to reserve the sales order qty in stock based on the sales order?. Actually i want to block the some qty for paticular sales order.  For example I created one sales order with 100 qty of x article and now i want to delivery

  • FBCJ posting

    hai friends    i create one BAPI in FBCJ transaction.    it is used to save RECEIPT FROM BANK & PAYMENT TO BANK(Iis working fine .    i store the records in one Ztable.    i create one BDC to post all the data in fbcj    but it post only one record.

  • Smart forms with barcode

    Hi Experts, I have requirement to create bar code in smart form, the barcode format will be 39 full ASCII . I have tried to create a character format with this font but it is not available in smartstyles. Can you please help me how Can I create this

  • Trouble Upgrading to iTunes 8.2

    I get the following error message when I try to upgrade to iTunes 8.2: errors occured while installing the updates. if the problem persits choose tools > download only and try installing manually Not sure how to upgrade manually or anyone else gets t