How to achive Geo Targetting in Weblogic Portal 10.3

Hi,
We have a requirement of Geo Targetting in Weblogic Portal 10.3. Requirement is that once the Portal is rendered first time, based on IP tracking, content & services for that region need to be shown.
Need to understand is there any API or feature to achieve this?
Also, we are creating the desktops out of the portal, so will it be possible to have geo targetting code in .portal & once desktops are created through portal, is it going to reflect the Geo Targeting feature in desktops.
Thanks,
Uttam

Your question is too generic to be answered. Detecting which country the user is from does not have anything specific to do with BEA portal, you'd implement this as in any other J2EE app. Once you know this,
Where / how is this country specific content stored? Its likely that there isnt one answer for this. You might be
a. Storing this in CMS
b. Have some form based labels that arent country specific. have validations messages.
c. Have country specific images (e.g. buttons)
d. have some content that you get from other systems in your enterprise and or your database.
e. have rules for defaulting e.g. if no france specific content use usa.
There are various ways you could model each of the above but since we dont know the constraints / context of your question , its doubtful anyone can give you any useful answer. If there is a specific question you have (e.g. Im storing content in the BEA repository in the following model , how would I vary what the user sees) you might get an answer for those.

Similar Messages

  • How to add Friendly URLs in Weblogic Portal?

    Hi,
    We are developing a portal using Weblogic 10gR3. Right now the URL's that are getting formed are very long which includes the nfpb, nfls, pagelabel e.t.c. The requirement is to have a very user friendly url something like http://www.x.com/portal/<<pageLabel>>
    The Weblogic documentation mentions something about URL compression, however unable to apply it for dynamic URL's. We have URL's which are formed on the fly from the WLP Content Repository
    Is there some kind of servlet / filter provided within WLP. I read somewhere about an URLTransformationServlet. But there was no documentation on its usage. Can some one share a sample code snippet with me. That would be really really helpful, as we are having a slight time crunch here.
    Any kind of help on this will be deeply appreciated. Thanks
    Thanks and Regards,
    Lilly

    Dear Team,
    Please help us in Change Portal Url . Please find below details and help us asap.
    Regards
    Radhakrishna
    Generic Note
    I understand [email protected] looks after your account and he should be able to assist you in this matter.
    You could possibly post your question to the oracle forums, like below
    How to add Friendly URLs in Weblogic Portal?
    [email protected] - November 1, 2010 7:05:03 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please let us know how to contact the assigned oracle account manager to engage someone from the professional services team.
    Please update us asap.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 5:28:59 PM GMT+05:30 [Information]
    Generic Note
    I would suggest you contact the assigned oracle account manager to engage someone from the professional services team.
    [email protected] - November 1, 2010 4:55:25 PM GMT+05:30 [Update from Customer]
    Dear Team,
    How to engage oracle professional services to team to get assistance.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 1:48:49 PM GMT+05:30 [Information]
    Generic Note
    As mentioned earlier, changes to the portal url is not provided out of box, the documentation link that I provided mentions a possible way of achieving this by creating a start up servlet, this may or may-not work in all circumstances. If the suggestions provided so far has not helped you so far, I would recommend you engage oracle professional services team to get assistance.
    [email protected] - November 1, 2010 1:36:12 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please find below comments from Dev team.
    While try to incorporate the URL navigation changes at
    our development environment we are getting exception Unable to render /framework/skeletons/bharti_skeleton/singlelevelmenu.jsp .
    I have also checked feasibility for the URL navigation changes provided and will not work for left menu
    and footer URL because while rendering these URL we are not using single level menu jsp or multilevel menu jsp.
    Please check with these comments and update ASAP.
    Regards
    Radhakrishna
    [email protected] - October 28, 2010 7:56:02 PM GMT+05:30 [Update from Customer]
    Hi,
    regarding making changes to the url meets ,we are working on the document which you have provided.we will update with result onc it get finished.
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 7:06:32 PM GMT+05:30 [Information]
    Generic Note
    Since your question about Rich Text support in CMS is not related to portal urls, I would request you raise this as a separate issue.
    In the new SR, please elaborate what you mean by the Rich Text support, whats your proposed use case, whats working and what is not.
    Could you also confirm if the further information I have provided regarding making changes to the url meets your requirement.
    [email protected] - October 28, 2010 7:04:48 PM GMT+05:30 [Update from Customer]
    CMS----Content Management System
    Rich contents are : Media files, Vedios, Movies... etc.
    [email protected] - October 28, 2010 6:58:46 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please clarify the below point also.
    "Please confirm whether CMS support Rich Text in weblogic , currently we have the weblogic version 9.2 . Plz confirm whether it will support or not."
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 5:41:53 PM GMT+05:30 [Information]
    Generic Note
    The following documentation http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/url/simplify.html tells how you can achieve the simple urls you are looking for.
    Could you let me know if this meets your requirement.
    [email protected] - October 28, 2010 12:07:05 PM GMT+05:30 [Reopen Request]
    Hi,
    Please clarify why it is not possible to remove nfpb parameter.
    Call Me on +91 9686971269 ASAP.
    Oracle Support - September 29, 2010 5:39:48 PM GMT+05:30 [ODM Answer]
    === ODM Answer ===
    weblogic portal does not provide any out of the box way to achieve this functionality
    Oracle Support - September 29, 2010 5:39:15 PM GMT+05:30 [ODM Question]
    === ODM Question ===
    need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Oracle Support - September 25, 2010 4:42:01 PM GMT+05:30 [Information]
    Generic Note
    WLProxy configuration falls under the weblogic server product hence you will have to raise an SR with that product to get any suggestions.
    Before that I would suggest you play around with the parameter I have suggested and see how it is impacting the url and then if there is any specific area you are stuck on check with the WLS team.
    Like I mentioned earlier, I do not know if this will completely meet your business requirement, but something you can look into.
    [email protected] - September 25, 2010 4:32:00 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please brief us what all are the changes needs to be done to meet our below requirement.
    Regards,
    Eranna D.
    +91 9686971269
    Oracle Support - September 24, 2010 9:00:57 PM GMT+05:30 [Information]
    Generic Note
    URLCompression servlet is the only option that weblogic portal provides out of the box to compress the URL of WLP. I understand this does not suite your requirement.
    The other option I can think of that can possibly help you achieve this is to configure any weblogic proxy plugin that you might be making use of, see the document
    http://download.oracle.com/docs/cd/E15051_01/wls/docs103/plugins/plugin_params.html#wp1143055 look for PathTrim, PathPrepend
    [email protected] - September 24, 2010 5:41:39 PM GMT+05:30 [Update from Customer]
    Hi,
    Please call me on +91 9686971269 ASAP.
    Regards,
    Eranna D
    [email protected] - September 24, 2010 5:41:22 PM GMT+05:30 [Update from Customer]
    Hi,
    Even thogh after implementing the below changes,still we are not able to get the result. " nfpb parameter is still existing in URL ".
    Implementing URL Compression :
    To configure a webapp to use url compression, follow these steps:
    1. Define the compression servlet in web.xml; for example
    <servlet>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <servlet-class>com.bea.portlet.compression.UrlCompressionServlet
    </servlet-class>
    <init-param>
    <param-name>defaultPage</param-name>
    <param-value>/index.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>errorPage</param-name>
    <param-value>/errors/error.jsp</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    2. Map the compression pattern; for example:
    <servlet-mapping>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <url-pattern>wlp.c</url-pattern>
    </servlet-mapping>
    3. Add the token {url:compression} to the templates for which you want to apply compression.
    Please suggest on this ASAP.
    Regards,
    Eranna D.
    [email protected] - September 24, 2010 5:27:58 PM GMT+05:30 [Customer Problem Description]
    Problem Description: We need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Pls suggest on this.
    Regards,
    Eranna D.

  • How to use Domino LDAP in WebLogic Portal 8.1?

    Hi, all
    I'm trying to solve the problem of how to use Domino LDAP in WebLogic Portal 8.1. Anybody who have this experience please help me.
    Best Regards,
    Sean

    Hi,
    I just spoke to BEA and domino LDAP not supported although they gave me these
    LDAP filters that might help -
    http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_solution&answerpage=solution&page=wls/S-09460.htm
    Sean Lin <[email protected]> wrote:
    Hi, all
    I'm trying to solve the problem of how to use Domino LDAP in WebLogic
    Portal 8.1. Anybody who have this experience please help me.
    Best Regards,
    Sean

  • How to hide the menus in Weblogic Portal?

    I have to develop a page in Weblogic Portal 10.0 that uses a portlet for the UI presentation.
    I have a requirement that the page is hidden by default. When I navigate to the page by selecting a link, I have to display the contents in that page. While displaying I should hide the portal level menus of other books/pages. But I have to display other contents like logo, etc.
    Can some one please help me on how to hide the menus in the selected page?
    Edited by: [email protected] on Apr 19, 2010 3:43 AM

    As a quick and dirty solution i would edit the navigation jsps (singlelevel/multilevel/yourcustom menu jsp) and disable the navigation for all hidden pages.
    Or create a backing file and dynamically change the navigation state on the desktop when the hidden page is requested.
    Or have the page in a different portal file if possible and set the same header and footer there as well.
    Or You could have a look at the detached portlets. These are used as popups often.

  • How to implement Breadcrumb functionality in weblogic portal 10.3

    Hi,
    We need to implement the breadcrumb functionality in weblogic portal 10.3.
    Tried to look for it in Google. But couldn't get success.
    Can someone help on how to implement this.
    Thanks
    Uttam

    Please find the example code for Breadcrumbs
    <%
         ArrayList breadcrumbTitles = new ArrayList();
         ArrayList breadcrumbURLs = new ArrayList();
         BookPresentationContext book = BookPresentationContext.getBookPresentationContext(request);
    PagePresentationContext pageCtx = PagePresentationContext.getPagePresentationContext(request);
         if(pageCtx.getDefinitionLabel() != null )
              breadcrumbTitles.add(pageCtx.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());
         if (!(book.getDefaultPage().equals(pageCtx.getDefinitionLabel())))
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, book.getDefaultPage()).toString());
         else
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());           
              PagePresentationContext parentPage = book.getParentPagePresentationContext();           
              while (parentPage != null)
                   breadcrumbTitles.add(parentPage.getTitle());
                   if (parentPage instanceof BookPresentationContext)
                        BookPresentationContext parentBook = (BookPresentationContext)parentPage;
                        // condition for not showing my eagle page when user not logged in. instead show default home page
                        if (parentBook.getDefaultPage().equalsIgnoreCase(""))
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, ""));
                        }else
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, parentBook.getDefaultPage()).toString());
                   else
                        breadcrumbURLs.add(PageURL.createPageURL(request, response, parentPage.getDefinitionLabel()).toString());
                   parentPage = parentPage.getParentPagePresentationContext();
    %>
         <ul class="breadcrumbs">
    <%
                   // compare if current page is selected. then dont show hyper link
                   if (pageCtx.getTitle().toString().equalsIgnoreCase((String)breadcrumbTitles.get(i)))               
    %>
                             <%=breadcrumbTitles.get(i)%>  
    <%          
                        }else
    %>                    
                             <a href="<%=breadcrumbURLs.get(i)%> "><font color="#005596"><%=breadcrumbTitles.get(i)%></font></a></b><img src="<render:getSkinPath imageName="/spacer.gif" />" width="2" /><img align="bottom" src="<render:getSkinPath imageName="/arrow_right.gif" />" />
                             <%
    %>
         </ul>

  • How to Monitor  ALBPM  APPS with Weblogic Portals

    Hi All,
    I am new to BPM,
    I have created a sample application with roles and participants ,My Requirement is i need to monitor the ALBPM Application through weblogic 9.2 Portals ,
    Please let me know if any one is working on this kind of scenario
    Thanks
    LRK

    Monitoring examples can be found here: http://middlewaremagic.com/weblogic/?p=7340
    The WebLogic monitoring dashboard can be reached at: http://hostname:7001/console/dashboard.
    For example, to view how the memory of the individual JVMs are doing you can start the JVM Runtime Heap view.
    (Some examples can be found here: http://middlewaremagic.com/weblogic/?p=7716 - in the 'testing' section.)

  • Weblogic portal document management

    Hi,
    Please advice me how to go about implementing/using weblogic portal's content
    management feature.
    regards

    Look at the CM tags:
    http://edocs/wlp/docs70/jsp/p13njsp.htm#999368
    "sva" <[email protected]> wrote:
    >
    Hi,
    Please advice me how to go about implementing/using weblogic portal's
    content
    management feature.
    regards

  • Java Portlets only JSR 168 compatible Portlet in Weblogic Portal 9.x?

    I and need to develop a JSR 168 Portlet that contains JSF components. I have looked through a lot of the training material, newsgroups and web sites for any information on how to perform this within the Weblogic Portal tools and have been unsuccessful.
    Is there a way in Weblogic Portal 9.x to create a Portlet that is JSR 168 compliant and capable of containing JSF components through the tool interface?

    I and need to develop a JSR 168 Portlet that contains JSF components. I have looked through a lot of the training material, newsgroups and web sites for any information on how to perform this within the Weblogic Portal tools and have been unsuccessful.
    Is there a way in Weblogic Portal 9.x to create a Portlet that is JSR 168 compliant and capable of containing JSF components through the tool interface?

  • How to install Weblogic Portal 10.3.0

    Dear All,
    I need to install Weblogic Portal 10.3.0 in two flavaors. 1) Single instance 2)In a cluster.
    I'm relative new to Weblogic Portal. The platform is solaris 10 64 bit. Can anyone provide a step-by-step installation sequence?
    I read the installation guide but it says nothing about how the installation would work. This is what I have done till now:
    1. Installed the WLP 10.3.0 with Weblogic Server, Weblogic Portal and Workshop components.
    2. After installation, ran config.sh command and configured Admin server and one managed server (to support portal).
    But after my domain is created and I start my managed server, I see nothing in the deployments page. There are no errors either in the log files.
    IS there a step I'm missing? Do we need to manually deploy portal application? if yes, how?
    Any help would be truly appreciated.
    rgds,
    rb

    Hi RB!
    Sounds like you just starting off fresh with WLP. This may or may not help. I suggest learning some of the basics of creating a Portal.Ear file and deploying it to other environments.
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/getting_started/introduction.html#wp1005589
    Using WebLogic Portal
    If you are new to WebLogic Portal, a short tutorial is provided to help you get started. See Tutorials – Getting Started with WebLogic Portal for more information. The tutorials discuss setting up a portal development environment, creating a portal, and assembling a desktop in your staging environment.
    Tip:      If you are unfamiliar with the Eclipse development environment on which Workshop for WebLogic is based, the tutorial “Getting Started with Workshop for WebLogic” located in the Oracle Workshop for WebLogic User’s Guide, is highly recommended; the tutorial shows you how to start Workshop for WebLogic and navigate the workbench user interface, introduces terminology associated with the workbench, and shows you how to create a simple web application.
    The WebLogic Portal Overview provides a starting point for understanding and developing applications with WebLogic Portal. This chapter introduces portal concepts, describes the WebLogic Portal infrastructure framework and business services, and describes the portal life cycle, from architecture through development, staging, and production. The remaining chapters in this guide describe each phase of the life cycle in detail and provide a starting point for using WebLogic Portal.
    Tutorials – Getting Started with WebLogic Portal
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/tutorials/index.html
    Cheers!
    RichardL

  • How to do development on Weblogic Portal ( 10.3.2 )

    Im trying to do Weblogic Portal Development as described in http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14252.pdf
    But When I downloaded the latest Weblogic Eclipse IDE ( OEPE ) ( Oracle Enterprise Pack for Eclipse ), I do not see the Portal Perspective or an option ro create a Portal project.
    I downloaded the latest OEPE ( Indigo )
    Am I supposed to download a certain version of OEPE ? If yes which one is it ?
    How can I proceed with what is given in the oracle tutorial ?
    Any help will be greatly appreciated

    Praise the Lord!
    It is now working on my MAC with 10.3.4. (I could not yet download 10.3.2 Windows, but should work the same)
    The following versions seem to be used:
    WLP 10.3.4     OEPE 11.1.1.6.1     Eclipse 3.6
    WLP 10.3.2     OEPE 11.1.1.3.1     Eclipse 3.5
    Steps
    1. Download Windows WLP 10.3.4 and install it on a Windows machine
    2. Download and install the Generic WLP 10.3.4 on your MAC
    3. Download OEPE 11.1.1.6.1 and install/extract it under your Middelware home directory where you installed WLP on your MAC
    4. Copy the +\<Middleware Home>\wlportal_10.3\eclipse+ folder from Windows to your MAC +/<Middleware Home>/11.1.1.6.1/dropins/WLP_Portal/.+
    (The link file in the url solution above did not want to work)
    En siedaar! It works
    (Note that when I created a new Server/Domain it did not want to run the Derby DB scripts as the Derby server is not started (Windows and MAC). I got around this by starting the Derby server before I create the Domain.
    +/<Middleware Home>/wlserver_10.3/common/derby/bin/startNetworkServer.sh+ )
    Hope this helps someone else.
    Arriwarrie
    Duncan

  • How to use servlets in portal web application in Weblogic Portal 4.0

    We are developing a Portal Web application using Weblogic Portal 4.0 where in we
    have the following scenario. one JSP in webflow of a portlet calls the PipeLine
    which does some processing and calls the servlet which is having the typical download
    functionality. The servlet is supposed to read the data from the pipeline session
    and create a CSV String that is dumped to the client browser. The problem is even
    we are doing response.setContentType("application/save") in the servlet it is
    still displaying the content as html in the portlet. I guess since all our request
    are send to the webflow contolling servlet and it is setting the content type
    and hence our servlet is not working. How do I solve this problem? Thanks Yogesh

    Hi Renu
    Please go through the SAP Content Management here you find the documents related to Wab page Compoer and knowledge mangement. Also search for article / blog for more details.
    [http://www.sdn.sap.com/irj/sdn/nw-ecm|http://www.sdn.sap.com/irj/sdn/nw-ecm]
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • How to implement Shopping cart functionality in weblogic portal 10.3

    Hi,
    Can someone help me out on how to implement Shopping cart functionality in weblogic portal 10.3?
    Thanks,
    Uttam

    One piece of advise I can give is to NOT* use the Shopping Cart fuctnionality inherent in WLP (com.beasys.commerce.ebusiness.shoppingcart. The Online Commerce functionality in WebLogic Portal has been deprecated.
    Brad

  • How to configure to use Strut 1.2 in weblogic portal 10.3.2

    I am new in weblogic portal, now i need to develop Strut portlet version 1.2. But I don't know how to configure it in weblogic 10.3.2 and i can't find document for how to configure Strut 1.2 to work on weblogic portal 10.3.2. I added relation libraries and configure like in weblogic document of oracle. But it's can not run and throw some exceptions like : can not render jsp file. Someone can tell me how to configure Strut 1.2 to develop Strut portlet ? Thanks in advance!

    This would be a good place to start:
    http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14243/integrate.htm#BABBEHCH
    Brad

  • How to install Workshop for WebLogic and WebLogic Portal?

    Hi All,
    I am new to Weblogic Portal. I would like to start learning Oracle Weblogic Portals..
    Can anyone please guide me, how to install Workshop for WebLogic and WebLogic Portal?
    As per the ""Tutorials – Getting Started with WebLogic Portal"" (http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/tutorials/setup_dev_env.html)
    we need to install the Workshop for WebLogic and WebLogic Portal.
    Please suggest me where should i get the required environments/IDE?
    Thanks,
    Harish.

    Hi Harish
    1. If this is your first time with Weblogic Portal, I would recommend to download the latest Weblogic Portal Software Rel 10.3.2 from this bottom link. Check Accept Radio button, for windows download windows installer. Its about 1 GB file. This software includes Eclipse IDE, Weblogic Server and Weblogic Portal.
    http://www.oracle.com/technology/software/products/wlp/index.html
    2. During the installation process, make sure at one point you select Custom mode (NOT default Typical mode). In next following screens you will see all bundles checked EXCEPT for Samples. So make sure you check Samples Check box both under Weblogic Server and Weblogic Portal. Then proceed. This will install full Weblogic Workshop (Eclipse IDE), Weblogic Server and Weblogic Portal. This is the good installation package. Also it will install samples for Portal and Server. If you select all default typical mode, it will NOT install samples. You can install samples later on also, but its good at installation time itself you select custom and check Samples also.
    3. WLP 10.3.2 uses Eclipse IDE. If you are familiar with Eclipse IDE this should be helpful. Otherwise also, its ok.
    4. For learning WLP, in Eclipse IDE, you need to create Portal EAR Project, then Portal Web Project. Inside portal web project create simple jsp hello world portlets and a simple portal.
    5. For Deploying and Testing Portal application you need to create Portal Domain using config wizard. You can see this from Start -> Programs -> Oracle Weblogic Portal shortcut -> Weblogic Server -> Tools -> Configuration Wizard.
    6. You can start Workshop IDE from Start -> Program Files -> Oracle Weblogic Portal ...-> Eclipse For Weblogic 10.3.2
    Here are the links for quick start guide for portal development. Please do refer them.
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/tutorials/index.html
    http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/quickstart/newproject.html
    HTH
    Ravi Jegga

  • How To Integrate BPEL Process Into Oracle Weblogic Portal 10.3

    Hi All,
    I have bpel process which which has db adapters and Human Work Flow. I need to integrate this bpel process [ created using Oracle SOA Suite 10131] with Oralce weblogic portal 10.3
    Please let me know how to achieve this.
    Thanks,
    Irfan Khan

    Hi All,
    I tried to call my BPEL Process thru JSP.
    This is how my JSP looks like:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ page import = "com.oracle.bpel.client.Locator" %>
    <%@ page import = "com.oracle.bpel.client.NormalizedMessage" %>
    <%@ page import = "com.oracle.bpel.client.dispatch.IDeliveryService" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>InvokeHelloBPELProcess</title>
    </head>
    <body>
    <%
    String name = request.getParameter("name");
    if(name == null) name = "HelloBPEL";
    String xml = "<name xmlns=\"http://xmlns.oracle.com\">"+name+"</name>";
    // Connect to the default BPEL domain using Locator
    // Please set the password (bpel is initial password)
    Locator locator = new Locator( "default", "welcome1" );
    IDeliveryService deliveryService =
    (IDeliveryService)locator.lookupService
    (IDeliveryService.SERVICE_NAME);
    //Construct the normalized messaged and send it to the oracle BPEL PM
    NormalizedMessage nm = new NormalizedMessage();
    System.out.println(" -=-=-=-=-=-=-= XML: "+ xml);
    //attach the payload to the NormalizedMessage
    nm.addPart("payload", xml);
    //Post the message to the HelloBPEL process
    deliveryService.post("HelloBPEL", "initiate", nm);
    out.println("The BPEL process HelloBPEL initiated!!!");
    %>
    </body>
    </html>
    Now once i invoke this JSP page I am getting the 500 internal server error.
    The error message is :
    java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: While trying to lookup 'ejb.collaxa.system/DeliveryBean' didn't find subcontext 'collaxa'. Resolved 'ejb'; remaining name 'collaxa/system/DeliveryBean'
    Here I have some doubts:
    1) If xml payload that I am passing is correct?
    2) In Locator, do I need to pass 'domain' along with 'password' as my password or it will always be "bpel". i.e.,
    a) Locator locator = new Locator( "default", <password> );
    OR
    b) Locator locator = new Locator( "default", "bpel" );
    Please let me know how to solve this error. I doubt that my xml payload constructed is wrong. could you tell me what is the correct xml payload for below BPEL process WSDL file:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="useWebServiceBpelProcess"
    targetNamespace="http://xmlns.oracle.com/useWebServiceBpelProcess"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:client="http://xmlns.oracle.com/useWebServiceBpelProcess"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema xmlns="http://www.w3.org/2001/XMLSchema">
                   <import namespace="http://xmlns.oracle.com/useWebServiceBpelProcess" schemaLocation="useWebServiceBpelProcess.xsd" />
              </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="useWebServiceBpelProcessRequestMessage">
              <part name="payload" element="client:useWebServiceBpelProcessProcessRequest"/>
         </message>
         <message name="useWebServiceBpelProcessResponseMessage">
              <part name="payload" element="client:useWebServiceBpelProcessProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <!-- portType implemented by the useWebServiceBpelProcess BPEL process -->
         <portType name="useWebServiceBpelProcess">
              <operation name="initiate">
                   <input message="client:useWebServiceBpelProcessRequestMessage"/>
              </operation>
         </portType>
         <!-- portType implemented by the requester of useWebServiceBpelProcess BPEL process
         for asynchronous callback purposes
         -->
         <portType name="useWebServiceBpelProcessCallback">
              <operation name="onResult">
                   <input message="client:useWebServiceBpelProcessResponseMessage"/>
              </operation>
         </portType>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         the useWebServiceBpelProcess partnerLinkType binds the provider and
         requester portType into an asynchronous conversation.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="useWebServiceBpelProcess">
              <plnk:role name="useWebServiceBpelProcessProvider">
                   <plnk:portType name="client:useWebServiceBpelProcess"/>
              </plnk:role>
              <plnk:role name="useWebServiceBpelProcessRequester">
                   <plnk:portType name="client:useWebServiceBpelProcessCallback"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>

Maybe you are looking for

  • Accessing oracle apps from anywhere on the internet

    Hello, I have oracle apps R12.1.1 up and running on linux 6.3. I have disabled the firewall on linux. I am able to access apps from windows clients on the same network after updating the host files. I would however like to access the url form anywher

  • How do i fix 306 error i tunes for mac

    I have a netgear WRN 2000 router and cannot access itunes store error 306

  • PROBLEMS WITH WAR/URGENT / 2

    hi all           i solved the previous problem.           now i have another one, the URL mapping           i want my servlet (located in the lib directory of my web app) to be           called           whenever the path is *.do.           now my ap

  • Photo formats for export to Premiere Elements

    What photo format , Jpeg, Tiff, etc should I use after editing it in Photoshop Elements to use it in a video in Premeire Elements 11?  I just used a photograph formated in Jpeg 5 and used it in a video I made with Premeire Elements and it isn't as sh

  • QuickLook not opening album artwork in finder

    Hello, I made an upgrade from Lion to Mountain Lion on my MacBopokPro. Album artworks in iTunes is working but not with the Finder by using 'quickLook". Does anyone know how the problem can be solved? Regards, Timo.