EARs & Shared libraries

So maybe I'm a bit confused as to the purpose of shared libraries in EARs, they work perfect for us in our web apps - using 10.3 btw. We were expecting a similar behavior in the EAR modules (the libraries 'become/act as' part of the ear/lib directory), however it seems that what actually happens is the WAR (we deploy the shared libs as a war) becomes part of the EAR, causing issues if referenced from more than one EAR, but also, as a WAR, not allowing EAR modules and contained JAR files access at the shared libraries.
Is there a way to replicate the behavior of the shared library in the WAR inside the EAR? Is there a reason shared libs act this way in the EAR (part of spec maybe), seems counter intuitive, and certainly not at all helpful.

I'm referencing shared libraries from an EAR, but the shared library needs to be packaged as an EAR to get the behavior you're after.
Typically this would involve creating an EAR with shared jars in the APP-INF/lib folder. The shared library EAR will require at least one module - an empty jar will suffice. Weblogic 9.2 used to have a few EAR shared libraries in BEA_HOME/weblogic92/common/deployable-libraries - can't see them in my 10.3 install.
Referencing a WAR shared library from an EAR has the effect of including that web app in the EAR - you might use this if you had a common web app that was shared across several applications.
Davin.

Similar Messages

  • How to merge portlet.xml file from shared libraries into an EAR application

    Hi all
    I need some help
    I have some applications as shared-libs referenced by weblogic.xml into a EAR application.
    To see all portlets from that shared-libs, I'm creating a portlet.xml into the EAR application with all portlets from all shared libs. But is terrible for me. I would like to have it merged automatically without having to create it in the EAR application. Is that possible?
    Regards
    Bruno

    In the documentation, I saw this text:
    Overriding Shared J2EE Library Settings in the web.xml File
    At runtime, the web.xml files in all the shared J2EE libraries are merged, along with the web.xml
    file in your portal web project. The content of your WEB-INF/web.xml file overrides anything in
    the shared J2EE libraries, so if you want to change particular settings, you can do it there.
    There are many other files for which file contents are merged; these can be overridden in the same
    way. These files include not only WEB-INF/web.xml but also WEB-INF/weblogic.xml and any
    files mentioned in weblogic-extension.xml from either the users' application or the shared
    libraries.
    It seems to be possible to customize the weblogic-extension.xml. But I haven't seen how to do that
    What do you think about it?
    Regards
    Bruno

  • Use of deployment classpath or shared-libraries to pick-up "custom" classes

    Hi,
    I’m trying to determine an approach to dealing with how classes are found in a deployed ADF application via classpath, etc. I’ve tried to explain the situation below as best I can so it’s clear. If you have any comments/suggestions as to how this could be done, it would be much appreciated
    Current Application structure:
    Consists of an application initially deployed to OC4J 10.1.3.4 using an alesco-wss.ear file
    Application contains a single Web Module, initially deployed as wss.war file within the alesco-wss.ear file above.
    The Web Module (wss) was built in JDeveloper 10.1.3.4 using 2 projects, a Model and ViewController project, and uses ADFBC.
    The Model project seems to also generate an alesco-model.jar file in the /WEB-INF/lib/ folder, even though Model classes are in the /WEB-INF/classes/ folder below?
    Exploded structure of application on application server looks something like:
    applications/alesco-wss/META-INF/
    /application.xml <- specifies settings for the Application such as Web Module settings
    /wss/
    /app/ <- directory containing application .jspx pages protected by security
    /images/ <- directory containing application images
    /infrastructure/ <- directory containing .jspx files for login, logout and error reduced security
    /skins/ <- directory containing Skin image, CSS and other files
    /WEB-INF/
    /classes/ <- directory containing application runtime class files as per package sub-directories
    /lib/ <- JAR files used by application (could move some to shared-libaries?) – seems to contain alesco-model.jar
    /regions/ <- directory containing .jspx pages used for Regions within JSPX template page
    /templates/ <- directory containing template .jspx pages used for development (not really required for deployment)
    /adf-faces-config.xml
    /adf-faces-skins.xml
    /faces-config.xml
    /faces-config-backing.xml
    /faces-config-nav.xml
    /region-metadata.xml
    /web.xml
    testpage.jspx <- Publicly accessible page just to test
    The application runs successfully using the above deployment structure.
    We plan to use the exploded deployment structure so that updates to pages, etc. can be applied individually rather than requiring construction and re-deployment of complete .EAR or .JAR files.
    What I’m trying to determine/establish is whether there is a mechanism to cater for a customisation of a class, where such a class would be used instead of the original class, perhaps using a classpath mechanism or shared library?
    For example, say there is a class “talent2.alesco.model.libraries.ModelUtil.class”, this would in the above structure be found under:
    applications/alesco-wss/META-INF/classes/talent2/alesco/model/libraries/ModelUtil.class
    Classes using the above class would import “talent2.alesco.model.libraries.ModelUtil”, so they effectively use that full-reference to the class (talent2.alesco.model.libraries as a path, either expanded or within a JAR).
    From the Oracle Containers for J2EE Developer’s Guide 10.1.3 page 3-17, it lists the following:
    Table 3–1 Configuration Options Affecting Class Visibility
    Classloader Configuration Option
    Configured shared library <code-source> in server.xml
    <import-shared-library> in server.xml
    app-name.root <import-shared-library> in orion-application.xml
    <library> jars/directories in orion-application.xml
    <ejb> JARs in orion-application.xml
    RAR file: all JARs at the root.
    RAR file: <native-library> directory paths.
    Manifest Class-Path of above JARs
    app-name.web.web-mod-name WAR file: Manifest Class-Path
    WAR file: WEB-INF/classes
    WAR file: WEB-INF/lib/ all JARs
    <classpath> jars/directories in orion-web.xml
    Manifest Class-Path of above jars.
    search-local-classes-first attribute in orion-web.xml
    Shared libraries are inherited from the app root.
    We have reasons why we prefer not to use .JAR files for these “non-standard” or “replaced” classes, so prefer an option that doesn’t involve creating a .JAR file.
    Our ideal solution would be to have such classes placed in an alternate directory that is referred to in a classpath such that IF a class exists in that location, it will be used instead of the one in the WEB-INF/classes/ directories, and if not such class is found it would then locate it in the WEB-INF/classes/ directories.
    - Can a classpath be set to look for such classes in a directory?
    - Do the classes have to replicate the original package directory structure within that directory (<dir>/talent2/alesco/model/libraries)?
    - If the class were put in such a directory, without replicating the original package directory structure, I assume the referencing “import” statements would not locate it correctly.
    - Is the classpath mechanism “clever” enough to search the package directory structure to locate the class (i.e. just points to <dir>)?
    - Or would the classpath mechanism require each individual path replicating the package structure to be added (i.e. <dir>/talent2/alesco/model/libraries/ and any other such package path)?
    If we are “forced” to resort to the use of JAR files, does a JAR file used for the purpose of overwrite/extending a sub-set of classes in the original location need to contain ALL related package classes? Or does it effectively “superset” classes it finds in all JAR files, etc. in the whole classpath? That is, it finds talent2.alesco.model.libraries.ModelUtil in the custom.jar file and happily goes on to get the remainder of talent2.alesco.model.libraries classes in the other core JAR/location. Or does it need all of them to be in the first JAR file for that package?
    Any help would be appreciated to understand how these various class visibility mechanisms could be used to achieve what is required would be appreciated.
    Gene

    So, nobody's had any experience with deploying an ADF application, and providing a means for a client to place custom classes in such a way as they're used in preference to the standard application class, effectively to implement a customised class without overwriting the original "standard" class?
    Gene

  • 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

  • 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

  • Shared development directory with shared libraries

    Is there a way to use the .beabuild.txt format with things other than EARs? I've got some java and web shared libraries, and I'd like to take advantage of this feature to enable rapid development of these entities.

    Dird wrote:
    Hi guys,
    I need to link to files on a shared directory (Windows based) within some APEX pages (Linux based). Anyone done this process before? How would I do it? I've tried the following:file:///J:/dir/dir/file.doc
    file:///hostname/dir/dir/file.doc
    /i/file.doc  and #IMAGE_PREFIX#file.doc  // copied file to the linux images directory to testBut none of the following allows you to access the file (nothing pops up). All users have it mapped to the J: drive on their local machine. Offsite access isn't required.Browser? Version?
    Basically file:http:security on most modern browsers won't allow you to access <tt>file:</tt> scheme URLs from an <tt>http:</tt> scheme site. Doing so is seen as a violation of the same origin policy.
    Locate the file in the database or on a web server file system and access it using <tt>http:</tt>.

  • Classcast exceptions when persistence units deployed as shared libraries

    Hi
    We are using weblogic 10.3.3 & eclipse link 2.0 persistent units:
    We have uim-entities.jar(persistent unit) under uim-core-lib.ear(/APP-INF/lib) that is deployed as a shared library. We have multiple applications(ears) referring to this shared library (same persistent name, "default") using lib-ref in weblogic-application.xml. We are facing issue while deploying and running the application.(Primarily classcast exceptions on log4j classes and entity DAOs). If the persistent unit is replication in each app's APP-INF/lib, we are not seeing those exceptions.
    Are there any known issues in using persistent units as shared libraries.
    Pasting the exception for your reference:
    log4j:ERROR Could not create an Appender. Reported error follows.
    java.lang.ClassCastException: org.apache.log4j.ConsoleAppender cannot be cast to org.apache.log4j.Appender
    at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:238)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:171)
    at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:184)
    at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:502)
    at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:415)
    at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:919)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:790)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:682)
    at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:811)
    at oracle.communications.inventory.api.framework.logging.LogFactory.<clinit>(LogFactory.java:176)
    at oracle.communications.inventory.api.framework.listener.InventoryEntityLifeCycleEventListener.<clinit>(InventoryEntityLifeCycleEventListener.java:36)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:88)
    at org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListenerMetadata.getClassForName(EntityListenerMetadata.java:158)
    at org.eclipse.persistence.internal.jpa.metadata.listeners.EntityListenerMetadata.process(EntityListenerMetadata.java:311)
    at org.eclipse.persistence.internal.jpa.metadata.accessors.classes.MappedSuperclassAccessor.processEntityListeners(MappedSuperclassAccessor.java:796)
    at org.eclipse.persistence.internal.jpa.metadata.accessors.classes.EntityAccessor.processListeners(EntityAccessor.java:1064)
    at org.eclipse.persistence.internal.jpa.metadata.MetadataProcessor.addEntityListeners(MetadataProcessor.java:104)
    at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:327)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:151)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:207)
    at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:195
    Thanks,
    Murali

    Murali,
    Hi, the CCE for Apache Log4J is outside of the scope of JPA - i have not see the "oracle.communications.inventory.api.framework.logging" package in play before - what kind of connection factory are you using or are you using JTA?
    Note: WebLogic 10.3.4.0 has been upgraded to enable container managed persistence context injection and no longer requires the use of shared libraries. See the wiki post...
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#Enabling_JPA2_support
    For WebLogic 10.3.3.0 and JPA 2.0 usage as application managed libraries using the <wls:prefer-application-packages/> weblogic-application.xml tag see the wiki post...
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
    thank you
    /Michael O'Brien
    http://www.eclipselink.org

  • Error while loading shared libraries: librt.so.1: cannot open shared object

    error while loading shared libraries: librt.so.1: cannot open shared object
    I cant run my apache server v2.2.3.
    Can someone help me?
    thanks in advance

    That could be an accessibility issue. Check the user with whom you installed Apache server. Check the user has permissions to access the libraries.
    -Mahendra.

  • Error while loading shared libraries

    error while loading shared libraries
    I just installed 10g . on a Fedora Core 4 machine and after a reboot I tried to run sqlplus and got this type of error. I also got the same error when trying to lsnrctl status ...
    [oracle@localhost ~]$ sqlplus
    sqlplus: error while loading shared libraries: /apps/oracle/product/10g/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied
    [oracle@localhost ~]$
    declare -x CLASSPATH="/apps/oracle/product/10g/JRE:/apps/oracle/product/10g/jlib:/apps/oracle/product/10g/rdbms/jlib"
    declare -x EDITOR="vi"
    declare -x G_BROKEN_FILENAMES="1"
    declare -x HISTSIZE="1000"
    declare -x HOME="/home/oracle"
    declare -x HOSTNAME="localhost.localdomain"
    declare -x INPUTRC="/etc/inputrc"
    declare -x KDEDIR="/usr"
    declare -x LANG="en_US.UTF-8"
    declare -x LD_LIBRARY_PATH="/apps/oracle/product/10g/lib:/lib:/usr/lib"
    declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
    declare -x LOGNAME="oracle"
    declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:"
    declare -x MAIL="/var/spool/mail/oracle"
    declare -x OLDPWD="/home/oracle"
    declare -x ORACLE_BASE="/apps/oracle"
    declare -x ORACLE_HOME="/apps/oracle/product/10g"
    declare -x ORACLE_SID="TST2"
    declare -x ORACLE_TERM="xterm"
    declare -x PATH="/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/apps/oracle/product/10g/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin"
    declare -x PWD="/home/oracle"
    declare -x QTDIR="/usr/lib/qt-3.3"
    declare -x SHELL="/bin/bash"
    declare -x SHLVL="1"
    declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
    declare -x SSH_CLIENT="::ffff:192.168.1.152 2503 22"
    declare -x SSH_CONNECTION="::ffff:192.168.1.152 2503 ::ffff:192.168.121.8 22"
    declare -x SSH_TTY="/dev/pts/2"
    declare -x TERM="xterm"
    declare -x TMP="/home/oracle/tmp"
    declare -x TMPDIR="/home/oracle/tmp"
    declare -x USER="oracle"
    [oracle@localhost ~]$
    Any input would be highly appreciated.
    Thanks
    Ambrosius

    yap. got it..
    disabled SELinux then run it.
    I didn't get any errors and have it up and running. Here is what I did:
    Full Fedora Core 4 install with SELinux enabled (default settings). Then, after install, disable SELinux in the /etc/selinux/config file.
    Thanks
    Ambrosius

  • Shared libraries?

    Is there an option or a solution within Photos to do shared libraries, multiple libraries on one computer and between multiple computers?  I am reading and initially it looks like there is less flexibility for this then there was in iPhoto/Aperature.  And the AD line of "For the first time, iCloud Photo Library gives you access to your entire Mac photo and video library from all your devices" doesn't work, when one iPhoto/Aperature library is 250GB, several others are 25-50GB each, looking at an aggregate over 500GB of media.  Not expecting this to be a DAM, but initially it looks like options are less.  Very hesitant about converting libraries at this point, and I have been running Photos Beta for several months now.
    Advice?

    Thanks.
    I figured as much, I was hoping that they would have built some functionality into this for home/small business shared libraries.  With so many homes let alone small businesses that have shared networks that rely on sharing resources, it would seem obvious to build that function, but I guess there are other objectives.
    We have been running iPhoto then Aperature for so long and it is integrated into all computers and devices.  Saying that we are not looking for a DAM is because we have managed to make a framework of networked libraries that does what we need, plus it is more hassle to switch to a DAM (plus I can't find one at a price we are willing to pay).
    Just going to have to bite the bullet and switch to a DAM sometime soon.

  • Sharing Libraries across accounts on one computer

    I'd like to know an easy method to share iPhoto libraries across accounts on one computer. It looks like iPhoto is more or less ignoring this topic. I have searched the web for tips, found some, yet the instructions are complicated and what seemed to be the best one didn't work. Anyone in this forum that can help me?

    haha, brian has a hidden message in there.
    Anyway, here all the links I have for sharing. The last link for using ACLs is the one I think you are thinking of.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's

  • Error in loading shared libraries

    Hi there,
    I installed Oracle 8.1.5 on RH 6.1 and I'm getting the following error when trying to run 'dbstart'
    svgmgrl: error in loading shared libraries: /opt/oracle/8i/u01/app/oracle/product/8.1.5/lib/libclntsh.so.8.o: undefined symbol: nnflboot
    I checked that the library was there but maybe it's corrupt?
    Has anyone come across this before?
    Cheers,
    Michael Gannon.

    this is because there is a lot of bug in oracle instalation.
    the linux.sh scripts or the patches, i don't remenber, lose this file. You have to get it fron the instalation CD.
    as root you have to do:
    cd /var/tmp
    unzip [oracle instalation home]/stage/Componets/oracle/networking/netclt/8.1.5.0.0/1/DataFile/LIB.0.1.jar
    unzip [oracle instalation home]/stage/Componets/oracle/rdbms/8.1.5.0.0/1/DataFile/LIB.0.1.jar
    cd $ORACLE_HOME/lib
    cp /var/tmp/libdsbtsh8.so .
    cp /var/tmp/ntcontab.o .
    chmod 644 libdsbtsh8.so ntcontab.o
    chown oracle.dba libdsbtsh8.so ntcontab.o
    the lib you have missed is due to oracle patches rename the bin oracle. When you try to run dbstart, oracle don't exists.
    review the LD_LIBRARY_PATH too.
    null

  • While booting linux VM getting error "error while loading shared libraries

    Hi Expert,
    while booting Oracle linux Virtual Machine getting error "error while loading shared libraries: libpopt.so.0 cannot open shared object file" no such file or directory
    Now i am unable to boot linux, any help appreciated.
    Note: Its Oracle Linux 5.8 x86_64 under Oracle VirtualBox
    Edited by: IgnitedMind on Apr 30, 2013 7:12 AM
    Edited by: IgnitedMind on May 1, 2013 12:04 AM
    Edited by: IgnitedMind on May 1, 2013 12:06 AM

    Without knowing what you have installed or what modifications you have done it is not possible to say what goes wrong. Like I previously mentioned, you may have installed an incompatible version of a core system library. Sorry, I'm not going to read any installation manual to find out what you might have done wrong. You may need to reinstall the complete system or just the popt installation package.
    Based on my experience people sometimes seem to misunderstanding the concept of software version requirements, which are always minimum version requirements and does not mean, for instance, software made for gcc 4.1.10 does not work under 4.1.12. You cannot simply upgrade or downgrade core system libraries without affecting the installed system. Using YUM to install software will check this and prevent you from breaking your system. RPM does not check any dependencies and hence can break your system beyond repair.

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

  • Sqlplus: Error while loading shared libraries: libsqlplus.so:

    Hi
    The Error is as follows:
    sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
    Installed R12 with RUP2.
    User Oracle already exists.
    I tried to create a user appsdev as follows:
    #adduser appsdev
    #passwd appsdev
    #cd /home
    #chmod 500 appsdev
    login as user appsdev/appsdev
    run the env file from $ORACLE_HOME
    $sqlplus
    sqlplus: Error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory
    if run the env file and sqlplus from user ORACLE.i don't get the error.
    but from the appsdev user i get the error.
    what should i do to execute sqlplus successfully from appsdev user.
    regards,
    charan

    if run the env file and sqlplus from user ORACLE.i don't get the error.
    but from the appsdev user i get the error.Is the "appsdev" user the owner of the application tier? If so, source the env file under %APPL_TOP% and check then.
    Did you specify the dba group as the primary group for "appsdev" user?

Maybe you are looking for

  • Read_text in smart forms

    I use read_text in smart form...how to pass object in this fm....actually there is standard table which maintains data according username......from which we can fetch data required for this fm..i am not getting tasble name..plz can u suggest

  • Computer for final cut

    I am going to be taking videos of interviews putting in pictures and sound. I was thinking of using final cut express for this. What computer and specifications should I get. I want to be able to do final cut pro on it if I decied to upgrade, I want

  • WLC 5508 (7.6.100.0) - AP invalidates primary/backup image after reboot

    I'm running 7.6.100.0 as default in production and wants wlc to boot with 7.5.102.0 if I run into issues regarding the 7.6.100.0. To prepare I have predownloaded the backup image into all AP's. However, if one AP reboots while the WLCis still running

  • How to detect sound using JMF

    Hi, I want to detect a beep sound that is played on the machine by another application. Basically, connect to the sound card and see if beep was played. This sound would effectively play on the machine speakers. if speakers are present. I want to eve

  • Font List / Reinstall Issue?

    Due to some brilliant stupidity by me, I accidentally removed all of my fonts using FontBook by trying to remove just the error/warning ones. Anyway, I have them all recovered from the trash and in a folder so I figured it was a good time for some sp