Updates currently deployed development component

Hi All,
  I have NWDI installed and been using for quite some time. I upgraded it to SP19. I have like 10 DC's and let us say i changed only one DC and check in and release, import, assemble and import into test system. In the log file, I see that all my 10 components are updated, shouldnt it just update the corresponding DC, why is it updating all the others too? i think this started happening to me after this version upgrade.
The snippet of how it looks like in the "SDM log"
Selected development component 'appl/broad'/'mycomp.com'/'MYTRACT_C'/'1032'/'2' updates currently deployed development component 'appl/borad'/'mycomp.com'/'MYTRACT_C'/'1032'/'1'.
Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/head'/'mycomp.com'/'MYTRACT_C'/'1027'/'2' updates currently deployed development component 'appl/head'/'mycomp.com'/'MYTRACT_C'/'1027'/'1'.
Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/structure'/'mycomp.com'/'MYTRACT_C'/'1029'/'2' updates currently deployed development component 'appl/structure'/'mycomp.com'/'MYTRACT_C'/'1029'/'1'.
Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/loginpar'/'mycomp.com'/'MYTRACT_C'/'1026'/'2' updates currently deployed development component 'appl/loginpar'/'mycomp.com'/'MYTRACT_C'/'1026'/'1'.
Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/iviewsepa'/'mycomp.com'/'MYTRACT_C'/'1041'/'0' updates currently deployed development component 'appl/iviewsepa'/'mycomp.com'/'MYTRACT_C'/'1038'/'0'.
Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/confidential'/'mycomp.com'/'MYTRACT_C'/'1023'/'2' updates currently deployed development component 'appl/confidential'/'mycomp.com'/'MYTRACT_C'/'1023'/'1'.
Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/trexanon'/'mycomp.com'/'MYTRACT_C'/'1024'/'2' updates currently deployed development component 'appl/trexanoni'/'mycomp.com'/'MYTRACT_C'/'1024'/'1'.
could you please look at that in your installations, if possible and let me know how it behaves?
thanks

Hi,
Even if one DC is changed/activated, during the transport, the assembly happens to the entire component, which means all the DCs in that SC. Its the assembled "software component" that gets transported to the QA system. And thats the theory behind rolling out a software unit in NWDI. Its normal AFAIK.
Hope that helps,
Thanks,
Rajit Srinivas

Similar Messages

  • How to deploy a pure jave development component to server?

    i have created a pure java development component.
    but i cannot find a way to deploy it to server
    is there any way?

    You need to essencially wrap your java development component with a deployable development component.
    In order to do that, you need to:
    - Define a public part for your development component of type assembly.
    - Create a deployable DC ( one that results in a SDA or a EAR file ).
    - Reference your DC from the deployable DC. This will include the generated .jar file into the project.
    The definitions of the different types can be found here:
    http://help.sap.com/saphelp_nw04/helpdata/en/93/d5a73f05c4265de10000000a114084/content.htm
    I would either create a library component ( results in SDA ) or a web dynpro component ( ear file ).

  • Updating a Deployed J2EE Application Component

    Hi All,
    I was going through this link below :
    http://e-docs.bea.com/wls/docs61/adminguide/utils.html#1139180
    Updating a Deployed J2EE Application
    To update a specific component, enter the following commands:
    % java weblogic.deploy -port 7001 -host localhost -component
    Basic_example:sampleserver,exampleserver update weblogicpwd Basic_example c:\updatesample\ejb\basic\BasicStatefulTraderBean.jar
    update will cause the application or component to be updated on all server instances
    to which is targeted.
    Does this require the application be deployed in a "Expanded Directory Format"
    and "Auto-deployment" turned 'on' ? - which is not good for Production, I guess.
    Regards,
    Nathan Pillai

    Hi Uday,
        Steps to be followed !!!
    1. Take a Copy of the .Ear to test.EAR
    2. Rename test.Ear to test.Zip
    3. Extract the Files present in the test.zip into a Folder 'test' (this folder has the .War file)
    4. Rename .war to .Zip
    5. Extract the Contents from .zip to a Folder(myRoot Folder should contain the JSP, WEB-INF, Filters, WebContent etc)
    6. Open NWDS --> create a Web Container Project(myContainerWar) in J2EE perspective
    7. Select myContainerWar --> right Click --> Choose IMPORT File --> Browse --> Select MYROOT folder created by us. FINISH
    WAR holds the total Structure of the Web Component based application.
    Meaning WAR structure will get created in the NWDS !!!!
    Once you are finished with the Changes, you have to create a EA project in NWDS and add the new WAR to it. Build the .EAR and deploy it !!!
    Thanks
    Suresh KB

  • SAP NetWeaver CE 7.2 Installation error in Deploying java component phase

    Dear Experts,
                        I am installing CE7.2 but i am getting error in 37th phase (DEPLOY JAVA COMPONENT). Error message as
    An error occurred while processing option SAP NetWeaver Composition Environment (CE) 7.2
    > Installation Options > Application Server Java > Standard System > Standard System(
    Last error reported by the step :Execution of Deploy Controller Runner tool '/tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/sapjvm/sapjvm_6/bin/java -
    classpath /tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/install/lib:
    /usr/sap/CE1/SYS/global/security/lib/tools/iaik_jce.jar:
    /usr/sap/CE1/SYS/global/security/lib/tools/iaik_jsse.jar:
    /usr/sap/CE1/SYS/global/security/lib/tools/iaik_smime.jar:
    /usr/sap/CE1/SYS/global/security/lib/tools/iaik_ssl.jar:
    /usr/sap/CE1/SYS/global/security/lib/tools/w3c_http.jar:
    /usr/sap/CE1/J00/j2ee/j2eeclient/sap.com~tc~exception~impl.jar:
    /usr/sap/CE1/J00/j2ee/j2eeclient/sap.com~tc~je~clientlib~impl.jar:
    /usr/sap/CE1/J00/j2ee/j2eeclient/sap.com~tc~logging~java~impl.jar:
    /tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/install/lib/tc~je~cl_deploy.jar
    -Xmx256m -Ddc.api.verbose=false
    com.sap.engine.services.dc.api.cmd.Runner
    deploy -l /tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/deploy.lst -e stop -u lower
    -w safety --lcm bulk -t 14400000 --host sapnce --port 50004' aborts with return code 104.
    Error message is 'undefinedStatus:InitialDescription:. SOLUTION: Check 'undefined' and '' for more information.). You can now:
    Choose Retry to repeat the current step.
    Choose View Log to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to /tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/.*
    J2EE is running but I checked the cat /home/ce1adm/JdbcCon.log message as ,
    Start: Sun Sep 26 02:23:40 IST 2010
                        OK: connected to CE1 on jdbc/pool/CE1
                        OK: disconnected
                        Stop: Sun Sep 26 02:23:42 IST 2010*
                        sapnce:ce1adm 16>
                              Then I had checked the R3 trans and log file is
    4 ETW000                                                                                32  0.117400
    4 ETW000  [dbsloci.    ,00000]  *** ERROR => CONNECT failed with sql error '1017'                         26  0.117426
    4 ETW000  [dev trc     ,00000]     set_ocica() -> SQL error code 1017                                     21  0.117447
    4 ETW000  [dev trc     ,00000]  -->oci_get_errmsg (con=0, rc=1017)                                        21  0.117468
    4 ETW000  [dev trc     ,00000]     OCIErrorGet -> SQL error code: 1017                                    84  0.117552
    4 ETW000  [dev trc     ,00000]     ORA-01017: invalid username/password; logon denied
    4 ETW000                                                                                30  0.117582
    4 ETW000  [dev trc     ,00000]     DbSlConnect(con=-1) -> orc=0, 99=DBSL_ERR_DB                           23  0.117605
    4 ETW000  [dblink      ,00000]  ***LOG BY2=>sql error 1017   performing CON                               93  0.117698
    4 ETW000  [dblink      ,00000]  ***LOG BY0=>ORA-01017: invalid username/password; logon denied            24  0.117722
    2EETW169 no connect possible: "DBMS = ORACLE                           --- dbs_ora_tnsname = 'CE1'"
                        Please help me in this I strucked in this step for last 1 day.
    Regards,
    Sampath
    Edited by: Matt on Sep 28, 2010 8:54 AM - changed formatting for readability

    Sorry friends, this thread was already answered and closed by some one I have open a new Thread for my issue.
    Hi All,
    I am facing similar issue , My error also similar , Here is the summery of the error,  Please help I got stuck very badly here past 2 days....I have 250 GB free space in the directory were usr/sap  directory.
    An error occurred while processing option SAP NetWeaver 7.3 Developer Edition > Install > Custom Server Installation( Last error reported by the step: Execution of Deploy Controller Runner tool '"C:\Program Files\sapinst_instdir\NW73\INSTALL\DEVSYSTEM\sapjvm\sapjvm_6\bin\java.exe" -classpath "C:/Program Files/sapinst_instdir/NW73/INSTALL/DEVSYSTEM/install/lib;C:/usr/sap/ABC/SYS/global/security/lib/tools/iaik_jce.jar;C:/usr/sap/ABC/SYS/global/security/lib/tools/iaik_jsse.jar;C:/usr/sap/ABC/SYS/global/security/lib/tools/iaik_smime.jar;C:/usr/sap/ABC/SYS/global/security/lib/tools/iaik_ssl.jar;C:/usr/sap/ABC/SYS/global/security/lib/tools/w3c_http.jar;C:/usr/sap/ABC/J00/j2ee/j2eeclient/sap.com~tc~exception~impl.jar;C:/usr/sap/ABC/J00/j2ee/j2eeclient/sap.com~tc~je~clientlib~impl.jar;C:/usr/sap/ABC/J00/j2ee/j2eeclient/sap.com~tc~logging~java~impl.jar;C:/Program Files/sapinst_instdir/NW73/INSTALL/DEVSYSTEM/install/lib/tc~je~cl_deploy.jar" -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.
    Thanks
    Naveen

  • Development Component Structure

    Hi experts,
    I've been developing WDPJ for almost 4 months now. I've seen some "problems" caused by heavy "DCs" in my environment here. I'll try to detail the structure that I currently have:
    - A "Models" DC, which carries most Models for the whole Project;
    - A "Component" DC, which usually carries some Models, and has a dependency to the "Models" above;
    - An "Application" DC, which is the entrypoint in the iView Portal. Depends on the "Component" above.
    Well, during this time I've noticed that, having your "Models" inside your Component makes it "inflate" a lot, and since the "code generation" is automatic, it will generate all the models again and again. This consumes a lot time. Also, it increases a lot the "Build Time", and further, the Deployment, since there's more information in the Component. (Not usually visible inside the LAN, but very noticeable using VPN).
    I'd like to add that, stuffs seems to be a little bit "messy" since there were at least four different developers working in this project. So, I'm currently facing "four" coding styles, at a point of time someone decided to create this "Central Models" DC, but only for new stuff. So, DC's that had their models still the same, additions would be made to this Central Model.
    My problem:
    Build time is too high. The dependency is killing me, since when I change any Model is spawning a lot of Builds, Activation process is a pain because of that, and also, Import and Assembly fases.
    My sugestion:
    Split DC's in three parts:
    - Models, Component, Application: The Component "DC" would have a dependency to the "Models", "Application" to "Component". This should be best case scenario to avoid facing with lots of builds, etc etc, but it will increase the number of DC's inside NWDI.
    I'd like to have some different opinions about this, since I'm quite new in WDPJ and I'm currently, working alone (I hate this part, since I don't have someone else to discuss implementations).

    Hi Siarhei,
    Thanks for your reply. As my reasons to create a new DC looks almost like yours, I suggested added these two new reasons on the list.
    Basically, it would be:
    - Split the "Application" in three DC's.
        - Application DC: Carries the entry Point of your Component. - This is usually maintained once, and Build process is not needed every time you Build your component Locally to Deploy.
        - Component DC: This is what gets usually Re-Build. I'd like to add that, in only rare cases we can have a Model change that not implies in Java code being changed. As this component will have dependency to its Models DC, this is OK, most because we usually Re-Import the Models a lot less often than the Component.
        - Models DC: Carries all the Models, usually the "size" would be a lot bigger than the Component DC. Will only be Build when we have a direct change to the Model, like Re-Import, Add or Delete. Always we Build this DC once, since the Import / Re-Import / Delete process are quite "straight forward" processes.
    I do agree that the first separation is not really demanded. We could basically have both, Application / Component in the same DC. Not a big deal. Taking a look to NWDI, and the Dependency, using an approach like this.
    When we change a Model inside a DC, for example:
    - It will spawn two Builds, one for Models, one for Component.
              -- I do understand that two Builds in this time will be slower than only one Build.
    - It will spawn "N" Builds to whatever dependent DC's we have. Example, Article Master Data, usually spawns 6 Builds, since we have an Interfaced View (Article Linking) in many Applications.
              -- At this time, all these other 6 Applications will be divided. Model's DC will not be Re-Built since they don't carry the Dependency to Article. Only Components DC will be affected, and usually, the size and the TIME is a lot less than if they're all inside one single DC.
    When we finish this first Assembly phase, we need some Test in QA systems. Returning "work" would probably not be something concerning Models. Usually, it's coding stuff.
    At this time, the Development will be a lot faster. Since we don't have the Models in the way, every Build is quite fast. When we put these changes in NWDI, also, the Build time will be faster, since we will carry less data.
    I hope I make myself a little bit more clear, since in my head an approach like this would save a lot time, instead of carrying unnecessary data every Build / Deploy / Activation / Imports / Assembly.
    Regards,
    Daniel
    Edited by: Daniel Ruiz on Jul 18, 2009 1:32 AM

  • Development Component not visible in the Consolidation Compartment in CBS

    Hi Experts,
    We have created a new development component on the track for which we
    have created an DTR activity. After we checked in, activated & released
    the activity successfully, we went to the consolidation tab in CMS and
    imported the activity. We could successfully imported the activity into
    consolidation system and got the message import finished. But when I checked
    in the Consolidation compartment, I could not found out my newly
    created Development component. I feel that the activities are not going there.
    I also tried restarting the NWDI server but still no luck.
    Kindly assist as without solving this issue we cannot assemble our
    components and cannot move them to Quality environment.
    Also, kindly assist how can we transport the entire SCA (where we have done the custom development) from development
    to Consolidation for the same state?
    Currently, we have lesser number of DCs in the SCA of my cons environment than my dev environment, so how can I exactly have the same state of custom developed SCA in my cons environment?
    Is there any provision of system restore so that we can overcome the above issue or any other means by which we can move the entire SCA from my dev environment to cons environment.
    Please suggest as this is affecting our go live activities.
    Thanks & Regards,
    Anurag

    Hi,
    when you have imported into cons and it said finished succesfully, then clicking on the button "Details..." can you confirm that all the 3 phases were succesful (dtr import, cbs make and deployment) ?
    Do you have any pending activations? You can check it in the CBS webui -- page "Activities".
    Can you see any requests in the TCS deployer as described by Pramod ? (you need to look for numbers in square brackets [ ]. If there are any it means that those requests are still being deployed. If this is the case and the requests are not disappearing from the TCS Deployer, then doublecheck if the RTS settings for CONS are ok. Here a hint for that: http://wiki.sdn.sap.com/wiki/display/TechTSG/%28NWDI%29%28CMS%29Q0002).
    Eventually if all this is fine, can you please trigger an Initialize Compartment (you do this in CBS webui -- select your CONS compartment).
    I hope this helps.
    Thanks and Regards,
    Ervin

  • CE installation error in Deploy java component phase

    Hi experts,
                       During CE7.2 installation in deployment java component phase i am getting error
    An error occurred while processing option SAP NetWeaver Composition Environment (CE) 7.2 > Installation Options > Application Server Java > Standard System > Standard System( Last error reported by the step :At least one prerequisite for deployment is not met. DIAGNOSIS: Execution of Deploy Controller Runner tool '/tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/sapjvm/sapjvm_6/bin/java -classpath /tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/install/lib:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/CE1/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/CE1/SYS/global/security/lib/tools/w3c_http.jar:/usr/sap/CE1/J00/j2ee/j2eeclient/sap.comtcexceptionimpl.jar:/usr/sap/CE1/J00/j2ee/j2eeclient/sap.comtcjeclientlibimpl.jar:/usr/sap/CE1/J00/j2ee/j2eeclient/sap.comtcloggingjavaimpl.jar:/tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/install/lib/tcje~cl_deploy.jar -Xmx256m -Ddc.api.verbose=false com.sap.engine.services.dc.api.cmd.Runner getParams -o /tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/DCRetrievedVars.props --host sapnce --port 50004' aborts with return code 108. Error message is 'undefinedHint: 1) Check the causing exception for the details. 2) Ask for help in BC-JAS-COR.Reason: Exception while trying to get InitialContext.. SOLUTION: Check 'undefined' and '' for more information.). You can now:
    Choose Retry to repeat the current step.
    Choose View Log to get more information about the error.
    Stop the option and continue with it later.
    Log files are written to /tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/.
                     I mentioned the java.log file here,
    INFO: Starting to transform 'TroubleTicketResults.xml' to 'LogAnalyzer.html' using stylesheet '/tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/REPORTING/OverallStatus.xsl'.
    INFO: Input parameters:
        status=error
        instana_xml=/tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/__instana_tmp.xml
        keydb_xml=/tmp/sapinst_instdir/NW72/INSTALL/NW72/ORA/STD/keydb.xml
    INFO: Transformation finished.
                 kindly help me to resole this issue.
    Regards,
    Sampath.

    Dear All,
                   This issue get resolved, this is due to insufficient space in usr/sap directory.
    Regards,
    Sampath.

  • Error while deploying ADSSAP component

    Hi all,
    Iam getting the following error while deploying ADSSAP component in Java Stack
    Failed deployment of SDAs: development component 'PDFManipulation'/'com.adobe'/'Adobe Systems'/'710.20060914230653.122540'/'0' : aborted
    Please help me out in solving this error.

    Hai,
    Try this SAP Note 795991.....
    Regards,
    Yoganand.V

  • Using JPA Entity-Objects defined in other EJB-Development Component

    Hello Community,
    I'm working on a Java-Application on NW CE 7.1, using JEE5 Beans in the Business-Logic-Layer and WebDynpro/Java in the UI-Layer.
    I designed a Bean for working with data, stored in a database-table of the system-database.
    For that addtionally i created a class, representing the Entity-Object, in the same Development-Component of Type EJB 3.0.
    It looks like this:
    @NamedQueries ({
         @NamedQuery (name="findAllSdCust", query="SELECT c from SdCust c ORDER BY c.kdnr"),
         @NamedQuery (name="findSdCustByKdnr", query="SELECT c from SdCust c WHERE c.kdnr = :kdnr"),
         @NamedQuery (name="findSdCustByIlnnr", query="SELECT c from SdCust c WHERE c.ilnnr = :ilnnr")
    @Entity
    @Table(name="ZKALL_SD_CUST")
    public class SdCust implements Serializable {
         @Id
         @TableGenerator (name="idGenerator", table="ZKALL_ID_GEN", pkColumnName="GEN_KEY", valueColumnName="GEN_VALUE", initialValue=100)
         @GeneratedValue (strategy=GenerationType.TABLE, generator="idGenerator")
         private long id;
         private String name;
         private String lname;
         private String kdnr;
         private String ilnnr;
         private long connid;
         private long cnt;
         @Version
         private long version;
          Constructor, Getter and Setter methods follow here
    The corresponding bean looks like this
    @Stateless(name="SdCustBean")
    public class SdCustBean implements SdCustLocal {
         @PersistenceContext (unitName="xyz")
         private EntityManager em;
         public SdCust getSdCustByKdnr (String kdnr)
              SdCust result = new SdCust();
              // List<Manufacturer> resultList = new ArrayList<Manufacturer>();
              Query  myQuery = em.createNamedQuery("findSdCustByKdnr");
              myQuery.setParameter("kdnr", kdnr);
              result = (SdCust) myQuery.getSingleResult();
              return result;
         public void setEM (EntityManager iem)
              em = iem;
           // other methods .....
    After that i created a new Development-Component of Enterprise Application-Type and added above DC to this EAR-DC. I also supplied the nessecary descriptor-files/Enries in EJB-DC and EAR-DC.
    When now using this bean from WebDynpro with the Web-Dypro EJB-Model-Import everything works fine.
    The bean returns the desired object(s).
    But now i created a new DC of type EBJ 3.0
    This DC contains a Message Driven Bean. That MDB is a Job-Bean which i want to schedule. That  Bean uses JRA to connect to an SAP-Abap-System to read some Data and should use JPA to insert/upate/delete the read data in the Database. This should work as a simple replication for my application.
    I assigned that EJB-DC containing the MDB to a new EAR-DC together with job-definition-xml and the neccessary entries in deployment-descriptors.
    After deploying i see the corresponding job-defition in the NW scheduler using the administrator-views.
    I'm also able to schedule the job and it executes fine. Connecting to SAP-Abap System also works fine using JRA.
    But JPA does not work!!!!!
    I created an dependency from my EAR-DC containing the Job EJB-DC and to the EJB-DC containing the Entity-Class.
    I tried three diferent things to get i running, but all of them failed.
    1.)
    The part  looks like:
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
      @EJB SdCustBean mybean;
       public void onJob(JobContext ctx) throws Exception {
            SdCust sdCust = mybean.getSdCustByKdnr (mykdnr);
    Compiles fine. But this fails because the Data is stored in the system-database. The exception says, that i have to use a datasource which supports 2-Phase commit. I know, that i could possibly solve this problem by annotation the Method getSdCustByKdnr with the Annotation for the Transaction-Manager to use REQUIRES_NEW Transaction. But i dont want to generally annotate my methods this way.
    2.)
    This part looks like this
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
    @PersistenceContext (unitName="xyz")
    private EntityManager em;
       public void onJob(JobContext ctx) throws Exception {
         SdCust cust = new SdCust();
         Query  myQuery = em.createQuery("SELECT c from SdCust c WHERE c.kdnr = :kdnr");
         myQuery.setParameter("kdnr", dbkdnr);
         cust = (SdCust) myQuery.getSingleResult();
    This also results in a runtime-exception because the entity-Manager cant resolve SdCust from the Query as an Object. The Exception is:
    java.lang.IllegalArgumentException: line 1: Abstract Schema Type 'SdCust' doesn't exist
    SELECT c from SdCust c WHERE c.kdnr = :kdnr
    3.) and last try so far:
    public class MasterDataReplicateJobBean extends MDBJobImplementation implements MessageListener
    @PersistenceContext (unitName="xyz")
    private EntityManager em;
       public void onJob(JobContext ctx) throws Exception {
         SdCustBean custBean = new SdCustBean();
         custBean.setEM(em);
         SdCust cust = custBean.getSdCustByKdnr(kdnr);
    In this example i use the Bean from the beginning not as a bean itself but as a normal class. that class has an addtional Method setEM to set the Entity-Manager (which is injected when using the class as a bean)
    In that way i got the exception, that the named Query "findSdCustByKdnr" cannot be found by the entity-manager.
    It seems to me, that i can access the class, but that all annotations belonging to JPA for that class are not recognized.
    Does anybody can give me a hint to solve this problem? Did i forgot something important?
    best regards
    matthias hayk
    Edited by: Matthias Hayk on Feb 5, 2009 9:38 AM

    I was already on wright trace.
    My class "SdCust" was not recognized by the Entity-Manager as an Entity-Class.
    This relies on the storage of the entity-class and where the Entity-Manager looks for entity-classes.
    By default it seems to look for all classes in the same jar file. thats the reason why everything works fine when the using bean and the entity-class are in the same project.
    In my last case, the using bean is in another  development-component and so also in anohter jar file. in this case the entity-manager must be told where to find entity-classes.
    this is done in the persistence.xml file.
    i added the line
    <jar-file>xxx.yyy.com~mdata_beans.jar</jar-file>
    underneath the <persistence-unit>-tag.
    This works.
    regards
    Matthias Hayk

  • Webdynpro Development Component project error

    Hi All,
    I am trying to use a DC1(Development Component) in another DC2 component, but when i am trying to deploy and run the application of DC2, which use the DC1 component.  It is giving error like below.
       java.lang.UnsupportedClassVersionError: com/hp/dc1/wdp/InternalDc1Comp1 (Unsupported major.minor version 49.0)
    Can anybody help me in solve out this.
    Thanks in advance,
    Ravi

    Hi Ravi,
         This problem is not with the DC you are creating. This exception can occur when the source is compiled on one version of JDK that is not supported by JDK attemting to run it. In your case your DC was built targeting only JDK 1.5, but the Portal server JDK might be 1.4 or different then JDK 1.5.
    You can check the JDK version of the server and if its other than JDK 1.5 then installed the same version on your machine to compile the code.
    Hope this will resolve your problem.
    Regards,
    Nikhil

  • Development Component libraries not being recognized in Portal

    Hi everyone,
    I've been having a problem regarding a Background Execution Callable Object.
    At first, when I added External Libraries to the Java Build Path of the Development Component, these libraries would dissappear upon build time. The solution to this was to create another DC type External Library and add the libraries there. Afterwards, these libraries would form part the DC's Public Part and these would be incorporated in the Used DC's section of the first component (marking Design Time and Build Time when it was added). This enabled me to build and deploy the DC successfully.
    Once inside the Portal, I tried creating a new Background Execution Callable Object and once I entered the class' name, I would get the following error message:
    Cannot check if class exists: Unable to load the required classes.
    I had already created a CO pointing to this reference and when I test it, I get the following error message:
    java.lang.NoClassDefFoundError: com/cts/speed/exception/DatabaseException
    This leads me to the conclusion that the external libraries used aren't being recognized by the portal at runtime.
    I would appreciate any suggestions as to how I can solve this issue.
    Thank you very much,
    Luis

    Successful compilation or building in the eclipse/NWDS does not mean that it can be successfully deployed on the portal. If the Java build path has all the required jars, any project compiles and builts fine but that build path is not transported to the portal( see inside any par file, there won't be any .classpath and .project files. They are local only files).
    ========
       Add all your third party jar files to the component in this path( ..\dist\PORTAL-INF\lib). There is no need to add mail.jar as it's already available in sap j2ee engine. So add these lines to the portalapp.xml. (as told by jagdeep)
    <application-config>
    <property name="PrivateSharingReference" value="SAPJ2EE::library:mail"/>
    </application-config>
    Regs,
    Bobby

  • Development component for UME usage in WebDynpro

    Hi,
    We develop several WebDynpros using the UserMappingService. Those WebDynpros are checked into the NWDI. Local builds are fine since we copied the relevant jar files into the project and referenced them in the classpath.
    Builds in the NWDI fail because there the jar files for UME (com.sap.portal.usermapping.jar, com.sap.portal.usermappingapi.jar) are missing. Is there a development component we can reference so that the build infrastructure is able to find the jar files when trying to build the project?
    Or am i supposed to put those jars into a library development component? This would us make prone to changes in the API since we keep our servers and developer machines at the same SPS.
    kind regards
         Dirk
    PS: we use EP 6 SPS 18 and NWDS 2.0.18 for development and production.

    Hi,
    If u r using DC for ur development then the jar file should not be added in the build path because it will be removed at build time.
    For adding ur libraries u should be using an external library component. Expose this library file as public part. This is only a buildable component.
    For deploying this library in the server u should create a new J2EE library component and in this used DC add the exposed public part. Deploy this application.
    Finally in the Main component used DC add the External library component and in the references of ur project give the j2ee library component.
    For reference see valery's blog
    <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro External Jars in DC</a>
    - Hope it helps,
    Nagarajan.

  • Development Component Dependency in CM Service

    Dear All..
    We are using CM Service to tr transport Web Dynpro Java object into our target system.
    But we are suffering from the DC(Development Component) Dependency.
    Let me explain the situaiton in the below.
    <The First>
    Like the ERP ABAP System, we can develop and change DC which is referenced by another DC.
    One developer developed A DC and another developer developed B DC.
    B DC is referenced by A DC in Model view in the NWDS(Netweaver Development Studio).
    In this situation if A DC should be transported to our production system,
    we have to check-in and activate and release activity.
    By releasing A DC,the B DC is packed in a DIP(Development Infrastructure Package) file together because of
    dependency between A DC and B DC.
    Is it right?
    If it is right,what should I do if the B DC have a some problem and if I don't want to transport it.
    Of course If the developer which develops B DC does not activate after check-In,
    the B DC which have a problem in that time is not packed in a DIP file.
    But the developer which devlops B DC also have to test and activate to transport into our QAS system before deploying
    into our production system.
    This is the our first problem.
    <The Second>
    So far as I know the deployment process is composed of like this.
    Stop Applicaiton -> lock application -> deploy -> Start Application.
    Is it right?
    I found out that the time for locking application depends on the applicaiton dependency.
    For example If we deploy some application having much dependency with other application,the system first try to stop whole
    related applicaiton and then deploy and start application again.
    I think this kind of situation is natural.
    Unfortunately our some application is referenced by all applicaiton(For example the application which is used by other applicaiton commonly).
    So If we change this common application and deploy,our whole applicaiton is stopped and started again.
    In this situation are there any useful deployment method or development method(minimization of application dependency) to prevent
    customer affection when we deploy web dynpro application?
    Regards...

    Thanks for your reply.
    DIP is a unit which we can transport our DC(Development Component) into our production system using CTS+.
    You can find more detail information in the document.
    "How To... Configure CM Services in SAP NetWeaver 7.3 and up"
    Also regarding second question,as I said already it is natual but I'm just searching for the best reference to deploy webdyn  object which have a many dependency.
    For example,manually stopping before we deploy.
    Regards...

  • J2EE Development Component - How to change vendor name

    Hi,
    While creating a  new J2EE Development Component, I didn't change vendor name and have created complete application,
    Now I want to update vendor name, can you please help me out how vendor name can be changed in existing application.
    Thanks

    I have not tried it myself, however:
    Try updating the references in your application-j2ee-engine.xml.
    You may need to rename your project as well.
    Good luck, Roelof

  • Generating Reports after Updates are Deployed

    I've recently set up SCCM 2012 R2 in our environment and I'm having some trouble getting a handle on when updates are being deployed to different groups.  What I would *like* to do is have the system generate a report (or at least an alert) and email
    me whenever updates are being pushed out.  I can't believe that in a system as comprehensive as SCCM there is no capability for this, but I just can't seem to find it anywhere.  
    Internet searching has produced lots of guides showing how to enable alerts in general (already done) and how to get alerts when deployments fall below a certain percentage of success.  But at this point I really just need to get to know exactly what
    is happening in my environment and when, so I'd love to get tons of alerts if possible as things are happening.
    Apologies if this question has been asked already.  I wasn't able to find it anywhere in these forums.

    If that's the case, then what is the generally accepted method of keeping track of what updates are deployed via ADR's?  For example user X calls up reporting that his laptop is requesting a reboot after updates have been installed.  This is currently
    my only notification that SCCM has pushed out updates.  It would be preferable if perhaps a report was generated when an update group was updated and the system began deploying them to clients.
    Alternatively, is there a report of some kind that would show the last updates added to a Software Update Group?  If so perhaps I could schedule that report to run on a regular basis.  That would at least give me a bit of a head's up that updates
    are going out to clients.

Maybe you are looking for

  • Loop Where The row type of the table must be statically definied

    Hi Experts, Actually i am working on dynamically generated the funtion module. It has four input parametrs.. IT_TAB_REFERENCE - Table reference, IS_STR_REFERENCE is Structure Reference and two more fields are input fields.. one contains employee refe

  • InDesign 2014cc not responding

    I just purchased and installed InDesign 2014cc. So far I've used Photoshop with no problems however I am experiencing a real problem with InDesign It all began trying to open a document I built in InDesign CS6. When I double clicked the document it a

  • Printer for Terminal Services / Thin Clients

    Hi, Just checking on what multifunction printer you would suggest for use with a Terminal Services environment? We only require the printer to go through TS. The other features will be used locally (photo copy/fax). I am looking at the CM2320, a good

  • 9.0.3.3 - Synchronize does not remove colum

    Using JDEV 9.0.3.3. A database foreign key colum (oracle 9i DB) was removed. I tried to use the synchronize option on the package but it didn't drop the column (wasn't an option). So I started trying to remove it by hand. First I deleted the view lin

  • What's the best way to share photos?

    Now that MobileMe Gallery is gone, what's the best way to share photos over the internet? Is there some simple method where I can upload an entire album from iPhoto and then send a link to others so they can view them? I've tried both Flickr and Shut