Shared libraries rights

Hi all,
I have libarary1.war and library2.was deployed on the same domain and managed server with app1.ear and app2.ear.
App1 uses library1 and app2 uses library2. I want to know is it possible to configure some rights or permissions
to enable access for application only to it's own library and restrict access to another's library.
I know it is possible to deploy library/application pair to separated managed servers, but in my case I need deploy both pairs to the same managed server.
Thanks

According to my understanding you have a managed server and you want to deploy two shared libraries L1 and L2 with two ear EAR1 and EAR2.
You do not want that EAR2 can access EAR1 shared library.
I would suggest that you should package the L1 within the EAR1 and L2 within the EAR2.
As far as security constraint is concerned I don't believe that there is any such feature to apply security restriction over a shared library to be accessed by a particular application.
Thanks,
Sandeep

Similar Messages

  • Oracleorcl: error while loading shared libraries: libaio.so.1: cannot open

    Hi,
    I installed Oracle 10g on RHLinux AS4. I created a initOEMREP.ora file
    in $ORACLE_HOME/dbs.
    my .bash_profile file is,
    # .bash_profile
    # Get the aliases and functions
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi
    # User specific environment and startup programs
    PATH=$PATH:$HOME/bin
    export PATH
    unset USERNAME
    #Added on 05-feb-2008
    #For oracle1g db installation
    export ORACLE_SID=OEMREP
    export ORACLE_BASE=/home/app/oracle10gdb
    export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
    export PATH=$ORACLE_HOME/bin:$PATH:.
    export LD_LIBRARY_KERNEL=$ORACLE_HOME/lib
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    export TMP=/home/tmp
    export TMPDIR=/home/tmp
    While
    $sqlplus "/as sysdba"
    I am getting
    SQL*Plus: Release 10.2.0.1.0 - Production on Wed Feb 6 21:27:08 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    oracleorcl: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact
    Please help me to solve this.
    Regards,
    Mathew

    Hi,
    THank you for the replay. Where will I get this package?
    Regards,
    Mathew.

  • Error while loading shared libraries after installing cleartype fonts.

    Hi there.!
    Since the default fonts of Arch looked quite ugly on my LCD, I read the Fonts wiki and installed cleartype packages from AUR.But now, when I try switching to runlevel 5 (I use GDM by the way), it throws up following error:
    /usr/sbin/gdm-binary: error while loading shared libraries: libcairo.so.2 : cannot open shared object file: No such file or directory.
    I didn't edit the pkgbuilds in any way.Running "locate libcairo.so" doesn't show up anything either.
    Any help guys.?

    Well you have two choices, use windows XP or google for 'fonts linux ugly'
    or there is a search feature on this forum, it works well.
    setting a right DPI will probably make your fonts look the best no matter what packages you install or ~/.fonts file you use.
    Last edited by jacko (2009-01-10 12:32:54)

  • Error while loading shared libraries: libxerces-c.so.26: cannot open shared

    Hi,
    I'm trying to install SRM-MDM Catalog 2.0 under SUSE_LINUX Enterprise Server 10 (x86_64).
    First to all I'm trying to install Server part. So I navigate under the CD installation: /Master_Data_Server/LINUX_X64/MDM/bin/  and then execute ./mds-r.
    The following error appears: error while loading shared libraries: libxerces-c.so.26: cannot open shared object file: No such file or directory.
    libxerces-c.so.26 is located under /Master_Data_Server/LINUX_X64/MDM/lib/
    Could you please help me?
    Thanks in advance!

    Thanks for your comment Shiv, Yes I know that MDM 5.5 is out of standard maintainence but anyway our business scenario requires SRM-MDM 2.0.
    If anyone finds the same error I mentioned, It has been solved using ldconfig -v in the library directory of choice.
    I'd like to ask another issue: Right now We have the following error after executing ./mdis-r or ./mds-r:
    Could not open language resource file "LangStrings/ImportManagerCommon.lang". Try setting the MDM_HOME environment variable.
    Could you please help me how to do if?
    Thanks in advance,
    Edited by: Guillermo Montes on May 5, 2010 4:21 PM
    Edited by: Guillermo Montes on May 5, 2010 4:22 PM

  • Error while loading shared libraries: libjvm.so

    Hi,
    Hopefully, this is the right list for this problem. I am working on a computer that has Linux 2.6.20-1.2952.fc6. I am trying to deploy a program to a Sun SPOT using over-the-air functionality; however, I get the following message:
    -pre-suite:
    -do-suite:
         [exec] /usr/java/SunSPOT/sdk/bin/squawk: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
    BUILD FAILED
    /usr/java/SunSPOT/sdk/ant/suite.xml:38: exec returned: 127When I try to locate this file, I can see it in in the following locations:
    /usr/java/jdk1.6.0_02/jre/lib/i386/client/libjvm.so
    /usr/java/jdk1.6.0_02/jre/lib/i386/server/libjvm.so
    How can I resolve this error?
    Thanks,
    Daniel

    make sure to include one of those two directories in your LD_LIBRARY_PATH environment variable. Probably the client directory one. And only the directoy (i.e. that path minus the libjvm.so part).

  • Can't find the shared libraries

    In Itunes preferences I am looking for shared libraries but in the iTunes bar "Shared" does not appear.

    FIXXED it for my pc nework iphone and ipad seeing and shairing musice.
    first: msconfig, start in safe mode (with network)
    restart when asked
    in safe mode join home share like nomal
    it will try to go to itunes store let it try (will not conect at all right )
    close itunes (if you what)
    then back to msconfig in safe mode
    in msconfig tune off safe mode
    restart
    that should do it
    let me no if it worked for you

  • ITunes on new Mac Mini does not show shared libraries on network or songs on NAS drive

    iTunes on new Mac Mini does not show shared libraries on network or songs on NAS drive
    The latest version of iTunes on a 3-month old Mac Mini (8 gig RAM, OS 10.10.2) does not see any of the shared iTunes libraries on a  MacBookPro (MBP) (OS 10.9.5) and a 14-month old Mac Mini (OS 10.9.5). And a network shared drive/media server does not appear as well. I have a Gigabite Ethernet G4 and on it, the MPB and the "old" mini I can see the various shared music libraries and NAS, but not on the new Mini.
    The little house with a music note inside it that I see on the upper left corner of the iTunes 12.1 window on my MBP does not appear on iTunes 12.1 on the new Mac Mini. I have gone through all the iTunes preferences and can not find where I can turn on this feature. The new Mac Mini is on the local network and I can reach the internet successfully.
    I have been using iTunes since its beginning (still have a PowerTower Pro with a working copy of SoundJam), so I am not a newbie, but this has me baffled.

    May I add, that I gave full rights to the user at the Mac Mini to access and change data on the server drive for ITunes Media.

  • Missing shared libraries?

    Hi all,
    I tried to install j2ee 1.4.2 Beta on my redhat linux 9 machine.
    After I downloaded and unzipped the zip file, I follow the installation instruction by typing ./setup in the extract folder.
    However, the follow error comes out:
    error while loading shared libraries: libstdc++-libc6.2-2.so.3 ...
    complaining the above shared libraries is not found.
    anyone know what is one, or where I can find more information about the error messages?
    thanks alot in advance

    You are missing some libraries. Try reinstalling the compat-libstdc++ RPM available from RedHat.
    Refs:
    http://faq.opennms.org/faq/fom-serve/cache/65.html
    http://gcc.gnu.org/ml/libstdc++/2002-04/msg00251.html
    Note the last refers to a wider problem with missing C++ libraries. With RPMs you often have to do some digging to get it right.

  • Shared "libraries"/mltple computers wireless networked to shared hard drive

    I really spent some time researching this question prior to posting. My goal is to have three computers (mine, wife's,kid's) all accessing a single hard drive on which all of our combined music is stored with iTunes on each computer seeing our whole library of music, then all of us can create playlists, sync to varous nano's, shuffles, etc. Hard drive is all set up, wireless access is set, all three computers can access various other shared files on the hard drive. All three computers have been "mapped" so that they look at this new Z drive, so I went through Edit/Pref/Advanced/General and changed each computer to look at this new Z drive versus their own C: drive/Music folder etc. Then I went through Advanced, Consolidate on one computer to put all of our music that used to be on one individual computer's hard drive and successfully moved it out to the new shared, wirelessly accessable Z drive.
    Now, I want to be able to add new songs to that Z drive, ideally from any individual computer and have all other computers "see" those new songs that are now out on the Z drive. I have gone around the house and tested adding via CD's new songs from each computer to the new shared Z drive and that works. However, each of the individual iTunes libraries do not see the new songs.....is there some way that each computer's iTunes could update itself so that it recognizes that there are new songs out on the shared hard drive??? If so, I can't seem to figure out how to make it work.
    Also, on Edit/Preferences/Sharing...I have selected and checked "Look for shared libraries" and also selected/checked "share my library on local network"....and selected/checked "share entire library"....and I have done this on each indvidual computer, but I am not sure if those are the right selections/checks to achieve my goals. Is this what I should do on each computer?? In the blank "Shared name:" I typed "iTunesShared" which is the name of the file that I created on the shared hard drive and I did this on each computer in each individual iTunes program. Is this what I should be doing??
    Finally, on one of the computers (the computer that I have been currently using to add CD's to our shared hard drive) under Library, on the left hand column...there is a heading called "Shared" and under that heading it lists two subheadings - one called "Owners's music" and the other called "Susan's music" - and those seem to turn off and on if I have one of the other two computers logged on and its iTunes program launched. If I go to one of the other computers and shut down iTunes on it, one of those subheadings will disappear. Also, with iTunes launched on the two other computers - I see under the "Shared" heading the "iTunesShared" heading and if I click on it, iTunes is then looking at the Z drive with all of the our songs stored on it....but the other two computers can only see this file if the computer that I have been downloading songs from is launched....i.e., the only way all three computers can see the Z drive with our full song library on it is if just one of the other computers is up, running and has iTunes launched.
    Again, my goal here is to have all three computers iTunes be looking at the Z drive so that they would have access to our full library of songs...so, any ideas how I can make that happen or what I have done wrong here?? I think I am closing to figuring this out but am now stuck. Any advice or guidance would be much appreciated.
    thanks,
    CAS
    Also,
    Dell Latitude D420   Windows XP  

    Seems like you have things set up right. You may be disappointed though.
    Each account on each computer is separate as far as libraries go. Even if all are set to save to the same location, like yours, the different libraries do not see each other. The library files for each user are basically just shortcuts to where the tracks are, so even if 5 users add the file to their own library there will be media file.
    What this means is that adding files with one, the others will not know it. There is no setting available to change this behavior. Each user must add the files to their own library using the 'add folder' or 'add file' options.
    Is that everything? You had a big post.

  • Shared Libraries Dummy Questions

    Hello *,
    I am painfully improving my understanding about shared libs. I read the technical docs how to reference them etc but I guess I am missing the concepts.
    I built a web service with workshop 10.3 which of course runs fine from workshop, default settings, so the web service references 3 shared libs automagically.
    Now I manually deployed this webservice app to a managed server instead of admin and it failed. I figured out I have to target the shared libs to the managed server which is of course understandable. But still, wouldn't it be helpfull to have shared libs targeted to all servers as default? (actually I am not sure if there is such a thing, target to all servers, all I know is target to a whole cluster).
    Now I tried to deploy the same web service to another domain with admin console. This fails. Workshop deploys the shared libs but admin doesn't.
    Now my main question is about the concept behind.
    1. Is there a recommended way to get rid of the shared libs for a workshop project once it was configured to use shared libs?
    Is the only way manually adding the shared lib under WEB-INF/lib?
    2. Is there a deploy dependent shared libs? I mean if workshop can do it, couldn't wls admin do it the same way?
    3. If I generate a build script, will it take care of deploying shared libs?
    4. let's assume I want to replace the wls-commonslogging-bridge.war which contains the commons-logging.jar,
    where is this jar located?
    I understand share libs make sense for bigger projects, but I don't understand I have to deploy 3 of them first to
    make a hello world web service run.
    curious,
    Barossa
    Edited by: Barossa on Feb 18, 2009 9:17 PM

    First, for Workshop questions you may want to try that specific forum:
    Workshop
    Your question definitely has WebLogic components too. Let me give some of these a try.
    >
    1. Is there a recommended way to get rid of the shared libs for a workshop project once it was configured to use shared libs?
    Is the only way manually adding the shared lib under WEB-INF/lib?That would be one way, another way would be APP-INF/lib of the EAR. The shared libraries are defined in weblogic.xml or weblogic-application xml. Typically a domain will be configured with the libraries to be deployed when it is created if you're just using the standard WebLogic shared libraries like the Workshop framework, etc. You can also make sure that your deployment mechanism, like WLST, checks to make sure the libraries are deployed.
    >
    2. Is there a deploy dependent shared libs? I mean if workshop can do it, couldn't wls admin do it the same way?It's my understand that this is a convenience mechanism that Workshop built specifically. You're shared libraries are defined in Workshop in the preferences so it knows where to get them from if they are missing, that's not necessarily true for deploying from the Admin Server.
    3. If I generate a build script, will it take care of deploying shared libs?Definitely WLST can be used to do this.
    4. let's assume I want to replace the wls-commonslogging-bridge.war which contains the commons-logging.jar,
    where is this jar located?Can't remember offhand (not on my normal machine right now), but you should be able to check easily by searching your installation of WLS for the shared library name (the war in this case). Also, Workshop should have a reference to it somewhere in the preferences.
    I understand share libs make sense for bigger projects, but I don't understand I have to deploy 3 of them first to
    make a hello world web service run.As I mentioned earlier, if you made the domain a Workshop domain when you created it, those shared libraries should already have been deployed and it would be ready to go.
    curious,
    Barossa
    Edited by: Barossa on Feb 18, 2009 9:17 PM

  • JBI Shared Libraries

    Hi. I have arrived to a new project and they are working with JBI (developing BPEL) with Glassfish + openESB.
    I have no experience with JBI and I've been request to do some research about JBI Shared libraries. The problem comes for us when two composite aplications have to share one resource (in this case an .xsd file that includes other schema files). I don't know how to do such a thing. What I've done so far is:
    - create a new project (as a java project in netbeans) with the needed files
    - create the jbi.xml file under the META-INF folder
    <?xml version="1.0" encoding="UTF-8"?>
    <jbi
        xmlns="http://java.sun.com/xml/ns/jbi" version="1.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:identification="http://www.sun.com/jbi/descriptor/identification/v1.0">
        <!-- identification information about this shared library-->
        <shared-library class-loader-delegation="self-first">
            <identification>
                <name>my-shared-lib</name>
                <description>JBI shared library</description>
                <identification:VersionInfo component-version="1.0.0" build-number="000001"/>
            </identification>
            <shared-library-class-path>
                <path-element>./xsd/Requests/request1.xsd</path-element>
                <path-element>./xsd/Requests/types.xsd</path-element>
            </shared-library-class-path>
        </shared-library>
    </jbi>- deploy in the glassfish server via web interface
    But when the POJO class that needs that file it is not available (neither in the classpath). What I have to do or what I'm doing wrong?.
    Thanks in advance

    "Also with regards shared libraries - whn some people come out of their browsers they clear their temporary internet folders of everything ie: cached/cookies too. So those people would have to redownload everytime. Is that right?"
    Cookies do not matter for caching. If they set their browser to clear cache - ALL files will be loaded every time new sessions starts.
    "So even if I create that framework to test for changes which I doubt I can do then
    it sounds like an excellent idea to have various shared libraries just for the fact that it doesn't matter
    about file size but the positive is that if I change one library the other remain unchanged.
    Would that be a correct assumption?"
    There is no single correct answer or even recommendation to how to deal with RSLs (Runtime Shared Libraries). Each application dictates its own rules that depend on objects availability at the points they need to be consumed. Size may or may not matter (again, answer depends on architecture and internal application business logic).
    From the standpoint of choices of what to load and what is changed, if there is no mechanism that detects changes and because of how caching is done - it is only all or nothing approach (either all RSLs have to be loaded per session or one relies exclusively on browser cache).
    Change detection is pretty difficult to implement if you rely on client side only because, again, how cahing is handled.
    Also, conceptually RSLs must be very stable entities and shouldn't be something that changes often if ever. If they are meant to change often - it is definitely a critical design flaw. Perhaps, this case indicates that what is actually happens is that RSLs attempt to represent data/information/presentation layers. Data MUST EXIST TOTALLY separate from logic and presentation. I cannot stress it strong enough - mixing information, presentation and logic leads to major inefficiencies if not disasters.

  • Can't run - error in loading shared libraries: libskgxp8.so

    Everything seems to work when logged in as ORACLE
    but when logged into Linux as any other user
    I have checked and recheck permissions.
    Maybe I still have something set wrong, but I doubt it.
    I have not loaded patch. (fear of disaster)
    Here is my situation
    Same problem when root
    -------------- see below ----------
    [kurth@linux ~]$ sqlplus
    SQL*Plus: Release 8.1.5.0.0 - Production on Thu Sep 2 09:02:58
    1999
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: kurth
    Enter password:
    oracleDSID: error in loading shared libraries: libskgxp8.so:
    cannot open shared
    object file: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact
    Enter user-name: <Ctl-C>
    [kurth@linux ~]$ env
    TERM=vt220
    HOME=/home/kurth
    PATH=/usr/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/u01/ap
    p/oracle/produc
    t/8.1.5/bin:/usr/local/jre:/u01/app/oracle/product/8.1.5/bin
    SHELL=/bin/csh
    MAIL=/var/spool/mail/kurth
    LOGNAME=kurth
    HOSTTYPE=i486-linux
    VENDOR=intel
    OSTYPE=linux
    MACHTYPE=i486
    SHLVL=1
    PWD=/home/kurth
    USER=kurth
    GROUP=kurth
    HOST=linux.athome.com
    REMOTEHOST=kurth450.athome.com
    HOSTNAME=linux.athome.com
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/8.1.5
    ORAHOME=/u01/app/oracle/product/8.1.5
    CLASSPATH=/usr/local/jre,/u01/app/oracle/product/8.1.5/jlib,/u01/
    app/oracle/prod
    uct/8.1.5/product/jlib
    LD_LIBRARY_PATH=/u01/app/oracle/product/8.1.5/lib
    ORACLE_SID=DSID
    ORACLE_OWNER=oracle
    KDEDIR=/usr
    null

    Duh!!
    I should have followed the instructionas and not skipped a step.
    Following the instructions is tough but the key to success.
    null

  • Where to store shared libraries?

    Hi,
    We are using 9iAS rel 2, 9.0.3, We are deploying applications through EM. Where can I store the shared libraries (.jar files) so that they are shared by all the deployed applications?
    On rel 1, we used to store them under j2ee/hom/lib.
    Can someone please shed some light on it?
    Thanks,
    Kavitha

    I think the location remains the same as release 1.
    Hope its right ?????
    The other thing what you can do is configure the application.xml file in the home/config directory and add a new library tag with the location corresponding to where u r placing ur jar files.
    regards,
    Sachin

  • Shared libraries error (libdns_sd.so)

    Hi !
      Since an upgrade of KDE (I can tell which module since I didn't notice right after the update, but after some days), I cannot open some applications anymore.  It wasn't a major KDE update, but a minor update.  I use KDE 3.5.
      When I try to load "Krdc", among others, even the System Guard (ksysguard), I got the following error:
    error while loading shared libraries: libdns_sd.so
    Any idea what I can do to resolve that ?  I tried to reinstall kdelibs, kdebase and kdenetwork, but without success.
    Thanks !
    Xor

    Welcome.
    In the future, if you need to find out which package owns a missing file try
    pacman -Ql | grep filaname

  • One computer can't see any other iPhoto shared libraries

    My Powerbook can't see any other computer's shared iPhoto libraries. However, all my other computers can see its iPhoto library.
    All computers are running the same version of iPhoto.
    I posted this in the iPhoto forum, but I'm reasonably sure this is a networking problem. Why? If I create another user on my Powerbook, it can see all the other shared libraries. So, the problem exists on only one account on one computer. I think there is a corrupt system setting in that account's ~/Library/ somewhere. Any suggestion which file it is? I've already dragged out likely culprits to no avail.
    I have no problem sharing iTunes libraries; that works fine. So do file transfers to and from.
    Here's what else I've done:
    Verified iPhoto Preferences is set to "Look for shared photos" and "Share my photos" (obviously).
    Tried requiring a password, and not requiring a password
    Verified System Preferences > Sharing > Firewall has "iPhoto Bonjour Sharing" checked.
    Deleted ~/Library/Preferences/com.apple.iPhoto.plist
    Deleted ~/Library/Preferences/com.apple.systempreferences.plist
    Deleted ~/Library/Preferences/com.apple.iApps.plist
    Deleted ~/Library/Preferences/com.apple.digihub.plist
    Turned off Little Snitch
    Quit / restarted iPhoto a few times
    Logged in / out, rebooted a few times
    Researched iPhoto Help
    Researched the discussion boards
    Repaired permissions on both (as you can see, I'm resorting to voodoo tactics)
    Dragged my iPhoto Library out of ~/Pictures and created a brand new empty library (more voodoo)
    Googled the problem
    Posted this topic
    That's all I can think of to do.
    So... what haven't I done?

    If iPhoto works for one user on a computer, it ought to work for all users. So the program itself can't possibly be a problem. Right?
    Apparently not. I deleted iPhoto, and reinstalled it. That fixed the problem for the one recalcitrant account.
    The problem with voodoo is that sometimes, it works.

Maybe you are looking for

  • Shortened Fiscal Year and its impact on BI back end and Bex reports

    Hi All, Our client is making some changes to the fiscal year period. Becuase of some business requirements, we will have to shortened the fiscal year. Can you please suggest - what are the watch points when we do this?                                

  • How to get the amplitude of a sound as a float number in Java

    Hi, I would like to create a program which plays an audio file(it may be a midi, probably) and it returns the amplitude of the sound in terms of float number. I mean, is it possible to obtain this number, since every sound file is actually a sequence

  • I need to reinstall PS7 on a computer running Win7

    I have PS7 on my computer, transfered files from my old PC, but when I try to run the installation disc, it just stops. I get no error messages. It works fine on my old computer running Vista. I have a 2TB hard drive that is not partitioned, but I ca

  • Develop Preset for Import in LR4.2 (iMac 10.8.2)

    Can any please tell me how to set up a preset on the Import page (there are some there now) that I can use when I import my photos into LR. I am tired of going to Lens Correction in the Develop mod to put the nikon lens in that I used for the shoot.

  • Download Class fraction

    does anyobdy know where i can download a class fraction that can fix the following errors: EyeOfHorus.java:22: Method denominator() not found in class Fraction. f = new Fraction(Integer.parseInt((String)event.arg), f.denominator()); ^ EyeOfHorus.java