External library DC vs J2EE Server Component - Library DC

Hi all,
I have been developing where I used jars through the public part of an external library DC and it worked fine, but I'm wondering:
What is actually the difference between a external library DC and a J2EE Server Component - Library DC  ?
When do i use the external library DC and when do i use the J2EE library DC?
Kind regards,
J.

Hello Mark,
I tried what you said in the following scenario:
I created Proxy classes for Enterprise Connector for a BAPI from a backend system.
Those classes where put in a jar. That jar is put in a external library DC with an assembly public part and a compilation public part.
From that i tried two method:
Method 1: i referenced the public parts (assembly and compilation) from external library DC in my web dynpro DC and it worked fine.
Method 2: I referenced the public parts (assembly and compilation) in a J2EE library DC ( for compilation: build time ; for assembly: build time and runtime with strong). In my Web Dynpro DC i referenced the compilation public part from my external library. And in the properties of my web dynpro project i added the reference to my j2ee library (that was also deployed; i can see it in my visual administrator). When running my application, i get the following error:
<i>java.lang.NoClassDefFoundError: com/sap/aii/proxy/framework/core/AbstractProxy -
Loader Info -
ClassLoader name: [gtsc.jnj.com/testapptestwdp] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/cafeugpapiwd sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:tcwdwslib library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:cafeugpapi library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:gtsc.jnj.comjcrauweltestr3proxieslibrary library:com.sap.aii.util.misc library:tccmi Resources: C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\src.zip C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\commons-collections-2.1.1.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\cglib-2.1.3.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\asm-attrs.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\gtsc.jnj.comtestapptestwdp.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\dom4j-1.6.1.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\hibernate3.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\commons-logging-1.0.4.jar C:\usr\sap\NDW\JC01\j2ee\cluster\server0\apps\gtsc.jnj.com\testapptestwdp\webdynpro\public\lib\asm.jar Loading model: {parent,references,local} -
The error occurred while trying to load "com.jnj.gtsc.im.jcrauwel.proxies.MyR3Proxies_PortType".</i>
Any idea what i'm doing wrong?
Kind regards,
J.

Similar Messages

  • Is there a J2EE Server Component Library DC in 7.1?

    I'm creating an External Library DC to be accessed by an EAR Project using reference. I understand you need to place this DC into a J2EE Server Component Library DC to be able to be deployed. There is a choice for this DC on 7.0. Why there is none in 7.1? Am I missing something or there is a new way to accomplish this?

    No more J2EE Server Component Library DC in 7.1. Use EAR and reference using application not library.
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/c93bc6a24a4ebce10000000a11466f/frameset.htm

  • How to add a Jar file to J2EE Server Component Library ?

    Hello,
    My objective:
    =====================================================
    To add a 3rd party jar file to be a runtime jar file to J2EE Server Component
    Library project.
    I have created a J2EE Server Component Library project. 
    I have built the J2EE Server Component Library project to get the provider.xml file and place the provider.xml under the J2EE Server Component Library project's server folder.
    Here is my problem:
    =====================================================
    I can't open the provider.xml with SAP's special editor for the provider.xml.
    The special SAP editor doesn't exist for me.
    Here is my question:
    =====================================================
    Q1) Do I copy/paste my JAR_X file where <jar_0> is located? (Below is the
          J2EE Server Component Library SDA structure.)
    Q2) If you were to update the provider.xml with notepad, what would you
    type in provider.xml for JAR_X?
    Q3) Is there anything else that I need to do?
    Thanks,
    Steve
    J2EE Server Component Library SDA structure.
    ======================================
    |-META-INF_
    |         |-manifest.mf
    |         |-sap_manifest.mf
    |         |-SearchRules.xml
    |         |-<SDA>.xml
    |         |...
    |-<jar_0>
    |- ...
    |-<jar_N>
    |-dispatcher_
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files(2)>
    |           |-descriptors_
    |                        |-<descriptor_files(3)>
    |-server_____
    |           |-provider.xml
    |           |-properties
    |           |-runtime.properties
    |           |-persistent__
    |           |            |-<persistent_files>
    |           |-descriptors_
    |                        |-<descriptor_files>
    |-os_libs____
                |-<char set>__
                             |-<platform>__
                                          |-<jvm bitlength>__
                                                            |-<native lib files>

    Thank you for all your solution...
    my provider.xml was missing the <!DOCTYPE> tag for me to use the SAP LibraryDD Editor
    Thanks again,
    Steve
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
         <display-name>
          Your_Lib_Name
        </display-name>
         <component-name>
          Your_Lib_Name
        </component-name>
         <major-version>6</major-version>
         <minor-version>40</minor-version>
         <micro-version>0</micro-version>
         <provider-name>
          sap.com
        </provider-name>
         <references>
              <reference
                   provider-name="sap.com"
                   strength="weak"
                   type="library">Your_Lib_Name</reference>
         </references>
         <jars>
              <jar-name>my_jar.jar</jar-name>
         </jars>
    </provider-descriptor>

  • J2EE Server Component

    Hello,
    I found that in developer studio, one can create a project of type: J2EE Server Component. It is a kind of library. Once you create, you have to edit "server/provide.xml" and "sda-dd.xml" files.
    Could anyone tell me exactly what it is and is there any development documentation for this kind of project. What is the difference between this kind of project with J2EE Enterprise Application Project

    OK, I found the related document:
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm

  • Problem: J2EE Server Component Library's provider.xml error message

    Hello,
    I open the provider.xml fle. Then I click on the Jars tab and I get an error  message:
    The source page has errrors.  Other pages cannot be used until these errors are
    corrected.
    How can I correct the error(s) so that when I click on the Jars tab it will allow me add jar files?
    provider.xml content:
    ======================
    <?xml version="1.0" encoding="utf-8"?>
    <provider-descriptor>
      <display-name>Store jar files that need to be used at runtime</display-name>
      <component-name>global/lmco/runtime/j2ee/libs</component-name>
      <description/>
      <major-version>6</major-version>
      <minor-version>40</minor-version>
      <micro-version>0</micro-version>
      <provider-name>lmco.com</provider-name>
      <jars>
        <jar-name>
            commons-dbutils-1.0.jar
        </jar-name>
      </jars>
    </provider-descriptor>

    I have one provider.xml which has the dtd in it
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE provider-descriptor SYSTEM "library.provider.dtd">
    <provider-descriptor>
      <display-name>abclib</display-name>
      <component-name>abcLib</component-name>
      <description>
      </description>
      <major-version>6</major-version>
      <minor-version>1</minor-version>
      <micro-version>0</micro-version>
      <provider-name>com.company</provider-name>
      <group-name>
      </group-name>
      <references>
         <reference reference-type="hard">
         <reference-target provider-name="com.company" target-  type="library">xyzLib</reference-target>
    </reference>
    </references>
      <jars>
        <jar-name>aspectjrt.jar</jar-name>
        <jar-name>axiom-api-1.2.5.jar</jar-name>
        <jar-name>axiom-impl-1.2.5.jar</jar-name>
        <jar-name>nux.jar</jar-name>
        <jar-name>stax.jar</jar-name>
        <jar-name>xom.jar</jar-name>
      </jars>
    </provider-descriptor>
    check for the DOCTYPE declaration
    Regards
    Fariha

  • J2ee-Server-Component library and Buildpath

    Hi,
    I have a J2ee-Servercomponent - Project in the NW Dev. Studio to build and deploy a library for the J2EE WEBAs 6.4.
    During buildtime this Library requires certain external JAR's to be build. But every time when I change something in the provider.xml for example the buildpath gets reset and I have to add all the external JAR's again if I want to build the library component again.
    I'm NOT using a DC and I'm not using the DTR or NWDI.
    Any ideas how to fix this ?
    Thanks in advance,
    Frank

    Hi
    What is  the version of NWDS ?
    One issue could be the jar files which u have used has been publish as file , if u r using CE version so make it publish as archive
    For further assistance please refer this [thread|Problem with JavaBean-Model on Web DynPro for Java;
    Best Regards
    Satish Kumar

  • How to refer to J2EE library server component from a web service?

    Hi,
    I need help!  I created a web service and it worked fine.  However, I started having problems when I tried to use java classes from my deployable J2EE library server component.  I got the NoClassDefFound error.
    I tried to include the library DC in the Used DC list and put the reference of it in the web service deployment descriptor xml (application.xml and application-j2ee-engine.xml), but it did not work.
    How do I refer and use java classes from my deployable J2EE library at run time from my web service application?  What should I do?
    Thanks,
    Giavinh Pham

    I would like to clarify more about the web service project.  I created a Java DC project and converted it into a web service as the SAP manual instructions.  It worked fine by itself, but I now want to use some of my classes that I deployed as a J2EE library server component. 
    It was compiled and built when I refer to my J2EE library server component DC in the UsedDC.  It was deployed fine as well.  However, it broke when I tested the web service calls.  The class declarations and usage from the J2EE server component could not be found (NoClassDefFound error.) 
    I thought it was because I did not have an application-j2ee-engine.xml in my META-INF folder so I created one and referred to the library in xml as type library and reference 'strong'.  I built and deployed again.  It still did not work. 
    I examined the EAR and noticed that there were two parts of the EAR.  One is the WSAR archive file that contains the META-INF folder from my project and other web service assemblies.  The other part is the META-INF folder generated by the SAP NetWeaver IDE. 
    The strange thing was that SAP NetWeaver IDE generated an application-j2ee-engine.xml without any reference to my J2EE library server component.  However, the nested application-j2ee-engine.xml in the WSAR archive file did contain the info. 
    Since I cannot control the application-j2ee-engine.xml generated by SAP NetWeaver IDE, what should I do?  Is it the cause for my problem?
    Please advice, anyone?
    Giavinh

  • Java DC wrapped in J2EE Server Comp Library DC

    Hi Experts
    I have jxl.jar file, I imported this jar file in a Java DC and declared jxl.jar as public part. I created a Webdynpro DC and used the public part in it. I have created an application, component and a view in it using some classes of jxl.jar. I created a new J2EE Server Component Library DC and used the public part of jxl.jar in it again. Built the J2EE Server Component Library DC. Once done I got a .sda file. I deployed it in server. Once this is done, I have added the J2EE Server Component Library DC in my Webdynpro DC's Library Reference. Once I added this, i built it and deployed it. I got deployment finished with Warnings. Please see the exception below and Please advice.
    Exception from NWDS Deployment Screen
    "java.rmi.RemoteException: Error occurred while starting application wrigley.com/signauth/ui and wait. Reason: Clusterwide exception: server ID 6840450:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application wrigley.com/signauthui for startup. Reason=Clusterwide exception: Failed to start dependent library ''signauth/libraryimpl'' of application ''wrigley.com/signauthui''. Status of dependent component:  STATUS_MISSING. Hint: Is the component deployed correctly on the engine?"
    Names of the DCs used
    Webdynpro DC - signauth/ui
    J2EE Server Component DC - signauth/libraryimpl
    Java External Library DC - signauth/library
    FYI. I have created J2EE Server Component DC's name with more number of characters. Hope this shouldn't create issue. If this is also an issue, please let me know. I will reduce it and try.
    Thank you
    Best Regards
    Ramamoorthy D

    Hi Experts
    Kindly help me out in getting a solution for this problem.
    Thank you.
    Best Regards
    Ramamoorthy D

  • How to use external library in EAR deployed onto J2EE engine

    For certain reasons some classes in .jar file in operation system level should be used in the EAR project I've deployed onto J2EE Engine.
    Can some one tell me what steps I should perform to acheive this?

    hey there,
    Think im already late for this... but it may be useful to someone who reads this forum later.
    I am struggling with exactly the same problem for the past more than 24
    odd hours now. The sad part - Im sure I have seen this being done in a
    matter of a few minutes when my team mate had an older version on NWDS.
    (I am currently using SP16 NWDS). May be this indeed is a bug that SAP
    needs to fix in its SP16 NWDS release.
    I need to use the HSSF POI libraries for my webdynpro components and
    have been trying ALL possible options given out here on SDN. To mention a
    few, I have tried -
    1) Jarrod's method of making a Java DC and then declaring a usage
    dependency for it inside a J2EE Server (library) DC. It didnt work... it
    gave me a warning that an illegal reference has been made to the runtime
    public part. And the final SDA file generated in the J2EE server
    component DC DIDNOT contain the jar files that I had added to the public part
    of the Java DC. On investigating further, I found that there were NO
    entities present in BOTH the public parts of the Java DC, even though the
    folder actually contained all the required .jar files.
    2) Creating an External Library DC, adding the JAR files to the
    'libraries' folder. Creating two public parts, one for assembly and the second
    for compilation. Then adding this DC as a 'Used DC' into a J2EE Server
    (library) DC. Yet, the .sda file that is created on building the J2ee
    Server (library) DC DOESNOT contain the JAR files.
    3) Creating an external library DC, adding the JAR files to the
    'libraries' folder. Creating two public parts, one for assembly and the second
    for compilation. Then adding this DC as a 'Used  DC' into a webdynpro
    DC. On building this webdynpro DC, the .ear file DOESNOT contain the JAR
    files.
    4) Directly adding the JAR files to my own webdynpro component in the
    'src/packages' folder. This didnt work because on rebuilding the
    project, the JAR files get deleted on their own.
    5) Renaming my .JAR files to .ZIP, extracting the entire package
    structure into folders, copy pasting this entire folder structure along with
    its .class files into the src/packages folder. On rebuilding, the NWDS
    deletes these folders and files on its own / behaves erratically. Also
    copy pasted these .class files along with the proper package structure
    into the '/bin' directory of my webdynpro application, but it still
    didnt work.
    The only thing that I have to try yet is to shift to SP10 of NWDS,
    build this external library project and get the required JAR files put on
    the wendynpro server. After that I might choose to get back onto the
    SP16 version and hopefully continue productive work... !
    Regards,
    Navneet.

  • How to use a jar from a external library DC Project?

    I followed the steps of how to create DC, External Library Project, which contains the jar I want.
    I understood that this type of project can't be deployed so I build and deployed other DC Project from the type J2EE server component Library and added it to it's public part. What do I do next, to actually use the jar and it's imports?
    Thank you,
    Meytal.

    Hi,
    Check this:
    Making a JAR file publicly available
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]

  • Using External Library in a DC problem (SP16)

    Hi,
    I've been trying to get the example that Valery is outlining in his <a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro">Blog</a>.
    I've done it exactly as Valery says, but I can't get it to work. I create the External Library DC, add the jar to Public Part (purpose Assembly) and build. Builds ok.
    I then proceed to creating the J2EE Library. It is created ok. I then add the External Lib I just created to Used DCs. This goes ok. I build the DC. There are warnings:
    Warning: Warning: Source folder does not exist, will be ignored: server
    Plugin initialized in 0.03 seconds
    Warning: No runtime information available for development component type External Library (sap.com), cannot validate runtime dependency.
    And:
    createDeployArchive:
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\sdaprep
           [cda] Creating descriptor server/provider.xml ...
           [cda] WARNING: Ignoring invalid runtime dependency on js/jars (orion.com), type External Library
    I've tried nearly every combination of Dependency Types When adding the used DC to J2EE DC. The jar never ends up in the SDA file in gen\default\deploy or jar in gen\default\public. I only get different types of warnings.
    Here is the whole build.log:
    Apr 7, 2006 8:48:00 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] WARNING: js/lib: built with warnings orion.com/js/lib(MyComponents) in variant "default" (0.753 sec) :
    Build log -
    Development Component Build (2006-04-07 08:48:00)
      Component name: js/lib
      Component vendor: orion.com
      SC compartment: MyComponents
      Configuration: LocalDevelopment
      Location: local
      Source code location: jarpak@UFIES-JARPAK
      DC root folder: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\
      DC type: J2EE Server Component
      DC subtype: Library
      Host: UFIES-JARPAK
    DC Model check:
              [dcmake] All used DCs are available locally
              [dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/addLib"
              [dcmake] validating dependency to  public part "Tokenizer" of DC "orion.com/js/jars"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/addLib
              [dcmake] starting build plugin from : C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\
    Build Plugin 'J2EE Library', Version 6.40 SP 16 (630_VAL_REL, built on 2006-02-13 00:17:07 CET)
       development component:  js/lib (orion.com)
          software component:  MyComponents (demo.sap.com)
                    location:  local
                        type:  J2EE Server Component, subtype Library
               build variant:  default
             source location:  jarpak@UFIES-JARPAK
           plugin start time:  2006-04-07 08:48:00 GMT+02:00 (EEST)
                     Java VM:  Java HotSpot(TM) Client VM, 1.4.2_03-b02 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Warning: Warning: Source folder does not exist, will be ignored: server
    Plugin initialized in 0.03 seconds
    Warning: No runtime information available for development component type External Library (sap.com), cannot validate runtime dependency.
    Preparing data context..
    No 'default' JDK defined, will use running VM.
    Data context prepared in 0 seconds
    Executing macro file..
      Using macro file:     C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.tc.ap\comp\SAP_BUILDT\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\macros\build.vm
      Creating output file: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\logs\build.xml
    Macro file executed in 0.482 seconds
    Starting Ant..
      Using build file:     C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\logs\build.xml
      Using build target:   build
      Generation folder:    C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426
      Using Ant version:    1.5.4
    prepare:
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\deploy
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\int-pp
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\sda
    compile:
    createPublicParts:
    createDeployArchive:
         [mkdir] Created dir: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\t\C2CEFADCC9470A9F87865E9894AAE426\sdaprep
           [cda] Creating descriptor server/provider.xml ...
           [cda] WARNING: Ignoring invalid runtime dependency on js/jars (orion.com), type External Library
    packDeployArchive:
    [srcpacker] Creating source archive
    [srcpacker] No sources available for packing, no archive will be created.
         [timer] Source archive creation finished in 0.02 seconds
        [jarsap] Info: JarSAP version 20041217.1600
        [jarsap] Info: JarSAPProcessing version 20060104.1634 / JarSL version 20060106.1831
        [jarsap] Property jarsap.info.dir is not set.
        [jarsap] Building: C:\Documents and Settings\jarpak\.dtc\LocalDevelopment\DCs\orion.com\js\lib\_comp\gen\default\deploy\orion.comjslib.sda with compression
         [timer] JarSAP finished in 0.03 seconds
    build:
    Ant runtime 0.161 seconds
    Ant build finished with WARNINGS
    Build plugin finished at 2006-04-07 08:48:00 GMT+02:00 (EEST)
    Total build plugin runtime: 0.693 seconds
    Build finished with WARNING
    What am I doing wrong ?
    Kind Regards,
    Jari Pakarinen

    Hi,
    There is an issue with SP16 in using External library DC.
    Go through this Jars not included in J2EE Library DC SDA. This thread deals with the same issue.
    Hope this helps.
    Regards,
    Rathna.

  • MDM External Library - NoClassDefFoundException during Runtime

    HI,
    I have the following environments.
    - SAP Portal 7.01 SP5
    - SAP MDM 7.1 SP3
    - SAP NWDS 7.01.05
    --> I created a Development Component of Type "External Library" and add all MDM Jars in library folder, created Public Parts for Compilation & Assembly with both Build Time & Run Time.
    --> Created a new Development Component of Type J2EE Server Component (Library) and add the above two Public Parts as used DCs with only Build Time. Deployed this project in Portal Server (I can see the MDM Jars files when i view the project in Visual Administrator)
    --> Created a new Development Component of Type WEBDYNPRO, and add the above J2EE Server Component DC as a Used DC with Build Time only. Add an entry under Library References for the above J2EE DC. Build the project and deployed in Portal. When i run the project, i get "NoClassDefFoundException".
    Could any one please help me? Your help is really appreciated.
    Thanks
    Vijay Budati

    Hi Vijay,
    You don't need to package the MDM APIs into an external library because they are already in a library ready for deployment to the Java engine.  Deploy the MDM SDA files that come with the download and you just need to reference them in your web dynpro application.  You will also need a library that doesn't get deployed that you will reference only at build time so NWDS knows how to build your web dynpro application.
    Right click on your web dynpro project and choose properties.  Under the Web Dynpro References section choose the Library Reverences tab and add com.sap.mdm.tech.mdm4j
    Then create a library DC and add the MDM jars to it and expose public parts just for building another component, no need to deploy this piece.  You will reference this library in the used DCs of your web dynpro project.  Now your web dynpro knows where to get the jars at both build time and runtime.
    Hope this helps,
    Greg

  • Deployable External Library in NetWeaver Developer Studio 7.01.06

    I'm using SAP NetWeaver Developer Studio Version: 7.01.06 Build id: 201001061835
    I need to make an External Library with some JARs inside. I've made an External Library component and I've created Assembly and Compilation public parts. After A LOT of attempts to make things work, I've resorted to using a custom build script to copy the JAR in the public part output folders. I've added the Compilation public part dependency in my Web Dynpro's Used DC list.
    The Web Dynpro builds without errors.
    Now the problem is that when I run the Web Dynpro application it gives me a ClassNotFound Error.
    I've followed the instructions of many different guides and no one worked. I've found thousands of different procedures all to make the same thing and all of them differed in crucial parts. I'm stuck here with no ideas on how to make this ******* IDE to work.
    I've tried to create an J2EE Server Component Library to which I've added the Assembly public part of the External Library but the GEN folder of the public part directory of J2EE SCL is empty! I have NO application*.xml files inside the J2EE SCL to edit.
    If you're reading this and you're kind enough to help me, thank you.
    Remember I have version 7.01.06.
    Thank you again,
    Pietro

    Hi
    Just out of curiosity, is your project of type DC?
    If it is DC allow me to quote Mr Walter Kahn
    The solution using DC's is very simple.
    As a first step, undo all the stuff you have done up to now in this thread, including removing any build-time references, and deleting anything you entered in the application-xml files.  When you are back to a "clean" Web Dynpro DC, do the following:
    Step 1: Create an External Library Development Component
    1.1) Switch to Development Infrastructure perspective.
    1.2) Create a new dc of type External Library  (eg. mycompany.com/downloadexcel/lib)
    1.3) Switch to the Resource perspective when prompted and copy your JAR's to the libraries folder of the project.
    1.4) View the Component Properties (Window -> Show View -> Component Properties)
    1.5) Click the tab "Public Parts".
    1.6) Add two public parts, one for COMPILATION and one for ASSEMBLY.  Give them names likeexport_excel_comp and export_excel_asbly
    1.7) Right-click each public part, then click Manage Entities -> Archive  and select all the JAR's presented for selection.
    1.8) Click the Permissions tab, and check Entity Forwarding Allowed.
    Step 2: Create an Enterprise Application Development Component
    2.1) Switch to Development Infrastructure perspective.2.
    2.2) Create a new dc of type J2EE -> Enterprise Application (eg.mycompany.com/downloadexcel/ear)
    2.3) Switch to the JavaEE perspective when prompted.
    2.4) View the Component Properties (Window -> Show View -> Component Properties)
    2.5) Click the Dependencies tab, and add a dependency to the DC created in Step 1.  Do not change any of the default options.
    2.6) Click the Permissions tab, and check Entity Forwarding Allowed.
    2.7) Click the Public Parts tab and create a new Public Part of type COMPILATION.  Give it a name, eg. pp_export_excel
    2.8) Right-click this public part, choose Reference Entities and select the COMPILATION public part defined in step 1.6 above.
    2.9) Right-click this dc, and do Development Component -> Build.
    Step 3: Using the External Library in Your Web Dynpro Application
    3.1) Switch to Web Dynpro perspetive.
    3.2) View the Component Properties (Window -> Show View -> Component Properties)
    3.3) Highlight your Web Dypro dc, and then in the Component Properties window select theDependencies tab.
    3.4) Add a dependency to the dc created in Step 2.  Accept all default options.
    3.5) Build and deploy the Web Dynpro dc.  If you have not changed any of the default options along the way, you will notice that the EAR of Step 2 also gets deployed.
    Your Web Dypro dc should now compile correctly and also run on the server as expected.
    Quoted from here.
    You may also refer to my blog where I use external jars ....
    regards
    Yuval

  • External Library

    Hi:
    I followed the instructions of Rajit Srinivas to use external jar files.
    Re: Cannot build web component
    I am confused about how to do
      2)In project properties, create a Library reference for this J2EE DC (please see above messages).
    I tried to build and I got the following warning. I think I am missing the above step.
    WARNING: application-j2ee-engine.xml: No reference entry for runtime dependency on DC sap.com~crm/insight/poi_library
    see below for the entire logfile.
    Thanks in Advance!
    Development Component Build (2006-06-29 16:23:51)
      Component name: crm/insight/te
      Component vendor: sap.com
      SC compartment: insight.com_APPL_1
      Configuration: JDD_DEMO_D
      Location: JDD_DEMO_D
      Source code location: http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/DCs/sap.com/crm/insight/te/_comp/
      DC root folder: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\
      DC type: Web Dynpro
      Host: PHXAD0601
    DC Model check:
              [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 "compiletime" of DC "sap.com/crm/insight/poi_lib"
              [dcmake] validating dependency to  public part "defLib" of DC "sap.com/crm/insight/poi_library"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/webDynpro
              [dcmake] starting build plugin from : C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\
    Build Plugin 'WebDynproPlugin', Version 6.40 SP 16 (630_REL, built on 2006-04-06 00:59:52 CEST)
       development component:  crm/insight/te (sap.com)
          software component:  APPL (insight.com)
                    location:  JDD_DEMO_D
                        type:  Web Dynpro
               build variant:  default
             source location:  http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/
           plugin start time:  2006-06-29 16:23:51 GMT-07:00
                     Java VM:  Java HotSpot(TM) Client VM, 1.4.2_10-b02 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Plugin initialized in 0.172 seconds
    Preparing data context..
    No 'default' JDK defined, will use running VM.
    Data context prepared in 0.047 seconds
    Executing macro file..
      Using macro file:     C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm
      Creating output file: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\logs\build.xml
    Macro file executed in 0.563 seconds
    Starting Ant..
      Using build file:     C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\logs\build.xml
      Using build target:   build
      Generation folder:    C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315
      Using Ant version:    1.5.4
    prepare:
         [mkdir] Created dir: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\deploy
    compile:
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\src\packages
         [ddgen] [Info]    Property targetpath: C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gdd
         [ddgen] [Info]    Property archivename: sap.comcrminsight~te
         [ddgen] [Info]    Property vendor: sap.com
         [ddgen] [Info]    Property dcname: crm/insight/te
         [ddgen] [Info]    Property language: Available languages are automatically determined!
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       exception.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_proxy_rt.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproadmin.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynprobasesrvc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproclientserver.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodelimpl.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpromodel_dynamicrfc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynpropdfobject.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproprogmodel.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_designtime_coupling_api.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproruntime_repository_pmr.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       webdynproservices.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       poi-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java
         [ddgen] [Info]       poi-contrib-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java
         [ddgen] [Info]       poi-scratchpad-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java
         [ddgen] [Info]       cmiapi.jar - C:/Dev Comps/0/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       jrfc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       logging.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       logging.perf.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypeServices.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapDictionaryTypesRuntime.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       aii_util_misc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Dev Comps/0/DCs/sap.com/tc/bi/extddic/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
         [ddgen] [Info]    Generation finished (1 seconds)
         [ddgen]
         [timer] Data dictionary generator  finished in 1.625 seconds
         [wdgen]
         [wdgen] [Info]    Property deployment is true: Deployment information is provided!
         [wdgen] [Info]    Property sourcepath: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\src\packages
         [wdgen] [Info]    Property targetpath: C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd
         [wdgen] [Info]    Property archivename: sap.comcrminsight~te
         [wdgen] [Info]    Property vendor: sap.com
         [wdgen] [Info]    Property dcname: crm/insight/te
         [wdgen] [Info]    Property projectlanguage: en
         [wdgen] [Info]    Property language: Available languages are automatically determined!
         [wdgen] [Info]    Property addpaths ...
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/bi/extmm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       exception.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.exception/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       aii_proxy_rt.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.proxy.framework/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproadmin.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynprobasesrvc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproclientserver.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpromodelimpl.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpromodel_dynamicrfc.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynpropdfobject.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproprogmodel.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_designtime_coupling.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_designtime_coupling_api.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_repository.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproruntime_repository_pmr.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       webdynproservices.jar - C:/Dev Comps/0/DCs/sap.com/tc/wd/webdynpro/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       poi-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java
         [wdgen] [Info]       poi-contrib-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java
         [wdgen] [Info]       poi-scratchpad-2.5.1-final-20040804.jar - C:/Dev Comps/0/DCs/sap.com/crm/insight/poi_lib/_comp/gen/default/public/compiletime/lib/java
         [wdgen] [Info]       cmiapi.jar - C:/Dev Comps/0/DCs/sap.com/tc/cmi/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       jrfc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.mw.jco/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       logging.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       logging.perf.jar - C:/Dev Comps/0/DCs/sap.com/tc/logging/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapDictionaryTypeServices.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapDictionaryTypesRuntime.jar - C:/Dev Comps/0/DCs/sap.com/tc/ddic/ddicruntime/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Dev Comps/0/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       aii_util_misc.jar - C:/Dev Comps/0/DCs/sap.com/com.sap.aii.util.misc/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Dev Comps/0/DCs/sap.com/tc/bi/extwd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
         [wdgen] [Warning] com.insight.crm_sm.timeentry.TimeEntryView --> UIElement Excel_FileUpload: UIElement does not have a label
         [wdgen] [Info]    com.insight.crm_sm.timeentry.TimeEntryView --> TextView Save_Summary_TextView: UIElement does not have a label
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateOrderNumberListView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/OrderNumberListView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalOrderNumberListView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryComp.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryComp.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/TimeEntryComp.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryComp.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivatePersonNumberListView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/PersonNumberListView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalPersonNumberListView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/TimeEntryView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicPersonNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivatePersonNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/PersonNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalPersonNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/TimeEntryInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryCompInterface.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IExternalTimeEntryCompInterface.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryCompInterface.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterface.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryCompInterface.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterface.wdcontroller
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicTimeEntryCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IExternalTimeEntryCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateTimeEntryCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalTimeEntryCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/TimeEntryCompInterfaceCfg.wdcontroller
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPublicOrderNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IPrivateOrderNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/OrderNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/InternalOrderNumberListInterfaceView.java
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/IMessageTimeEntryComp.java
         [wdgen] [Info]    Generating configuration/Components/com.insight.crm_sm.timeentry.TimeEntryComp/TimeEntryComp.xml
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/ResourceTimeEntryComp.properties
         [wdgen] [Info]    Generating packages/com/insight/crm_sm/timeentry/wdp/ResourceTimeEntryComp_en.properties
         [wdgen] [Info]    Generating configuration/Applications/com.insight.crm_sm.timeentry.TimeEntryApp/TimeEntryApp.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
         [wdgen] [Info]    Generating PublicPartFileList.xml
         [wdgen] [Info]    Generation finished (3 seconds)
         [wdgen]
         [timer] WebDynpro generator  finished in 3.484 seconds
          [echo] Starting Java compiler
         [javac] Compiling 37 source files to C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\classes
         [timer] Java compilation finished in 3.282 seconds
          [echo] Start XLF conversion
      [xlf2prop] Found 6 XLF files to convert in src\packages
      [xlf2prop] Found 0 XLF files to convert in C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd\packages
      [xlf2prop] Found 0 XLF files to convert in C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gdd\datatypes
         [timer] XLF conversion finished in 0.172 seconds
    [wdminimize] Start minimizer for project classpath:
    [wdminimize]   C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\classes
    [wdminimize] external classpath:
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default\lib\java\aii_proxy_rt.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_admin.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_basesrvc.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_clientserver.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_modelimpl.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_model_dynamicrfc.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_pdfobject.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_progmodel.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling_api.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository_pmr.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_services.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\crm\insight\poi_lib\_comp\gen\default\public\compiletime\lib\java\poi-2.5.1-final-20040804.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\crm\insight\poi_lib\_comp\gen\default\public\compiletime\lib\java\poi-contrib-2.5.1-final-20040804.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\crm\insight\poi_lib\_comp\gen\default\public\compiletime\lib\java\poi-scratchpad-2.5.1-final-20040804.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\cmi\_comp\gen\default\public\default\lib\java\_cmi_api.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jrfc.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypeServices.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypesRuntime.jar
    [wdminimize]   C:\Dev Comps\0\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default\lib\java\aii_util_misc.jar
    [wdminimize] Analyzing 91 classes from URLClassFileLoader@12eb371[C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\classes]
    [wdminimize]   Classes loaded in 359 ms.
    [wdminimize]   Completed pass 0 in 0 ms (using a priori knowledge).
    [wdminimize]   Completed pass 1 in 4235 ms (using a priori knowledge).
    [wdminimize]   Completed pass 2 in 0 ms (propagating to specialized classes).
    [wdminimize] Finished Analysis (4594 ms)
    [wdminimize]
    [wdminimize] Shrinking class files
    [wdminimize]   checked 440 Fields,
    [wdminimize]     active:  356
    [wdminimize]     removed: 84
    [wdminimize]     zombie:  0
    [wdminimize]   checked 799 Methods,
    [wdminimize]     active:  474
    [wdminimize]     removed: 325
    [wdminimize]     zombie:  0
    [wdminimize] Modified 53 classes (281 ms)
    [wdminimize]
    [wdminimize] Reduced total class file size by 16% (4922 ms)
         [timer] WebDynpro class minimizer finished in 4.938 seconds
    createWDA:
         [mkdir] Created dir: C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\wda-pp
      [pppacker] Ignoring unknown source folder META-INF for WebDynpro archive.
      [pppacker] Packed  78 files for entity WebDynpro Archive (WebDynpro Archive/Archive)
         [timer] WebDynpro Archive packaging finished in 1.047 seconds
    createDeployArchive:
           [cda] Adding module 'sap.comcrminsight~te.wda' from current development component
           [cda] Validating C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd\application.xml
           [cda] Validating C:\Dev Comps\0\t\5DB24ECB8D50CE4818037AD64D156315\gwd\application-j2ee-engine.xml
           [cda] WARNING: application-j2ee-engine.xml: No reference entry for runtime dependency on DC sap.com~crm/insight/poi_library
    packDeployArchive:
    [srcpacker] Creating source archive
    [srcpacker] Adding source archive from sap.com~crm/insight/te
         [timer] Source archive creation finished in 0.313 seconds
        [jarsap] Info: JarSAP version 20041217.1600
        [jarsap] Info: JarSAPProcessing version 20060104.1634 / JarSL version 20060106.1831
        [jarsap] Property jarsap.info.dir is not set.
        [jarsap] Building: C:\Dev Comps\0\DCs\sap.com\crm\insight\te\_comp\gen\default\deploy\sap.comcrminsight~te.ear with compression
         [timer] JarSAP finished in 0.359 seconds
    createPublicParts:
    build:
    Ant runtime 15.643 seconds
    Ant build finished with WARNINGS
    Build plugin finished at 2006-06-29 16:24:08 GMT-07:00
    Total build plugin runtime: 16.487 seconds
    Build finished with WARNING

    Hi All:
    As I Mentioned in the above reply,
    when I try to build the J2EE Library DC I get the following errors.
    Warning: Runtime dependency to lib3 (sap.com) not allowed (incompatible runtime type).
    Warning: Failed to read PublicPartFileList.xml from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime (Failed to load file C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime)
    see below for the entir log
    Thanks in Advance for your help!
    Jul 5, 2006 9:10:36 AM /userOut/Development Component (com.sap.ide.eclipse.component.provider.listener.DevConfListener) [Thread[ModalContext,5,main]] WARNING: lib1j2: built with warnings sap.com/lib1j2(insight.com_APPL_1) in variant "default" (2.076 sec) :
    Build log -
    Development Component Build (2006-07-05 09:10:34)
      Component name: lib1j2
      Component vendor: sap.com
      SC compartment: insight.com_APPL_1
      Configuration: JDD_DEMO_D
      Location: JDD_DEMO_D
      Source code location: http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/DCs/sap.com/lib1j2/_comp/
      DC root folder: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\
      DC type: J2EE Server Component
      DC subtype: Library
      Host: PHXAD0601
    DC Model check:
              [dcmake] All used DCs are available locally
              [dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/addLib"
              [dcmake] validating dependency to  public part "runtime" of DC "sap.com/lib3"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/addLib
              [dcmake] starting build plugin from : C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\
    Build Plugin 'J2EE Library', Version 6.40 SP 16 (630_REL, built on 2006-04-06 00:59:52 CEST)
       development component:  lib1j2 (sap.com)
          software component:  APPL (insight.com)
                    location:  JDD_DEMO_D
                        type:  J2EE Server Component, subtype Library
               build variant:  default
             source location:  http://jdiaz01:50000/dtr/ws/DEMO/insight.com_APPL/dev/inactive/
           plugin start time:  2006-07-05 09:10:34 GMT-07:00
                     Java VM:  Java HotSpot(TM) Client VM, 1.4.2_10-b02 (Sun Microsystems Inc.)
    General options:
      convert *.xlf to *.properties: yes
      include sources for debugging: yes
    Warning: Warning: Source folder does not exist, will be ignored: server
    Plugin initialized in 0.082 seconds
    Warning: Runtime dependency to lib3 (sap.com) not allowed (incompatible runtime type).
    Warning: Failed to read PublicPartFileList.xml from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime (Failed to load file C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime)
    Preparing data context..
    No 'default' JDK defined, will use running VM.
    Data context prepared in 0.016 seconds
    Executing macro file..
      Using macro file:     C:\Dev Comps\0\DCs\sap.com\tc\bi\bp\addLib\_comp\gen\default\public\addLib\macros\build.vm
      Creating output file: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\logs\build.xml
    Macro file executed in 0.409 seconds
    Starting Ant..
      Using build file:     C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\logs\build.xml
      Using build target:   build
      Generation folder:    C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6
      Using Ant version:    1.5.4
    prepare:
         [mkdir] Created dir: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\deploy
         [mkdir] Created dir: C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6\int-pp
         [mkdir] Created dir: C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6\sda
    compile:
    createPublicParts:
    createDeployArchive:
         [mkdir] Created dir: C:\Dev Comps\0\t\ADCBF0AEA7482CDCA07BB2A62A8666A6\sdaprep
           [cda] Failed to read PublicPartFileList from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime, switching to legacy mode.
           [cda] Adding module 'poi-2.5.1-final-20040804.jar' from DC 'null' (vendor 'null'), public part 'null'
           [cda] Adding module 'poi-contrib-2.5.1-final-20040804.jar' from DC 'null' (vendor 'null'), public part 'null'
           [cda] Adding module 'poi-scratchpad-2.5.1-final-20040804.jar' from DC 'null' (vendor 'null'), public part 'null'
           [cda] Creating descriptor server/provider.xml ...
           [cda] WARNING: Ignoring invalid runtime dependency on lib3 (sap.com), type Java/
    packDeployArchive:
    [srcpacker] Creating source archive
    [srcpacker] Failed to read PublicPartFileList from C:\Dev Comps\0\DCs\sap.com\lib3\_comp\gen\default\public\runtime, switching to legacy mode.
    [srcpacker] No sources available for packing, no archive will be created.
         [timer] Source archive creation finished in 0.049 seconds
        [jarsap] Info: JarSAP version 20041217.1600
        [jarsap] Info: JarSAPProcessing version 20060104.1634 / JarSL version 20060106.1831
        [jarsap] Property jarsap.info.dir is not set.
        [jarsap] Building: C:\Dev Comps\0\DCs\sap.com\lib1j2\_comp\gen\default\deploy\sap.com~lib1j2.sda with compression
         [timer] JarSAP finished in 1.046 seconds
    build:
    Ant runtime 1.357 seconds
    Ant build finished with WARNINGS
    Build plugin finished at 2006-07-05 09:10:36 GMT-07:00
    Total build plugin runtime: 1.945 seconds
    Build finished with WARNING

  • Extending BO with external library

    Hello,
    Is it possible to extend the functions available on BusinessObjects with third-party libraries?
    For instance, we want to extend BO with a library with complex mathematical functions and have these functions available to the user on the interface.
    Is this possible?
    How can we do this?
    What requirements must the library fulfill in order to allow seamless integration?
    Thank you,
    Marco Ribeiro

    Hi Falvio,
    There have been a lot of similar posts in this regard.
    Check this link..This might provide you one of the solution
    Re: Using a J2EE Server Component -> Library
    Regards
    Bharathwaj

Maybe you are looking for