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.

Similar Messages

  • 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.

  • How to read text file content in portal application?

    Hi,
    How do we read text file content in portal application?
    Can anyone forward the code to do do?
    Regards,
    Anagha

    Check the code below. This help you to know how to read the text file content line by line. You can display as you require.
    IUser user = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
    IResourceContext resourceContext = new ResourceContext(user);
    String filePath = "/documents/....";
    RID rid = RID.getRID(filePath);
    IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
    InputStream inputStream = resource.getContent().getInputStream();
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
    String line = reader.readLine();
    while(line!=null) {
          line = reader.readLine();
         //You can append in string buffer to get file content as string object//
    Regards,
    Yoga

  • 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();

  • 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

  • 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

  • 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.

  • JSR168 Portlest contents deployment on the Portal 7.01

    Hello Everybody,
    I was searching on how we can integrate JSR168 application on the SAP EP 7.01 system. So far, I found out that JSR168 is available from NW CE onwards.
    But same time, I saw messages stating that we can deploy WAR file with JSR168 contents on Portal and create the iView to use that application.
    Here is my question:
    I was provided with WAR file containing JSR168 contents and I was told to deploy on the Portal and create the iview. I know that we can't directly deploy WAR file on the Portal.
    So, what are the options available so that we can deploy and use this application on Portal 7.01 system?
    If you could point to any help links or provide the steps to do it, it would be really helpful.
    Will it work by creating EAR file in NWDS and add this WAR file and deploy on the server? If yes, what steps do I need to take care of while doing this?
    Thanks,
    Bhavik

    Thanks Nitesh for your response.
    But before I got your response, we could create EAR file from NWDS and added WAR file manually into that EAR file and then deployed EAR file on the Portal.
    But now, question is, How can we run the JSR168 portlet contents on the Portal?
    Based on the comments I recieved from the team who developed portlet, this portlet application can't run using any URL. So, there is no option to create URL iview and run that application.
    Do you know how we can run the JSR168 portlet application on the SAP Portal?
    Thanks,
    Bhavik

  • 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.

  • Deployed content is missing in portal

    Dear portal gurus,
    I deployed webdynpro application through NWDS but it is not displayed in the portal . It is showing a message succesfully deployed in the portal
    plz help me
    santhosh

    To view the webdynpro application in portal. Follow the steps.
    Here is the step-by-step procedure to create a web dynpro iView in portal:
    1. Logon to portal.
    2. Content Administration->Portal Content.
    3. Right Click on the folder 'Portal Content'.
    4. Select 'iView' ->'New'
    5. In the Template Selection, select 'SAP Web Dynpro iView' and click 'Next'
    6. In the 2nd step, Give iView Name and iView ID and a prefix. Next.
    7. Select application variant, say, 'Java' in the 3rd step. Next.
    8. In the 4th step, select the System (Your WAS System), give the project name of your webdynpro, like, local/ABC_Project in the WebDynproNameSpace. In the Application Name, enter the application name of your Web Dynpro Application, say ABC_App. Next.
    9. Finish.
    10. In the left panel, now you will see an iView has been created.
    11. Create necessary role/workset and assign this iView for an user.
    integrating webdyn appl in portal
    http://help.sap.com/saphelp_erp2004/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm

  • Calling a web dynpro application via portal using SSO

    Hello Expert,
    i have a requirement where i need to call a web dnpro application via portal.
    But it is asking for user name and password.
    i want to call using single sign on.
    Can u please suggest a way.
    i did the coding like this:-
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = l_c_appl_name
    IMPORTING
    out_absolute_url = l_v_gv_url_string.
    l_v_icf_url = l_c_icf_url_val.                      "#EC SYNTCHAR
    CALL METHOD cl_icf_tree=>if_icf_tree~service_from_url
    EXPORTING
    url             = l_v_icf_url
    hostnumber      = l_c_0
    authority_check = space
    IMPORTING
    icfactive       = l_v_m_sso_active.
    IF l_v_m_sso_active = l_c_x .
    CREATE OBJECT o_viewer
    EXPORTING
    parent = o_empty_co.
    CALL METHOD o_viewer->enable_sapsso
    EXPORTING
    enabled = l_c_x
    EXCEPTIONS
    OTHERS  = 0.
    l_v_gv_url_c = l_v_gv_url_string .
    CONCATENATE l_v_gv_url_c l_c_url_string p0022-pernr INTO l_v_gv_url_c.
    CALL METHOD o_viewer->detach_url_in_browser
    EXPORTING
    url        = l_v_gv_url_c
    EXCEPTIONS
    cntl_error = 1
    OTHERS     = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
    RAISING error_occured.
    ENDIF.
    cl_gui_cfw=>flush( ).
    ENDIF.
    but it is not working
    thanks
    Mahesh

    Hi Mahesh,
    You need to setup a Single Sign On between SAP Portal and ECC system where yoy are doing the development.
    Ask basis team to setup the single sign on and usually this is the job done by Basis teams. Refer the below link to get some idea on SSO setup:
    http://scn.sap.com/community/enterprise-portal/blog/2013/12/15/sso-configuration-between-sap-portal-73-and-ecc-60-ehp-6
    Thanks
    Krishna

  • 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

  • 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?

  • How to Upload a file to KM Content repository from a Portal Application

    Hello All
    I have a urgent requirement where i have to upload a file to a KM Content Repository from my Portal Application which is a JSP DynPage Component..
    I am new to the area of Knowledge Management...Can anyone guide me of how to achieve this functionality from my component..
    I will be highly obliged..
    Thanks
    Sundeep

    Hello Sundeep,
    Check this:
    https://www.sdn.sap.com/irj/sdn/thread?threadID=241883
    One more important doc:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f7ced90-0201-0010-589f-8eff15a14072
    Sample coding for content creating and retrieval
    String out = new String(“my content”);
    ByteArrayInputStream data = new
    ByteArrayInputStream(out.getBytes());
    IContent newContent =
    new Content(data, “text/plain”,
    data.available());
    resource.updateContent(newContent);
    IContent oldContent = resource.getContent();
    Greetings,
    Praveen Gudapati
    p.s. Points are always welcome for helpful answers
    Message was edited by:
            Praveen Gudapati

  • 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

Maybe you are looking for