Public parts and Dependencies in NWDI.

Hi all,
Iam using NWDI 7.3 . I have created a java EE DC for example DC1test  and created a class in it . created a public part for the dc. built the dc.how to use this class in other DC created for example DC2test .
Through manage entities in Public parts (adding generated class file )and adding the DC1test dependency in DC2test will achieve this requirement . how can i refer the DC1test class in one of the methods of DC2test class.
Please help me in this.
Regards
Deva

after the dependency is added, just like using other java class, add them in the import section, then you can use them

Similar Messages

  • Public Parts and NoClassDefFound

    Hi,
    I created an EJB with a public part. in the public part there are two classes.
    now I want to use the classes in a WebDynpro-Project (same SC). I added the public parts as used-DC in my WebDynpro-DC and I am able to build and deploy the DC.
    But now I get a RuntimeException "NoClassDefFoundError".
    Did I forget to add a reference???
    Thanks in advance
    Jan

    Jan,
    Check
    1.) If the Public Part is declared to be used only at <i>Build Time</i>!!.
    2.) If the <i>ejb.jar </i> file of your EJB project has been added to the classpath of your WD project.
    3.) If the WebDynpro sharing reference property of your WD project has a reference to the EJB.
    Finally, refer this: WebDynPro call EJB
    Bala

  • Used dc and public part concept not working in ess

    Hi,
    I tried using the ess address dc(of US country) as used dc in w4 dc(US country) and did all steps of making address dc as public part and added it as used DC in W4, when i tried to get the address dc context in to w4 by calling the read method( of Fc CC) of address DC using the (Fc IC of address DC) which is added in w4 VcW4Overview CC as used component and defined it as usagecomponent and called the readmethod.But i am getting the below error.
    Country/Structure do not match application Country .
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Country/Structure do not match application country
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.xss.per.helpers.MessageHelper.raiseException(MessageHelper.java:43)
    com.sap.xss.hr.per.us.address.fc.wdp.InternalFcPerAddressUS.readRecord(InternalFcPerAddressUS.java:615)
         at com.sap.xss.hr.per.us.address.fc.FcPerAddressUSInterface.readRecord(FcPerAddressUSInterface.java:150)
         at com.sap.xss.hr.per.us.address.fc.wdp.InternalFcPerAddressUSInterface.readRecord(InternalFcPerAddressUSInterface.java:229)
         at com.sap.xss.hr.per.us.address.fc.wdp.InternalFcPerAddressUSInterface$External.readRecord(InternalFcPerAddressUSInterface.java:305)
         at com.sap.xss.hr.per.us.address.overview.VcPerAddressUSOverview.onBeforeOutput(VcPerAddressUSOverview.java:267)
         at com.sap.xss.hr.per.us.address.overview.wdp.InternalVcPerAddressUSOverview.onBeforeOutput(InternalVcPerAddressUSOverview.java:275)
         at com.sap.xss.hr.per.us.address.overview.VcPerAddressUSOverviewInterface.onBeforeOutput(VcPerAddressUSOverviewInterface.java:158)
         at com.sap.xss.hr.per.us.address.overview.wdp.InternalVcPerAddressUSOverviewInterface.onBeforeOutput(InternalVcPerAddressUSOverviewInterface.java:140)
         at com.sap.xss.hr.per.us.address.overview.wdp.InternalVcPerAddressUSOverviewInterface$External.onBeforeOutput(InternalVcPerAddressUSOverviewInterface.java:224)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:603)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:569)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit
    I am using US country application so all backend configuration should be set, the address and w4 are working fine as out of box.
    The read method sends the infty infotype 0006 as input paramenter to RFC Hrxss_Per_Read_P0006_Us_Input, i tried executing this rfc from se37 by giving infotype 0006 but its throwing the exception , but from portal from address iview its working fine.Please send your comments on this.
    thanks,
    yogi

    Hi Yogi ..
    How  did u resolved this error !! I am  getting the same error ..
    Pls suggest !!
    POints for sure !

  • How to make a webdynpro component to be as a public part of a DC?

    Hi All,
         I've created 2 java web dynpro DCs : DC_A and DC_B in both the same software component.
         I want to a component of DC_B, let's call it Comp_B, to be the "Used Web Dynpro Component" of Comp_A in DC_A.
         I've done the following work:
         1. Expose the Comp_B to be the public part of DC_B
         2. Add DC_A to the Access List of Comp_B
         3. Add DC_B to the "Used DCs" list of DC_A
    But when I use the "Embed an existing component" function of Comp_A, I cannot find the Comp_B of DC_B.
    Anyone can help me?
    Thanks,
    YiNing

    Hi ,
       1) Right click the component B and declare the component B  of DC B to the public part.(Add to the public part)
       2) Now go to Component A , Right Click Used COmponents>Development Component>Show in--> Component Properties .
    then click the Dependicies Tab and click ADD
    here you have add the Component B  From the "MYComponents" Which is Exposed to the public part, and click next.(Configure dependicies as you wish ie Design Time .Deploy Time , Run Time )
    3) After you added the component we have to build it.Right Click the Componenet A
         Used Components>Development Component>Build
    4) Now declare the Component Usage
       Right Click the Componenet A
         Used Components-->Add Used Component
        Now give the Component Usage Name (for eg ComponentBInst) and select Component B
    Now Exchange of data will take place between the component by Context of the interface controller

  • Cannot serialize public part

    Hi
    When i add my component to the public part and do the rebuild or build, I am getting serilization error as follows.
    PM /userOut (com.sap.ide.eclipse.component.dcmetadata.model.PPModel) [Thread[main,5,main]] ERROR: cannot serialize public part named "PP_<xxxx>". Component "sap.com/<componentname>(MyComponents)" has no such public part.
    Thanks in advance.
    Kishore
    Message was edited by: NagaKishore Vankayala
    Message was edited by: NagaKishore Vankayala

    Hi
    Thanks for the replies.
    Maksim
    My public part is in the \def\ folder only. I have gone to the navigation view and checked that public part is created in \def\ folder.
    Anil:
    I am trying to create a public part for my webdynpro component. Public part is getting created with the name i give. During rebuild/build i am getting this error.
    Kishore

  • Java DC's public parts for otther DCs' dependencies

    Hello experts.
    We have just come across the following trouble working within one development team.
    One of us developed some Java Classes components, created public part (Compilations and one Assembly) and inserted necessary developed Java classes to there. Assigned necessary permissions. Then he checked in created activity. By the way developed component is available for other team members.
    Another person syncs existing software componets, tries to use the created Java class component and he fails. Import of Java classes is impossible.
    It turned out that created public parts are unavailable. He isn't able to define dependency properties for the public parts. Public parts are highlighted in red and they are unmanaged for other developers to set dependecies.
    But if he creates project of the Java class component the public parts are available.
    I suppose the public parts must be available withot creation of the project.
    My question is that what we need to fix and pay attantion.
    In general, how to implement public parts correctly? How to make them available for other developer to use as dependecies?
    Could you please help us with your valuable pieces of advise?
    Sincerely,
    Anton

    Thank you for reply, but it is not necessary to create project to use public parts.
    So, our problem is that we don't activate our activiti in DTR and our DC's ae synced with active source where there is no public parts we provided.
    When we sync with inactive DTR source we have all necessary public parts.
    Thanks

  • Public part not found

    Hi all,
    I have created webdynpro dc B which uses webdynpro dc A
    When i build dc B it say public part not found. but i have varified that a jar of the public part is genrated in the DC A.
    I have noticed that when i compile DC A it gives following warning message in the build log
    [dcmake] All used DCs are available locally
              [dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/cmi"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/ddic/ddicruntime"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/wd/webdynpro"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/logging"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/wdp/metamodel/content"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.aii.util.misc"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.mw.jco"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/mail"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/IAIKSecurity"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/activation"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/webservices"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/webservices_lib"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/sapxmltoolkit"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/webDynpro
              [dcmake] starting build plugin from : C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\
    Build plugin WebdynproPlugin
    Building development component 'dc/wd_xcs', vendor 'chevron', type 'Web Dynpro'
             software component 'CVX_COSTCENTER', vendor 'chevron'.
             location 'PDI_TRCCST_D'.
             source code location 'http://cpafisp5.chvpk.chevrontexaco.net:51100/dtr/ws/TRCCST/chevron_CVX_COSTCENTER/dev/inactive/'.
    Starting build (wrapped)
    Creating Ant build file..
    Using velocity macro file: C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm
    Creating Ant build file C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\logs\build.xml
    Ant build file created in 1 second
    Starting Ant with build file C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\logs\build.xml, target build
    Using temporary directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A
    Ant build started at 2006-01-10 22:30:02 GMT+05:30 (IST)
    prepare:
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\deploy
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gwd\packages
    gen:
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages
         [ddgen] [Info]    Property targetpath: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gdd
         [ddgen] [Info]    Property archivename: chevrondcwd_xcs
         [ddgen] [Info]    Property vendor: chevron
         [ddgen] [Info]    Property dcname: dc/wd_xcs
         [ddgen] [Info]    Property language: Available languages are automatically determined!
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]    Destination directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd does not exist
         [ddgen] [Info]    Destination directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd is created
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/dict/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
         [ddgen] [Info]    Generation finished (0 seconds)
         [ddgen]
         [wdgen]
         [wdgen] [Info]    Property deployment is true: Deployment information is provided!
         [wdgen] [Info]    Property sourcepath: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages
         [wdgen] [Info]    Property targetpath: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gwd
         [wdgen] [Info]    Property archivename: chevrondcwd_xcs
         [wdgen] [Info]    Property vendor: chevron
         [wdgen] [Info]    Property dcname: dc/wd_xcs
         [wdgen] [Info]    Property language: Available languages are automatically determined!
         [wdgen] [Info]    Property addpaths ...
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
         [wdgen] [Info]    com.chevron.wd_xcs.comp.EmptyView2 --> TransparentContainer RootUIElementContainer [Children]: Container does not contain children
         [wdgen] [Info]    com.chevron.wd_xcs.comp.EmptyView1 --> TransparentContainer RootUIElementContainer [Children]: Container does not contain children
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/ListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateEmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/EmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalEmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateMainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/MainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalMainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateEmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/EmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalEmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateDetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/DetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalDetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/XiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivate_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/Internal_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IExternalXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceCfg.wdcontroller
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IExternalXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterface.wdcontroller
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccList and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccList
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccDetail and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccDetail
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput/ChildNode:input and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput/ChildNode:input
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch
           [Ant] [Info] removing usage of controller //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IMessageXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/XcsModel.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCList.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCSearchInput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_SearchOutput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_SearchInput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCDetail.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch.java
           [Ant] getParameterStringForWSInvoke:modelclassname=Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch
           [Ant] getParameterStringForWSInvoke:modeltype=Request
           [Ant] getParameterStringForWSInvoke:modeltype=CVXSAMST_SearchInput
           [Ant] getParameterStringForWSInvoke:result=this.CVXSAMST_SearchInput.getOriginalBean()
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/Response_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch.java
         [wdgen] [Info]    Generating configuration/Components/com.chevron.wd_xcs.comp.Xi_ccsComp/Xi_ccsComp.xml
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/ResourceXi_ccsComp.properties
         [wdgen] [Info]    Generating configuration/Applications/com.chevron.wd_xcs.applications.Xi_CCSApp/Xi_CCSApp.xml
         [wdgen] [Info]    Generating portalapp.xml
         [wdgen] [Info]    Generating wd.xml
         [wdgen] [Info]    Generating application.xml
         [wdgen] [Info]    Generating application-j2ee-engine.xml
         [wdgen] [Info]    Generating PublicPartFileList.properties
    <b>     [wdgen] WARNING: [Warning] Generation of PublicPartFileList.xml failed: null</b>
         [wdgen] [Info]    Generation finished (2 seconds)
         [wdgen]
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
         [javac] Compiling 58 source files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
    Note: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src\packages\com\chevron\wd_xcs\models\proxies\CVXSAMSI_CCSearchBindingStub.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
         [timer] Java compiler finished in 2.781s
    [wdminimize] Start minimizer for project classpath:
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
    [wdminimize] external classpath:
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_admin.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_basesrvc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_clientserver.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_modelimpl.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_model_dynamicrfc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_pdfobject.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_progmodel.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository_pmr.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_services.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\activation\_comp\gen\default\public\default\lib\java\activation.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default\lib\java\aii_proxy_rt.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_jce_export.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_jsse.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_smime.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_ssl.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\w3c_http.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jrfc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypeServices.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypesRuntime.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\jaxm-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\jaxrpc-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\saaj-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\sapxmltoolkit.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\webservices_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\cmi\_comp\gen\default\public\default\lib\java\_cmi_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\boot.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\iq-lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\tc_sec_wssec_lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\util.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\webservices_lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default\lib\java\aii_util_misc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\mail\_comp\gen\default\public\default\lib\java\mail.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\sapxmltoolkit\_comp\gen\default\public\default\lib\java\sapxmltoolkit.jar
    <b>       [Ant] java.lang.reflect.InvocationTargetException
           [Ant]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [Ant]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           [Ant]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           [Ant]      at java.lang.reflect.Method.invoke(Method.java:324)
           [Ant]      at com.tssap.util.xml.DOMAccessInQMy.parse(DOMAccessInQMy.java:122)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicParts.parseConfigurationFile(PublicParts.java:55)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicParts.parsePublicParts(PublicParts.java:70)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicPartAnalyzer.analyze(PublicPartAnalyzer.java:171)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicPartAnalyzer.analyzePublicPartFileList(PublicPartAnalyzer.java:28)
           [Ant]      at com.sap.tools.webdynpro.smart.WDClassFileMinimizer.initialize(WDClassFileMinimizer.java:83)
           [Ant]      at com.sap.tools.webdynpro.smart.ClassFileMinimizerTask.execute(ClassFileMinimizerTask.java:155)
           [Ant]      at org.apache.tools.ant.Task.perform(Task.java:341)
           [Ant]      at org.apache.tools.ant.Target.execute(Target.java:309)
           [Ant]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
           [Ant]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
           [Ant]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:124)
           [Ant]      at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:67)
           [Ant]      at com.sap.tc.buildplugin.PluginVersion1WrapperAction.execute(PluginVersion1WrapperAction.java:32)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginVersion1(PluginHandlerImpl.java:676)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:627)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:214)
           [Ant]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1386)
           [Ant]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5111)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
           [Ant]      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
           [Ant] Caused by: java.io.FileNotFoundException: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gwd\PublicPartFileList.xml (The system cannot find the file specified)
           [Ant]      at java.io.FileInputStream.open(Native Method)
           [Ant]      at java.io.FileInputStream.<init>(FileInputStream.java:106)
           [Ant]      at java.io.FileInputStream.<init>(FileInputStream.java:66)
           [Ant]      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
           [Ant]      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
           [Ant]      at java.net.URL.openStream(URL.java:913)
           [Ant]      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156)
           [Ant]      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:211)
           [Ant]      at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:270)
           [Ant]      at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:331)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:92)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParserExt.parse(DOMParserExt.java:24)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:69)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParserExt.parse(DOMParserExt.java:19)
           [Ant]      ... 27 more</b><b>[wdminimize] ERROR: failed to parse public part file list
    [wdminimize] ERROR: Non Fatal Error: failed to analyze</b> public part definitions, minimizer skipped
    [wdminimize] WARNING: Minimization skipped due to non fatal errors (see above). Classes have not been touched.
         [timer] Class minimizer finished in 0.063s
    prepareStructure:
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\srclib
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd\datatypes
          [echo] Copy mimes from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/mimes to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package
          [copy] Copying 4 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
          [copy] Copied 2 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
          [echo] Copy configurations sources from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/configuration to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/webdynpro
          [copy] Copied 3 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
          [echo] Copy config files from C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gwd/configuration to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/webdynpro
          [copy] Copying 2 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
          [echo] Copy src files from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/classes
          [copy] Copying 17 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
          [copy] Copied 2 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
          [echo] Copy deploy files
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF
          [echo] creating source code archive
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\src\java
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\src\java\src.zip
         [timer] Structure preparation finished in 0.578s
    package:
          [echo] Package files from C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\app.jar
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\chevrondcwd_xcs.wda
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\ear_package\META-INF
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\ear_package\META-INF
          [echo] Create deploy file chevrondcwd_xcs
        [jarsap] Info: JarSAP version 20041217.1600
        [jarsap] Info: JarSAPProcessing version 20041217.1600 / JarSL version 20041217.1600
        [jarsap] Property jarsap.info.dir is not set.
        [jarsap] Building: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\deploy\chevrondcwd_xcs.ear with compression
         [timer] JarSAP finished in 0.094s
    createPPs:
          [echo] * Web Dynpro Model Entities for PublicPart: pp_test_sda *
          [copy] Copying 16 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\pp\pp_test_sda
          [echo] * Create PP jar pp_test_sda.jar *
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\lib\java
           [jar] Building jar: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\lib\java\pp_test_sda.jar
          [echo] Generating Entity References for Public Part: pp_test_sda
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\srcmerge
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\src\java
           [zip] WARNING: skipping zip archive C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\src\java\src.zip because no files were included.
        [delete] Deleted 2 directories from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda
        [delete] Deleting directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\srcmerge
         [timer] Public parts created in 0.203s
    build:
    Ant build finished OK
    Ant build finished at 2006-01-10 22:30:10 GMT+05:30 (IST), Duration: 8 seconds
    Cleaning up.
    Packages com.chevron.wd_xcs.models.proxies com.chevron.wd_xcs.models.proxies.types are not reserved for DC : dc/wd_xcs.
    Due to this Build of DC B fails.
    can any body help why that xml is not genrated in DC A

    Hi Jain,
    is the error message that the public part is not found prefixed with [dcmake]? If yes that rather points in the direction that there is a problem with the metadata information. (PP name not correctly spelled, renamed after initial creation, perhaps even some problems with upper/lower-case letters depending on your platform.)
    What SP are you using? The log looks like some rather old build plugins are used on a newer NWDI installation.
    The warning from the [wdgen] task and the subsequent failure of the [wdminimizer] can be ignored. "ERROR: Non Fatal Error" is a bit quaint, but it really is not fatal. It just means that the minimizer didn't find the data required to operate. The [wdgen] warning means that the WebDynpro generator could not write the information. So the jar files in your public part are maybe a bit bigger than necessary but that's all.
    Best regards,
    Marc

  • Entity type "EJB-JAR" may not be used in public part "ejbjar_api"

    Experts,
    Can you please help me to identify why the error 'Entity type "EJB-JAR" may not be used in public part "ejbjar_api", unsupported purpose.' appears on NWDS while creating a project on a DC and how can this be resolved.
    Thanks in advance
    -Lave

    Hi Jain,
    is the error message that the public part is not found prefixed with [dcmake]? If yes that rather points in the direction that there is a problem with the metadata information. (PP name not correctly spelled, renamed after initial creation, perhaps even some problems with upper/lower-case letters depending on your platform.)
    What SP are you using? The log looks like some rather old build plugins are used on a newer NWDI installation.
    The warning from the [wdgen] task and the subsequent failure of the [wdminimizer] can be ignored. "ERROR: Non Fatal Error" is a bit quaint, but it really is not fatal. It just means that the minimizer didn't find the data required to operate. The [wdgen] warning means that the WebDynpro generator could not write the information. So the jar files in your public part are maybe a bit bigger than necessary but that's all.
    Best regards,
    Marc

  • Does not support public parts with purpose assembly...

    Hi,
    When building a component, I'm getting the following error:
    Server Component/Library DC does not support public parts with purpose 'assembly'.
    Error: Build stopped due to an error: Server Component/Library DC does not support public parts with purpose 'assembly'.
    Build plugin finished at 2011-03-24 12:12:40 GMT+01:00 (CET)
    Total build plugin runtime: 0.311 seconds
    Build finished with ERROR
    To be more precise, one dc uses another from a public part that is "assembly" - so it's made the way it should be (both dc's are libraries, one java dc and the second one is server library)

    Hi,
    we are with NWDS 7.20 but afaik the "J2EE Server Component Library" in your version was replaced by Enterprise Application DCs in the meantime, so it is quite simple:
    An assambly PP on a J2EE Server Component Library really does not make sense. The J2EE Server Component Library is the final assembly unit. You may use such a DC in two ways:
    1. You want to use the classes that are bundled into the J2EE Server Component Library for compilation in another DC (Java or EJB). To achieve this you may create a COMPILATION PP on the J2EE Server Component Library that references compilation PP e.g. of your  java DC. (The alternative is to let the using java DC directly reference the compilation PP of your Java DC.)
    2. You have another assembly unit - e.g. an Enterprise application or another J2EE Server Component Library - that needs the classes in your J2EE Server Component Library at runtime. This is done by an application reference (in 7.20 defined in META-INF/application-j2ee-engine.xml of the DC that uses your J2EE Server Component Library). At runtime, the result is that your (initial) J2EE Server Component Library is the "parent class loader" of a using DC.
    So indeed, there is no need for a PP of type assembly for a J2EE Server Component Library. This DC does not contrubute anything for assembly into another DC.
    Rework your dependencies and PPs. [This PDF document|http://www.google.de/url?sa=t&source=web&cd=21&ved=0CBwQFjAAOBQ&url=http%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Findex%3Frid%3D%2Flibrary%2Fuuid%2F60d99678-1a29-2d10-94b4-9d9a67b7199b%26overridelayout%3Dtrue&ei=C1aSTZzgHsj0sga6l53QBg&usg=AFQjCNFGx2NeVkfWlnh0wGKsMasL95g18A] may be helpful.
    Cheers,
    Rolf

  • Public parts not allowed to be used by the access control list

    hi,
    I have 2 DCs. DC1 and DC2.  I want to use public parts of DC2 in DC1. When I try to do so in in the dependencies tab, I get the following error.
    some public parts are not allowed to be used by the access control list.
    how to resolve this error ?
    Thanks !

    Hi,
    Sorry for the delayed response ....Both ends static routes are added for the connected test interfaces.....
    Regards,
    Mahesh 

  • Public parts not visible across SCs

    Hello,
    in one product we have two software components: one for COMMON functionality and another for our SERVICE. In the COMMON SC we defined our exception classes and made them available as public parts. All steps until approval have been made and the new version of COMMON was imported for development for the SERVICE SC.
    Unfortunately, we are not able to reference the public part for the exception classes in the SC "SERVICE". Any idea why the public parts are not visible accross the software components?
    Regards,
    Volker

    Renjith,
    I had similar problem and its fixed now. What you need to do is..
    If you are adding an SC from Track A to Track B, then
    1. Choose track B in CMS
    2. Click on ¡§Landscape Configurator¡¨
    3. Add the SC of track A into ¡§Required Software Components¡¨
    4. In Track Data tab, select the SC in ¡§Software Components for Development¡¨ area.
    5. Click ¡§View/Edit XML content..¡¨
    6. Add the 2 lines in between ***
    **<used-compartment>vendorname_TrackA_1</used-compartment>**
    </dependencies>
    <build-variants>
    <build-variant name="default" required-for-activation="yes">
    <variant-mappings>
    <variant-mapping used-compartment="sap.com_SAP_JTECHS_1" used-variant-name="default"/>
    <variant-mapping used-compartment="sap.com_SAP-JEE_1" used-variant-name="default"/>
    <variant-mapping used-compartment="sap.com_SAP_BUILDT_1" used-variant-name="default"/>
    **<variant-mapping used-compartment=" vendorname_TrackA_1" used-variant-name="default"/>**
    </variant-mappings>
    </build-variant>
    </build-variants>
    7. Click on ¡§Back¡¨
    8. Save the track B.
    9. Click on ¡§Transport Studio¡¨
    10. Import each SC (there should be 4 listed. 3 from sap.com and 1 from track A) one at a time. First import sap.com¡¦s SCs.
    Thanks,
    Kiran

  • What SAP Public Part contains IUserMappingService class?

    Hello. I need to use the IUserMappingService class in some of my code. I'm working with the NWDI so all my code is in DCs.
    So far I've been able to create Used DCs to various SAP DCs whenever I needed to refer to any SAP code but I can't find anything that contains the IUserMappingService class.
    I know I can get the jar somewhere and put it in an external library DC and then expose it as a public part that way. I'd like to avoid that, however, if it's already in some SAP DC.
    Thanks in advance for any help.
    David.

    What I needed to accomplish (reading from UserMapping) was originally thought to require the IUserMappingService class.
    I was never able to find a Software Component named SAP_PRT so I researched some more and found that I could accomplish what I needed another way.
    UMFactory.getUserMapping()...
    Thanks!

  • Could not find used public part

    Hi all,
    I created a new product in the composite designer with a few Visual Composer Interfaces.
    Because our context model changed, I deleted the existing UI, and created a new VC UI (generated from a Process model)
    When I want to build everything, I get the exception:
      ERROR: Check for used DCs failed: Could not find used public part "40dbb712586011df82d500059a3c7800" of  test.com/product/ui/vc (PRODUCT_SC) : Used public part not available (Used public part not available)
       Build failed with errors.
    Apparantly the guid from the old VC UI was not completly removed.
    I found that GUID back in files:
    .dcdef
    PublicPartFileList.xml
    and changed those to the new guid.
    But still having the same problem...
    Can I change this in another simple way?
    regards,
    Hans

    Hi Hans,
    could you switch to the Development Infrastructure perspective and open the view called Component Properties for the VC DC? Most likely the generated public part is still present. I guess you can simply delete it as the corresponding component has been deleted as well.
    This public part should be present for the DC of type "Visual Composer Composition Unit Interface".
    Which version of the NWDS are you using? I think what I´m describing is actually only a workaround, but would think that the pulblic part deletion should have happened automatically.
    Best regards,
    Stefan

  • Dictionary DC BUILD not working with CE 7.1 and 7.0 NWDI

    Hi All,
    we integrated our ce 7.1  in our existing NWDI environment. Everything works fine
    except for the dictionary dc build.
    The build process stops with an
    Open SQL services not initialized! (java.lang.IllegalStateException: Open SQL services not initialized!)
    error.
    I attached the CBS Build Log.
    Thanks for helping me!
    Best Regards
    Thomas
    CBS Build Log - [  JDEV_CE71_D/test.com_CETEST_1/default/  /test.com/test/tonddic  ]
      epikur     SAP Component Build Server  
    Development Component Build (2008-02-11 14:21:09)
      Component name: test/tonddic
      Component vendor: test.com
      SC compartment: test.com_CETEST_1
      Configuration: JDEV_CE71_D
      Location: JDEV_CE71_D
      Source code location: http://EPIKUR:50000/dtr/ws/CE71/test.com_CETEST/dev/active/DCs/test.com/test/tonddic/_comp/
      DC root folder: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\
      DC type: Dictionary
    DC Model check:
       All used DCs are available locally
       validating dependency to build plugin "sap.com/tc/bi/bp/ddic"
       validating dependency to  public part "runtime" of DC "sap.com/tc/ddic/runtime/facade"
       DC model check OK
    Start build plugin:
       using build plugin: sap.com/tc/bi/bp/ddic
       starting build plugin from : F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\sap.com\tc\bi\bp\ddic\_comp\gen\default\public\ddic\
    Build Plugin 'DictionaryPlugin', Version 7.10 SP 4 (NW07_04_REL, built on 2007-11-19 18:29:27 +0100, CL12312)
       development component:  test/tonddic (test.com)
          software component:  CETEST (test.com)
                    location:  JDEV_CE71_D
                        type:  Dictionary
               build variant:  default
             source location:  SAPServiceSA2@localhost
             output location:  F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default
           generation folder:  F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\t\E566FFDB8ED53F0250EFBFF2B929A8A7
           plugin start time:  2008-02-11 14:21:10 GMT+01:00 (CET)
                     Java VM:  Java HotSpot(TM) Client VM, 1.5.0_14-b03 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Checking path lengths for sources
    Path length checks finished in 0.015 seconds
    Preparing data context..
    No public part descriptor found for component "tc/ddic/runtime/facade" (vendor "sap.com"), public part "runtime", using legacy mode.
    Data context preparation finished in 0.25 seconds
    Creating Ant build file..
      Creating output file: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default\logs\build.xml
      Using macro file:     F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\sap.com\tc\bi\bp\ddic\_comp\gen\default\public\ddic\macros\build.vm
    Build file creation finished in 0.407 seconds
    Starting Ant..
      Using build file:     F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default\logs\build.xml
      Using build target:   build
      Using Ant version:    1.6.4
    compile:
          [echo] Starting dictionary generator
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath ...
         [ddgen] [Info]       F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\src\packages
         [ddgen] [Info]    Property targetpath: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\t\E566FFDB8ED53F0250EFBFF2B929A8A7\gdd
         [ddgen] [Info]    Property archivename: test.comtesttonddic
         [ddgen] [Info]    Property vendor: test.com
         [ddgen] [Info]    Property dcname: test/tonddic
         [ddgen] [Info]    Property metadatapath: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\t\E566FFDB8ED53F0250EFBFF2B929A8A7\gdd_metainf
         [ddgen] [Info]    Property generates2x is false: S2X files will not be generated
         [ddgen] [Info]    Property projectlanguage: de
         [ddgen] [Info]    Property language: Available languages are automatically determined
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       dictionary.rtcontainer.facade.filter.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       dictionary.runtime.facade.filter.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       dictionary.services.facade.filter.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]       tcddicruntime~facade.jar - F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/ddic/runtime/facade/_comp/gen/default/public/runtime/lib/java
         [ddgen] [Info]    Optional property i18npath is empty
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/F:/usr/sap/SA2/DVEBMGS00/j2ee/cluster/server0/temp/CBS/d/.B/149/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/dictionary_generation_core_api.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Using DocumentBuilder com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl
         [ddgen] [Info]    Generating datatypes/com/test/struct/Project.gstructure
         [ddgen] [Info]    Generating of DbTtable //DtDictionary/DtDbTable:.SNAP_TEST aborted with exception
         [ddgen] [Info]    Catching throwable Open SQL services not initialized!
         [ddgen] [Info]    java.lang.IllegalStateException: Open SQL services not initialized!
         [ddgen]      at com.sap.sql.services.OpenSQLPublicServices$1.invoke(OpenSQLPublicServices.java:83)
         [ddgen]      at $Proxy1.getVendorTitle(Unknown Source)
         [ddgen]      at com.sap.sql.services.OpenSQLPublicServices.getVendorTitle(OpenSQLPublicServices.java:416)
         [ddgen]      at com.sap.sql.NativeSQLAccess.getVendorTitle(NativeSQLAccess.java:333)
         [ddgen]      at com.sap.dictionary.database.dbs.Database.getVendorTitleForDatabaseName(Database.java:145)
         [ddgen]      at com.sap.dictionary.designtime.DtDbTableExpanded.isTableOk(DtDbTableExpanded.java:278)
         [ddgen]      at com.sap.dictionary.designtime.DtDbTableExpanded.expand(DtDbTableExpanded.java:175)
         [ddgen]      at com.sap.dictionary.designtime.DtDbTableExpanded.<init>(DtDbTableExpanded.java:50)
         [ddgen]      at com.sap.dictionary.tools.generation.Generation.generatePersistentDbTable(Generation.java:795)
         [ddgen]      at com.sap.dictionary.tools.generation.console.GenerationConsole.generateDbTables(GenerationConsole.java:1130)
         [ddgen]      at com.sap.dictionary.tools.generation.console.GenerationConsole.generate(GenerationConsole.java:171)
         [ddgen]      at com.sap.dictionary.generation.ant.GenerationAnt.main(GenerationAnt.java:51)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at java.lang.reflect.Method.invoke(Unknown Source)
         [ddgen]      at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:238)
         [ddgen]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         [ddgen]      at org.apache.tools.ant.Task.perform(Task.java:364)
         [ddgen]      at org.apache.tools.ant.Target.execute(Target.java:341)
         [ddgen]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
         [ddgen]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         [ddgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         [ddgen]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
         [ddgen]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         [ddgen]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         [ddgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         [ddgen]      at java.lang.reflect.Method.invoke(Unknown Source)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
         [ddgen]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
         [ddgen]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         [ddgen]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
         [ddgen]      at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
         [ddgen] [Error]   Unknown exception during generation Open SQL services not initialized! (java.lang.IllegalStateException: Open SQL services not initialized!)
         [ddgen] [Error]   Generation failed due to errors (1 seconds)
    Error: F:\usr\sap\SA2\DVEBMGS00\j2ee\cluster\server0\temp\CBS\d\.B\149\DCs\test.com\test\tonddic\_comp\gen\default\logs\build.xml:70: [Error]   Generation failed!
         at com.sap.dictionary.generation.ant.DDGenAntTask.execute(DDGenAntTask.java:262)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
         at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
         at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:196)
         at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:168)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
         at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
         at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
         at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1750)
         at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1515)
         at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:761)
         at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:527)
         at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:452)
         at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:324)
         at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:262)
         at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:217)
         at com.sap.tc.buildcontroller.CBSBuildController.main(CBSBuildController.java:178)
    Ant runtime 2.047 seconds
    Ant build finished with ERRORS
    [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Error: Build stopped due to an error: [Error]   Generation failed!
    Build plugin finished at 2008-02-11 14:21:13 GMT+01:00 (CET)
    Total build plugin runtime: 3.594 seconds

    SAP Note 1118779 helpded

  • Add helper class public parts as used DC in EJB DC

    Hi Experts,
    I have created a JAVA DC project containing the helper classes.
    For this helper classes i have created a Jar file.
    I have also created two public parts
    1) with an option Can be packaged into other build results (e.g. SDAs)
    2) with an option Provides an API for developing/compiling other DCs
    Now i want to use these public parts in my EJB DC.
    I have added the API public part in my EJB DC as build time design time and run time.
    Now when i am getting java.lang.NoClassDefFoundError: for the class defined in JAVA DC helper class.
    Can you help me in resolving this?
    Regards,
    Ashish Shah

    Hi
    I have done following things:
    1) I have a java DC containing helper classes and an EJB DC referring to it.
    2) Now to access this EJB DC, I have created a java command bean DC.
    3) And I am using this command bean Java dc in my WebDynpro application.
    4)  Now for deploying the helper class, I have created a library project.
    5)  To this library project I have added the SDA and API public part of helper class as used dc.
    6)  I have added this java library file as used DC in WebDynpro DC and in EJB DC.
    7)  I have added the library reference to the WebDynpro DC for J2ee server component library DC  As pg.comaptsc~dc_aptjl
    8)  When i checked in Visual admin i could see the Assembly (SDA) helper class jar file.
    In my helper class files, I am getting this warning.
    Checking package reservation
    Warning: Package pg.com.apt.help.cls is not reserved for DC : apt/sc/dc_apthc.
    Now in my webdynpro DC when I refer to the helper class through the EJB, I get this error.
    java.lang.NoClassDefFoundError: pg/com/apt/help/cls/TargetMarket at pg.com.atos.WebModuleProject.FetchSDCDataBean.SearchGTINTMDataEJB(FetchSDCDataBean.java:133) at pg.com.atos.WebModuleProject.FetchSDCDataObjectImpl0.SearchGTINTMDataEJB(FetchSDCDataObjectImpl0.java:119) ... 35 more ; nested exception is: java.lang.NoClassDefFoundError: pg/com/apt/help/cls/TargetMarket
    Can you please guide on what I am missing.
    Thanks in advance.
    Regards,
    Ashish Shah
    Edited by: ashish shah on Dec 18, 2007 3:23 PM

Maybe you are looking for