My Portal Application was done

Hello,
My Portal Application was done. now i want to get the user name and password from the session how it is possible??
and how can i include my iview on the portal jsp of what to do next for creating an Enterprise portal.
I am new to this please help me.
tell me the next steps what to do with this portal and iview. All are deployed and run perfect on irj/portal.
Thanks

Hi Dhruv,
You can get the user name in the jsp page using the below code,
IUserContext userContext = request.getUser();
String firstName = userContext.getFirstName();
String lastName = userContext.getLastName();
But you cannot get the password from the portal session as the portal generates cookie called MYSAPSSO2 in portal session which contains the user details but not the password.
For more details on MYSAPSSO2 cookie check the below link.
[MYSAPSSO2|http://help.sap.com/saphelp_nw04/helpdata/en/44/630ba9b4964ddee10000000a1553f7/frameset.htm]
To create an iView using your created Portal Component, you need to use the option 'Portal Component'. Click Next it will list all the portal archives, there you can find your portal component listed. Use your portal component to generate the new iView.
Thanks,
Ansar

Similar Messages

  • Error while Creating a basic portal application using JDeveloper

    Hi,
    I am trying to build a portal application using the following tutorial on JDeveloper 11.1.1.5.0 on Windows XP.
    [http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC|http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10273/createapp.htm#CCHEGDIC]
    I have configured all the prereqs for this tutorial. When i run the application, following message appears on the log file.
    Target Portal.jpr is not runnable, using default target index.html.
    and the webpage contains following error
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    +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.
    Following is the WLS log for the application run.
    +[12:53:24 PM] ---- Deployment started. ----+
    +[12:53:24 PM] Target platform is (Weblogic 10.3).+
    +[12:53:24 PM] Retrieving existing application information+
    +[12:53:24 PM] Running dependency analysis...+
    +[12:53:24 PM] Deploying 3 profiles...+
    +[12:53:28 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
    +[12:53:31 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[12:53:32 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
    +[12:53:35 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
    +[12:53:35 PM] Deploying Application...+
    +<Jul 25, 2011 12:53:44 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
    +<Jul 25, 2011 12:53:53 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<EclipseLinkLogger> <basicLog> 2011-07-25 12:54:27.409--ServerSession(28900695)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
    +[12:54:48 PM] Application Deployed Successfully.+
    +[12:54:48 PM] Elapsed time for deployment: 1 minute, 24 seconds+
    +[12:54:48 PM] ---- Deployment finished. ----+
    Run startup time: 84155 ms.
    +[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
    Target URL -- http://127.0.0.1:7101/mytutorial/index.html
    +<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
    +<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
    +<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
    +<Logger> <error> ServletContainerAdapter manager not initialized correctly.+
    +[Application termination requested.  Undeploying application NTSL_PORTAL.]+
    +[01:04:42 PM] ---- Deployment started. ----+
    +[01:04:42 PM] Target platform is (Weblogic 10.3).+
    +[01:04:42 PM] Undeploying Application...+
    +<Jul 25, 2011 1:04:42 PM GMT+05:00> <Warning> <Deployer> <BEA-149085> <No application version was specified for application 'NTSL_PORTAL'. The undeploy operation will be performed against the currently active version 'V2.0'.>+
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    +<BPELConnectionUtil> <getWorklistConnections> The Worklist service does not have a ConnectionName configuration entry in adf-config.xml that maps to a BPELConnection in connections.xml, therefore the Worklist service was not configured for this application.+
    +<NotificationSenderFactory> <getSender> Notification sender is not configured+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +[01:04:48 PM] Application Undeployed Successfully.+
    +[01:04:48 PM] Elapsed time for deployment: 6 seconds+
    +[01:04:48 PM] ---- Deployment finished. ----+
    +[Application NTSL_PORTAL stopped and undeployed from Server Instance IntegratedWebLogicServer]+
    +[Running application NTSL_PORTAL on Server Instance IntegratedWebLogicServer...]+
    +[01:05:40 PM] ---- Deployment started. ----+
    +[01:05:40 PM] Target platform is (Weblogic 10.3).+
    +[01:05:40 PM] Retrieving existing application information+
    +[01:05:40 PM] Running dependency analysis...+
    +[01:05:41 PM] Deploying 3 profiles...+
    +[01:05:42 PM] Wrote MAR file to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\AutoGeneratedMar+
    +[01:05:44 PM] Wrote Web Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL\NTSL_PortalWebApp.war+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/share/prefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/lifecycle/importexport' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/lock' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/rc' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/persdef' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/shared/oracle/wcps' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/xliffBundles' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/search/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/framework/scope/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/page/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/pageDefs' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/portlet' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/adf/portletappscope' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/doclib/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/portalapp' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/security/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/siteresources/shared' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Namespace '/oracle/webcenter/quicklinks/scopedMD' is mapped to deploy-target metadata-store-usage 'WebCenterFileMetadataStore' in adf-config.xml but no metadata from the namespace is included in the MAR.+
    +[01:05:45 PM] Info: Any customizations created while running the application will be written to 'C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.mds.dt\adrs\NTSL_PORTAL\AutoGeneratedMar\mds_adrs_writedir'.+
    +[01:05:47 PM] Wrote Enterprise Application Module to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\o.j2ee\drs\NTSL_PORTAL+
    +[01:05:47 PM] Deploying Application...+
    +<Jul 25, 2011 1:05:52 PM GMT+05:00> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: oracle.apps.common.resource, referenced from: C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\oracle.webcenter.framework\owur7d]. Make sure the referenced optional package has been deployed as a library.>+
    +<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>+
    +<Jul 25, 2011 1:05:54 PM GMT+05:00> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00003. Log messages will continue to be logged in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>+
    +<Jul 25, 2011 1:06:01 PM GMT+05:00> <Warning> <Munger> <BEA-2156203> <A version attribute was not found in element web-app in the deployment descriptor in C:\Documents and Settings\ahmedh\Application Data\JDeveloper\system11.1.1.5.37.60.13\DefaultDomain\servers\DefaultServer\tmp\_WL_user\jaxrs-framework-web-lib\829i9k\WEB-INF\web.xml. A version attribute is required, but this version of the Weblogic Server will assume that the JEE5 is used. Future versions of the Weblogic Server will reject descriptors that do not specify the JEE version.>+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
    +<EclipseLinkLogger> <basicLog> 2011-07-25 13:06:36.117--ServerSession(28713857)--PersistenceUnitInfo ServiceFrameworkPUnit has transactionType RESOURCE_LOCAL and therefore jtaDataSource will be ignored+
    +<ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.+
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST
    +<LoggerHelper> <log> Cannot map nonserializable type "interface oracle.adf.mbean.share.config.runtime.resourcebundle.BundleListType" to Open MBean Type for mbean interface oracle.adf.mbean.share.config.runtime.resourcebundle.AdfResourceBundleConfigMXBean, attribute BundleList.+
    +[01:06:54 PM] Application Deployed Successfully.+
    +[01:06:54 PM] Elapsed time for deployment: 1 minute, 14 seconds+
    +[01:06:54 PM] ---- Deployment finished. ----+
    Run startup time: 73985 ms.
    +[Application NTSL_PORTAL deployed to Server Instance IntegratedWebLogicServer]+
    Target URL -- http://127.0.0.1:7101/mytutorial/index.html
    +<JUApplicationDefImpl> <logDefaultDynamicPageMapPattern> The definition at NTSL.portal.portal.DataBindings.cpx, uses a pagemap pattern match that hides other cpx files.+
    +<NavigationCatalogException> <<init>> oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog using MDS reference /oracle/webcenter/portalapp/navigations/default-navigation-model.xml Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/webcenter/portalapp/navigations/default-navigation-model.xml"]+
    +<SkinFactoryImpl> <getSkin> Cannot find a skin that matches family portal and version v1.1. We will use the skin portal.desktop.+
    +<Jul 25, 2011 1:11:04 PM GMT+05:00> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DeploymentTaskSummaryPage&DeploymentTaskSummaryPortlethandle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DADTR-0%2CType%3DDeploymentTaskRuntime%2CDeployerRuntime%3DDeployerRuntime%22%29.>+

    The below message comes when you don't specify any default file for your webcenter portal application and this should not be any problem.
    Target Portal.jpr is not runnable, using default target index.html.
    Can you answer to my questions:
    1. Did you just created a new wcp application in jdev and ran it with out doing any changes? If you have done what are the changes?
    2. How did you ran your application? (right clicking a particular page or right clicking your portal project and selected "run" option?

  • Portal application connecting backend SAP R/3 system

    Hi All,
               I am developing one portal application through NWDS. It's JSPDYNPage component.The applications functionality is basicaly is to connect it to backend SAP R/3 system & fetch some data in aparticular table & display that data in a tableview format on one JSP& also when i click any row of the tableview then details of that row should get displayed on the next JSP. So i reached till develpoing a code that connnects to Backend SAP R/3.(Basicaly coding of connection part is done). Now i need to test this code, to check whether it is fine or not? NWDS doesnt give nay error, not compile also or not runtime error also. It simply shows the output as a blank page, where it is supposed to display one line of text in textview(i coded this in my JSP).But as i said it displays a blank page. i tried to debug the application , but debugging also not worked.I performed the debugging twice in right way. The code was not debugged, it run the same way as it normally runs when debugging is off & shown the blank page. I also have done all the the settings or prerequisites for debugging properly. I am stuck at this point now.search many documents , but no relevant help has been received. Can anyonehlep me with this. i am putting below the code for JSP, JSPDYNPAGE component as well as portalapp.xml. Can anyone guide me with this, whhere i am making mistake? what should i change in this?
    JSPDYNPAGE code
    package com.lti.portal;
    //import java.util.ArrayList;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.*;
    import com.sapportals.htmlb.event.*;
    import com.sapportals.htmlb.page.*;
    import com.sapportals.portal.htmlb.page.*;
    import com.sapportals.portal.prt.component.*;
    import java.util.ArrayList;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    import com.sun.corba.se.internal.core.Response;
    public class Connection_R3 extends PageProcessorComponent {
    public DynPage getPage(){
    return new Connection_R3DynPage();
    public static class Connection_R3DynPage extends JSPDynPage{
    private Conn_R3 myBean = null;
    public JCO.Client mConnection;
    public JCO.Repository mRepository;
    public ArrayList al = new ArrayList();
    public String output;
    public String Ans;
    public static String BEAN_KEY="myBean";
    public void doInitialization(){
    IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
    IPortalComponentContext context = request.getComponentContext();
    IPortalComponentProfile profile = context.getProfile();
    //create & initialize the bean.
    Conn_R3 test_bean= new Conn_R3();
    test_bean.setans("3");
    // put the bean into application context.
    context.putValue(BEAN_KEY,test_bean);
    conn();
    //IPortalComponentResponse res = (IPortalComponentResponse)this.getResponse();
    //for(int i=0;i<al.size();i++)
    //res.write(" "+al.get(i).toString());
    public void doProcessAfterInput() throws PageException {
    public void doProcessBeforeOutput() throws PageException {
    this.setJspName("Connection_R3.jsp");
    public ArrayList conn() {
    IPortalComponentRequest request =(IPortalComponentRequest) this.getRequest();
    IPortalComponentContext context = request.getComponentContext();
    IPortalComponentProfile profile = context.getProfile();
    Conn_R3 sample_bean = new Conn_R3();
    sample_bean.setans("5");
    //context.putValue(BEAN_KEY, sample_bean);
    //r3-accessing
    //connect_to_r3();
    try {
    // Change the logon information to your own system/user
    mConnection = JCO.createClient("800", // SAP client
    "********", // userid
    "******", // password
    null, // language
    "*******", // application server host name
    "**"); // system number
    mConnection.connect();
    //System.out.println(mConnection.getAttributes());
    mRepository = new JCO.Repository("ABC", mConnection);
    } catch (Exception ex) {
    ex.printStackTrace();
    System.exit(1);
    JCO.Function function = null;
    JCO.Table codes = null;
    try {
    function = this.createFunction("ZSAMPLE");
    if (function == null) {
    System.out.println("ZSAMPLE" + " not found in SAP.");
    System.exit(1);
    String num1 = "7";
    String num2 = "9";
    //String ans;
    function.getImportParameterList().setValue(num1,"My_import");
    function.getImportParameterList().setValue(num2, "My_Import");
    mConnection.execute(function);
    Object name =function.getExportParameterList().getValue(Ans);
    output=name.toString();
    sample_bean.setans(output);
    //sample_bean.setans(output)
    //al.add(name);
    //store values into strings
    //pushing of values we get from r3 into awt
    } catch (Exception ex) {
    ex.printStackTrace();
    System.exit(1);
    disconnect_r3();
    return al;
    public void connect_to_r3() {
    public JCO.Function createFunction(String name) throws Exception {
    try {
    IFunctionTemplate ft =
    mRepository.getFunctionTemplate(name.toUpperCase());
    if (ft == null)
    return null;
    return ft.getFunction();
    } catch (Exception ex) {
    throw new Exception("Problem retrieving JCO.Function object.");
    public void disconnect_r3() {
    mConnection.disconnect();
    //**********************<b>Code for BEAN</b>****************************
    package com.lti.portal;
    import java.io.Serializable;
    public class Conn_R3 implements Serializable {
    public String answer;
    public void setans(String a)
    answer=a;
    public String getans()
    return answer;
    ///////////////////////<b>Code for JSP</b>*****************************
    ><%@ taglib uri= "tagLib" prefix= "hbj" %>
    <jsp:useBean id="myBean" scope="application" class="com.lti.portal.Conn_R3" />
    <hbj:content id="myContext" >
    <hbj:page title="PageTitle">
    <hbj:form id="myFormId" >
    <hbj:textView
    id="Welcome_message"
    text="<%=myBean.getans()%>"
    design="STANDARD" >
    </hbj:textView>
    </hbj:form>
    </hbj:page>
    </hbj:content>
    /////////////////////////////////<b>Portalapp.xml</b>*****************************************
    application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="Address_comp">
          <component-config>
            <property name="ClassName" value="com.lti.portal.Address_comp"/>
          </component-config>
          <component-profile>
          <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>

    Hi,
       Do onething, please refer this <a href="http://www.i-barile.it/SDN/JCoTutorial.pdf">JCo Tutorial</a> as well as <a href="http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25">Link</a> also.
    Regards,
    Venkatesh. K
    /* Points are Welcome */

  • Consuming external Web Service in portal application:Error URL.getProtocol

    Hello!
    I implemented a portal application which consums a external Web Service with NWDS 7.2.
    The Webservice access works fine when I test it in a Java-Main Class.
    If I deploy the application in a portal then I get the error:
    java.lang.NullPointerException: while trying to invoke the method java.net.URL.getProtocol() of an object loaded from local variable 'tmpUrl'
    It seems that my service_client-class has the problem to call the wsdl if the application is in portal:
    static {
        java.net.URL url = null;
        try {
                   java.net.URL tmpUrl = SERVICEClient.class.getClassLoader().getResource
                  ("wsdl/com/sap/test/SERVICE.wsdl");
                  url = new java.net.URL(tmpUrl.getProtocol(), tmpUrl.getHost(), tmpUrl.getPort(), tmpUrl.getFile());
        } catch (java.net.MalformedURLException e) {
          e.printStackTrace();
    Can anybody help me?
    Thanks, Thomas

    Hello Thomas,
    I got the same error. In my case I used an Enterprise Application Project for the developement of my Portal Service. The portal service itself was calling an external webservice.
    The reason in my case lies behind the generation of the EAR-File with the NetWeaver Developer Studio). Inside the generated EAR-File the WSDL-File was always missing. In consequence "
    java.net.URL tmpUrl = SERVICEClient.class.getClassLoader().getResource
                  ("wsdl/com/sap/test/SERVICE.wsdl");" is always "NULL".
    and "tmpUrl.getProtocol()" leads to the NullPointerException.
    So I copied my wsdl-folder / package with the wsdl-file inside the {application}.ear / {application}.war / WEB-INF / private / lib / {application}.jar and everything works fine:-)
    Regards
    Steffen
    PS: Today I found a better way without copying the wsdl-file into the EAR-File. I just didn't use the Enterprise Application Project for the developement of portal services anymore. If you look inside the generated EAR-File, you can see, that you can develop the portal service also by using a simple Dynamic Web Project wrapped by an Enterprise Application Project:-)
    (Rem.: Don't miss the portalapp.xml deployment descriptor).
    If you deploy the Enterprise Project the WSDL-File is always inside the generated EAR-File :-)

  • Deploying portal application with jdeveloper

    Hi all
    I am new to portal applications. I have followed the documentaion (http://download-west.oracle.com/docs/cd/B10464_03/portal.904/b13922/pdg_java.htm#CHDFDDBG). I am getting the following exception when I deploy the example in the doc with jdeveloer. I am using jdeveloper 10.1.2 with portal extention and ias 10.1.3.2.0 on windows.
    C:\product\Jdeveloper\jdk\jre\bin\javaw.exe -jar C:\product\Jdeveloper\j2ee\home\admin.jar ormi://machine.us.oracle.com:12401/ oc4jadmin **** -deploy -file C:\product\Jdeveloper\jdev\mywork\Scratch\portal1\deploy\portalprofile.ear -deploymentName portalprofile
    Error: Unexpected error during lookup : Lookup error: javax.naming.NoPermissionException: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager instead. Refer to the Oracle10iAS Admin Guide or the OC4J User's Guide for more details.; nested exception is:
         javax.naming.NoPermissionException: This operation was denied. The admin.jar utility can not be used to perform operations against OPMN managed OC4J instnaces. Please use Enterprise Manager instead. Refer to the Oracle10iAS Admin Guide or the OC4J User's Guide for more details.
    Exit status of OC4J admin tool (-deploy): 1
    java.lang.NullPointerException
         at oracle.jdevimpl.deploy.Oc4jRemoteAdmin.getServerVersion(Oc4jRemoteAdmin.java:57)
         at oracle.jdevimpl.deploy.Oc4jCommandLine.deployEar(Oc4jCommandLine.java:231)
         at oracle.jdevimpl.deploy.Oc4jRemoteDeployer.deploy(Oc4jRemoteDeployer.java:64)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:53)
         at oracle.jdevimpl.deploy.BatchDeployer.deploy(BatchDeployer.java:46)
         at oracle.jdevimpl.deploy.DynamicDeployer.deploy(DynamicDeployer.java:53)
         at oracle.jdevimpl.deploy.J2eeProfileDt$CleanupTransientProfilesDeployer.deploy(J2eeProfileDt.java:125)
         at oracle.jdevimpl.deploy.FinalDeployer.deploy(FinalDeployer.java:48)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.runImpl(AsyncDeployer.java:63)
         at oracle.jdevimpl.deploy.AsyncDeployer$1.run(AsyncDeployer.java:49)
    Elapsed time for deployment: 4 seconds
    Even I tried directly deploying the ear file but I am getting 403 error when I access the application.
    Thanks

    Hi
    I just tried it again. It's not asking me to activatie the chages in ADMIN Consle I don'tknow why?
    All the internal applications of WC_CustomPortal are up and active!
    Applications - DMS Application , wsil-wls and wsm-pm
    But Jdeveloperdeploy to Server fails with error
    [11:24:15 AM] Entering Oracle Deployment Plan Editor
    [11:24:19 AM] Deploying Application...
    [11:24:20 AM] [Deployer:149191]Operation 'deploy' on application 'University_application1 [Version=V2.0]' is initializing on 'WC_CustomPortal'
    [11:24:21 AM] [Deployer:149193]Operation 'deploy' on application 'University_application1 [Version=V2.0]' has failed on 'WC_CustomPortal'
    [11:24:21 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application University_application1 [Version=V2.0] on WC_CustomPortal.: .
    [11:24:21 AM] Weblogic Server Exception: weblogic.management.DeploymentException:
    [11:24:21 AM] Caused by: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
    [11:24:21 AM] See server logs or server console for more details.
    [11:24:21 AM] weblogic.management.DeploymentException:
    [11:24:21 AM] #### Deployment incomplete. ####
    [11:24:21 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Regards

  • XML News content modification problem in Portal application

    Hi,
    We are trying to update the xml news content in Portal application with KM API.
    We are getting following exception while updating the content.
    javax.xml.transform.TransformerException: Namespace fixup failed. Prefix 'xsi' used in attribute 'xsi:noNamespaceSchemaLocation' is not declared anywhere
    Please let me know what's to be done
    Thanks

    Hello,
    I faced the same problem in a similar implementation: Message "Namespace fixup failed. Prefix 'xsi' used in attribute 'xsi:noNamespaceSchemaLocation' is not declared anywhere".
    When looking at the attributes of the org.w3c.dom.Document, I saw that the namespace URI of xsi was already null after parsing.
    The solution which made it work for me was
    factory.setNamespaceAware(true);
    before parsing the XML text. The URI of xsi was then the one provided by the document.
    P.S.: Unfortunately, the error message did not pop up in this test code:
    package mytests;
    import java.io.StringReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import junit.framework.TestCase;
    import org.w3c.dom.Document;
    import org.xml.sax.InputSource;
    import com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl;
    public class XmlFormsHelperTest2 extends TestCase {
        Document doc;
        String xmldoc =
            "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
                + "<News_Header_v2 xmlns:xf=\"http://www.sapportals.com/wcm/app/xmlforms\" xmlns:xsi=\"http//www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"/etc/xmlforms/News_Header_v2/btexx_News_Header_v2-Schema.xml\">"
                + "<text>This is the main text</text>" + "</News_Header_v2>";
        protected void setUp() throws Exception {
            super.setUp();
        public void testToDoc() throws Exception {
            Document doc = setupDocumentSap(xmldoc);
            assertEquals("News_Header_v2", doc.getDocumentElement().getTagName());
            assertEquals("This is the main text", doc.getDocumentElement().getFirstChild().getTextContent());
        public void testFromDoc() throws Exception {
            Document doc = setupDocumentSap(xmldoc);
            String actual = xmlToString(doc);
            assertEquals(xmldoc, actual);
         private Document setupDocument(String xmltext) throws Exception {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            factory.setValidating(false);
            factory.setCoalescing(true);
            DocumentBuilder builder = factory.newDocumentBuilder();
            return builder.parse(new InputSource(new StringReader(xmltext)));
        private Document setupDocumentSap(String xmltext) throws Exception {
            DocumentBuilderFactory factory = new DocumentBuilderFactoryImpl();
            factory.setValidating(false);
            factory.setCoalescing(true);
            //factory.setNamespaceAware(true);
            DocumentBuilder builder = factory.newDocumentBuilder();
            return builder.parse(new InputSource(new StringReader(xmltext)));
        public static String xmlToString(Document xmlDocument) throws Exception {
            Source xmlSource = new DOMSource(xmlDocument);
            StringWriter stringWriter = new StringWriter();
            Result outputTarget = new StreamResult(stringWriter);
              TransformerFactory.newInstance().newTransformer().transform(xmlSource, outputTarget);
            return stringWriter.getBuffer().toString();

  • Where I can creat a new portal application?

    hello:
       I want to <u>Create a new Masthead Component</u>:
      a) Go to System Administration – Support – Support Desk – Portal Runtime – Browse deployment. Navigate to ROOT/WEB-INF/deployment/pcd and select file com.sap.portal.navigation.masthead.par.bak. Click the download link. Open the zip file and extract it to your local file system.
      b) Open Eclipse and <u><b>create a new portal application project</b></u> based on the par file (File – Import – PAR file).
    my problem is I don't know where I can creat a new portal application?Do I need download a software?
      anyone can help me ?And give me the tool!
      thanks in advance!

    Hi,
       For NW2004s you can download from <a href="https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6">here</a>.
    The steps for installation are:
    1.Begin installation by executing JDTSetup.exe
    2.Enter installation directory where u wish to install.
    3.You will have to enter your Java SDK directory. NDS needs at least 1.4.2 version or later.
    4.Enter folder name for workspace storage: C:\NWDS\Workspace or C:\SAP\JDT\Workspace
    5.After installation is finished start Developer Studio by going to SAP Netweaver Deveoper Studio icon on your desktop.
    6.Open EP Perspective by going to Window->Open Perspective->Other->Enterprise Portal
    Hope this helps.
    Regards,
    Pooja.
    Message was edited by:
            Pooja S

  • Need Help in Portal Application Project

    I am developing a Portal Application Project where i need to use AJAX to show database values in the main JSP.
    Now while doing an AJAX call (the open method) i need to pass a server pages' URL.
    I have a second jsp file in my application(pagelet/second.jsp) which will do all the database functions and writes the values to stream.
    Now i am confused how to call this second jsp from my first jsp.
    Please help !!!
    SAP WAS 7.0

    I have a second jsp file in my application(pagelet/second.jsp) which will do all the database functions and writes the values to stream.
    May I ask why you are using a JSP page for this? The answer written back will include some standard SAP Portal HTML code that you don't need in the AJAX response (like: <html>...)
    I'm using portal components as AJAX "receiver" and not JSP pages, simply because it gives me greater control over the response::
        <component name="Ajax">
          <component-config>
            <property name="ClassName" value="xyz.Ajax"/>
          </component-config>
          <component-profile/>
        </component>
    And in the Java class:
    public class Ajax extends AbstractPortalComponent {
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)  {         
    br,
    Tobias

  • Which portal application does...?

    Hi, I'd like to know what portal application is responsible for the page that displays when I double-click on an iView in the Portal Catalog.  Is it some sort of par file that is listed in the Component Inspector?
    From my understanding, this is the iView configuration page.
    Any suggestions or responses are very appreciated!
    Thanks so much,
    Baggett
    Message was edited by: Baggett Soran

    Hi Baggett,
    I think you mean what component creates the editor for the page. If so ...
    When you double-click an item in the Portal Catalog, you open up the editor for that object. The editor is determined by the property com.sap.portal.reserved.iview.EditorURL. For a page, the value for this property pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.pageListEditor -- this is what's launched.
    This is part of the Editor Framework -- which allows anyone to build an editor for their iView or for iViews built from a specific portal component.
    The Editor Framework and the Wizard Framework (which lets you build wizards for creating portal objects from a specific portal components) are documented more fully in SP13 version of the documentation, which is available on the help portal on/about July 25.
    If you need more information, let me know.
    Hope it helps (and you don;t break your portal)
    Daniel

  • Send mail from Portal application using java

    Hi everybody,
    I'm looking for a way to send mails from my portal application written in java.
    Now I've read a lot of topics on this but can't seem to get it straight.
    I added a few jars to my project among which is
    coll.appl.gw.srvcmail_api.jar
    Here you have the ISendMailItem.class and ISendMailService.class files.
    Now I know these are interfaces so I created 2 new classes:
    Mail implementing ISendMailItem
    SendMail implementing ISendMailService
    And all of the forced methods are created for me but now I don't know how to use these classes to be able to send a mail.
    Can someone help me with this please?
    Thank you
    Regards
    Wouter

    Hey Göran,
    Thank you for this example.
    for the transport i've put this
    transport.connect( "smtpgateway.arinso.com", "", "" );
    Is this correct? or do I need to fill in more info?
    I've adde the mail.jar to my buildpath and put your code in a eventhandler.
    When I now generate the corresponding event i get an Exception:
    java.lang.ClassCastException: javax.mail.Session
    Do you know why I get this?
    Thank you
    Wouter
    Message was edited by:
            Wouter Delellio

  • Transport Portal Application

    Hi,
    We have developed a demo portal application in EP6.0(Application includes Roles,Pages,Iviews etc.),and we want to transport that portal application  to our client.
    Please provide the transporting process step by steps.
    If we export that application to our client ,what if in the case of user mapping steps??
    Thanks in advance.
    Regards,
    Senthil Kumar S.

    Hi,
    Option 1:
      The portal application consists of min 2 parts when it comes to ivews.
    1. PCD Content (like iviews/pages/etc..) should be transported as Transport Packages (.epa file) which can be created using System Administration -> Transport -> Export.
       Here you will have to create a new Transport Package and add the PCD Content and download the epa file.
       On the Client Portal you can import the epa file at System Administration -> Transport -> Import.
       Note: the import will override any content with the same PCD Path. i.e say i import the epa file twice the first content will be overridden by the second import.
    2. The Par files on which the iView was built, will have to be moved to the onsite box and deployed in the portal.
    Option 2:
    We can create a single SDA file which consists of both the iviews and apar files. you can deploy the SDA file using SDM.
    User Mapping and SLD setup for R/3 access will have to be done at the client machine again.
    Hope that Helps.
    Regards,
    S.Divakar

  • "open project was cancelled or the application was unable to load database for..."

    I'm doing a project for my Professional Writing course and I
    have to use RoboHelp to create an online help document. The
    professor provided templates for us to use but when I go to open
    the project file I get the following error: "open project was
    cancelled or the application was unable to load database
    for....(then the directory)"
    I know the project file isn't corrupted because the members
    of my class are using the same one without issue. I tried
    re-downloading the file, I also re-installed the program itself,
    still with no luck. I'm using a Trial Version of RoboHelp 6.0 .
    The only other suggestions I have seen are that I don't have
    edit perms for the system, but it's my personal laptop and I have
    full admin privs. I thought at first that the folder was read-only,
    but when I opened it up all it displays is the little green box in
    the checkbox (which doesn't mean the folder is read-only, it's just
    some stupid windows default, it's only read-only if the box is
    actually checked). I tried making the entire directory read-only
    and then turn it off but still get the same error.
    Any suggestions?

    There's a topic on my site about Opening Projects that
    includes the method of deleting the CPD and XPJ files but I didn't
    cover that as the project is good for everyone else. Anything is
    worth a try at the moment though.
    Another thing to try is to rename the course folder, then
    create a new folder with the same name plus all sub folders. Then
    move the files across. That will ensure the folder properties are
    good and not read only. Yes I know what you said but again anything
    is worth a try.
    Also, in the last post you are saying the directory is not
    read-only. I assume the files are all good?
    Ref my previous post, is it the case that now you are getting
    an error before the original error would have popped up?

  • Fetching data in R/3 via portal application(JSPDYNPage)

    Hello Everyone,
                           I want to fetch data in R/3 server via portal application(JSPDYNPAGE) & display that data as an output of the portal application in TABLEVIEW format. Can anyone guide me on this (I:e-How to connect to R/3 server via portal component & fetch data & display the same). any similar application developed for a reference will be of great help.
    Thanks,
    Chetan

    Hi Chetan,
    I hope you know how to create a JSP Dyn Page, anyway I will explain it briefly.
    Open NWDS->File->New->Create a portal application project->Specify the project name
    right click on the project->New->Create a new portal application object->Portal component->Select JSP dyn page-(By default it creates class and all)->this is available under description on the right column-
    Now goto the Java page->see the functions->attach zip and jar files(HTMLB plugin)
    ->Right click on the project->goto properties->Java build path->Add external jars->Select com.sap.portal.htmlbbridge.zip and htmlb.jar
    This is how JSP page is created.
    Now we want to do establish connection with R/3. That I will discuss in the next session.
    Award points if this was helpful......
    All the best for you
    Regards,
    Arun Jacob.

  • Access to Entity Service from Portal Application

    Hi Experts,
    I have a hybrid application which will be making use of both Web Dynpro and Portal Applications. I decided to use Entity Services to store my back-end data and can access it fine from the Web Dynpro project. I have included the public part of my CAF project into the Used DCs of my Portal project and while I am able to call the methods of the Entity Service at compile time, at runtime I receive an error message on the page:
    An exception occurred while processing a request
    I know in order to get this to work for Web Dynpro I had to include sap.com/tccolapi.sap.com/cafruntimeuicouplingapilib as a Library Reference and a few Used DCs, but while I have added the Used DCs to the Portal project, I am unsure of how to add the Library Reference. I assume this has to be added to portalapp.xml, but I don't know the syntax.
    Could somehow please reply with how to do this and whether this is all that is required in order to call Entity Service methods from Portal applications?
    Thanks,
    JP

    Hi Smith,
    Write click on the Project then goto the Properties=>Webdynpro References=>Library references
    add
    caf/eu/gp/api
    sap.com/cafruntimeuicouplingapilib
    And add the following DC in your project.
    1> External in caf/eu/gp/api (CAF domain)
    2> caf/eu/gp/api/wd (CAF domain)
    3> com.sap.security.api.sda (SAP-JEE)
    portalapp.xml
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config>
    <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal, SAPJ2EE::library:cafeugp~api"/>
    </application-config>
    <components/>
    Check this thread .
    Using CAF GP API in Portal Application project
    Regards,
    Mithu

  • The application was unable to start correctly (0xc000007b) in Audition CC. Latest fix? Win7 Prof

    Another username, password later, ..., control handed over to Creative Cloud, install Audition.... then
    "The application was unable to start correctly (0xc000007b)" in Audition CC. So re-installed. I on't want to spend hours trying to get Adobe software to run.  This was my trial application download to see how it worked. ANd it didn't. And there are heaps of posts with complicated advice... ending with - go get a chat support person. And they are not available. aaaaggggghhhhh
    I am now worried that installing any other app from CCloud may cause problems on my PC with other Adobe SW.
    What is the latest (and hopefully simple) way of getting this program to run?
    I don't have ilivid,
    I do have:  CS5, Win 7 Prof, installed via some Adobe CCloud app that I was told to install and use to manage your CC account,
    Grateful for anyone who can wave the magic wand.

    Above linked gave this soln:
    1. please try to download a dll file from  https://drive.google.com/file/d/0B4eWI-NGpmnuTUxPQVIxYThSNlE/edit?usp=sharing
    2. The package contains the files msvcr100.dll and msvcr80.dll. Extract the package contents to the following location:
    I copied the 2 DLL files to the C:\program files\Adobe\audition cc 2014 folder and it worked. SIMPLE !!!!!! YEH.
    Thanks

Maybe you are looking for

  • How can I create an expandable text field in Acrobat XI?

    I am trying to create a text field that expands with the text that is entered. I have found several forums saying to use subforms, but how do I create those? Does anyone know where I can find a really good turtorial for XI?

  • Oracle 11.1.0.6 to 11.1.0.7 on Solaris SPARC experience

    Have anyone made this update yet ? Do you have any recommandation ? Should I apply Sun's patch cluster first ? Thanks.

  • Data packet not yet processing in ODS load??

    Hi all, I got an error when I loaded data from IS to the ODS. Can someone let me know why and how to resolve it. Thank you in advance. Here is the error message in the monitor: <b>Warning: data packet 1 & 2 arrived BW; processing: data packet not yet

  • JDBC-ODBC Bridge does not support Unicode UTF-16

    Hi I'm using Jdeveloper 10.0.3 IDE in order to develop an application for data transformation between MS Access 2003 (source) and Oracle 10g (destination). Clients use Windows XP. JDBC-ODBC Bridge still does not support Unicode UTF-16 which is the Ch

  • CO88 issue

    Hi experts, While doing settlement through KO88,system shows following error: Complete allocation structure A1 Message no. KD503 Diagnosis During settlement, the system puts the sender debits into groups (assignments), which are settled using the sam