How to deploy portalized JSF page to WLS_portlet managed server

Hi,
I'm a newbie in webcenter development and I'd like to ask what are the proper steps in deploying a portalized JSF page. Here are the steps I did
1. Create a WebCenter application using WebCenter template
2. Create JSF page
3. Create Web Service Data Control (the page should invoke a webservice or BPEL process)
4. Drag and Drop the data control onto the page as an ADF Parameter form
5. Create Portlet Entry. Save All. Run the page in JDeveloper -> it's working fine. the service/process is being called successfully
6. I created the necessary JAR,WAR and EAR files.
7. Started WLS and Managed Servers (WLS_Portlet and WLS_Spaces)
8. Deploy the custom application using Fusion Middleware Control to WLS_Portlet
9. Bounce POrtlet managed server
10. Register the portlet producer using Fusion Middleware Control
11. Login to WebCenter Spaces
12. Create New page and add Component - my new portlet
Now, the page loads my portlet, but when I click the button that will supposedly call the service, I either receive SOAP version mismatch error (for the webservice connection) or nothing happens/no response (for the BPEL process).
Did I miss anything? Do have to configure other things in order to make it work?
Please advise.
Thanks!
Rian

Sorry, this seems to be working now. I just have to close all applications in order for the memory to call the actual BPEL process

Similar Messages

  • How to Deploy portal 8.1 production cluster in exploded ear format in solaris

    Hi all,
    How can we deploy our PORTAL application in
    Weblogic 8.1 SP2 Weblogic 8.1 SP2 Weblogic 8.1 SP2 Weblogic 8.1 SP2
    Solaris Solaris Solaris Solaris Solaris Solaris
    PORTAL PORTAL PORTAL PORTAL PORTAL PORTAL PORTAL
    APPLICATION
    with PRODUCTION MODE = true PRODUCTION MODE = true PRODUCTION MODE = true
    PRODUCTION MODE = true
    Cluster Cluster Cluster Cluster Cluster Cluster Cluster Cluster Cluster
    Cluster (2 x 2 managed servers)
    As
    exploded ear format exploded ear format exploded ear format exploded ear
    format exploded ear format
    PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE
    don't send me this link
    http://e-docs.bea.com/wlp/docs81/deploy/deploy.html#1003591
    I used this link 100 times, but no use.
    Steps I did
    1. Build the application using workshop ( NO ear NO ear NO ear NO ear NO ear
    NO ear NO ear NO ear )
    2. use wlpackage to pack the built application ( NO ear NO ear NO ear NO
    ear NO ear NO ear NO ear NO ear )
    3. Deploy using console ( NO stage NO stage NO stage NO stage NO stage)
    The Error,
    The following error message I got.
    [Deployer:149033]preparing application commApp on mgServer1
    [Deployer:149033]preparing application commApp on mgServer2
    [Deployer:149033]failed application commApp on mgServer1
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
    application commApp on devCluster,bkarthiPS.:
    Exception:weblogic.management.ApplicationException: Application commApp is
    packaged using the WebLogic Split Development Directory structure. The Split
    Development Directory structure can only be used in development environments
    with a single WebLogic Server. If you wish to deploy this application to a
    separate managed server or cluster, use the wlpackage ant task to create an
    exploded or archived EAR.
    [Deployer:149033]failed application commApp on mgServer2
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
    application commApp on devCluster,bkarthiPS.:
    Exception:weblogic.management.ApplicationException: Application commApp is
    packaged using the WebLogic Split Development Directory structure. The Split
    Development Directory structure can only be used in development environments
    with a single WebLogic Server. If you wish to deploy this application to a
    separate managed server or cluster, use the wlpackage ant task to create an
    exploded or archived EAR.
    Thanks,
    Karthi.

    Its simple PORTAL application . After deploying this application we can add portlets as a childs to this application .
    Now this is simple PORTAL application with CSS file.
    Give me some idea about
    How to create PORTLET application with CSS files . Where to include this CSS file in a PORTLET application??????
    Normally we are creating first PORTAL application and adding CSS files to
    Portlet Content-->Themes-->html--> abc.css .
    --> Head.jsp we are giving the css file path in this JSP page as
    <link href='<wps:urlFindInTheme file="abc.css"/>' rel="styleSheet" type="text/css">
    After this I am adding my PORTLET application to this PORTAL .
    Then its working fine. But I want to know how to add CSS files to PORTLET application???????
    Please help me :-(

  • How to pre-compile JSF pages?

    Hi,
    I am new to JSF and would appriciate if any one can help me find out how to pre-compile JSF pages?
    Thanks in advance
    satsdn

    The same way you pre-compile JSP pages: Set it up in your faces-config.xml file.
    Here's how I do it:
         <servlet>
              <servlet-name>AcctID</servlet-name>
              <display-name>AcctID</display-name>
              <jsp-file>/AcctID.jsp</jsp-file>
              <load-on-startup>-1</load-on-startup>
         </servlet>Put one of these tags for each JSP you want to pre-compile. The -1 load-on-startup value is important.
    CowKing

  • Deploying EJB, JSF to soa suite application server

    Hello,
    I have a problem using EJB. I deployed my JSF page to my soa suite application server. But I think something is wrong between the communication of my page and the Bean. I keep getting the error :
    BO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught
    : javax.naming.NameNotFoundException, msg=HRFacade not found
    where HRFacade is the name of my bean. I'm very new to EJB but I want to learn how to use it within ADF and a soa suite application server (some that is NOT localhost :p). Could someone tell me what I do wrong. What is connecting EJB's to the pages. Should I use JNDI? A good course available on the internet is also welcome.
    Thanks for the replys

    Oké, little update. I let the message rest for a while and start with a new project. New problem :
    First I created a new Session Bean. Within this bean I declared a string message();
    In my bean self I returned "Hello World!" like you can see
    package org.EJBEx1.datamodel;
    import javax.ejb.Stateless;
    @Stateless(name="Bean")
    public class BeanBean implements Bean, BeanLocal {
    public BeanBean() {
    public String message() {
    return "Hello World!";
    Now I created a remote data control for this bean and I dragged Bean.Message.String to my JSP. My JSP creates a label witch is bind to #{bindings.message1.label}
    What I want to do is just when I open a new browser the label should contain: 'Hello World!' But when I open a browser the label contains : 'message_Return'. Could someone help me. I understand this is basics so please. After I've successfully deployed this new exersise I will see if my error still is the same on my application server. If it works I will post it.
    Thnx

  • Dynamic deployed web application doesnt' work in managed server

    Hi:
    Can anyone tell me what I have done wrong:
    1. I create a new web application DYNAMICALLY (i.e. copy directory to
    applications directory)
    2. I assigned one of the managed server as target for the new
    application
    3. Restart managed server
    4. Try to access the new application in managed server, and get error
    message:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is
    given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the
    client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
    status code SHOULD be used if the server knows, through some internally
    configurable mechanism, that an old resource is permanently unavailable and
    has no forwarding address.
    Any ideas?
    Thanks in advance.
    Alex

    See my answer to your last post. The short answer is that the HttpClusterServlet is
              likely to be the problem and not the cluster. You can try one of the web server plugins
              or a hardware load balancer as a temporary workaround. You should file a case with
              support too...
              Manu Kar wrote:
              > Hai All!
              >
              > Here is my problem ! I started Admin Server and Managed server in a same machine.
              > I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
              > they start fine and says Clustering started.... But when i tried to Access index.jsp
              > that is in Managed Server default web application ..Nothing happens. It neither
              > throws exception nor shows the desired page.. Seems to be Browser hang and server
              > hang. At this stage i am unable to access Admin console also.(I can access before
              > i tried index.jsp of managed server).. It seems to be Hang Allover..
              >
              > Pls suggest me how to come out of this hanging...
              >
              > Rgds
              > Manohar
              

  • Deployment of Web Application when the managed Server is down .....

    Part of our installation, we want to deploy our web application on to a managed server.
    So, we use the JMX API calls to deploy the web application. But, at the time of this deployment the managed server is not brought up. So, our expectation was that when the managed server is brought up later, it will automatically STAGE the web application from Admin Server and then, deploy it in the managed server.
    But, what is happending is that the web application is not being deployed to the managed server (even though the web application is configured to be deployed in the specified managed server in the config.xml and it is set as the default application of the managed server application).
    We are using WebLogic 7.0 SP2 on RedHat Linux 7.2.
    Can anyone help to deploy web application on to a managed server when the managed server is down ?
    Thanks,
    Selva-
    [att1.html]

    This is currently being fixed in 7.0 line, contact [email protected] and reference
    CR110687
    Cheers
    mbg
    "Selvamohan Neethiraj" <[email protected]> wrote in message news:[email protected]..
    Part of our installation, we want to deploy our web application on to a managed server.
    So, we use the JMX API calls to deploy the web application. But, at the time of this deployment the managed server is not brought up. So, our expectation was that when the managed server is brought up later, it will automatically STAGE the web application from Admin Server and then, deploy it in the managed server.
    But, what is happending is that the web application is not being deployed to the managed server (even though the web application is configured to be deployed in the specified managed server in the config.xml and it is set as the default application of the managed server application).
    We are using WebLogic 7.0 SP2 on RedHat Linux 7.2.
    Can anyone help to deploy web application on to a managed server when the managed server is down ?
    Thanks,
    Selva-
    [att1.html]

  • How to deploy a JSP page into my APEX application?

    hi all,
    i am using a JSP to upload multiple spreadsheets into the db. i want to deploy it on the APEX and use it as part of my APEX application's uploading feature.
    i already have the JSP file with me. can somebody please tell me how to put that onto the APEX?
    Thanks,
    Basavaraj

    One way using JSP portal is, creating Portal project with JSP Dynpage applications
    You can use NWDS tool to create JSP Dynpage based Portal components.
    Procedure to create and deploy Portal  components,
    1. Open Enterprise Portal Perspective in NWDS
    2. Create -> new Portal Project -> Give the valid name
    3. Right click on the project -> Choose Portal Object -> JSP Dynpage -> Give all the information including JSP name. -> Finish
    4. Right Click on the project structure -> Properties -> Java Build Path -> All the following jars
            htmlb, com.sap.portal.html_api.jar, servlet
    5. Navigate to your JSP page located under the folder PORTAL-INF, Write logic
    6. Right click on the portal projet-> Refresh -> Re-Build
    7. Right Click on the portal project -> Export -> Give the Valid  Portal serverdetails, Admin user name and password
    8. You can create iView (iView from PAR) in content admin for the developed portal component
    Ram

  • How to put portal logon page CE 7.3 ui.war file in NWDI Track

    Hi,
    We are using sap portal CE 7.3 in our project. I have customized portal logon page. for this I have downloaded ui.war file from portal server in my local machine that is on my desktop and this ui.war file i have imported in my NWDS and done the required modification.
    Now I have to put this development that is modified ui.war in my NWDI track which is currently lying on my local machine Desktop, please let me know how to transport this ui.war file and ear project associated with this war file into NWDI track.
    because from NWDI track only this customized logon portal page has to go to QA and Prd system.This is strict client requirement.
    Please help me.
    Thanks

    Hi Arush,
    Instead of importing the war file into NWDI track,you can create new web module project  in NWDI using New-->Development Infrastructure-->DC-->Java EE-->WebModule and copy paste the WebContent folder Jsp's and xml files which are inside the ui.war in your local machine. Then for this web module you can create ear file for deploying .I have done in this way it worked.
    Regrads,
    Srinivasan V

  • How to deploy a jsp page...???

    Dear Experts,
    May be my question will sound harebrained, but I am new to jsp and portal applications, I am having some experience in WD java, but not in Jsp and all.
    Simply, I just wanted to know that if I had a jsp page which I want to deploy on my portal then how could i do it, I am using NWDS .
    Request you to kindly Suggest.
    Upendra Agarwal

    One way using JSP portal is, creating Portal project with JSP Dynpage applications
    You can use NWDS tool to create JSP Dynpage based Portal components.
    Procedure to create and deploy Portal  components,
    1. Open Enterprise Portal Perspective in NWDS
    2. Create -> new Portal Project -> Give the valid name
    3. Right click on the project -> Choose Portal Object -> JSP Dynpage -> Give all the information including JSP name. -> Finish
    4. Right Click on the project structure -> Properties -> Java Build Path -> All the following jars
            htmlb, com.sap.portal.html_api.jar, servlet
    5. Navigate to your JSP page located under the folder PORTAL-INF, Write logic
    6. Right click on the portal projet-> Refresh -> Re-Build
    7. Right Click on the portal project -> Export -> Give the Valid  Portal serverdetails, Admin user name and password
    8. You can create iView (iView from PAR) in content admin for the developed portal component
    Ram

  • How to run and JSF page from Bea Weblogic 8.1

    Hi, I am new to JSF . Can anybody help me that how can i access a JSF page from Bea Weblogic 8.1. How can deploy. What libraries and files are needed and where to put these required .jar or library files. I just wrote a single page and now i am not able to run it . Any help would be highly appreciated.I am looking forward for your kind replies.Thank you.
    Regards,
    Waqar

    You need to package your application into the standard .war format. Make sure jsf-api.jar and jsf-impl.jar are placed in WEB-INF/lib, your faces-config.xml is in WEB-INF, and your tld files are defined appropriately. Once you have your .war file, deploy it to your servers applications directory or use the console for deployment.
    You should not have any problems if everything is packaged correctly. I am successfully using WebLogic Server 8.1 with my JSF-based web app.

  • How to Use another JSF page that I load by XMLHttpRequest?

    Hi everyone, I'm a newbie of JSF and curisous about how to load page content seperately by AJAX.
    I saw example of Java Blue Print. It's load some data to use in page. What I want is to load another JSF page when click a link or button, (Like include another page). And work with functions privoided by loaded JSF Page.
    My example is, In a main page. I request a JSF page and set it into a div layer.
    var requestURL = "/admin/customer/customer-list-body.faces";
    var content = postDataWithoutContent(requestURL);     divContent.innerHTML = content;     
    All JSF components are required under <f:view>, thus action of form is set as "action='"/admin/customer/customer-list-body.faces'"
    But my page is main.jsp. Each time I click command button in customer-list-body.faces, the url will change to customer-list-body.faces, I want to request and hold in main.jsp.
    What can I do then? Any advices?

    Hi,
    the list doesn't seem to be your problem. You need to track down the illegal argument exception. Once you have that sorted out, expose the method on the AM so it gets shown as a method binding. The return values then could be picked up in a managed bean to create the select Item list
    Frank

  • How to get rendered JSF page (send it as HTML email)

    Hello,
    I would like to send notification email in my application. Could you please help me to find a way how to get HTML result of JSF page as string-file-stream. Simply anything I could handle and use it as email body or attachment.
    My use case: User click to button (raise a action) which change something in DB and confirmation.xhtml(.jsf) is shown to him to confirm that this action was succesful. And I would like to send notification email to all other users with this page (simplified version).
    I need a something like String getJsfPage(String url) but I could not find anything in JSF API.
    Thanks for any clue.

    quote gimbal2: +...now write the code to generate the email body...+
    Thanks for reply...
    Is that mean that I could not use already written code (confirmation.xhtml)? The beuty on JSF is that JSF parser take care about CSS styles, EL, templating (ui: ...), ... When anybody (administrators) wants to change how this email looks - just change this XHTML file.
    How should I write email body? I thought about several way but nothing what looks good:
    - I really dont want to use StringBuilder do build HTML.
    - I dont want to write my own parser of .xhtml template (confirmation.xhtml).
    - Write HTML (xml) template and parse it with XSLT transformation seems to me acceptable but complicated. Needs a special library to perform XSLT, complicated template service (future changes)
    - JSP page, more-or-less the same problems like JSF page
    The sad is that this email (html) body is quite small but highly dynamic (css, language of texts, logos...).

  • How to deploy Portal to Oracle identity Federation 10.2.0.4 ?

    AIX5.3 Oracle iAS 10.2.0.2, 10.2.0.4
    Oracle Identity Federation 10.2.0.4 was installed successfully.
    How can i deploy portal of 10.2.0.2 to it`s instance ?
    Simple installation of Portal into instance has no result.
    Help please.

    AIX5.3 Oracle iAS 10.2.0.2, 10.2.0.4
    Oracle Identity Federation 10.2.0.4 was installed successfully.
    How can i deploy portal of 10.2.0.2 to it`s instance ?
    Simple installation of Portal into instance has no result.
    Help please.

  • How to display a JSF page inside center part of panel of another page?

    How can I display a second JSF page inside my center part of Stretch layout in my First page on click of a commandImageLink of First JSF page? Can anyone help me in this with some example?

    Here is a tutorial that will introduce you to the concepts of taskflows, page fragments and regions - http://www.oracle.com/technology/obe/obe11jdev/ps1/boundedtaskflow/bounded_task_flow.html

  • Need HOW-TO on dynamic JSF pages

    How can we change a page dynamically? For example, I want to create an image tag but I do not know the name of the image until runtime. In fact it is a temporary file name that is geneated by a servlet .
    If this was a standard JSP page I would create a JSP tag with a "name" property . Can JSP tags be used on JSP pages and if so where do they show up in the Creator IDE?

    A technique that I have achieved in my app is to set the image url dynamically through the image url like this...
    THIS ONLY WORKS IF YOU HAVE USERNAME OR SIMILIAR FOR CLIENT SET IN SESSIONBEAN1 (JDBC/LDAP, Login, etc...)
    1. Close Creator locate an example jpeg that you want to bind dynamically.
    2. Open your Projects directory (outside of Creator is how I did) navigate to web/resources make an images directory inside of resources.
    3.Rename your example image something like...
    template1username.jpg
    (Hope I don't have to say that above username will correspond to whatever username you would like to bind the url to so when they are logged into your app they will have dynamic image just for them)
    4. Paste the renamed jpeg into the newly created images directory.
    5. Go back into Creator open your app and drop an image component onto the page.
    6. Make sure it is selected and go to properties pane -- url -- click the ellipses.
    7. NOTE I tried to use property binding and Creator wouldn't retain my url.
    8. Go to Use Value and then navigate to the images directory to the example renamed jpeg and select it so the url displays on top.
    9. Now all you have to do is manually add the binding in the url this way Creator doesn't seem to complain and the JSF Tag remains in the url
    10. To add the binding manually just replace username with the necessary binding expression for me it was...
    /resources/images/template1#{SessionBean1.loginBean.username}.jpg
    now run the project once logged in navigate to page with bound image and voila! It should be there and now all you have to do is add the images properly renamed to the images folder and anybody with a username and corresponding image in the directory gets a personalized image when they are logged in. This is probably not the best way to do this, but for what I was trying to achieve coupled with the fact that I am a NOOB it works pretty darn good.

Maybe you are looking for