Deployment of portal Application

[email protected]
Hi Kirit
Let me introduce myself to you. I am venu working for AT&T broadband in Java applications. I am recently asked to
build an application using Oracle 9i Portal. The application scenario will be like this.
1. A login form is to be created with username and password.Upon succesful login it should lead to a search form
that requires some inputs from users.(in OnSuccess method of the form we have used
call("http://opalws2.tci.com/pls/portal30/PORTAL30.wwa_app_module.show?p_sessionid=602"). We don't know what this
p_sessionid and it is being incremented everytime we access the application. This works fine for my one login session.
If I logout and login again and try to access the above it gives an error saying that ERROR_ORA-01403 Nodata Found.
After this I have to invoke the search form and then note the session id and then change the code in the Login form
with new session id and run it again, then it works fine).
2. The search form is built on a procedure and in that procedure we are calling a report( based on SQL query) by .
passing the search criteria as parameters. Upon submission a report is generated.(This portion is working fine.I
don't know if there are any hick ups in this matter.)
3. The Report has some oracle portal links on some of the columns which lead to the forms created on corresponding
database tables. This form will be used by the end user for any modifications.( Though the session ID of this
form is changing everytime it is internally picked up and I am not facing any porblem in displaying it.)
So the issues of my concern are
1. How can I make this application available to all the end users so that nobody is bothered about this p_sessionid.
It should be as such any authorized portal user(Our company's end user) should be able to access this application like
accessing any other web site.
2. How to deploy this on our servers where our company website and the database resides.
3. I want to print the screen details of the last form using a Print button. How I can put a print button there
and how can I print the screen details.
Sorry to bother you.
Kindly help me in this matter.
Thanks
venu

Venu,
1.& 2. These questions have been covered in Portal FAQ:
http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm
Topics:
"How do I call a form in insert mode and pass it default values?"
and
"How do I call a form and pass it a query condition to be automatically executed?"
and many, many posts in this forum, please search through the archive.
3. Look at these posts:
http://technet.oracle.com:89/ubb/Forum81/HTML/000214.html
http://technet.oracle.com:89/ubb/Forum81/HTML/000646.html
Thanks,
Dmitry

Similar Messages

  • No automatic deployment for Portal Application Standalone DC?

    Hi Experts,
         I created a Portal Application Standalone  DC under NWDI track.
         I checked in the code and activate my request, the log showed that this DC had beed sucessfully built. BUT, I can not find this portal application had beed deployed.  it seems that EP DC can not be deployed automatically
        I searched SDN and there are some topics about this problem, it seems that EP DC can not be deployed automatically, we need to deploy the DC manually, is it right?
       Thanks!
    segement of my build log:
    [pppacker] WARNING: Could not determine correct package of package folder for entity  (portalapplication-api/Class, src.api/)
      [pppacker] Packed   0 files for entity  (portalapplication-api/Class, src.api/)
      [pppacker] Packed   3 files for entity  (portalapplication-core/Class, src.core/)
         [timer] Portal Application libraries packaging finished in 0.389 seconds
    createApplication:
          [echo] create PAR..
           [jar] Building jar: /usr/sap/EP1/JC00/j2ee/cluster/server0/temp/CBS/5/.B/3501/t/80B8A4CDC19F36C272AD330774CF8FF0/com.hcm.isr.newtemplate.par
    createPublicParts:
          [echo] Public Part: API
      [pppacker] Packing public part 'API'
      [pppacker] Packed   0 files for entity Portal API (Portal API)
      [pppacker] Packed 1 entity for public part 'API'
         [timer] Public part packaging finished in 0.114 seconds
    createDeployArchive:
          [echo] Creating portalapp-dd.xml
           [cda] Preparing archive for deploy unit "default"
           [cda]   deployment type: "J2EE"
           [cda]   explicit modules:
           [cda]     /usr/sap/EP1/JC00/j2ee/cluster/server0/temp/CBS/5/.B/3501/t/80B8A4CDC19F36C272AD330774CF8FF0/com.hcm.isr.newtemplate.par
           [cda]
           [cda] Creating Ant build file: /usr/sap/EP1/JC00/j2ee/cluster/server0/temp/CBS/5/.B/3501/DCs/test/isrformtemp/_comp/gen/default/logs/buildDeployArchive.xml
           [cda]
           [cda] 
           [cda] Creating descriptor META-INF/application.xml ...
           [cda] 
           [cda] Creating descriptor META-INF/application-j2ee-engine.xml ...
           [cda] Adding module "com.hcm.isr.newtemplate.par" with container type "PortalRuntimeContainer".
           [cda] 
           [cda] Collecting modules...
           [cda] Adding module 'com.hcm.isr.newtemplate.par' from current development component
           [cda] Ant build file creation finished in 0.119 seconds
    packDeployArchive:
    [srcpacker] Creating source archive
    [srcpacker] No sources available for packing, no archive will be created.
         [timer] Source archive creation finished in 0.008 seconds
        [dcinfo] Creating deploy archive info
        [jarsap] Info: JarSAP version 20060908.1630
        [jarsap] Info: JarSAPProcessing version 20070423.1630 / JarSL version 20070906.1830
        [jarsap] Building: /usr/sap/EP1/JC00/j2ee/cluster/server0/temp/CBS/5/.B/3501/DCs/test/isrformtemp/_comp/gen/default/deploy/test~isrformtemp.sda with compression
         [timer] JarSAP finished in 0.461 seconds

    The Standalone DC has a deployable result (opposed to the Module DC) and should thus be deployed when an activity is successfully activated. Is automatic deployment perhaps disabled?

  • Howto deploy content via portal application

    Hi all,
    currently i'm integrating some external web apps into my EP6.0 SP2. Therefore I use the application integrator plus some iview und system templates.
    I've developed the templates as components in a portal application in the portalapp.xml.
    But now I'm searching for a way to deploy not only the templates but also real content, e.g. instances of my templates with a portalapp.xml.
    At this time I must make the concrete iviews based on my templates by hand.
    Is there any doc outside the targets this approach? What I've found is the Portal Runtime Guide, whith an overview of portalapp.xml structure, but nothing concrete.
    Regards
        Steffen...

    Thanks for the reply ... here is the answer to your questions along with an update to some more information after trying something different
    Did you deploy the WebCenter Managed server from Jdeveloper
    I am deploying the application to the WebCenter Managed server from JDeveloper.
    What managed server did you deploy it to - a custom server that you created?
    Yes this is a custom Managed Server (called MindFlow). At the time of your response the only two servers up and running on WebCenter was the AdminServer and MindFlow.
    Did the deployment go through?
    Yes
    Are there any errors in the managed server log when you access the page?
    Yes these where the errors showing that it could not connect with the metadata via the repositories.
    Now for the update:
    I went ahead and started up the WLS_Portlet managed server that comes with WebCenter. When I did this I got the following error:
    WSM-04509: cannot initialize the connection to the data store
    I then deployed the Portlet Producer Application to the WLS_Portlet from JDeveloper. I then grabbed the url for the newly created portlet producer and updated the connection on the Portal application. After doing this and updating the portal.jspx file, I then deployed the Portal application to the MindFlow managed web server. I then brought up the portal.jspx page via a browser and was able to bring back results. The only issue now is that while doing this I got multiple MDS errors (including the initialize error above) and not sure if I can ignore these or not. One of the errors received was as follows:
    oracle.mds.exception.MDSException: MDS-01258: The value @MDS_CLASS for property class-name is invalid.

  • Deployment issue of webcenter portal application

    Hi,
    While deploying webcenter portal application I am getting below exception:
    Caused By: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener
    This is what I did:
    1. Created a separate schema using webcenter RCU.
    2. Extended domain for 'custom managed sever' using oracle.wc_custom_portal_template_11.1.1.jar template.
    3. For 3 new data sources (custom), used new schema details.
    4. Restarted domain.
    5. I could see my new managed server running, however there was no machine associated to it and I did that from console.
    Now when I deploy my webcenter portal application on this managed server I am getting problem.
    I tried below solutions but no luck:
    1. Tried deploying ear from console but same error.
    2. Tried deploying ear on admin server but same error.
    Kindly suggest if I am missing any step...
    Thanks!

    it's working now.
    this is what i did:
    1. commented following in weblogic-application.xml file:
    <!--listener>
    <listener-class>oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener</listener-class>
    </listener-->
    2. then i started getting following error:
    [03:36:42 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'myapp'
    [03:36:42 PM] Caused by: java.lang.ClassNotFoundException: oracle.webcenter.portalwebapp.servlet.PortalErrorServlet
    i found this PortalErrorServlet servlet entry in web.xml file, so i commented that as well.
    n now application is deployed.
    and i got this clue when i deployed sample application available on yannick's site, which got deployed successfully and that application didn't has entry for above classes...
    thanks.
    Edited by: user5636757 on Dec 3, 2012 7:50 AM

  • Portal Application deployment problem to Managed Web Server

    I'm trying to deploy an ADF application using JSR168 portlets to a Managed Web Server on WebCenter 11g and I'm getting the following error in the log file after running the portal.jsp (I get 'Portlet unavailable' on the browser page):
    oracle.adf.model.portlet.binding.PortletBindingException: The metadata for portlet binding TasksPortlet1_1 was not found in MDS.
    When I deploy the application from JDeveloper to the Managed Web Server I get the following error (The application does deploy successfully):
    Error during portlet export. Portlets will not be available in the target application. Context: input mds repository file path = C:\JDeveloper\mywork\Mindflow\mds. output mds repository file path = C:\JDeveloper\mywork\Mindflow\.mdsExport. input connections file path and name = /C:/JDeveloper/mywork/Mindflow/.adf/META-INF/connections.xml. export ID = /oracle/adf/portlet/export. producer/portlet IDs to export: [oracle/adf/portlet/MindFlowWsrpPortletProducer].
    However if I right-click on the portal.jsp page and select Run from JDeveloper and run it within the Integrated WLS it does run fine there.
    Is there something special that needs to be set for the Deployment on either the application or project? Or is there something that needs to be setup via the web-based Adminstrative Console (I have verified that the MindFlowWsrpPortletProducer is registered on the Admin console)?
    Thanks,
    Randy Skold

    Thanks for the reply ... here is the answer to your questions along with an update to some more information after trying something different
    Did you deploy the WebCenter Managed server from Jdeveloper
    I am deploying the application to the WebCenter Managed server from JDeveloper.
    What managed server did you deploy it to - a custom server that you created?
    Yes this is a custom Managed Server (called MindFlow). At the time of your response the only two servers up and running on WebCenter was the AdminServer and MindFlow.
    Did the deployment go through?
    Yes
    Are there any errors in the managed server log when you access the page?
    Yes these where the errors showing that it could not connect with the metadata via the repositories.
    Now for the update:
    I went ahead and started up the WLS_Portlet managed server that comes with WebCenter. When I did this I got the following error:
    WSM-04509: cannot initialize the connection to the data store
    I then deployed the Portlet Producer Application to the WLS_Portlet from JDeveloper. I then grabbed the url for the newly created portlet producer and updated the connection on the Portal application. After doing this and updating the portal.jspx file, I then deployed the Portal application to the MindFlow managed web server. I then brought up the portal.jspx page via a browser and was able to bring back results. The only issue now is that while doing this I got multiple MDS errors (including the initialize error above) and not sure if I can ignore these or not. One of the errors received was as follows:
    oracle.mds.exception.MDSException: MDS-01258: The value @MDS_CLASS for property class-name is invalid.

  • Get weblogic deployment version from webcenter portal application

    Hi everybody,
    I was wondering whether it is possible to retrieve the version number of a deployed webcenter portal application from the application itself. The usecase here is that we want to display the version number in the portal application itself. I have set the current version in the MANIFEST.MF and the deployment works and provides the correct version number. Now I am wondering how to retrieve this value. I have tried reading from the MANIFEST.MF from within the application but I only manage to get the manifest for the webcenter framework... (This is undoubtedly because it reads from the WAR and not the EAR)
    I am using Webcenter Portal 11.1.1.6.
    Any pointers?
    Thank you!

    Hi! Thanks for your reply. I think you may have misunderstood me. I do not need the server version, but the version of a deployed application on the server. (like "portalapp (V1.0)") Using the MANIFEST.MF I can specify a version.
    I can see there might be a way to do so by connecting to the weblogic server using the method referenced by you but I wonder if there could be an easier way.
    Greetings,
    Marcel

  • Classpath error in portal application

    Hi
    <b>first problem</b>
    when i am going to deploy the sample portal application for example displaying the "Hello world" message in the output, so i am getting the classpath error as displayed below.
    <b>"The project was not built due to classpath errors(imcomplete or involved in cycle)"</b>
    can any one help where should i change the classpath and all to deploy the portal application successfully".
    <b>second problem</b>
    when i am going to write the code in the dynpage in the portal for example
    suppose if i want to add group to form then i type
    formobjectname.groupname;
    when i press . the entire list of possiblites are not apperaing in the list.
    pls help on this two.
    will award max points, if i slove
    Regards
    Sunil

    Dear Sunil,
    To answer your second question first:
    You ae'nt getting the list of methods/possibilities because the correct package/class is not imported. e.g. If you do not include com.sap.security.api.* you will not get the list of methods associated with any class falling under that package.
    The first problem: I really suggest that you download classlocator from sourceforge.net. It is easily plugges into NWDS. Double Click the error message and see it completely. I guess you would get one more message stating which class cannot be found. Once you install Class locator, you can easily type the class in the application and it will automatically add that Jar file in your classpath thus solving your issue.
    Regards,
    Prem
    SAP.

  • Deploying BEA Portal App in Managed Server problems....

    Hello,
    I have a BEA portal application (exploded EAR) that I want to deploy in a managed server. I first created a regular portal domain (8.1 SP4). I then created a managed server via the console. When I went to deploy my portal application (in the console), I received an error indicating that the application was a Split Development Directory and that I would have to run the wlpackage Ant task against the application first. I ran the wlpackage ant task and it seemingly worked.
    I then used the wldeploy Ant task to deploy it in the managed server but got an error indicating that it could not find a JNDI name from one of the data sources. I went back to the console and targeted/deployed all of the default Connection Pools & Data Sources to the managed server thinking that was the reason the deploy failed.
    When I ran the wldeploy again I got the following error:
    Module: content.jar Error: Exception activating module: EJBModule(content.jar, status=PREPARED)
    Unable to deploy EJB: ValueBean from content.jar
    java.sql.SQLException: javax.naming.NameNotFoundException: While trying to lookup 'portalFrameworkPool; contentDataSource;weblogic.jdbc.jts.commercialPool' didn't find subcontext 'portalFrameworkPool;contentDataSource;weblogic' Resolved ; remaining name 'portalFrameworkPool;contentDataSource;weblogic/jdbc/jts/commercialPool'
    Has anyone run into this? Am I not suppose to deploy a portal application in a managed server?
    Any help would be greatly appreciated.
    Thanks - Peter Len

    Problem solved.......
    After targeting all the data sources and poolers to the managed server, I restarted the main domain but did not restart the managed server. After restarting the managed server all was well.
    Thanks - Peter

  • Webcenter Portal Application Performance improvement

    Hi All,
    We are using jdeveloper version 11.1.1.6.0.
    We are using weblogic server 11g.
    We have deployed webcenter portal application on it.
    Want to know how to improve performance of the web application.
    What are the ways to improve performance factor

    generally you need to look into all the areas individually inside webcenter portal application to increase the performance of your application,
    check the below links and see if you can follow and implement,
    http://download.oracle.com/docs/cd/E14571_01/core.1111/e10108/adf.htm
    http://download.oracle.com/docs/html/B25947_01/bcadvvo002.htm#sm0342
    http://www.oracle.com/technetwork/developer-tools/jdev/introduction-best-practices-131743.pdf
    http://technology.amis.nl/blog/1385/worst-practices-when-using-oracle-jdbc-drivers
    http://download.oracle.com/docs/cd/E11035_01/wls100/perform/topten.html
    http://download.oracle.com/docs/cd/E13222_01/wls/docs92/perform/WLSTuning.html
    http://download.oracle.com/docs/cd/E16764_01/core.1111/e10108/toc.htm
    http://download.oracle.com/docs/html/B25947_01/bcadvvo002.htm#sm0342
    http://amulyamishras-tech-blog.blogspot.com/2011/04/fine-tune-adf-faces-ui-layerperformance.html
    http://andrejusb.blogspot.com/2009/08/oracle-adf-tuning-preventing-sql-query.html
    http://andrejusb.blogspot.com/2011/01/adf-11g-performance-tuning-select-one.html

  • Run Portal Application

    Hi,
    I have Portal Application(created using JSPDynPage) in my Eclipse 2.1(with PDK plugins). This Application is build properly. Eclipse is installed locally on my machine
    Now i want to run this Application but as my Portal server is accessible only through VPN i cannot deploy it.
    I tried doing the same i.e. deploying the application on Portal using host name, port etc entries and then i run it using Portapp.xml file but as expected it didn"t work.
    Please let me know how to run this application.
    Thanks

    Hi Ankit,
    If i am not wrong i believe you have problems with deploying the portal application to the portal server and then accessing that portal application.
    Your application is ready to be deployed to the portal server.
    There are two options for remote deployment.
    - Once connectivity is done you can directly deploy from the NWDS.
      But as u said u are getting connected through VPN , the ports need to be    opened in the N/W , the J2EE http porta and SDM ports.
    - If you have the Sys Admin Role/Java Developer Role , you can use the Archive Uploader tool to upload the application.
    Go to System Admin>Support>Portal Runtime>Admin Console>Archive Uploader
    Hope this helps........
    Priyabrata

  • 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

  • Deploy portal application in platform domain

    Hi,
    can i deploy portal application in platform domain?
    I have the EAR for an application developed in portal domain. Can i deploy the same application in platform domain?
    Is there any document related to this subject?

    hi Selva Kumar:
    Essentially your looking at developing a J2EE application and deploying it on the SAP Web Application Server. For that you would need to build a J2EE application / JAVA Project and bundle it into a EAR file. Deploy the EAR file onto the WAS and your good to go. For consuming the application u  can use the dynpro platform for building the UI and add the developed application jars as  reference projects. I hope this helps.
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • SAP Portal Application development & Deployment

    Hi Guys,
    I'm trying to find a way to customise the top navigation on the Portal (e.g. mahe a hover menu navigation).
    The way to do it is to develop a new portal application using NWDS.
    I'm struggling to follow any of the samples as they all refer to .PAR files, which is not supported anymore by NWDS 7.1.
    What is the right way (and steps) to deploy the SAP Portal application from NWDS to our SAP Portal.
    Thank you.

    Hi Pashaking
    Please check below docs might help
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6066b302-09c8-2a10-a894-eb9fef30df85?QuickLink=index&overridelayout=true
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    Hope it will helps
    Regards
    Arun Jaiswal

  • Deployment of Portal Standalone Application DC

    Hi All,
    I've created a DC of type 'Portal Application Standalone'. I also created a DC of type 'External Library' for use by the former DC. Upon building the former DC, I see that the sda file is created with the par file within it.
    Under Development configuration tab in NWDS, I checked in both the above-mentioned DCs and activated them.Shouldn't this have deployed the DC to the Dev server? I've verified that there are runtime systems configured in NWDI with deploy option checked.
    I tried to locate my application from System Administration ->Support>Portal Runtime>Browse Deployment/Admin Console etc..but don't see it there.
    Do I have to release the activity for it to deploy?
    Also, I tried to right click and deploy the DC myself from the Dev Config perspective in NWDS. but i got an error saying 'sdm host is empty'. I've already set the host under Windows>Preferences>SAP EP. The port i set here is not the sdm port, but 500xx where xx is the instance no.
    I was able to create a portal app and deploy it using the 'deploy par' option with the above settings. Am I missing any additional config  configuration for DC deployment (am sure we hv to set the sdm port etc somewhere).
    I'll appreciate if someone can help guide me on this.
    Thanks!

    Hi,
    To use NWDI,
    Check the below paramaters configured or not?
    1) Window -> Preferences -> Java Development Infrastructure -> Development Configurations
    enter the URL of your NWDI.
    2) Window -> Preferences -> sap Enterprise Portal -> sap j2ee engine  and then enter message server name and port details
    To deploy the developed dc into nwdi , you need to checkout and release the activity.
    Koti Reddy

  • Error after deploying JCA on EP6( Portal Applications with  RFC)

    <b><u><b>Error</b></u>
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ewParProject.JspPage.
    Exception id: 06:22_23/03/07_0104_14574950
    See the details for the exception ID in the log file</b>
    I<u><i><b> have written code in java file for connection as follows
    please help me.</b></i></u>
    package com.rr.JspPage;
    import javax.resource.cci.MappedRecord;
    import javax.resource.cci.RecordFactory;
    import com.sap.security.api.umap.NoLogonDataAvailableException;
    import com.sapportals.connector.ConnectorException;
    import com.sapportals.connector.connection.IConnection;
    import com.sapportals.connector.execution.functions.IInteraction;
    import com.sapportals.connector.execution.functions.IInteractionSpec;
    import com.sapportals.connector.execution.structures.IRecordMetaData;
    import com.sapportals.connector.execution.structures.IRecordSet;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.ivs.cg.ConnectionProperties;
    import com.sapportals.portal.ivs.cg.IConnectorGatewayService;
    import com.sapportals.portal.ivs.cg.IConnectorService;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    @author laxmikant.pathak
    To change the template for this generated type comment go to
    Window>Preferences>Java>Code Generation>Code and Comments
    public class JspPage extends PageProcessorComponent {
      public DynPage getPage(){
        return new JspPageDynPage();
      public static class JspPageDynPage extends JSPDynPage{
        /* (non-Javadoc)
    @see com.sapportals.htmlb.page.DynPage#doInitialization()
         public void doInitialization()   {
              try {
                        IConnectorGatewayService cgService =(IConnectorGatewayService)
                        PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
                        IPortalComponentRequest request=(IPortalComponentRequest) this.getRequest();
                        ConnectionProperties cp = new ConnectionProperties(request.getLocale(),request.getUser());
                        IConnection connection = cgService.getConnection("P35",cp);
                        IInteraction ix = connection.createInteractionEx();
                        IInteractionSpec ixspec = ix.getInteractionSpec();
         //               Put Function Name into interaction Properties.
                       ixspec.setPropertyValue("Name","ZHRESS_ESEPARATION_DETAILS");
                       RecordFactory rf = ix.getRecordFactory();
         //               create input MappedRecord from
                       MappedRecord input;
                        input = rf.createMappedRecord("input");
                        input.put("YYMOD","DIS");
                        input.put("YYUSR","EMP");
                        MappedRecord output = (MappedRecord)ix.execute(ixspec, input);
                        IRecordSet rs = null;
                       Object result = output.get("T_P9100");
                        if (result instanceof IRecordSet)
                             rs = (IRecordSet) result;
                        IRecordMetaData rsmd = null;
                        try
                             rsmd = rs.retrieveMetaData();
                        } catch (Exception ex)
                             ex.getStackTrace() ;
         //                  Do something with the Metadata
                        finally
                             if (connection != null)
                                  try
                                       connection.close();
                                       //logMsg("* Iview: Closing connection ok.");
                                       connection = null;
                                  catch (Exception e)
                                       //logMsg("* Iview: Error closing connection.");
                   } catch (ConnectorException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (NoLogonDataAvailableException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                   } catch (javax.resource.ResourceException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("JspPageFile.jsp");
    <b>My Jsp file</b>
    hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
        Test
       </hbj:form>
      </hbj:page>
    </hbj:content>
    <b><u>XML File</u></b>
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
        <property name="ServicesReference"  value="com.sap.portal.ivs.connectorservice"/>
      </application-config>
      <components>
        <component name="JspPage">
          <component-config>
            <property name="ClassName" value="com.rr.JspPage.JspPage"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/JspPageFile.jsp"/>
            <property name="ServicesReference"  value="com.sap.portal.ivs.connectorservice"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    <b>Error
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ewParProject.JspPage.
    Exception id: 06:22_23/03/07_0104_14574950
    See the details for the exception ID in the log file</b>

    Hi Laxmi,
    this is a portal application problem - nothing to do with this forum. Anyway - you can try by changing your component-config portion in portalapp.xml and see whether it works or not.
    Your current component config is like below
    <component-config>
    <property name="ClassName" value="com.rr.JspPage.JspPage"/>
    <property name="ComponentType" value="jspnative"/>
    <property name="JSP" value="pagelet/JspPageFile.jsp"/>
    <property name="ServicesReference" value="com.sap.portal.ivs.connectorservice"/>
    </component-config>
    Try replaing the same with below:
    <component-config>
    <property name="ClassName" value="com.rr.JspPage.JspPage"/>
    <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
    </component-config>
    Check once and let me know...
    regards,
    Shubho

Maybe you are looking for

  • Issue with GUI_UPLOAD

    Hello All, I am using the function module GUI_UPLOAD for uploading a notepad (tab delimitted). My file consists of 3000 records. I have passed the parameters filetype as 'ASC' and separator as 'X'. When I am trying to upload the file it is taking too

  • ISE Profiling Deployment

    We are starting a ISE deployment to segregate mobile devices (Iphones and IPads, initially) from corporate notebooks. We have a single SSID and two separate vlans, one for mobile devices and another for corporate notebooks, assigned by ISE. We succes

  • I buy my Headphones on Apple Store, and the left sight is not working that much.II want to know if i can replace to a new one.

    I buy my Headphones on Apple Store and it cost me about $36 with Tax, and the left sight is not working that much.I want to know if i can replace to a new one without no charge.

  • Folder view sorting created by import

    I recently imported my iPhoto library, year-by-year, into LR. I decided to simply go with a date format, keeping the filenames the same. So, now I have a bunch of Folders like .../2004/December/12/... and so on. Seemed reasonably. One thing I've noti

  • HFR Very Very Urgent...

    Pls any one help me.... Hi to all, I'm facing a problem In hyperion financial reporting to set the following scenario,pls anyone help me. prob is: user able to select the period dim options like Qtrly,Monthly,Annual.suppose user select Qtrly,then Q1,