Public part - built fail

C:\Documents and Settings\won\.dtc\LocalDevelopment\t\9831D8FFF01D45B2F57A5093074424A4\gwd\packages\ml_tm\cycle_count\WithInvNum.java:28: package com.sap.security.api does not exist
import com.sap.security.api.IUser;
Dear all i am getting the above error when i try to built one DC as public part. pls advice hw to solve it..thanks

Hi,
The jar file, com.sap.security.api.jar, will be available in the path,
<Drive>:\Program Files\SAP\JDT\eclipse\plugins\com.sap.security\lib
Add it in the build path.
Regards
Srinivasan T

Similar Messages

  • Import of DC ignored, needed to fix prob: DC broken ("HAS NO PUBLIC PART")

    Hello,
    I have a DC that fails to build.  The request log flags the DC as BROKEN immediately without a compile and reads as follows:
                    DC 'ibm.com/bh/cnfg_ses' in SC 'ibm.com_BHCNFG-SES_1' cannot be built and will be marked as BROKEN.
                    Used DC 'sap.com/cdev/factory_jee' HAS NO PUBLIC PART 'ejbjar'.
                    [DC '3989' variant 'default'][SCID=3182] using [PP 'ejbjar' of DC 3659 variant 'default'][SCID=3177][last successful build: 89751]
    This DC, though, was imported previously and has this public part.  This built before.  Something happened to the system that caused it now to not be found.  I don't care why (yet).  I want to fix this.  I think I need to import again (yes?).
    When I import again, the import request log reads:
            The following DCs are being removed from the request as their imported assemblies do not have any relevant changes and force-import option is not set:
            Development Component
         "sap.com/cdev/factory_jee" in compartment "ibm.com_BHCNFG-BM_1" attached to request 79,328
         [scID: 3,177, dcID: 3,659, parent dcID: 0, current state: OK, action: IMPORTED]
    How do I force-import this DC or at least get the imported DC to no longer be ignored?
    Is this the right course of action or am I missing something?
    Please advise.

    Q: you mean the public part of the dc was existed when it is firstly transported to the target track, but for some reason unkown it is disappeared now?
    A: Yes, the public part is now not available.  CBS shows that it is there, but if you try to "Download public part archive" or compille a DC that references this public part it fails.
    The "Download public part archive" action fails with the following response:
    &lt;CBSError&gt;
    &lt;Code&gt;PP_UNKNOWN&lt;/Code&gt;
    com.sap.tc.cbs.api.NoSuchPublicPartException: Development component 'cdev/factory_jee' of component vendor 'sap.com' does not contains public part 'client'!
         at com.sap.tc.cbs.api.impl.BSState.getPPA(BSState.java:1043)
         at com.sap.tc.cbs.receiver.ArchiveServlet$SilentArchiveHandlerStrategy.getPPA(ArchiveServlet.java:2551)
         at com.sap.tc.cbs.receiver.ArchiveServlet.getPPA(ArchiveServlet.java:1531)
         at com.sap.tc.cbs.receiver.ArchiveServlet.doGet(ArchiveServlet.java:134)
    &lt;Trace&gt;
    &lt;/Trace&gt;
    &lt;/CBSError&gt;
    Q: How often you transport your sc between the track?
    A: As often as twice a week as we are in heavy active development.
    Q: can you check this dc sap.com/cdev/factory_jee which maybe itself is broken?
    A: com.sap/cdev/factory_jee dc and all the rest of the DC's imported in this SC all show as not broken.
    Regards,
    John

  • Build finished with ERROR - Failed to pack public part

    Hi,
    I am getting an error when I try to build a Development Component in CBS. This is what the build log says:
    Ant build finished with ERRORS
    Failed to pack public part: Failed to get InputStream for resource D:\usr\sap\PVD\JC01\j2ee\cluster\server0\temp\CBS\2\7\.B\3570\DCs\vecnet.co.nz\general\rimp\preq\preqform\preqcreate\_comp\src\configuration\Components\nz.co.vecnet.general.rimp.preq.preqform.preqcreate.CreatePurchReqComp\CreatePurchReqCompView_Create_Purch_Req_IF.xdp
    Error: Build stopped due to an error: Failed to pack public part: Failed to get InputStream for resource D:\usr\sap\PVD\JC01\j2ee\cluster\server0\temp\CBS\2\7\.B\3570\DCs\vecnet.co.nz\general\rimp\preq\preqform\preqcreate\_comp\src\configuration\Components\nz.co.vecnet.general.rimp.preq.preqform.preqcreate.CreatePurchReqComp\CreatePurchReqCompView_Create_Purch_Req_IF.xdp
    Build plugin finished at 2008-10-02 15:31:45 GMT12:00 (NZDT)+
    Total build plugin runtime: 31.769 seconds
    Build finished with ERROR
    Could you please tell me why I am getting this error, and how do I resolve this one?
    Thanks,
    Ajay

    Was never able to find an answer for this on SDN and haven't had the issue in a long time so I'm closing question.

  • [pppacker] ERROR: Failed to pack public part: Failed to get InputStream fo

    Dear Friends,
                  I have downloaded the ECC_PURCHASEORDER002QR from HU2 system (wadmin)  & saved on Local PC with extension as .xml.
    I have created External Service by picking up this WSDL from Local pc.
    When i try to build this its giving me packing error
    error text
    [pppacker] ERROR: Failed to pack public part: Failed to get InputStream for resource C:\Documents and Settings\chandra.dasari\.dtc\LocalDevelopment\t\8A377BFE144E14E551EDE29FADD14317\classes\com\sap\es_po\extsrv\purchaseorderbyidqueryresponse__in\input\Ns1_parameters$Ns1_PurchaseOrderByIDQueryMessage__sync$PurchaseOrderSelectionByID$Ns1_PurchaseOrderID.class
    We are currently using NWDS v7.0.07 with java SP 12.
    Any pointers to resolve this issue.
    Regards shekar chandra

    just out of curiosity why don't you use the RFC connection instead of web service? you seem to be calling an abap system.
    anyway, just to be sure i guess you mean importing a web service into CAF Core as external service. Right?
    what's the nature of your import parameters and your table definitions?
    See there're limitations using complex types with web services. you have less problems if you're importing RFC into CAF Core. My guess is that you're using complex types in your RFC definition that cause problems when translated into WSDL. Can you try at least to the tutorial 85 "Using RFCs as External Services (Service)" https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b3529fea-0c01-0010-76a5-cf1239e38fd9?

  • 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

  • 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

  • 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

  • Error in packing Public Part

    Hello Frnds,
    i have a 3 DC's .
    1. Dictionary DC
    2. EJB module project DC
    3. EJB Application DC
    i have exposed all the tables in the public part of the Dictionary DC. And added those public part into used DC of EJB module project DC. And EAR DC have the reference of EJB module project DC.
    When i am creating projects from inactive workspace , while creating the EAR DC it is giving error .. Failed to pack the public part.
    Error...
    <b>Failed to pack public part: Couldn't delete old file \.dtc\0\DCs\lti.com\inspire\jd_ddic\_comp\gen\default\ public\JD_PublicPart\lib\java\lti.cominspirejd_ddic~JD_PublicPart.jar</b>
    Regards
    Shobhan

    Hi Shobhan,
    what version of SAP_BUILDT are you using? Your problem matches SAP Note 913829. The issue was explicitly fixed for NW04 SP13 and SP14.
    Best regards,
    Marc

  • 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

  • Build can't see public part

    I'm getting a really strange error.  When the CBS tried to build a DC, I see this message in the request log:
    Using generic UNIX platform support.
         Synchronize sources... finished at 2006-06-14 13:25:50.710 GMT and took 2 s 105 ms
         Synchronize used libraries...
              "company.ca/wl/details/wd"  in compartment "company.ca_TRACK_1"
                               cannot be built and will be marked as BROKEN.
                   Used component "company.ca/wl/models/user/wd" has NO
                               PUBLIC PART with name "compilation". Such a public
                               part has not yet been defined or activated.
                   [DC 181 variant "default"][SC 71] using [PP "compilation" of
                               DC 166 variant "default"][SC 71][last successful build: 399]
              public part "default" of component "sap.com/com.sap.exception" ... OK
                    (etc)
    Now, the DC in question, /wl/models/user/wd, does in fact have a public part called 'compilation' - the public part shows up in the CBS ui.  I've tried rebuilding DC /wl/models/user/wd, followed by rebuilding the /wl/details/wd DC, but I keep getting the same error. 
    As near as I can tell, all activities have been activated, so everything should be in sync.
    Anyone have any ideas how I can go about solving this issue?

    Further to my message above, I get this exception when I try and access the 'compilation' public part archive of the DC:
    com.sap.tc.cbs.api.NoSuchPublicPartException: Development component '/wl/models/user/wd' of component vendor 'company.ca' does not contains public part 'compilation'!
         at com.sap.tc.cbs.api.impl.BSState.getPPA(BSState.java:919)
         at com.sap.tc.cbs.receiver.ArchiveServlet.getPPA(ArchiveServlet.java:1178)
         at com.sap.tc.cbs.receiver.ArchiveServlet.doGet(ArchiveServlet.java:106)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:180)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    So, it appears that the CBS is really confused about this DC. I tried deleting and recreating the public part, but I get the same error message.
    Note that everything builds correctly on my dev. workstation.
    Message was edited by: Ken Miller

  • 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

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

  • JDI: When do i have to use public parts

    Hello,
    i created a development configuration with a ejb (dc) project an a web module project. I can call the ejb modules ejbs with the simple way per jndi - when do i need the public parts?
    Thanks for answers,
    André Siegling

    Hi,
    If you are using dovelopment components and one DC would like to access another DC, in case of nested Dc's etc where ever there is a dependency between DC's you have to create Public part.
    To know more about DC's Public part,explore the link below for scenario2+
    http://help.sap.com/saphelp_nw04/helpdata/en/01/9c4940d1ba6913e10000000a1550b0/content.htm.
    mean while look into JDI Forums
    hope this info helped you
    Regards,
    RK
    :P.S Consider rewarding suitable points if the given info helped you!!!

  • 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

  • How to access XML files on public part of an external library DC?

    Hi,
    I would like to put xml and xsd files into a public part of an external library DC, so that I can access these files within other DCs. But I don't know the path which I have to use in the other DCs, e.g. for creating a File object from such xml or xsd files. What do I have to do to get this running?
    I'm using NetWeaver CE 7.2 for Java.
    Thanks in advance for your help!

    An External Library DC is only intended to include jars. Using a Java DC may be a better idea, unless you put your xml files into a jar first (but you'd need a Java DC for that...).

Maybe you are looking for

  • Import Cycle for India doing first Goods Receipt

    Hi Friends, We are going on upgrade from 4.0B to ECC 5.0. We are using TAXINN .  This is regd. the  Import pricing for India. Our client  is using 4.0B & thier sequence is : 0. Give advance to CHA agent for Customs clearing based on his estimation 1.

  • Can I detect if a module is present in CRIO FPGA?

    I have a cRIO-9073 controller chassis with 8 NI 9237 modules. I plan to use FPGA reads - not the scan engine. Can I detect whether a module is present or not within my FPGA VI? If not, is there a way to do this within the RT Host VI? (This is my firs

  • Issue Importing .m2a file into Encore

    Hello - I'm having a problem importing m2a audio files into Adobe Encore to properly. I import an .m2v and its corresponding .m2a file, and then add them to a timeline. The video imports fine, but only the first second or two of audio appears in the

  • DataTable of links

    I want to create a table with a column containing a hyper link to another pagebased on a row value from my results: <tr> <td><a href="edit.jsf?id=val">edit</a></td> <td>...</td> </tr>I've tried: <h:dataTable value="#{UserBean.users}" var="user">     

  • What's the weblogic 7.1?

    I hear a lot about problem in weblogic 7.1, but cannot any official document about weblogic 7.1. What's the actual official version number for this '7.1'? Is it actually weblogic 8.1? or weblogic 7.0 with high service pack?