JavaBean Model classes not seen in public part

Hi everybody
I have several plain java bean classes from which I created java bean model classes under the same model CnfMdl.
I have added to public part both the model and the plain .java classes.
Unfortunately from outside the DC, upon declaring model usage and when trying to edit model binding for a model node, I can only see my CnfMdl model but no model classes below.
Can anyone please help?
Thanks in advance, Vincenzo

Hi
Use these links
http://help.sap.com/erp2005_ehp_03/helpdata/EN/d7/3e07419a60ef6fe10000000a1550b0/frameset.htm
http://help.sap.com/erp2005_ehp_03/helpdata/EN/c5/a9592b4405c140b86f5a2e7aecc0ae/frameset.htm
Regards
Anup

Similar Messages

  • 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

  • Ipod classis not seen on source list.Unable to add playlist.

    Hello,
    I am trying to connect my old Ipod classic on to a Mac book pro.I see the ipod showing up on the desktop.When I open Itunes I am unable to viiew it on the source list so I could drag /drop playlists onto it.Can anyone help on this issue?
    Thanks.

    Hi Ministrel,
    Thanks for visiting Apple Support Communities.
    Start with the troubleshooting tips in this article if your iPod is not recognized by iTunes:
    iPod not appearing in iTunes
    http://support.apple.com/kb/ts3716
    Best Regards,
    Jeremy

  • Self Reference Model Class - How to populate using Entity Framework

    Hi,i have table in SQL Server named Employees as follows:
    EmployeeId lastName FirstName reportsTo
    1 Davolio Nancy 2
    2 Fuller Andrew NULL
    3 Leverling Janet 2
    4 Peacock Margaret 2
    5 Buchanan Steven 2
    6 Suyama Michael 5
    7 King Robert 5
    8 Callahan Laura 2
    9 Dodsworth Anne 5
    I would like to use Entity Framework to populate my Model Class .My model class looks as follows:
    public class Employees
        readonly List<Employees> _children = new List<Employees>();
        public IList<Employees> Children
            get { return _children; }
        public string FirstName { get; set; }
        public string LastName {get; set;}
    I want to use this class in ViewModel  to populate my TreeView control. Can anyone help me in order to define Linq to Entities in order to populate my model class Employees from table in SQL Server as defined. Thanks in advance.
    Almir

    Hello Fred,
    unfortunately it does not work, maybe I can be more specific about what I'm trying to get. I'm following Josh Smith's article on CodeProject related to WFP TreeView
    Josh Smith article. He has Class named Person with the following structure
    public class Person
    readonly List<Person> _children = new List<Person>();
    public List<Person> Children
    get
    return _children;
    public string Name { get; set; }
    The same is populated from Database class using method named GetFamilyTree() which look as follows:
    public static Person GetFamilyTree()
    // In a real app this method would access a database.
    return new Person
    Name = "David Weatherbeam",
    Children =
    new Person
    Name="Alberto Weatherbeam",
    Children=
    new Person
    Name="Zena Hairmonger",
    Children=
    new Person
    Name="Sarah Applifunk",
    new Person
    Name="Jenny van Machoqueen",
    Children=
    new Person
    Name="Nick van Machoqueen",
    new Person
    Name="Matilda Porcupinicus",
    new Person
    Name="Bronco van Machoqueen",
    new Person
    Name="Komrade Winkleford",
    Children=
    new Person
    Name="Maurice Winkleford",
    Children=
    new Person
    Name="Divinity W. Llamafoot",
    new Person
    Name="Komrade Winkleford, Jr.",
    Children=
    new Person
    Name="Saratoga Z. Crankentoe",
    new Person
    Name="Excaliber Winkleford",
    I'm trying to figure out how should I write
    GetFamilyTree() method using Entity Framework in order to connect to my SQL Server database and populate this Person class as it was populated manually in Joshs Example. The table I'm using in SQL Server is described in
    my first post named Employees (it's self reference table)

  • 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

  • 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

  • Import JavaBean Model - Invalid class

    Hi,
    I wanted to import a JavaBean Model as described in the Tutorial "Using EJBs in Web Dynpro Applications" (see: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c).
    Problem: i always get an error "Invalid class - JavaBean not available for import", when i want to select a local jar file as JavaBean source, althrough the jar-file contains a valid bean.
    Note:I also dont have a radio button in my GUI for selecting "Deploy time" as mentioned in the Tutorial and as i have seen in a screenshot in the Blog /people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes . in this Blog there is already a question about this, but this question has never been aswered...

    Wolfgang,
    See my tips on troubleshooting JavaBean Model Import: /people/valery.silaev/blog/2005/08/30/javabean-model-import-when-it-really-works
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • CODE running in MAIN but not in a model class called by servlet

    Here is my simple code to connect Weblogic server 10.3.3 using iiop protocol to use the MBeanServer. It is running perfectly when it is run as a simple java application in main() but when I try to call this code from a servlet placing it in a simple method to get an arraylist it is throwing Exception.
    * I have an Admin Server and a Managed server in 10.0.32.145
    * and another Managed Server on 10.0.32.146. I need to monitor these servers in a portal.
    * I have a jsp which refreshes in every 10 seconds and invoke a servlet,that calls this
    * method to populate data in three beans(AdminServerBean,ManSer1Bean,ManSer2Bean),add these
    * beans into arraylist and return to the servlet.The servlet adds these attributes to the
    * request scope and send back to jsp.
    import javax.management.MBeanServerConnection;
    import javax.management.ObjectName;
    import javax.management.remote.JMXConnector;
    import javax.management.remote.JMXServiceURL;
    import javax.management.remote.JMXConnectorFactory;
    import com.beans.*; //My Beans package
    import java.util.ArrayList;
    import java.util.Hashtable;
    public class JMXCore {
         @SuppressWarnings("unchecked")
         public ArrayList<Object> connect2FetchData() throws Exception {
         ArrayList<Object> arr = new ArrayList<Object>();
    JMXConnector jmxCon1 = null;
    JMXConnector jmxCon2 = null;
    JMXConnector jmxCon3 = null;
    ObjectName on1 = new ObjectName("com.bea:ServerRuntime=AdminServer,Name=AdminServer,Type=JVMRuntime"); // Admin Server
    ObjectName on2 = new ObjectName("com.bea:ServerRuntime=ManSer1,Name=ManSer1,Type=JVMRuntime"); // Managed Server 1
    ObjectName on3 = new ObjectName("com.bea:ServerRuntime=ManSer2,Name=ManSer2,Type=JVMRuntime"); // Managed Server 2
    try {
    JMXServiceURL serviceUr1 = new JMXServiceURL("service:jmx:iiop://10.0.32.145:7001/jndi/weblogic.management.mbeanservers.runtime");
    JMXServiceURL serviceUr2 = new JMXServiceURL("service:jmx:iiop://10.0.32.145:9001/jndi/weblogic.management.mbeanservers.runtime");
    JMXServiceURL serviceUr3 = new JMXServiceURL("service:jmx:iiop://10.0.32.146:9001/jndi/weblogic.management.mbeanservers.runtime");
    System.out.println("Connecting to: " + serviceUr1);
    System.out.println("Connecting to: " + serviceUr2);
    System.out.println("Connecting to: " + serviceUr3);
    Hashtable env = new Hashtable();
    env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,"weblogic.management.remote");
    env.put(javax.naming.Context.SECURITY_PRINCIPAL, "contact");
    env.put(javax.naming.Context.SECURITY_CREDENTIALS, "contact158");
    jmxCon1 = JMXConnectorFactory.newJMXConnector(serviceUr1, env);
    jmxCon2 = JMXConnectorFactory.newJMXConnector(serviceUr2, env);
    jmxCon3 = JMXConnectorFactory.newJMXConnector(serviceUr3, env);
    jmxCon1.connect();
    System.out.println("Hello");
    MBeanServerConnection con1 = jmxCon1.getMBeanServerConnection(); // MBean Server Connection No 1
    System.out.println("CONNECTION TO WEBLOGIC 10.3 ESTABLISHED VIA jmxCon1");
    Integer jvm_AdminServ = (Integer)con1.getAttribute(on1,"HeapFreePercent");
    String status_AdminServ = null;
    if(jvm_AdminServ<10){status_AdminServ = "red";} else {status_AdminServ = "lime";}
    AdminServerBean asb = new AdminServerBean(String.valueOf(con1.getAttribute(on1,"Uptime")),String.valueOf(jvm_AdminServ),(String)con1.getAttribute(on1,"JavaVersion"),(String)con1.getAttribute(on1,"OSVersion"),String.valueOf(con1.getAttribute(on1,"HeapFreeCurrent")),String.valueOf(con1.getAttribute(on1,"HeapSizeMax")),String.valueOf(con1.getAttribute(on1,"HeapSizeCurrent")),(String)con1.getAttribute(on1,"OSName"),status_AdminServ);
    arr.add(asb);
    jmxCon2.connect();
    MBeanServerConnection con2 = jmxCon2.getMBeanServerConnection(); // MBean Server Connection No 2
    System.out.println("CONNECTION TO WEBLOGIC 10.3 ESTABLISHED VIA jmxCon2");
    Integer jvm_ManServ1 = (Integer)con2.getAttribute(on2,"HeapFreePercent");
    String status_ManServ1 = null;
    if(jvm_ManServ1<10){status_ManServ1 = "red";} else {status_ManServ1 = "lime";}
    ManSer1Bean msb1 = new ManSer1Bean(String.valueOf(con2.getAttribute(on2,"Uptime")),String.valueOf(jvm_ManServ1),(String)con2.getAttribute(on2,"JavaVersion"),(String)con2.getAttribute(on2,"OSVersion"),String.valueOf(con2.getAttribute(on2,"HeapFreeCurrent")),String.valueOf(con2.getAttribute(on2,"HeapSizeMax")),String.valueOf(con2.getAttribute(on2,"HeapSizeCurrent")),(String)con2.getAttribute(on2,"OSName"),status_ManServ1);
    System.out.println("Manserver1 Heap Free : "+String.valueOf(jvm_ManServ1));
    arr.add(msb1);
    jmxCon3.connect();
    MBeanServerConnection con3 = jmxCon3.getMBeanServerConnection(); // MBean Server Connection No 3
    System.out.println("CONNECTION TO WEBLOGIC 10.3 ESTABLISHED VIA jmxCon3");
    Integer jvm_ManServ2 = (Integer)con3.getAttribute(on3,"HeapFreePercent");
    String status_ManServ2 = null;
    if(jvm_ManServ2<10){status_ManServ2 = "red";} else {status_ManServ2 = "lime";}
    ManSer1Bean msb2 = new ManSer1Bean(String.valueOf(con3.getAttribute(on3,"Uptime")),String.valueOf(jvm_ManServ2),(String)con3.getAttribute(on3,"JavaVersion"),(String)con3.getAttribute(on3,"OSVersion"),String.valueOf(con3.getAttribute(on3,"HeapFreeCurrent")),String.valueOf(con3.getAttribute(on3,"HeapSizeMax")),String.valueOf(con3.getAttribute(on3,"HeapSizeCurrent")),(String)con3.getAttribute(on3,"OSName"),status_ManServ2);
    arr.add(msb2);
    System.out.println("MBean SERVER CONNECTION OBTAINED...ArrayList Created");
         return arr;
    catch(Exception e){
         System.out.println("in Catch");
         System.out.println(e.getMessage());
         e.printStackTrace();
         return null;
         finally {
              jmxCon1.close();
              jmxCon2.close();
         jmxCon3.close();
         System.out.println("CONNECTION CLOSED");
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Here is the original stacktrace:
    java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: Name weblogic.management.mbeanservers.runtime is not bound in this Context
         at javax.management.remote.rmi.RMIConnector.connect(Unknown Source)
         at javax.management.remote.rmi.RMIConnector.connect(Unknown Source)
         at com.tcs.sbi.psg.monitoring.models.JMXCore.connect2FetchData(JMXCore.java:57)
         at com.tcs.sbi.psg.monitoring.servlets.Weblogic_10_Connect.doGet(Weblogic_10_Connect.java:23)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    Caused by: javax.naming.NameNotFoundException: Name weblogic.management.mbeanservers.runtime is not bound in this Context
         at org.apache.naming.NamingContext.lookup(NamingContext.java:770)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
         at javax.naming.InitialContext.lookup(Unknown Source)
         at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(Unknown Source)
         at javax.management.remote.rmi.RMIConnector.findRMIServer(Unknown Source)
         ... 20 more
    getMessage() returns this:
    Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: Name weblogic.management.mbeanservers.runtime is not bound in this Context
    -------------------------------------------------------------------------------------

  • 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

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

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

  • 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

  • JavaDocError: Utility classes should not have a public or default construct

    Hello all,
    I am trying to comply with some check style errors that i am getting and i cannot seem to figure out what is going on. I have set all non-data members to private, except for call point public static void main(string[] args) and i am still getting this error. "Utility classes should not have a public or default constructor." I cannot figure out what is going on, any help would be greatly welcomed. My code is posted below.
    public final class Main
         * Constant Data Member: RECTANGLE
         * Purpose: contains the constant string representing a rectangle.
         * @deprecated RECTANGLE Representitive string value for a rectangle.
        public static final String RECTANGLE = "rectangle";
         * Constant Data Member: TRIANGLE
         * Purpose: contains the constant string representing a triangle.
         * @deprecated TRIANGLE Representitive string value for a triangle.
        public static final String TRIANGLE = "triangle";
         * Constant Data Member: REGEX_NUMBER_TEST
         * Purpose: contains the constant for numerical test within regex method.
         * @deprecated REGEX_NUMBER_TEST regex string for digit comparison.
        public static final String REGEX_NUMBER_TEST = "^[0-9]+$";
         * Constant Data Member: MAX_ARGUMENTS_RECTANGLE
         * Purpose: contains the constant for the maximum number of allowed
         *          arguments coming in from the command line.
         * @deprecated MAX_ARGUMENTS_RECTANGLE constant for rectangle argument.
         *                                      limit.
        public static final int MAX_ARGUMENTS_RECTANGLE = 3;
         * Constant Data Member: MAX_ARGUMENTS_TRIANGLE
         * Purpose: contains the constant for the maximum number of allowed
         *          arguments coming in from the command line, in the case of a
         *          triangle object.
         * @deprecated MAX_ARGUMENTS_TRIANGLE constant for triangle argument limit.
        public static final int MAX_ARGUMENTS_TRIANGLE = 2;
         * Method: main
         * Purpose: Is the execution point for the program. It is in charge of
         *          initiating validation and the creation and application of
         *          objects and their related draw methods.
         * @param args input from the user.
        public static void main(final String[] args)
            String objectType = null;
            int width = 0;
            int height = 0;
            if(args.length > MAX_ARGUMENTS_RECTANGLE || args.length <
                MAX_ARGUMENTS_TRIANGLE || (args.length == MAX_ARGUMENTS_TRIANGLE &&
                !isTriangle(args[0])))
                 // fails
                outputErrorMessage();
            else
                if ((isTriangle(args[0]) && args.length > MAX_ARGUMENTS_TRIANGLE) ||
                    (!isTriangle(args[0]) && args.length > MAX_ARGUMENTS_RECTANGLE))
                    // fails becuase triangle should only have one argument
                    outputErrorMessage();
                else
                    // passes and proceed
                    objectType = args[0];
                    if (validNumber(args[1]))
                        width = Integer.parseInt(args[1]);
                        if(width == 0)
                            outputErrorMessage();
                        else
    ....

    Add a private constructor.
    private Main() {  }
    ...This way it will be not possible to create an instance because it is not needed to use its static members or methods.
    ref : [http://www.javapractices.com/topic/TopicAction.do?Id=40]
    Bye.

  • Activation error : context model node has not been bound to a model class

    Hi All,
    I have DC project, which i am able to run without error, But when i try to activate this DC project, I am getting below error in activation log : Please help me out, It's very urgent...
    [wdgen] [Info]    Generating packages/com/ltli/crtmachineord/models/zp3019_dealer_default_valuesmodel/Zp3019_Dealer_Default_Values_Output.java
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Zp3019_Salesorder_Mac_Texts_Input [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Text [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Text [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode T_Contract_Note_Text [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode T_Contract_Note_Text [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Zp3019_Get_Employee_Name_Input [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Error]   com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Name [modelClass]: The context model node has not been bound to a model class (Hint: A Context model node has to be bound to a model class or mapped to a model node of another controller.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CrtMachineOrdComp --> ContextModelNode Output_Name [supplyingRelationRole]: Supply function or supplying relation role missing (Hint: A child node which is not mapped must have either a supplying relation role or a supply function or one of its parent nodes must have a supply function.)
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.CustnoView --> Caption grp_equipmentnumber_Header: UIElement does not have a label
         [wdgen] [Warning] com.ltli.crtmachineord.views.longtextview.LongTextView --> TextEdit txe_LongText: UIElement does not have a label
         [wdgen] [Info]    com.ltli.crtmachineord.components.crtmachineordcomp.MatnoView --> Caption grp_equipmentnumber_Header: UIElement does not have a label
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesDocType_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesOrg_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label DistChannel_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label Division_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesOffice_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label SalesGroup_Lbl [labelFor]: Value is not valid
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label Plant_lbl [labelFor]: labelFor is not set
         [wdgen] [Error]   com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> TextView txv_Ename [text]: Context element and property are not compatible
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label lbl_CustNo [labelFor]: labelFor is not set
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label lbl_ConsigneeTo [labelFor]: labelFor is not set
         [wdgen] [Warning] com.ltli.crtmachineord.views.crtmachineordview.CrtMachineOrdView --> Label lbl_Pin [labelFor]: labelFor is not set
    Thanks
    Sandy

    We could resolved the problem by creating new DC project
    and copying the content of existing Dc project into new DC.
    (Also created new activity for this new DC), Build & Deploy the project.
    Now we are able to activate the new activity without any error.
    Thanks
    Sandy

Maybe you are looking for

  • How to display different subtotal text for each group in alv report

    Hi, i need to display subtotal text as "totals of  Mat1"  for material numbers 1 to 10 as group1 and again i need to display subtotal text as " totals of Mat2" for material number 11 to 20. group 2. Please help me asap.

  • Reading in integers from a text file

    Hi, I am going to go for the 'reading in from a text file' action as I haven't done this before. So I have been looking at all the examples and am trying the one out below :) My question is that though the structure seems pretty straightforward, what

  • How to avoid changes of hours in Agenda

    Hi, When I travel to other time zones, the avents entered previously in the calendar (Meetings) change their scheduled hours according to the new time zone in which I am. Suddenly meetings scheduled for 12 am appear at 5 pm. How can I avoid this.

  • Account Information getting Saved Automatically

    Experts, I am making following transactions in CRM 2007 Interaction Center (B2C profile): - Search Account - Confirm Account - Click in EDIT button - Change some information (only CHANGE, not SAVING) - CLICK ON END Button I am not saving my changes a

  • Transfering 1 photo at a time?? iphoto 6

    every time i want to transfer photos, it transfers the whole camera. I just took one photo, and i like to keep my old photos on the camera. Is it possible to transfer the photos that I want, and keep the rest on?