Development Component (DC) Structuring Issue

Hello,
Following is the scenario where I am facing the problem :
I have J2EE LIB DC which contains JAVA DC--Lets call this DC as LibDC
I have two EP DC--Lets call these dc's as epDC1 and epDC2
I have EAR (EJB) DC..where I am using Message Driven Bean (MDB) --that is subscribed to Topic inorder to read the messages...Lets call this DC as earDC.
LibDC contains the classes that are shared by all the DC's (epDC1,epDC1,earDC) and JMS client is also the part of this DC (LibDC).
Now epDC1 trigger the JMS by calling the method sitting in LibDC..which in turn publish the message to topic and MDB consume the message and do the remaining business process.
Whole scenario works perfect when I deploy all the DC's...but the problem is.. When ever I make changes to epDC1 and deploy it..it won't work and throws the exception as CLASSCASTEXCEPTION or NOCLASSDEFFOUNDERROR...But If I deploy all the DC's than I dont see any problem..
Every time If I deploy any DC that is using LibDC than I am getting the exception...but If I redeploy all the DC's than I dont have any issues.
Please let me know how to resolve this issue.
Thanks
Edited by: hammad khan on Oct 31, 2008 11:57 PM

Hi,
     These errors occurs due to inconsistencies and DC not in sync. check the service packs and versions numbers of the SCA files your are importing. Also import the dependencies into your track.
Regards,
Anil.

Similar Messages

  • 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

  • Developing using EAR structure gives redeploy/classpath issues

    I am very keen to get people's opinions and methods of developing and packaging
    EARs/WARs/EJBs under WL6.1 sp2.
    What method do you use and what problems do you get...
    We have recently migrated to WL6.1 sp2, and looked forward to using the Enterprise
    Applications Archive expanded structure to deploy and develop under. However I
    have come across a few fundamental problems that seem to make development in this
    structure worthless.
    It seems it's easier just have all the expanded classes paths on the Java Classpath
    and just restart the server after a individual class file recompile ?
    Problems :-
    - With an expanded EAR structure, I believe you can only redeploy the WHOLE EAR
    (by touching the REDEPLOY file), not an individual ejb jar or just the WAR part.
    I have tried putting a REDEPLOY file in the WAR \WEB-INF\ directory, as recommended,
    but I think this only works outside of the EAR structure. If you use the Console
    to just undeploy an redeploy the Web App, it redeploys the whole EAR. So this
    leaves us having to undeploy everything to test out a change.
    - The classloaders hierarchy available with an EAR structure seems ideal at first,
    e.g. the Web App can see all EJB jar classes. We have our EJB jars containing
    the beans and just the DEPENDANT classes (often these are abstract types), this
    keeps the jars lean and avoids duplicated classes across ejb jars. But this leaves
    some classes which are not in any EJB jar at all (often subclasses or implementations
    of these abstract types), however the Web App still needs them. It is difficult
    to isolate these individual classes. So for now we have two solutions which don't
    seem quite right :-
    Make one of the EJB.jars contain ALL the Server side classes, not just dependant
    classes. Or make a full jar of ALL server side classes and add this jar to the
    Web Apps \META-INF\manifest Class-Path like you would do with an EJB jar.
    Is there a way to have a non-EJB jar at the EJB classloader level ? This would
    solve this and allow Web Apps to see other non-ejb jars.
    How do you guys works and avoid the problems we've hit ?

    Pete <[email protected]> wrote:
    Is there a way to have a non-EJB jar at the EJB classloader level ? Sure, just add it to the Class-Path: manifest entry in your ejb.jar.
    Dimitri

  • 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

  • Importing Development Component - Webdynpro and Guided Procedures

    Hi All,
    I created a development component project of type  "Webdynpro". I created callable Object in guided procedures and the Process is working fine. I want to import the same project into another Nwds (another workspace).
    I tried the following steps.
    1. File - import - Multiple Existing project into workspace.
    2. Imported the DC.
    I have already added all the Gp jarfiles. But after importing, and rebuilding the project, it gives me only webdynpro and components,views.. It is not showing me as a normal webdynpro project. It is not showing me the GP Api's, the "USED DC's". which i created in the other project.
    When i am creating a new project, it is working fine.Can anyone please help me in resolving this issue? How can i import a DC (gp) into webdynpro?
    Thanx and Regards,
    Divya

    Hi,
    Take a look at this [thread|/thread/119966 [original link is broken];
    Dick.

  • 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

  • Software Component does not support selected Development Component Type...

    Hi,
    I have a problem, i want create a new project of Mobile Service Component, but, when i want select MyComponents [demo.sap.com], in the top appear:
    "Software Component does not support selected Development Component Type. Required DCs are located in an SC that is not visible from the selected SC "
    Why?
    Thanks in advance,
    Regards,

    Hi Victor,
    the issue is that the archive pool in your NWDS is not set up properly. Could you check the configuration of the development configuration? I guess you are developing in Local Development, right? Please check in the "Component Browser" that the two Software Components "NWMCLIENT" and "XOCA" are present and contain some DCs inside them. If this is not true, than something went wrong with your setup of the IDE. The modifications of the default.confdef are most likely not right.
    Please come back to me if you don´t know how to proceed.
    Regards,
    Stefan

  • Import/Export Local Development Component

    Hello,
    we developed a Portal service that we want to expose as Webservice.
    According to
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/cb213e578c0262e10000000a11466f/frameset.htm we created a local DC in our NWDS containing our
    Portal Service. We also generated the Webservice.
    We have have SAP NETWEAVER 7.0 (SP10) and no NWDI.
    Now we want to export the whole local DC project from our NWDS to the
    NWDS of a colleague.
    How can we do this? There is no "Local Development Component Export
    option" in our NWDS neither any "Import" possibility.
    Does anyone know something about that?
    Kind regards,
    Torsten Hoffmann

    Hi Torsten,
    1) Close NWDs.
    2) Take project of your colleague, delete .project & . classpath files, copy it in your ../Local Development/ ... folder (you should have the same folder structure as your colleague).
    3) Then edit your .syncdb file and add entry for this project (copy it from the file of your colleague).
    4) Launch NWDS.
    I've made such thing a lots of time and it works for sure.
    Regards,
    Andrei

  • Copying a project into development component project

    hiii,
    I have a webdynpro project called DP_OrderEntry developed in NWDS 7.0.9. I need to copy it into development component dc_OrderEntry in NWDS 7.0.14.
    Can anyone tellme the steps for doing it?
    Can any error can crop up due to the difference in the versions?
    Regards,
    parama laha.

    hii,
    the project is imported but I am getting an error:
    Error               The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.security.api.IUser. Fix the classpath then try rebuilding this project.     LocalDevelopmentdc_oentrlntinfotech.com
    Is this because the project i copied from was on NWDS 7.0.9 and currently this project is on NWDS 7.0.14 ??
    I have already done 'repair project structure and classpath'
    How to eradicate dis error??

  • Aborted : development component "tc/webadministrator/abapco

    hi
    while deploying through SDM i getting the following error
    starting deployment of tc/webadministrator/abapco
    Aborted : development component "tc/webadministrator/abapco '/sap.com/SAP AG'/'7.0010.200.61020144811.0000 '/0':
    Caught exceptionduringduring application deployment from SAP J2EE engine's deploy service:
    java.rmiRemoteException:cannot deploy sap.com/tcwebadministratorabapco ..
    Reason: error while compiling:
    Compilation process error :java.io.IOException:cannot allocate memory nested exception is  com.sap.engine.services.ejb.exceptions.deployment.EJBfileGenerationException:error while compiling: compilation process ava.io.IOException:cannot allocate memory
    thks&rgds
    George Varghese

    Hi George,
    I'm facing the same issue. Could you find a solution for this ?
    Thanks
    Frank

  • Error while creating the development component project

    Hello
    i tried to create development component project through NWDS which is expected to be used as CallableObject but it gave following exception
    Plugin name: Web Dynpro Archive Builder
    Plugin ID: com.sap.ide.webdynpro.archivebuilder
    Class: com.sap.ide.webdynpro.archivebuilder.project.WebDynproDevelopmentComponentProjectWizard
    Method: createProject(String, IPath, IProgressMonitor)
    Message: Invalid project description.
    Exception: org.eclipse.core.internal.resources.ResourceException: Invalid project description in plugin name
    I am using NWDS 7 version and using J2EE engine of NetWeaver 2004s server.
    Thanks in advance.
    Regards
    Rajeev

    Hi
    sorry for that
    see the below link ,it will be helpful for u.
    Re: development component
    Regards
    Hazrath

  • Web service in Web Dynpro development Component

    Hi All,
    I have created a web service in SAP GUI and I have saved the WSDL file on my local PC.
    Now when I create a web service model in a simple web dynpro project it works perfectly.
    But when I do the same in a web dynpro development component; as soon as the web service model instance is associated with the activity in the DTR my application get hanged. I have to quit my NWDS. When I reopen NWDS my application shows following errors:
    <i>Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>XMLTokenWriter cannot be resolved</b> (or is not a valid type) for the argument writer of the method serialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 57
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>typeRegistry cannot be resolved or is not a field</b>     Z_WS_GETEMPINFO_FULLSoapBindingStub.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies     line 29
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>transportBinding cannot be resolved or is not a field</b>     Z_WS_GETEMPINFO_FULLSoapBindingStub.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies     line 22
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>SOAPSerializationContext cannot be resolved</b> (or is not a valid type) for the argument context of the method serialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 50
    Kind     Status     Priority     Description     Resource     In Folder     Location
    Error               <b>SOAPDeserializationContext cannot be resolved</b> (or is not a valid type) for the argument context of the method deserialize     Char1.java     JD2_ADBESP6_Dtestwebservicesap.com/src/packages/com/adobe/mo_web1/proxies/types     line 26</i>
    Regards
    sid

    Hi Sidharth,
    Which version of NWDS you are using. I was facing the same problem with SP16 sometime back.
    I did find a workaround to do that. See, whenever you will create the WS Model in Web Dynpro DC, it will ask you to add some file in DTR..right!!........ do one thing press "Cancel" or "No" there. Then studio will ask one more time to add the files, in different dialog box though. Add the files from the second dialog box rather than the first one.
    Regards,
    Mausam

  • Error while building development component project

    Hi all,
    I have created one webdynpro application in which i am importing javabean model using jars in my build path.I am able to execute that application successfully but when i try to import that application in a new development component project, i am getting errors in my bean class (IPrivateBeanclassname) for some getter setter methods saying the method is not defined....
    I have put the same jar in its build path also.
    Can somebody please help...
    Thanks,
    Mayuri

    Hi,
    I am importing the application as follows:
    1) I have developed a web dynpro project. This project has a jar file for getting the java classes. The web dynpro application works fine.
    2) I imported this application into a Development Component Project. Here it fails to recognize the jar file that is required. Even if I put the jar file in its build path, while building, the jar file gets removed.It says java build path errors.
    Please help!
    Thanks,
    Mayuri

  • Need suggestion on Develop the Hierarchical Structure OAF page--priority

    Hi experts,
    i need to develop the hierarchical structure of OAF page, for this devlopment i need suggestions from you side.
    please find below diagram how to develop the OAF page.
    CEO
    |
    vice president vice president
    | |
    managers managers managers managers
    | | | |
    developer develoer developer developer developer
    Like that i need to develop the OAF page please give me some inputs. Is it feasible in OAF.

    CEO
    |
    vicepresident vicepresident
    |
    manager manager manager manager manager
    | | | | |
    develper developer developer developer

  • BPM process and BRM rules process in same development component in NWDS

    Hi All,
    Is it possible to create the BPM process and BRM rules process in the same development component in NWDS?
    I tried but whenever we create it,say,first ly for BPM,that is File-New-Project-Development Component-Process Composer
    While once this development component is created I try to create rules composer in the same composer by right clicking on local development component as well as process composer but ther is no option of creating /calling rules composer/rules modeling.
    Can you please guide me creating both BPM process and BRM rules composer/rules modeling in the same development component if its possible?
    Thanks in advance

    Open your project explorer and expand the BPM project you have created. Locate a folder named "Rules" in the Project Tree. Right-click on the Rules folder and select 'Create new rule'. You can model your rules such as rule-scripts here and use it in the BPM.
    Note: These rules cannot be used outside the BPM Project.

Maybe you are looking for

  • Blank screen after bios update

    Hi everybody! My friend asked me to take a look at her computer. It was quite old HP pavilion 6525en. Before reinstalling windows I checked that she got first version of bios and decided to upgrade it. Sadly, after reboot I found myself in deep probl

  • Formatting function for columns which store japanese characters

    I have a table which stores names in all languages.I have a SQL Report.When the names are in English the formatting is good.But when the names are in Japanese.The formatting is going wrong. A part of SQL report is as follows COLUMN emp_name formata20

  • ORA-1401: inserted value too large for column

    Some versions (of Oracle 9i) insert a truncated string, newer versions (9.2.0.6.5) issue an error message and don’t insert anything. ORA-1401: inserted value too large for column We are aware of a 2000-character limit on literal strings (might be a

  • Why does a participant's name who isn't in the meeting appear in the attendee list when entering a token ID code?

    Working with a customer in one of their meeting rooms.  When they dial in and then enter the *65*____# command, a name will appear in the attendee list that is not in the meeting or even signed in.  It's okay when the token ID code is entered a few t

  • Create Mass Partner Function (PI) in Vendor

    Hi Guys, Please let me know how to create Partner function (PI) to vendors in Mass Maintenance (XK99). When I'm creating manually (XK02) its allowing, but in XK99 Vendor Data records to be created I'm getting an error "Field PARZA doesn't have a fore