Can't wrap External Library DC project.

Hi all,
  I do these procedure:
1. create a External Library DC,
2. then create two public part : compilation and assembly,
3. add jars to the two public part
4. build dc
5. Create a second DC of type web dynpro
6. add used DC  compilation and assembly
7. write my test code use jars added in step 3
8. build DC
9,deploy
After deploy and view in EP, my web dynpro DC can't find jars added by External Library.
And i can't find external jars in deployed ear file.
My NW is 7.0 SP9, if someone know which step i have missed.
best regard

hi Alka,
  i did the procedure follow the blog, but still not success.
  There is some difference. When i add jars to public part in External Library DC, it do not create ExternalLibs auto, but info creating public part of two choice:
  1. provides an API for developing/compiling other DCs
  2. can be package into other build result(e.g.SDAs)
and i try the all two choice and add it to u201CJ2EE Server / Libraryu201DDC, it can't succeed. i can not find jars in sda file. jars contained were null when see the "J2EE Server /Library" in visual administrator.
best regard.
reefish

Similar Messages

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

  • Can't compile External Library on CBS

    I try to activate an external libryry dc on the cbs.
    That ext. library is then packaged into a
    J2EE-Library-Project.
    On compile the following error (see code) occour -
    so the following DCs (J2EE Library Projects,
    other depending projects) are marked as 'broken'.
    On my local environment (dev. studio + local java
    web as - sp13) the project and dependencies are
    runing really  fine.
    All project dependencies (public parts, used
    dependencies...) are declared.
    ==>
      I urgently need to know: what is the difference or what's the error?
      ANY ideas?
    <==
    <code>
    Development Component Build (2005-09-13 10:10:39)
      Component name: base3lib
      Component vendor: mycompany.de
      SC compartment: mycompany.de_CTPBASE_1
      Configuration: CTP_DEV_D
      Location: CTP_DEV_D
      Source code location: http://mchp039a:56000/dtr/ws/DEV/mycompany.de_CTPBASE/dev/active/DCs/mycompany.de/base3lib/_comp/
      DC root folder: D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\mycompany.de\base3lib\_comp\
      DC type: External Library
    DC Model check:
              [dcmake] All used DCs are available locally
              [dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/externalarchive"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/externalarchive
              [dcmake] starting build plugin from : D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\sap.com\tc\bi\bp\externalarchive\_comp\gen\default\public\lib\
    Build Plugins Version 6.40.0.111  (ExternalArchivePlugin, 630_VAL_REL ) from 04 July 2005 11:31:41
    Building development component 'base3lib', vendor 'mycompany.de', type 'External Library'
             software component 'CTPBASE', vendor 'mycompany.de'.
             location 'CTP_DEV_D'.
             source code location 'http://mchp039a:56000/dtr/ws/DEV/mycompany.de_CTPBASE/dev/active/'.
    Options:
    convert *.xlf to *.properties: yes
    include sources for debugging: yes
    run JLin tests is available  : no
    Couldn't validate DC configuation, no information available for this DC type
    Creating Ant build file..
    No 'default' JDK_HOME_PATH defined, will use running VM. Please update your configuration.
    Using velocity macro file: D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\sap.com\tc\bi\bp\externalarchive\_comp\gen\default\public\lib\macros\build.vm
    Creating Ant build file D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\mycompany.de\base3lib\_comp\gen\default\logs\build.xml
    Ant build file created in 1 second
    Starting Ant with build file D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\mycompany.de\base3lib\_comp\gen\default\logs\build.xml, target build
    Using temporary directory D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\t\3A1FFCE822415A04E6888829E65D620A
    Ant build started at 2005-09-13 10:10:42 GMT+01:00 (CET)
    build:
          [echo] Public Part: libs
         [mkdir] Created dir: D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\mycompany.de\base3lib\_comp\gen\default\public\libs\lib\java
          [copy] Copying 1 file to D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\mycompany.de\base3lib\_comp\gen\default\public\libs\lib\java
          [copy] Copying 1 file to D:\usr\sap\JDI\JC60\j2ee\cluster\server0\temp\CBS\b\.B\256\DCs\mycompany.de\base3lib\_comp\gen\default\public\libs\lib\java
    </code>

    Welcome to the Apple Discussions.
    Sounds like iPhoto is not seeing a valid database there.
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new *iPhoto 08* library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • Can't access external library after iOS5 update

    For years I've kept separate itunes libraries on an external drive without a problem (well, mostly without problems). After updating itunes to work with iOS5 I can no longer access my external library files. All of them are greyed out and I can't choose them. Each collection of library files are located within separate folders ( I have one for music, one for audio books, and one for tv/movies) on the external drive. The data (musice, movies, etc) seem fine.  Has Apple changed where the library files need to be located? or is it another issue. The only thing I could think of was to run repair permissions but that didn't change a thing. I really don't want to lose the organization and playlists for over 100GB of files. Please help!

    iPhoto 9.6 only runs on Yosemite.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Help!! I Can not deploy external library to the J2EE Engine!

    I'm trying to create a J2EE Library DC that contains a few jar files that I want to deploy to the J2EE server for usage by a set of test classes.
    I created an external library DC, imported a jar file into the libraries folder, and added the jar file to a public part that has selected option "provides an API for Developing/compiling". I then built the DC Successfully.
    Then I created a J2EE Library DC, and added the external library DC as a used DC, with a build and run time dependancy, and I created an entity reference to the external library DC's public part.
    When I build the J2EE Library DC, the jar file are not included in the SDA file. Nothing I've tried can get the jar file to be placed in the SDA file for deployment.
    Why is the jar file not in the SDA? What am I doing wrong? I've spent the last while reading everything I can find on SDN about j2EE Library DCs, and it seems that I'm doing everything correctly - or am I?
    I'm running 7.00 SP9 . Can someone verify that a) my procedure above is correct, and b) that this does work under 7.00 SP9 ?

    a) the runtime dependency from the J2EE library to the external library is not necessary and will be ignored during build. There may be a warning in the build log about incompatible runtime-types, but I'm not sure if that warning exists in SP9.
    b) see Pascals latest answer regarding a patch for this issue.
    Regards,
    Marc

  • ITunes can't see external library from older computer

    Hey guys. I had a 2008 iMac with iTunes set up to read all of my music, movies, TV shows, etc. from an external hard drive. I recently got a new MacBook Pro and am trying to get iTunes 12.1 to see all of my existing media, with no luck.
    My iMac was running Mavericks (and I guess iTunes 11?), which I assume auto-updated my older library and paths to be compatible. However, my MacBook Pro is running Yosemite (10.10.2) with iTunes 12.1. It used to be that you could just point iTunes to your existing iTunes or iTunes/Music folder and everything would instantly be available in iTunes with no problem. I've noticed in 12.1, though, that iTunes now builds its own iTunes Media folder, separates music from TV shows, movies, ringtones, etc., and has an iTunes library file in addition to several other database sidecar files.
    My question is, how the **** do I get iTunes to just see my existing media? When I try pointing iTunes to the external HD, it creates an all new iTunes Media folder with db files in it. If I create that folder myself, it creates its own subfolder with existing db files. Even then, the db files don't actually point to any of my music, but rather to an empty library.
    I've tried "add to library", but instead of just adding the info for accessibility, like it used to do, iTunes is actually copying every one of my files into the new folder. Given how huge my library is, I don't have the time or HD space for iTunes to copy and paste what's already there.
    Any suggestions? I just want to point iTunes to my already existing files and folders from the previous version of iTunes without duplicating or losing anything.

    I have not updated iTunes in a long time.  While I cannot say that iTunes 12 would not have problems opening an iTunes 2 library generally a newer version can open any older version library, but not the other way around.  Are you trying to open an iTunes 2 library?
    As far as iTunes and the option key thing is concerned the library is a file called "iTunes Library.itl" and it is located in the iTunes folder, not the media folder.  A media folder is only a bunch of media files and not a library, the way a pile of books on an empty city block is not a city library.  If you do not have that file then you do not have a structured library and will have to build one from scratch with your media files.  Sometimes people put only media on an external drive and leave the rest of iTunes which makes up the complete library on the internal drive.  You need to recover that part (basically your iTunes folder) and replace the iTunes folder on your computer with it.  It has the .itl file containing all the information pointing to those files on the external drive.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    iTunes 9 [and later]: Understanding iTunes Media Organization - http://support.apple.com/kb/ht3847 - plus supplemental information about organizing to new structure https://discussions.apple.com/message/26404702#26404702
    In terms of basic iTunes file functionality, apart from a bit of renaming and restructuring about 6 years ago nothing much has changed since before iTunes was iTunes and it was a shareware product called Soundjam.
    Image of folder structure and explanation of different iTunes versions (turingtest2 post) - https://discussions.apple.com/docs/DOC-7392 and making an iTunes library portable.

  • Using external library jar

    Hi everyone,
    I am working on a J2EE 1.3 project. I have a external library jar file at, for example, /myproject/lib. My EAR has to access that external library jar. Moreover, the library jar is not self-contained. It has to use the class that stored in the EAR file.
    I have seen a lot of articles that talking about using Class-Path attribute in the manifest file but that seem not work in my case.
    Could any one have any idea how I can call a external library jar file which is not self-contained under J2EE 1.3 spec? Thank you very much.
    Jacky

    In J2EE 1.3 there was no portable mechanism for extending the appserver-wide classpath of
    a J2EE appserver. However, most appserver's have some way of doing it. You'll need to
    consult the documentation of whatever implementation you're using.
    However, in that case you cannot have code in the appserver classpath with dependencies on
    code in a specific J2EE application. The dependency can only occur in the other direction.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • In Aperture 3, how can I easily move entire projects out of my main Ap Library into other libraries?  My Ap library is running super slow because it's overloaded l so I have created two new libraries, but can't seem to move the projects into them

    In Aperture 3, how can I easily move entire projects out of my main Ap Library into other libraries?  My Ap library is running super slow because it's overloaded, so I have created two new libraries, but can't seem to move the projects into them?

    Hello Annabel,
    To move entire projects export them as Aperture Libraries, and then import those Libraries into the other Aperture Library:
    Select the Project in the Inspector, then
    File -> Export -> Project as Library
    In the other Library do:
    File -> Import  -> Library/ Project
    But I am not quite convinced, that the size of your current Aperture Library is responsible for the slowness of Aperture - Aperture is designed to cope with huge libraries.
    You may want to post your hardware setup and details of your library, and some of the hardware experts here may help you to find the reason for the slowness.
    A huge library should only be a problem, if the projects are too big, and if you have many, many smart albums at the root level of your library.
    So keep the projects small, and try to move some of your smart albums to lower levels in your folder structure (then Aperture does not need to scan all of your images to build the smart album).
    Other reasons for Aperture's slowness may be, e.g.
    An overfull system drive and/or external drive (keep at least 20% of your drives empty)
    lack of RAM
    a corrupted Aperture Library, that needs repairing
    Have you checked those options, before you split your library? It would be a pity to split it, for you would loose the ability to browse all parts at the same time, to use all your images in the Media Browser, etc.
    Regards
    Léonie

  • My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pr

    My aperture library lives on an external hard drive that is corrupt and I can not locate the library. I do have it backed up with TM. How do I safely restore the library from TM to my laptop? I am using the newest version of aperture on my macbook pro.

    Hello Sandra,
    The article linked below details how to go about restoring items from Time Machine in Snow Leopard.
    Mac OS X 10.6: Recovering items using Time Machine and Spotlight
    http://support.apple.com/kb/PH6379
    Sincerely,
    Allen

  • Can I put my library on an external hard drive and use it between two computers?

    Can I put my library on an external hard drive and use it between two computers? I have two MBP; I will refer to one as computer A and to the other as computer B. I would like to be able to plug in my external hard drive, boot up iTunes, and if there were any changes made to the library previous to its last time accessed on this compluter, they show up on that computer, regardless of being imported on the other.
    A hypothetical example: I import three albums called 1, 2, and 3 on computer A over a week or so. I take the external hard drive and plug it into computer B. The entire library which was visible on A, is visible on B, including albums 1, 2, and 3.
    Is this possible? If so, what files need to be copied onto the external? I'm trying some different combinations, trial and error basically. Hopefully someone knows and can answer before I mess up my library. I also want to do this to free up space on my computer. All importing will be done from disc.

    iTunes/Preferences/Advanced : point your iTunes to the new location of the Library.
    Set "Share on local network" in the Sharing tab, and you or everyone on the local network can play your music.
    You make a backup first of the Library.
    Move the follwing to the new location:
    /Users/your username/Music/iTunes/iTunes Music
    have fun.

  • Can't open iphoto library from external hard drive

    I'm backing up my enormous iPhoto library to two external hard drives in order to free up space on my computer. Before deleting the photos permanently from the laptop, I wanted to double-check that the copies of the library I made on the two externals would actually work on another computer, should something happen to my laptop. When I plug my external hard drive into my laptop and use option+click on iPhoto to choose which library I want to use, it opens up the library from the external just fine, no problems. However, when I plug the same external into a different Mac computer and do the same process, I get the immensely frustrating message of "You can't open photo library blah blah blah changes have been made using newer version of iPhoto". However, both my laptop and the second computer are running the exact same version of iPhoto (the most recent), so that can't (or at least shouldn't) be the problem. I found suggestions to rebuild the library, which I did, but the same result occurs. I double-checked to be sure that neither computer needed updates (they didn't).
    When I plug one of the externals into the second computer, though, I can open up the package contents of iPhoto library and all the photos are visible, so I know the information is all there. But I don't want to lose my albums, etc.
    So do I just delete the copies of my library from the externals and try it all over again? I'd prefer not to, since I have 40,000+ photos, and that takes a while.

    To reinforce what Larry pointed out both Macs must be running the same version of iPhoto.  And the external HD must be formatted as shown in this screenshot:
    and don't forget the ignore ownership.
    OT

  • Can't read iPhoto library from external drive

    I suddenly can't can't read iPhoto library from external drive. I have talked to WD and nohing is wrong with the network drive. I can open images and files from it. But, I can't read in iPhoto Library.

    Network Drive? a NAS?
    iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, exporting, saving edits and sharing the photos.
    Basically, you need to move the library to a correctly formatted disk.

  • I deleted all the music from my itunes library because I thought I had it backed up on an external hard drive. Can I restore the library from my ipod touch?

    I deleted all the music from my itunes library because I mistakenly thought I had it backed up on an external hard drive. Can I restore the library from my ipod touch?

    Maybe here:
    iCloud: Troubleshooting creating backups

  • I had my itunes library on an external drive, I now have a new Windows 7 computer. How can I access my library?

    I had my itunes library on an external drive, I now have a new Windows 7 computer. How can I access my library?

    Hello, robertfromboulder city.
    Thank you for the question.  You can direct iTunes to read your media off your external drive.  To do this, follow the instructions below.  See the section in the first article labeled Discovering and changing the iTunes Media folder location.
    Where are my iTunes files located?
    http://support.apple.com/kb/ht1391
    iTunes: Back up your iTunes library by copying to an external hard drive
    http://support.apple.com/kb/ht1751
    Cheers,
    Jason H. 

  • How to use external library(in .jar format) in netbeans project?

    How to use external library(in .jar format) in netbeans project?
    Thanks!

    How to use external library(in .jar format) in netbeans project?
    Thanks!

Maybe you are looking for

  • Query help for sales employee sales

    Hi.... How can we have a query for Name of sales employee Item group Item name Total selling amount Total sales order Total delivery Total AR invoice Please help Thanks a lot

  • Crystal report runs one way in designer and another in Infoview

    Post Author: jasonp CA Forum: Crystal Reports I have a Crystal report with a number formula that runs correctly in the designer, but comes up with incorrect values on the server. The formula is used to determine a range in the select expert, so I end

  • RH_INSERT_INFTY

    I'm trying to create a new infotype 1028 for one of the object of the structure. Unfortunatly I cannot use the function module RH_INSERT_INFTY... Is there any other function modules to be used?   data : lit_1028 type standard table of hrp1028,       

  • Fm for retrieving subordinates details when manager employeeid is given.

    Hi, is there any function module to retrieve the subordinate details when managers employee id is given other than BAPI_EMPLOYEE_GETDATA. for this requirement a fm is to be created.so can i know what are the basic fm's that could be included in the m

  • How text will be redetermined if the ship to party is changed

    Hello, The test is maintaining at ship to party level and if the ship to party is changed how the text will be redetermined here in the order the text is not redetermining. kindly give the solution for redetermination on this. Regards, Kishore.a