NoClassDefFoundError, application-config, portalapp.xml?

Hi,
Attempt to build and run a portal component from any
PDK example ends with NoClassDefFoundError unless you
copy contents of provided portalapp.xml file where the
important part is the <application-config> one, which
points to some "SharingReference" ("htmlb" in case of
UsingAbstractPortalComponentWithHTMLB example). I would
like to know where I can read about all this little
things my application won't work without and their
meanings.
Thank you,
Yuri

Hi again Yuri.
The Portal runtime document is very good explaining the portal archive structure
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/portal runtime - release 6.0
What you are looking for is on page 23 ->

Similar Messages

  • How to specify EPCFLevel in portalapp.xml of a wdbdynpro DC

    Hi All,
    Can I specify EPCF level in portalapp.xml file of webdynpro DC?
    I am giving existing portalapp.xml :
    <?xml version="1.0" encoding="UTF-8"?>
    <application>
      <application-config>
                <property name="SharingReference"    value="sap.com/tcwddispwda"/>
                <property name="SharingReference"    value="sap.com/MODEL_COMP"/>
                <property name="SharingReference"    value="sap.com/tcwdcorecomp"/>
                <property name="SharingAccess"       value="true"/>
                <property name="LibrariesReference"    value="tc/ddic/ddicservices"/>
                <property name="LibrariesReference"    value="webservices_lib"/>
                <property name="LibrariesReference"    value="com.sap.aii.proxy.framework"/>
                <property name="LibrariesReference"    value="tc/graphics/igs"/>
                <property name="LibrariesReference"    value="com.sap.mw.jco"/>
                <property name="LibrariesReference"    value="com.sap.lcr.api.cimclient"/>
                <property name="LibrariesReference"    value="sapxmltoolkit"/>
                <property name="LibrariesReference"    value="com.sap.aii.util.rb"/>
                <property name="LibrariesReference"    value="com.sap.util.monitor.jarm"/>
                <property name="LibrariesReference"    value="tc/ddic/ddicruntime"/>
                <property name="LibrariesReference"    value="com.sap.security.api.sda"/>
                <property name="LibrariesReference"    value="com.sap.aii.util.xml"/>
                <property name="LibrariesReference"    value="tc/col/api"/>
                <property name="LibrariesReference"    value="com.sap.aii.util.misc"/>
                <property name="LibrariesReference"    value="tc/cmi"/>
                <property name="LibrariesReference"    value="tc/col/runtime"/>
                      <property name="ServicesReference"   value="sld"/>
                  </application-config>
      <components/>
      <services/>
      <webdynpro>
          <!-- applications -->
          <applications>
                        <part shortName="Order_list" name="com.pwc.app.Order_list">         
              <!-- application to component -->
                                  </part>
                    </applications>
          <!-- components -->
          <components>
                        <part shortName="Order_list" name="com.pwc.app.Order_list">
              <!-- component to component(Interfaces) -->
              <!-- component to models --> 
                                               <alias name="com.pwc.ModelComp" objectName="sap.com/MODEL_COMP"         partName="com.pwc.ModelComp" partType="Model"/>                 
                                            <!-- component to implementedInterfaces -->         
                                  </part>
                    </components>
          <!-- interface definitions -->
          <interfaces>
                    </interfaces>
          <models>
              <!-- models -->
                    </models>
         <runtime-classes>
         </runtime-classes>
         <wdgeninfo>
              <wdgencomponent name="SapMetamodelCore">7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:38[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapMetamodelCommon">7.0006.20050929162929.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:49:45[UTC], changelist=369752, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapMetamodelDictionary">7.0006.20051128142655.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:57:39[UTC], changelist=378069, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapMetamodelWebDynpro">7.0006.20051128151854.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:02:09[UTC], changelist=378109, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapGenerationFrameworkCore">7.0006.20050713144242.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:48:59[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapDictionaryGenerationCore">7.0006.20051128142640.0000 (release=645_VAL_REL, buildtime=2006-01-14:14:59:42[UTC], changelist=378068, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapDictionaryGenerationTemplates">(unknown)</wdgencomponent>
              <wdgencomponent name="SapWebDynproGenerationCore">7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:21[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
              <wdgencomponent name="SapWebDynproGenerationTemplates">7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:53[UTC], changelist=384368, host=pwdfm101)</wdgencomponent>
              <wdgencomponent name="SapWebDynproGenerationCTemplates">7.0006.20060111154644.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:18:53[UTC], changelist=384368, host=pwdfm101)</wdgencomponent>
              <wdgencomponent name="SapIdeWebDynproCheckLayer">7.0006.20051128151834.0000 (release=645_VAL_REL, buildtime=2006-01-14:15:05:10[UTC], changelist=378108, host=PWDFM101.wdf.sap.corp)</wdgencomponent>
         </wdgeninfo>
      </webdynpro>
    </application>
    Thanks in advance .
    Raktim

    Hi Raktim:
    I looked around on SDN and it seems that i have found what you have been looking for.
    Kindly look at page number 24 and 25 of this page
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4d46fb8a-0b01-0010-9fbe-e4b96533b222
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

  • How to retrieve the data/property value from portalapp.xml

    Hi I would like to retrive the some common data from the portalapp.xml file
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
          </application-config>
      <components>
        <component name="DynZMMGR">
          <component-config>
            <property name="ClassName" value="DynZMMGR"/>
            <property name="SecurityZone" value="DynZMMGR/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMMGR.jsp"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="dynpagedel">
          <component-config>
            <property name="ClassName" value="dynpagedel"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="VARIANTLIST">
          <component-config>
            <property name="ClassName" value="com.sap.ep.r3rpts.VARIANTLIST"/>
            <property name="SecurityZone" value="com.sap.ep.r3rpts.VARIANTLIST/high_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    The above is my portalapp.xml file .
    I want to retrieve the common data across the component.
    These  datas are common across the components .
    I kmow by putting the data inside the
    component name="DynZMM33">
          <component-config>
            <property name="ClassName" value="DynZMM33"/>
            <property name="SecurityZone" value="DynZMM33/high_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/DynJspZMM33.jsp"/>
          </component-config>
    <component-profile>
       <property name="UserID" value="userid"/>
       <property name="password" value="password"/>
    </component-profile>
    </component>
    this becoms component specific ... which I can retriev the by using
    String ClientVal = request.getComponentContext().getProfile().getProperty("Client");
    in doContent()  method ..
    But this way i have to specify these properties in all the component.. which is repetetive in nature.
    I would rather put it in common location and want to retrieve the info from the portalapp.xml...
    How to achieve this
    I am using "AbstractPortalComponent"  .
    thanks
    pkiran

    Hi Prashanth,
    see Reading another iView's profile personalized values and Validate PCD URI
    Anyhow, maybe you should implement a service which returns the values (from the service profile). This would be more clean for accessing global values.
    Hope it helps
    Detlev

  • Error on portalapp.xml

    hi all,
    I have this portalapp.xml which have lot of components in it, but i am not sure that which components is needed to run my portal application called Profile.jsp/Profile.java and ProfileBeans.java. And there's a <registry> tag which i dun really understand what is it about. There also also some strange coding within the <application-config> tag which i do not realli knoe the meaning of it.
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <!THIS FILE IS A COPY OF THE ORIGINAL VERSION STORED IN THE PCD. PLEASE DO NOT CHANGE IT!>
      <registry>
        <entry path="/runtime/alias.mappers/DynamicSystem1" name="System1Service" type="service"/>
        <entry path="/runtime/transformers" type="subcontext"/>
        <entry path="/runtime/transformers/com.sap.pct.pdk.portalruntime" name="TransformersProvider" type="service"/>
      </registry>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.appintegrator, com.sap.portal.htmlb,      com.sap.portal.ivs.connectorservice, com.sap.portal.usermanagement,       com.sap.portal.usermapping, landscape, com.sap.portal.ivs.api_dynamicSystemService, htmlb, com.sap.pct.pdk.util,      com.sap.portal.navigation.service, com.sap.portal.navigation.api_mimeservice, com.sap.portal.navigation.helperservice,      com.sap.portal.transformationservice, com.sap.portal.runtime.application.soap,com.sap.portal.useragent,jcoclient"/>
        <property name="releasable" value="true"/>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
        <property name="Vendor" value="sap.com"/>
        <property name="Domain" value="portal"/>
      </application-config>
      <components>
        <component name="ExampleLayer">
          <component-config>
            <property name="ClassName" value="ApplicationIntegratorStarter"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="TopLayer" value="Exemplary9to5LayerDefinition">
              <property name="personalization" value="none"/>
              <property name="inheritance" value="final"/>
            </property>
          </component-profile>
        </component>
        <component name="SimpleSapConnection">
          <component-config>
            <property name="ClassName" value="SimpleSapConnection"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
          </component-profile>
        </component>
        <component name="SapConnection">
          <component-config>
            <property name="ClassName" value="SapConnection"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="CfBapiBankGetList">
          <component-config>
            <property name="ClassName" value="CfBapiBankGetList"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="ExampleOneProducer">
          <component-config>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="/pagelet/eventproducerone.jsp"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleOneConsumer">
          <component-config>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="/pagelet/eventconsumerone.jsp"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleOneCombined">
          <component-config>
            <property name="ClassName" value="com.sapportals.pdk.util.componentPanel.ComponentPanel"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="height" value="400px"/>
            <property name="orientation" value="h"/>
            <property name="width" value="400px"/>
            <property name="components" value="com.sap.pct.pdk.portalruntime.ExampleOneProducer com.sap.pct.pdk.portalruntime.ExampleOneConsumer"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleTwoProducer">
          <component-config>
            <property name="ClassName" value="EventProducer2PageProcessor"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleTwoConsumer">
          <component-config>
            <property name="JSP" value="/pagelet/eventconsumertwo.jsp"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleTwoCombined">
          <component-config>
            <property name="ClassName" value="com.sapportals.pdk.util.componentPanel.ComponentPanel"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="height" value="400px"/>
            <property name="orientation" value="h"/>
            <property name="width" value="400px"/>
            <property name="components" value="com.sap.pct.pdk.portalruntime.ExampleTwoProducer com.sap.pct.pdk.portalruntime.ExampleTwoConsumer"/>
          </component-profile>
        </component>
        <component name="ExampleThreeProducer">
          <component-config>
            <property name="ClassName" value="EventProducer3PageProcessor"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleThreeConsumer">
          <component-config>
            <property name="JSP" value="/pagelet/eventconsumerthree.jsp"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="Isolated" value="true"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="ExampleThreeCombined">
          <component-config>
            <property name="ClassName" value="com.sapportals.pdk.util.componentPanel.ComponentPanel"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="height" value="400px"/>
            <property name="orientation" value="h"/>
            <property name="width" value="400px"/>
            <property name="components" value="com.sap.pct.pdk.portalruntime.ExampleThreeProducer com.sap.pct.pdk.portalruntime.ExampleThreeConsumer"/>
          </component-profile>
        </component>
        <component name="NavigationExample1">
          <component-config>
            <property name="ClassName" value="NavigationExample"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="SimpleNavigationExample">
          <component-config>
            <property name="ClassName" value="SimpleNavigationExample"/>
            <property name="SecurityZone" value="com.sapportals.portal.navigation/no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="extpage">
          <component-config>
            <property name="ClassName" value="com.sap.pct.pdk.extpage.ExternalPageComponent"/>
            <property name="SecurityZone" value="com.sap.pct.pdk/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="OBNExampleSource">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/OBNExampleSource.jsp"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="OBNExampleSourceWithHover">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ClassName" value="OBNExampleSourceHoverPortalComponent"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
            <property name="systemalias" value="PDKDummySystem">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="businessobjectid" value="PDKDummyObjectID">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
          </component-profile>
        </component>
        <component name="OBNExampleSimpleSourceUsingNavigationGenerator">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ClassName" value="OBNSimpleLinkPortalComponent"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
            <property name="systemalias" value="PDKDummySystem">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="businessobjectid" value="PDKDummyObjectID">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
          </component-profile>
        </component>
        <component name="OBNExampleParamTarget">
          <component-config>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/OBNExampleParamTarget.jsp"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="obnGenericLinkExample">
          <component-config>
            <property name="ClassName" value="obnGenericLinkExample"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
            <property name="systemalias" value="PDKDummySystem">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="businessobjectid" value="Google">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="operationid" value="">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="parameter" value="New York">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="header" value="Personalize header text here">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="text" value="Personalize body text here">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
            <property name="linktext" value="Personalize link text here">
              <property name="personalization" value="dialog"/>
              <property name="inheritance" value="non-final"/>
            </property>
          </component-profile>
        </component>
        <component name="obnDynamicNavigationExample">
          <component-config>
            <property name="ClassName" value="obnDynamicNavigationExample"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="DynamicPageSample">
          <component-config>
            <property name="ClassName" value="DynamicPageSample"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="PageBuilderClientAPI">
          <component-config>
            <property name="ClassName" value="PageBuilderClientAPI"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="default">
          <component-config>
            <property name="ClassName" value="UseSystemLandscape"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND">
              <property name="personalization" value="dialog"/>
            </property>
          </component-profile>
        </component>
        <component name="TestTransformationService">
          <component-config>
            <property name="ClassName" value="com.sap.pct.pdk.httpconnectivity.testtransformationservice.TestTransformationService"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="TestSimpleTransformation">
          <component-config>
            <property name="ClassName" value="com.sap.pct.pdk.httpconnectivity.testtransformationservice.TestSimpleTransformation"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UserInfo">
          <component-config>
            <property name="ClassName" value="UserInfo"/>
            <property name="SecurityZone" value="UserInfo/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UserMapping">
          <component-config>
            <property name="ClassName" value="UserMapping"/>
            <property name="SecurityZone" value="UserMapping/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="EditUser">
          <component-config>
            <property name="ClassName" value="EditUser"/>
            <property name="SecurityZone" value="EditUser/low_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="CreateUser">
          <component-config>
            <property name="ClassName" value="CreateUser"/>
            <property name="SecurityZone" value="CreateUser/high_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="Portaloto">
          <component-config>
            <property name="ClassName" value="Portaloto"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="MaxHits" value="80">
              <property name="plaindescription" value="Highest number in the game"/>
              <property name="type" value="Number"/>
              <property name="description" value="Highest number in the game"/>
            </property>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="PortalotoInternational">
          <component-config>
            <property name="ClassName" value="PortalotoInternational"/>
            <property name="ResourceBundleName" value="lotoresource"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="MaxHits" value="80">
              <property name="plaindescription" value="MaxHitsDescription"/>
              <property name="type" value="Number"/>
              <property name="description" value="MaxHitsDescription"/>
            </property>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="MyGooglePage">
          <component-config>
            <property name="ClassName" value="com.tutorial.wsdl2service.MyGooglePage"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UsingIPortalComponent">
          <component-config>
            <property name="ClassName" value="UsingIPortalComponent"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="UsingAbstractPortalComponent">
          <component-config>
            <property name="ClassName" value="UsingAbstractPortalComponent"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="StoreBeans">
          <component-config>
            <property name="ClassName" value="ScopesAPC"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="ExampleOne">
          <component-config>
            <property name="ClassName" value="ExampleOne"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <component name="ExampleTwo">
          <component-config>
            <property name="ClassName" value="ExampleTwo"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="HelloString" value="Hello PDK user!"/>
          </component-profile>
        </component>
        <component name="ExampleThree">
          <component-config>
            <property name="ClassName" value="ExampleThree"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="LastUser" value="">
              <property name="personalization" value="dialog"/>
            </property>
            <property name="HelloString" value="Hello PDK user!"/>
          </component-profile>
        </component>
        <!jsp NATIVE SUPPORT>
        <component name="JSPnative">
          <component-config>
            <property name="JSP" value="index"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <!Two components of the personalization example>
        <!Component 'personalization' represents a custom personalization dialog>
        <component name="personalization">
          <component-config>
            <property name="ClassName" value="Personalization"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
        <!Component 'personalizationoutput' is the component that is shown on a page>
        <component name="personalizationoutput">
          <component-config>
            <property name="ClassName" value="PersonalizationOut"/>
            <property name="mode" value="edit">
              <property name="delegate" value="com.sap.pct.pdk.prt.personalization"/>
            </property>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
        </component>
        <component name="UserAgent">
          <component-config>
            <property name="ClassName" value="UserAgentDynPage"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoBasics">
          <component-config>
            <property name="ClassName" value="JCoBasics"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoClientPool">
          <component-config>
            <property name="ClassName" value="JCoClientPool"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoGetData">
          <component-config>
            <property name="ClassName" value="JCoGetData"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
        <component name="JCoModel">
          <component-config>
            <property name="ClassName" value="JCoModel"/>
            <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
          </component-config>
          <component-profile>
            <property name="SystemIdentifier" value="PDK_R3_BACKEND"/>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services>
        <service name="System1Service">
          <service-config>
            <property name="className" value="com.sap.portal.dynamicsystem.sample.MyAliasMapping"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
        <service name="FruitShopService">
          <service-config>
            <property name="className" value="fruity.ShoppingCartManager"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="SafetyLevel" value="no_safety"/>
          </service-config>
        </service>
        <service name="navigationConnector">
          <service-config>
            <property name="className" value="com.sap.pct.pdk.navigationconnector.NavigationFileConnectorService"/>
            <property name="startup" value="true"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
          </service-config>
          <service-profile>
          </service-profile>
        </service>
        <service name="TransformersProvider">
          <service-config>
            <property name="className" value="com.sap.pct.pdk.httpconnectivity.transformerprovider.SaxTransformerProvider"/>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
        <!--    Template for the Simple Transformerprovider example. To get it running, uncomment the next lines and -->
        <!--    comment the service definition above -->
        <!--    <service name="TransformersProvider">-->
        <!--      <service-config>-->
        <!--        <property name="className" value="com.sap.pct.pdk.httpconnectivity.transformerprovider.SimpleTransformersProvider"/>-->
        <!--        <property name="SafetyLevel" value="no_safety"/>-->
        <!--        <property name="startup" value="true" />-->
        <!--        <property name="ResourceBundleName" value="SimpleTransformersProvider_localization"/>-->
        <!--      </service-config>-->
        <!--    </service>-->
        <service name="TutorialPortalotoService" alias="com.sap.pct.pdk.portalotoservice">
          <service-config>
            <property name="className" value="Store"/>
            <property name="classNameFactory" value=""/>
            <property name="classNameManager" value=""/>
            <property name="poolFactory" value="0"/>
            <property name="SafetyLevel" value="no_safety"/>
            <property name="releasable" value="true"/>
          </service-config>
        </service>
        <service alias="com.sap.portal.pdk.documentation.webservicetutorial.alias.MyGoogleService" name="MyGoogleService">
          <service-config>
            <property name="className" value="com.tutorial.wsdl2service.MyGoogleService">
            </property>
            <property name="startup" value="false">
            </property>
            <property name="WebEnable" value="false">
            </property>
            <property name="WebProxy" value="true">
            </property>
            <property name="SecurityZone" value="com.tutorial.wsdl2service.MyGoogleService/DefaultSecurity">
            </property>
            <property name="releasable" value="true"/>
          </service-config>
        </service>
      </services>
    </application>

    Hi,
    you will find the <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/09/c8af42a6f6cb6ae10000000a155106/frameset.htm">portalapp.xml</a> file explained in the SAP Library.
    Also check the following sub sections:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/53/c8af42a6f6cb6ae10000000a155106/frameset.htm">Application Configuration</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c9/c8af42a6f6cb6ae10000000a155106/frameset.htm">Components</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/09/c9af42a6f6cb6ae10000000a155106/frameset.htm">Services</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/49/c9af42a6f6cb6ae10000000a155106/frameset.htm">Registry</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/95/c9af42a6f6cb6ae10000000a155106/frameset.htm">Deployment Descriptor Example</a>
    Best regards,
    Martin

  • Portalapp.xml sharing reference

    I have the following import statements :
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import com.sap.portal.pcm.iview.IiView;
    import com.sapportals.portal.pcd.gl.IPcdContext;
    import com.sapportals.portal.prt.component.AbstractPortalComponent;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    And my Portalapp.xml definition looks like:
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.usermapping"/>
      </application-config>
      <components>
        <component name="logonTest">
          <component-config>
            <property name="ClassName" value="logonTest"/>
          </component-config>
          <component-profile/>
        </component>
        </components>
      <services/>
    </application>
    Do I need additional entries?
    Message was edited by: Mario Bajic
    Message was edited by: Mario Bajic

    now i have put
    in my portalapp.xml.
    Same Error and sure that i am soon going to throw my PC out of the Window!
              Hashtable env = new Hashtable();
                   env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
                   env.put(Context.SECURITY_PRINCIPAL,request.getUser());
                   env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sapportals.portal.pcd.gl.PcdInitialContextFactory");
                   env.put("com.sap.portal.jndi.requested_aspect","com.sap.portal.pcd.gl.PersistencyAspect");
                   response.write("Context.INITIAL_CONTEXT_FACTORY : " + Context.INITIAL_CONTEXT_FACTORY + br);
                   response.write("IPcdContext.PCD_INITIAL_CONTEXT_FACTORY : " + IPcdContext.PCD_INITIAL_CONTEXT_FACTORY + br);
                   response.write("Context.SECURITY_PRINCIPAL : " + Context.SECURITY_PRINCIPAL + br);
                   response.write("Context.INITIAL_CONTEXT_FACTORY : " + Context.INITIAL_CONTEXT_FACTORY + br);
                   InitialContext iCtx = new InitialContext(env);
                   response.write("iCtx : " + iCtx);
                   response.write("iCtx.getNameInNamespace() : " + iCtx.getNameInNamespace() +br);
                   String id ="pcd:portal_content/de.local.m1/de.local.iV1/de.local.iVLogonTest";
                   response.write("before Lookup" +br);
                   IiView result = (IiView) iCtx.lookup(id);  <-- Here the Error is thrown!
                   Here is the Error :
                   Portal-Laufzeitfehler
                   Fehler aufgetreten bei der Verarbeitung eines Request für :
                   iView : pcd:portal_content/de.local.m1/de.local.service/de.local.s_logon/de.local.logonTest2
                   Komponentenname : logon.LogonTest
                   com/sap/portal/pcm/iview/IiView.
                   Exception id: 09:55_26/06/06_0016_36232950
                   See the details for the exception ID in the log file
                   My iView is assign to a role with the Id "s_logon".
                   All my Objects in the portal has the prefix "de.local".

  • Get Application config property in Task scheduler

    Hi,
    I want access to application-config property in Task scheduler.
    At init method of RFServiceWrapper I can do something like this (mm_serviceContext.getServiceConfig().getProperty("XPTO") and than make public getters for the property.
    My problem is when I wont access that values. I Think I have to make something like PortalRuntime.getRuntimeResources().getService(????).getXPTO…
    What should I put in the call of getService?
    Best Regards,
    Pedro

    Hi Pedro,
    You should call like this:
    RFServiceWrapper service = (RFServiceWrapper)PortalRuntime.getRuntimeResources().getService(RFServiceWrapper.KEY);
    service.getXPTO...
    And ofcourse your KEY should be unique and look some thing like this:
    public static final String KEY = "YourApplicationName.YourServiceName";
    YourApplicationName = <b>YourParFileName</b>
    YourServiceName = As declared in your <b>portalapp.xml</b>
    Greetings,
    Praveen Gudapati
    p.s Points are always welcome for helpful answers
    Message was edited by:
            Praveen Gudapati

  • Portalapp.xml for Button Example

    HI,
    How to write Portalapp.xml file for Button Example?
    Project Name: Button
    src.core - > bean -> ButtonBean, ButtonExample.
    ButtonExample extends PageProcessorComponent.
    Button.jsp is jsp file.
    I wrote Portalapp.xml file like this:
    <?xml version="1.0" encoding="utf-8"?>
    <application>
        <application-config>
            <property name="SharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
    <components>
      <component name="Button">
          <component-config>
               <property name="ClassName" value="Button.Button"/>
               <property name="SecurityZone" value="com.sap.portal.pdk/low_safety"/>
             </component-config>
          <component-profile>
               <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
    </components>
    </application>
    The output throws some exception.
    How to modify the above code? Also where can I see the log file?
    Please guide me
    Regards,
    Ravi.

    Hi Ravi,
    You can change the code under dist/portalapps.xml, In the Outline View select the components you need to change by Right selecting it. Do changes according to your requirements.
    Award Points
    Cheers
    Venkat

  • Accessing application-config property in Task scheduler

    Hello All,
    Is it possible to access either a application-config property or a service-config property defined in the portalapp.xml file for a portal SCHEDULER TASK? I want to set some properties in the portalapp.xml and get them at runtime.
    Thanks,
    Asheesh

    Hello Detlev,
    In the Init method of the RFServiceWrapper I put the following code:
    String val1 = mm_serviceContext.getServiceProfile().getProperty("ServTest");
    String val2 = mm_serviceContext.getServiceProfile().getProperty("test");
    but I don't seem to get the property values defined in the portalapp.xml Here is the portalapp.xml which I have:
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
        <property name="test" value="AppTest"/>
      </application-config>
      <components/>
      <services>
        <service name="RFServiceWrapper">
          <service-config>
            <property name="className" value="com.sap.netweaver.rf.wrapper.RFServiceWrapper"/>
            <property name="startup" value="true"/>
            <property name="ServTest" value="ServTest"/>
          </service-config>
        </service>
      </services>
    </application>
    Any ideas on what might be wrong?
    Thanks,
    Asheesh

  • Security Zones and portalapp.xml

    On the page http://help.sap.com/saphelp_nw04/helpdata/en/25/85de55a94c4b5fa7a2d74e8ed201b0/content.htm
    it says that the settings (security zone, permission) in the portalapp.xml defines who can access this application.
    Then it says that PRT checks the users iView-permission and then optionally the security zone permission, depending on the setting of the parameter -Dcom.sap.nw.sz=true in the J2EE.
    Question:
    When this parameter is disabled (default), are the security zones just not checked when accessing an application throug an iView or also when they are accessed through direct URL?

    Hi Manuel,
    I just checked it against our SP12 installation, with the same component, which has the same settings as yours:
    > it can be run by any authenticated user
    This at least does not hold for our portal installation. Each access with the given URL, called by an authenticated user which does not have one of the admin roles set within the security zones, ends with:
    Access denied (Object: com.sap.portal.system/security/sap.com/NetWeaver.Portal/high_safety/com.sap.portal.runtime.system.console/components/ClusterAdminConsole)
    The application permissions do not play a role here, these are for the iView wizards, which applications are to be chosen.
    So, double check the user you are testing with; maybe the version is buggy?
    > In the Security-Zone-Permissions
    > ara:/security/sap.com/NetWeaver.Portal/high_safety/com.sap.portal.runtime.system.console
    Under components/ClusterAdminConsole the same settings are to be found? (I expect it, but just to be sure.)
    Hope it helps
    Detlev

  • Additions required in portalapp.xml to import statements in JSPDynPage

    Hi all,
    What additions are required in portalapp.xml and import statements in JSPDynPage to include the equivalent of following JCO Clientservice in EP6 SP11?
    com.sap.portal.runtime.application.jcoclient.jcoclient
    The piece of code requiring the above is also given below.
    IJCOClientService clientService = (IJCOClientService) PortalRuntime.getRuntimeResources().getService("com.sap.portal.runtime.application.jcoclient.jcoclient");
    Thanking you ,
    Med venlig hilsen/Best regards
    Prabahar N.R

    Hi Prabahar,
    portalapp.xml: Add "com.sap.portal.runtime.application.jcoclient" to the SharingsReferences.
    import: com.sapportals.portal.prt.service.jco.IJCOClientService
    Hope it helps
    Detlev

  • "Expected entry PORTAL-INF/portalapp.xml in .par file."

    Hi,
    On my SP9 system that has no portal, when I want to <i>Run</i> a WebDynpro App, I do now get the error message "Expected entry PORTAL-INF/portalapp.xml in .par file."
    Upon <i>Deploy new Archive and Run</i>, the *.ear file is made as expected, but basically the same error appears on application start.
    Any ideas?
    Walter

    Hi Walter,
    Please make sure to do "CreateArchive" before deploying.
    "CreateArchive" will create portalapp.xml.
    Please check weather its creating the portalapp.xml in gen_wdp folder ?
    Could be problem with the plugins that you have on your machine.
    Regards, Anilkumar

  • Deployment descriptor file(portalapp.xml)

    Hi All,
    Can you tell me why portalapp.xml is a xml file why cannot it be a .txt or any other ?

    In java enterprise edition deployment descriptor denotes how the web or enterprise application should be deployed. It is a directive to the deployment tool regarding the specific configuration requirements that a deployer must fulfill.
    XML allows developers to set standards,helps in defining the configurations and the required information  and the sequence as well and easy to parse also.
    portalapp.xml ,the deployment descriptor of a PAR file  defines the components and services contained in the PAR, including the initial configuration and the parameters that can be modified by administrators and users. The descriptor also contains configuration information for the entire application.
    So considering the close relationship between java and xml,it makes sense to have the deployment descriptors, be it portalapp or ejb-jar.xml or any other deployment descriptor, as xml , as
    these parameters and sequence becomes rather unlikely to be maintained as a text file as there has always been a .

  • Modify portalapp.xml file

    Hi,
    I need to add some extra code in portalapp.xml file of my Webdynpro Application. But when i add the code and deploy the application the code which i add are not present in the xml file.
    I need to add some extra code in XML file. How is this possible ?
    Thanks and Regards,
    Kalaivani

    Hi,
    can you be more specific what you like to do in ur portalapp.xml
    u can add the Portal component & portal service properties in ur ur portalapp.xml.
    So that when you deploy the application on the server this xml what are the things you want to carry on ur component.
    I.e.it describes what the component is all about.
    Whether it is a JSP(Jsp Native,component) or else a servlet.
    using a standard taglib mention the sevice(/SERVICE/......../htmlb.tld).
    So that it recognizes the tld and recognizes the extension which you write in ur JSP.
    This is all what portalapp.xml is all for in web dynpro applications
    Thanks & Regards,
    Lokesh

  • Configuration file "config\jazn.xml" does not exist

    I have just installed 10g and am trying to setup iSQL*PLUS/dba. I found directions here http://download-west.oracle.com/docs/cd/B12037_01/server.101/b12170/ch3.htm#BCEIHEJF, however, when I try to start the JAZN shell or run the command line to create the dba user, I receive this error:
    oracle.security.jazn.JAZNRuntimeException: Configuration file "config\jazn.xml"
    does not exist. Check your JAAS configuration settings.
    at oracle.security.jazn.JAZNConfig.getJAZNProperties(Unknown Source)
    at oracle.security.jazn.JAZNConfig.access$100(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.util.Dbg$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.util.Dbg.getJAZNProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.getBoolJAZNAndSystemProperty(Unknown Source)
    at oracle.security.jazn.util.Dbg.<clinit>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.fileExists(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getDefaultJAZNConfigFilePath(Unknown
    Source)
    at oracle.security.jazn.JAZNConfig.access$000(Unknown Source)
    at oracle.security.jazn.JAZNConfig$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jazn.JAZNConfig.getJAZNPropertiesNoCheck(Unknown Source)
    at oracle.security.jazn.JAZNConfig.<init>(Unknown Source)
    at oracle.security.jazn.JAZNConfig.initJAZNSingleton(Unknown Source)
    at oracle.security.jazn.JAZNConfig.getJAZNConfig(Unknown Source)
    at oracle.security.jazn.tools.Admintool.refresh(Unknown Source)
    at oracle.security.jazn.tools.Admintool.init(Unknown Source)
    at oracle.security.jazn.tools.Admintool.main(Unknown Source)
    User does not exist in system.
    Has anyone run in to this and found a solution? Is there something more that I need to do? I know nothing about JAAS.

    I have the same problem. Did you resolve this problem?

  • Plug-in load class error while running portalapp.xml file in NWDS7.0

    hi,
    im facing a problem in NWDS7.0 while running portalapp.xml file im getting error realted some plug-in load class error.
    Even 3 times i have re-installed but still getting same error.
    Please help me how to over come this. This is error im getting :
    Please open this link with Firefox so that you can able to see error.
    http://www.imageurlhost.com/images/jri5lj7lpftu23ejyye0_Error.jpg
    Regards,
    prasad.

    Dear Prasad
    Please right click on portalapp.xml > open with > check all the available editors.
    Also restore default edition in NWDS. Go to windows > preference > Workbench OR Web editors > click on restore default and Apply and then Ok.
    then close the NWDS and open it.
    Hope it will helps
    Best Regards
    Arun Jaiswal

Maybe you are looking for

  • "A Disk Read Error Has Occured" past 239 FSB?

    The title says it all.  I'm runnin an Neo Platinum 2 and when booting up overclocked past 239 FSB I get "A Disk Read Error Has Occured" and it asks me to reboot.  Is this as simple as my SATA being overclocked too far?  I was under the impression thi

  • Problem with Rewriter / SAP ITS/EBP

    Hi, i want to rewrite some JS-Function, but i need some help. I have this JS-Function and want to rewrite the variable sessURL (it is from a SAP ITS-Server). any ideas? thanks Jonathan Portal Q4/04 <script language="JavaScript1.2" type="text/javascri

  • Help with constants

    Suppose I define a class to contain a set of constants whose values ar stored in a database. Is there a way for the class to create constants based upon values retrieved from a database? In other words suppose I have a database table that stores info

  • Aperture does not run after 3.2 update.

    MBP, Core-duo, 10.6.8 Tried running Aperture Library First Aid tools and Aperture crashes while repairing. I've been running Aperture since the beginning and never seen anything like this. This is very sloppy work, Apple:(

  • Error in 'Call Transaction 'LS24'

    Hi Abapers, I am unable to go back to List after pressing back button for this Particular Transaction 'LS24'.It is wokring fine with other Transactions MM03,CS03. WHEN 'test'. SET PARAMETER ID 'LGN' FIELD L_WA_VENTRIES-LGNUM. SET PARAMETER ID 'MAT' F