Dummy issues of shared libraries

Hello *.

I'm painfully improves my understanding on shared libs. I read technical docs how reference them etc, but I guess I'm missing the concepts.

I built a web service with 10.3 workshop that works of course the end of the workshop, the default settings, so the web service references 3 automatically shared libs.

Now, I have manually deployed this Web service application to a managed instead of the admin server and it failed. I realized I have to target libraries shared with the managed server, which is understandable. But still, wouldn't not useful to have shared some libs targeted on all servers by default? (actually I don't know if there is such a thing, target to all servers, all I know is target to an entire cluster).

Now, I tried to deploy the same web service to another domain with administration console. It does not work. Workshop deploys shared libraries but not admin.

Now my main question is about the concept behind.

1. is there a recommended way to get rid libraries shared for a workshop project, once it has been configured to use shared libs?
Is the only way by manually adding the lib shared under WEB-INF/lib?

2. is there a deployment shared dependent libs? I mean if workshop can do, couldn't wls admin do the same way?

3. If I generate a build script, he'll deal with deployment shared libs?

4 assume that I want to replace wls-commonslogging - bridge.war containing the commons - logging.jar.
where is located the pot?

I understand share libs make sense for larger projects, but I do not understand that I need to deploy 3 of them first to
make a web service of Hello World running.

curious,

Barossa

Published by: Barossa on February 18, 2009 21:17

First of all, to questions of the workshop you can try this specific forum:
Workshop

Your question has certainly WebLogic components too. I would like to try some of them.

>

1. is there a recommended way to get rid libraries shared for a workshop project, once it has been configured to use shared libs?
Is the only way by manually adding the lib shared under WEB-INF/lib?

This would be a way, another way would be APP-INF/lib of the EAR. Shared libraries are defined in weblogic.xml or weblogic-application xml. Usually a domain is configured with libraries that will be deployed when you create if you are just using the standard libraries of shared as part of the workshop, WebLogic etc. You can also make sure that your deployment mechanism, such as WLST, verifies that the libraries are deployed.

>

2. is there a deployment shared dependent libs? I mean if workshop can do, couldn't wls admin do the same way?

It is my understanding that it is a convenience mechanism that workshop built specifically. You shared libraries are defined in the workshop in the preferences so that he knows where to find if they are absent, it is not necessarily true for the deployment of the server administrator.

3. If I generate a build script, he'll deal with deployment shared libs?

No doubt WLST can be used to do this.

4 assume that I want to replace wls-commonslogging - bridge.war containing the commons - logging.jar.
where is located the pot?

Can't remember offhand (not on my normal machine right now), but you should be able to check easily by searching for your installation of WLS for shared library name (the war in this case). In addition, workshop should have a reference somewhere in the preferences.

I understand share libs make sense for larger projects, but I do not understand that I need to deploy 3 of them first to
make a web service of Hello World running.

Tags: Fusion Middleware

Similar Questions

  • Connectivity-shared libraries HomeGroup problem

    Original title: win homegroup 7: problem with shared libraries

    Had a group of residential work on win7 - 64 bit, wireless (2 computers laptops + printers) for months.

    Suddenly and without apparent reason, if a laptop (A) is turned off, the other (B) can not find (A) when it is put on. (A) can still be found (B).  If the permissions of the library (click right/share) are reset on (A) while the homegroup to work perfectly.  The permissions must be reset every time that (A) turns on. Turn off the Norton firewall makes no difference.
    Help please
    Pat

    Hello

     
     
    I suggest you try these methods and check the status of the issue.
     
    Method 1:
    Open the homegroup troubleshooting utility.
     
     
    Method 2:
    Homegroup to delete and recreate it.
     
    Homegroup
  • [CARS] [root.sh FAILS] sqlplus: error while loading shared libraries

    Good,

    Let me explain the whole scenario...

    -Installation 11.2.0.3.0 RAC on RHEL 6.5

    -Silent Install (GI 4 RAC nodes)

    -Every success, except resolve.conf (that we do not use DNS to resolve the scan) prerequisites in the scene runcluvfy.sh - pre...

    -Installation launched, remote operations successful, root.sh script prompted and DAMN... gave below error

    = o/p of the root.sh on screen script =.

    User ignored the prerequisites during installation

    /U01/app/11.2.0/grid/bin/sqlplus - V... has no rc = 127 with message:

    /U01/app/11.2.0/grid/bin/sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: no such file or directory

    Cannot add (property/value): ('VERSION / ") for the control point: ROOTCRS_STACK. Error code is 256

    /U01/app/11.2.0/grid/bin/ocrconfig.bin: symbol lookup error: /u01/app/11.2.0/grid/lib/libclntsh.so.11.1: undefined symbol: nnfyboot

    Cannot create or upgrade OLR

    /U01/app/11.2.0/grid/Perl/bin/perl-I/U01/app/11.2.0/grid/Perl/lib-I/U01/app/11.2.0/grid/CRS/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

    = root.sh records ends =.

    Now, this question is there for nearly 20 hours with Oracle Support and I have tried almost possible workaround suggested by Oracle Support (reboot, reinstall and...)

    Well I have no doubt in the Support of Oracle asking here on the issue, but to get chance that someone had already faced this same question.

    Now, I wish ultimately I find a culprit who are lower than o/p.

    =========================================

    [lib root@node1] # ls - ltr libsqlplus.so

    -rw - r - r - 1 grid oinstall 1477446 August 5, 2011 libsqlplus.so

    [lib root@node1] # ls - ltr libclntsh.so.11.1

    -rw - r - r - 1 root oinstall 52697691 December 10, 00:46 libclntsh.so.11.1

    [root @node1 lib] # ls - ltr libnnz11.so

    -rw - r - r - 1 root oinstall 7955322 August 17, 2011 libnnz11.so

    [root @node1 bin] # ls - ltr sqlplus

    -rwxr-xr-x 1 grid oinstall 9352 sqlplus August 5, 2011

    ======

    [@node1 grid grid] $ ldd /u01/app/11.2.0/grid/bin/sqlplus

    Linux - vdso.so.1 = > (0x00007fff7e72a000)

    libsqlplus.so = > not found

    libclntsh.so.11.1 = > not found

    libnnz11.so = > not found

    libdl.so.2 = > /lib64/libdl.so.2 (0x00000031f7400000)

    libm.so.6 = > /lib64/libm.so.6 (0x00000031f8400000)

    libpthread.so.0 = > /lib64/libpthread.so.0 (0x00000031f7c00000)

    libnsl.so.1 = > /lib64/libnsl.so.1 (0x00000031f9c00000)

    libc.so.6 = > /lib64/libc.so.6 (0x00000031f7800000)

    /lib64/ld-linux-x86-64.so.2 (0x00000031f7000000)

    ========================================

    your questions and comments are welcome...

    Re-install gcc libraries and test it.

  • sqlplus: error while loading shared libraries: /opt/oracle/lib/libclntsh.so.11.1: ELF file data encoding not little-endian not

    Hello

    I get the error message below.

    We have made the correction but the suite spot not be able to start the database.

    sqlplus: error while loading shared libraries: /opt/oracle/u01/app/oracle/product/11.2.0.3/lib/libclntsh.so.11.1: ELF file data encoding not little-endian not

    Need your help in resolving this issue.

    Thank you

    Srinivasan R wrote:

    Hello

    FYI,.

    We have applied the fix for database only and there's OS patching.

    Thank you

    Srinivasan R

    Realize that Oracle provides the PATCH of the DATABASE for different versions of the OS & if you apply the patch to the database for the version of Solaris on a HP version.

    then the problems will result.

    If sqlplus worked without error before applying the patch & now ENDIAN error reports, problem exists between keyboard and Chair!

  • Shared libraries

    I'm having some trouble with making a shared library or libraries in general.

    Question #1

    I create a shared library code, header, etc. Build the project and... nothing. According to my console:

    Build error
    Generated resource conflict:
    two resources of the same name: /sharedLib/Device-Debug/src/codeFileInSharedLib.o
    generated by different tools
    tool1: QCC Compiler
    tool2: QCC Compiler
    

    I can't find anything on it, but it gives me headaches and refuses to compile.

    This opens to question #2, in fact, I managed to get the project to compile (when she was smaller and more basic) but he bumped to another question when I tried to connect to a project:

    cannot find -lsharedLib
    

    Now based on what I got from the beta forums:

    elenalaskavaia:
    
    Depends what project type you have, normally you don't want to link again .o file, you should create a library and link with library. You can create a static library project called myboost, copy you source there.
    If this a managed project it will be all set you just have to build it. It will produce libmyboost.a file
    
    In the project that using it you have to specify few things - that a) you want to link to that library  b) where to find it c) where to find headers for this library d) if you want you can specify project dependency, so if you change library you binary project will be automatically recompiled
    
    Docs for managed projects set-up
    
    --------------------------------
    
    For manage projects (both main and library are managed projects).
    
    Main project is aaa and library is bbb.
    
    * Specify library and library path in linker
    In aaa project properties->C/C++ Build->Settings->QCC Linker->Libraries
    
    - Select "All configurations" in Configuration drop down at the top of the
    window
    - In library path add ${workspace_loc:/bbb}/${ConfigName} (Click add icon)
    (variable with $ are verbatim, bbb is the project name which changes)
    
    - In libraries, click Add and add you library name, i.e. bbb
    
    * Specify includes
    - Switch to Qcc Compiler->Preprocessor on the left
    
    - Add include folder ${workspace_loc:/bbb/src} (assuming public headers for bbb
    library in src folder of bbb project
    In aaa project properties->C/C++ General->Paths and Symbols->Referebces tab
    
    * Specify dependency
    - In configurations select your active configuration (on top)
    
    - Expand bbb project and select matching configuration
    
    - Unfortunately you have to repeat it for all configurations you use (Select
    Configuration on top, then check reference to matching configuration in bbb
    project)
    Press Apply and close the dialog
    

    I was able to get the project to post a link, but this seems a little more finicky (as if I change a library in General "C/C++" project ownership, it erases the libraries located in ' C/C++ Build'.

    Finally, the question I have not met yet, number #3:

    How truly I create an application that uses a shared library, because shared libraries are not supported (in the direction of load a single library and everyone can access). The Release version (which creates a BAR) will add him or this library I need to do something more?

    So after all that, advice or solutions?

    I guess I should do the same for a static library?

    * facepalm * okay, nevermind. I didn't know that I had 2 files of source code with the same name. Question #1 and #2 set. I'll leave the thread open if someone knows the answer to the #3 question.

  • FNDCPASS: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: no such file or directory...

    Hello friends,

    After the end of my process of cloning... I try to change my login user ID pwd through FNDCPASS, but, unfortunately it show me this error as I try to used the @CMclean.sql. also, you cannot run.


    FNDCPASS: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: no such file or directory...


    Score help out me

    Post the details of the version of the application and the operating system.

    Have you from the correct env file before running FNDCPASS? See (Doc ID 943005.1) for more details.

    If it comes to 12.1.x on Linux OS, please make sure that you follow all the steps by (Doc ID 761564.1) / (Doc ID 761566.1) and you have all applied pre - req OS packages.

    Thank you

    Hussein

  • ggsci: error while loading shared libraries: libnnz10.so:

    Hello

    I try to install goldengate software 32 bit oel.

    I had this executable
    fbo_ggs_Linux_x86_ora10g_32bit.tar
    After download and extraction of V26187 - 01.zip

    but when I try to run ggsci
    He complains about

    [oracle@localhost gg_amer] $ ggsci
    ggsci: error while loading shared libraries: libnnz10.so: cannot open shared object file: no such file or directory

    I don't see libnnz10.so on my source database. my source database is a database of GR 11, 2 and I see libnnz11.so
    ./11.2.0.2/lib/libnnz11.so

    can someone point me to the right direction.

    appreciate any suggestion.

    Thank you
    Kart

    1. make sure that you have installed the correct version of GoldenGate. The part number for Oracle 11 g (edelivery.oracle.com) is 26188, not 26187 (99.99% sure this is the exact reason for your error).

    2. launch GGSCI in the installation directory (even if you can boot from outside this directory, you need to address LD_LIBRARY_PATH and some other brain damage).

    3 make sure that your OS GoldenGate username is at least a member of the group that belongs to your Oracle software owner (for example, owner is oracle, group s/n, so make sure your owner member of dba).

    4. from the prompt of your OS, it seems you are using oracle, but in this shell session, is your Oracle environment squared away (ORACLE_HOME and SID, for example)?

  • error while loading shared libraries: libdb.so.3

    Hello

    During the execution of adconfig, I am getting error below:

    / IAS/apache/perl/bin/perl: error while loading shared libraries: libdb.so.3: cannot open shared object file: no such file or directory.

    It's the new cloned environment 11.5.10.2 with 11g db on linux 64-bit server.

    I checked for rpm compat-db - 3.3.11 - 4, it is in force. What is the problem?

    Thank you
    Kouadio

    Hi Steve;

    Check the following note:
    On 11.5.10.2/Redhat Enterprise version 5.2, adconfig Autoconfig running. SH, Perl, error while loading shared libraries: the libdb.so.3: cannot open shared object file: no such file or directory [730656.1 ID]

    Respect of
    HELIOS

  • shared libraries. Cached BUT if I add another element - it features?

    HI - using libraries shared at present for a scalable e-learning courses. All items must be used on several screens.

    BUT if I add a new element to the published swf shared - then next time I access my learning program, it will download the ALL NEW library shared - is that correct? That is to say: in the first place against the goal.

    So if it's true the best idea would be to use separate shared libraries. IE: sharedLibraryMusic1.swf sharedLibraryMusic2.swf for the new mp3s

    etc...

    Or is it nonsense. That is to say: a new shared library updated with a new "little" element will not cause the entire swf file to download it again?

    It is so important that it can make or break the download speeds.

    Thanks in advance

    The browser caching is controlled by the request that url no matter what type of asset is at the server end. Browser (and Flash) has no intrinsic mechanism to compare cached versions of remote files or if changes have occurred. This means that if you want to make sure that the latest version of file is used - you need to recover the files each time. Unless, of course, you write logic that compares the files by, say, versioning them and either have framework configuration that describes what to charge.

  • EPCO adding weblogic shared libraries - can add it to a project of the EAR?

    Project > properties > Java Build Path > libraries tab > add library button > WebLogic Shared Libraries > next.

    the foregoing is not available for the EAR project...

    Andrew is describe something different. You cannot configure a library shared via the Java EE Module dependencies page reference. Who does something different.

    To answer the original question... An EAR project is not a Java project, so there is no way to build. You add references to shared library path to build some modules that need to access the types contained in the shared library. The tool will sort what descriptors must be modified to make this work. After you change the path to build, look in the view of problems for problems of differences between stuff referenced on the way to build and that specify the descriptors. Problem markers, you can access quick fixes for updating the descriptors.

    -Konstantin

  • error while loading shared libraries

    Hello

    I'm starting with Berkeley. So, in order to learn how to use it, I decided to follow the guide getted starting with Berkeley (c++ version).

    When I compile the very first example (creating a DB class) with a small main application in dynamic link I do something like this:

    --------
    do
    g ++ o MyDb.o - c MyDb.cpp - W - wall - ansi-pedantic
    g ++ o to main.c MyDb.o - I /users/n349069/BerkeleyDB.4.7/include-L /users/n349069/BerkeleyDB.4.7/lib-D_GNU_SOURCE-D_REENTRANT /users/n349069/BerkeleyDB.4.7/lib/libdb_cxx-4.7.so
    --------

    But when I try to run my program, I get this error:
    -------
    . / find
    . / find: error while loading shared libraries: libdb_cxx - 4.7.so: cannot open shared object file: no such file or directory
    -------

    As you can see, my install of Berkeley is in a personal directory. Is that what the problem is for this reason?


    How can I solve this problem?


    Thank you for your help

    Hello

    I try but... nothing changes. I try to do this:
    ------------
    command prompt: LD_LIBRARY_PATH=/users.n349069/BerkeleyDB.4.7/lib

    Please check if you set the variable of environment successfully. To set the environment variable, please use the 'export' in this way: "export LD_LIBRARY_PATH=/users.n349069/BerkeleyDB.4.7/lib:$LD_LIBRARY_PATH". To see if it is set successfully, please use 'env' to see a list of all environment variables and check the LD_LIBRARY_PATH variable in the list.

    If it does not, please reinstall Berkeley DB. Your message, I'm assuming that you are on * nix platform. You may refer to section 27 "building Berkeley DB for UNIX/POSIX" on http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html

    Kind regards
    Emily Fu, Oracle Berkeley DB

  • «"" Asset cc shared libraries?»»»

    First of all if I create a library folder complete with graphs etc and then share with my team can each team members add to the folder and change the elements and vice versa? Or if I created and shared I am the author and the only one allowed to edit?

    Secondly, what happens if for some reason this shared resource file or elements thereof, are removed? Can they be restored or they are lost forever?

    I hope that these are simple questions and I can start using libraries soon

    Thank you

    Dean

    To your first question, with the new version of CC, both are possible.

    If a folder has not yet synchronized with CC, you can copy the assets out of it, before it will be deleted. Although, you should have a copy of your assets elsewhere without worrying. I'd never have everything sitting in one place.

  • Issues in Shared Services, work space and financial reports

    Hi all

    I'm working on hyperion 9.3.1.
    I have two questions. Someone help me right now

    (1) in the shared services, I can not able to access my planning application. If I click on the application of planning his * "loading for a long time."

    Note: I've updated patches * 8527948 * to 9.3.1. Still, I am facing the error.

    (2) I created two applications registered with shared services and conventional planning. I do not see the planning application in the workspace.

    (3) I can't access financial information through the workspace. Please let me know the url for FR. (http://localhost:8200/hr/index.jsp - If I give this url its redirection to the workspace)

    My installation command:

    (1) shared services
    (2) Essbase
    (3) EAS
    (4) services UI report and analysis
    Analysis and report 5)
    (6) planning

    Please guide me in this situation.

    Thank you
    PC

    Hello

    On the issue of not to see planning applications, have you tried to reconfigure the part of the web server for the analysis of reports & in the configuration utility, you probably have to do if you have set up the planning after reporting & analysis

    What do you mean that you can not access the financial information? You must create a report by using the financial Studio of Reporting client, then save the report in the workspace.
    The report is then available via explore in the workspace.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Firefox: error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: no such file or directory

    I wiped any old version of firefox the machine off. Fedora 16 64-bit execution. Try to install Firefox 19.0.2 64 bit.

    I thought about it. I forgot that I have installed older versions as a root user. I tried to install the new version as an ordinary user. the key was the Permission error. regular user had permissions for required libraries.

  • Y at - it an option to disable automatic execution for the House, shared libraries?

    While most of the people like AutoPlay, when it comes to my home library share (computers), it is not necessarily the case. I was unable to find a way to disable this automatic reading as you can for Netflix and Hulu.  Does anyone know of a way to change this behavior? Or anyone who can test the next version does not know if such an option is coming?

    I thank in advance for the help of nay or preview, you can offer.

    It then, I had not noticed that he did that - not used home sharing a lot recently, but I don't know this "side" image in photo type things annoy me or when the credits at the end to get minimized to suggest other content.

    Send feedback if you do not find a solution:

    http://www.Apple.com/feedback/AppleTV.html

Maybe you are looking for