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
Similar Messages
-
Where are imported shared libraries defined
in system-application.xml, the imported-shared-libraries are defined as :
<imported-shared-libraries>
<import-shared-library name="oracle.dms"/>
<import-shared-library name="oracle.jdbc"/>
and these are used in server.xml like:
<import-shared-library name="oracle.jdbc"/>
my questions is where does the imported libraries name and actual jar files defined. for ex. for the name oracle.jdbc, where are the jar libraries location defined?
I got a problem looks like application server not able to find these jars unless I copy them to the applib folder.
ThanksAdditional shared libraries may be configured to override the default shared libaries, including the oracle.jdbc library.
http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapjdbclib/doc/readme.html -
Where does Lightroom 2 store my libraries (OSX)?
I am wondering where LR2 stores my libraries on OSX. If they are files imported from other directories, can I now delete those directories?
I am wondering where LR2 stores my libraries on OSX.
To find your catalog, go to Edit>Catalog Settings, clcik the Show button on General page.
To find where your image files are, Ctrl-click/right-click on any folder or image and choose Show in Finder.
If they are files imported from other directories, can I now delete those directories?
If during import you've chosen to Copy files to new location then it's safe to delete the files from their original location. If you've chosen Add photos without moving, then of course you shouldn't delete them, since Lightroom is referencing them at their original location. -
I just want to know where to find my shared libraries on the stupid new iTunes. The layout was fine before, but when they changed it, I can't seem to find them. The articles on Apple are a million years old, before the latest iTunes update, so they are no help. Thanks.
carlygo wrote:
The articles on Apple are a million years old, before the latest iTunes update, so they are no help. Thanks.
It's only 7 months old and it is still correct.
ctrl B = Show sidebar.
ctrl S = Show menu. -
Hi,
I found the thread Cannot attach data store shared-memory segment using JDBC (TT0837) but it can't help me out.
I encounter this issue in Windows XP, and application gets connection from jboss data source.
url=jdbc:timesten:direct:dsn=test;uid=test;pwd=test;OraclePWD=test
username=test
password=test
Error information:
java.sql.SQLException: [TimesTen][TimesTen 11.2.1.5.0 ODBC Driver][TimesTen]TT0837: Cannot attach data store
shared-memory segment, error 8 -- file "db.c", lineno 9818, procedure "sbDbConnect"
at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3295)
at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3444)
at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:3409)
at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:813)
at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1807)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:303)
at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:159)
I am confused that if I use jdbc, there is no such error.
Connection conn = DriverManager.getConnection("url", "username", "password");
Regards,
NestaI think error 8 is
net helpmsg 8
Not enough storage is available to process this command.
If I'm wrong I'm happy to be corrected. If you reduce the PermSize and TempSize of the datastore (just as a test) does this allow JBOSS to load it?
You don't say whether this is 32bit or 64bit Windows. If it's the former, the following information may be helpful.
"Windows manages virtual memory differently than all other OSes. The way Windows sets up memory for DLLs guarantees that the virtual address space of each process is badly fragmented. Other OSes avoid this by densely packing shared libraries.
A TimesTen database is represented as a single contiguous shared segment. So for an application to connect to a database of size n, there must be n bytes of unused contiguous virtual memory in the application's process. Because of the way Windows manages DLLs this is sometimes challenging. You can easily get into a situation where simple applications that use few DLLs (such as ttIsql) can access a database fine, but complicated apps that use many DLLs can not.
As a practical matter this means that TimesTen direct-mode in Windows 32-bit is challenging to use for those with complex applications. For large C/C++ applications one can usually "rebase" DLLs to reduce fragmentation. But for Java based applications this is more challenging.
You can use tools like the free "Process Explorer" to see the used address ranges in your process.
Naturally, 64-bit Windows basically resolves these issues by providing a dramatically larger set of addresses." -
Where to store Videos in ADF Projects/Applications !?
Hi,
We have ADF Applications, where the UI-Taskflow Jars are used as shared libraries in Web-center Portal Pages,
Now, the Customer has VIDEOS has to be played/streamed inline in the jsff,
We are wondering what is the best location to store these Videos!!?
If we put in our ADF-UI-Application itself as part of public_html or so! , the the EAR size will go very big/vast and we will end up with many memory/performance issues right!?
Is there any other way/place we can store these videos and make the available to be played/streamed in our applications's jsffs,
Any pointers would be grateful,
Thanks,
Chaitanya.Well for this you need to use any content management software.
Either Oracle Webcenter content, adobe CQ 5 or Hippo which support web services to provide the data.
But you can use webcenter content (UCM) which support RIDC api , its i best integrated with ADF
http://jonathanhult.com/blog/2012/12/ridc-examples/ -
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.
GeneSo, 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 -
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,
MathewHi,
THank you for the replay. Where will I get this package?
Regards,
Mathew. -
I got the following error
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.4681/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
Tuxedo 9.1 base installation complete
when tried to install Tuxedo 9.1 on unbreakable Linux 5. I am trying to install Peoplesoft.
I found this error is pretty common, not necessary appear when installing Tuxedo. I am searching around and a lot of people saying to comment out the line
export LD_ASSUME_KERNEL
The problem is I don't know which in which file I need to do it. Has anyone have the encountered the similar problem before? Thanks.After reading the installation script, I figure out which is the evil file. I just post it here so if someone get into this problem in the future, he can fix it.
Here is the solution:
Assume you are at the directory where the install.sh is. Do the following:
-bash-3.1$ cd linux/sles9/base
-bash-3.1$ cp tuxedo91_32_SLES_9_x86.bin tuxedo91_32_SLES_9_x86.bin.bak
-bash-3.1$ cat tuxedo91_32_SLES_9_x86.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" >tuxedo91_32_SLES_9_x86.bin
-bash: tuxedo91_32_SLES_9_x86.bin: Permission denied
-bash-3.1$ cat tuxedo91_32_SLES_9_x86.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" >tuxedo91_32_SLES_9_x86.bin
Then run the installation script
sh install.sh and be happy as I am now!!!! -
Hi
I copied across an /opt folder from a Redhat 9 server that has Oracle 9.2.0 to a Redhat AS 4. I then set the oracle variables, hoping after that I can get the database up and running. However I get this error, when trying to start the listener or sqlplus:
lsnrctl: error while loading shared libraries: libclntsh.so.9.0: cannot open shared object file: No such file or directory
Is this library part of a certain RPM? Where can I get this RPM or this lirary?
Thanks.I copied across an /opt folder from a Redhat 9server that has Oracle 9.2.0 to a Redhat AS 4.
So you are saying that you copied the whole
ORACLE_HOME to a new server?? Are you using same
username/group on new server?? Did you relink the
binaries after copying it? What is the output of ls
-l on ORACLE_HOME dir and as what user you are
running lsnrctl command??
Daljit SinghYes I copied the folder that has Oracle_Home and datafiles.
i have created the oracle user.
How do I relink the binaries?
I run it as oracle. -
Proc: error while loading shared libraries: libwtc9.so
Hi,
I have a server with RHAS 3.0, and installed 10g database and 10g Forms and Reports.
Now, I try to compile my ProC but I receive the following error:
"[sustore@teste01 src]$ ./comp_all
conv_scci.pc
conv_scci.pc
proc: error while loading shared libraries: libwtc9.so: cannot open shared object file: No such file or directory
make: *** [conv_scci] Error 127
COMPILE_ERROR IN conv_scci.pc
COMPILE_ERROR IN conv_scci.pc
help_eaf.pc
" etc...
Can anyone help me?
Thanks,
Carlosry to do this:
find / -name libwtc9.so
will be appear path where is placed this library
and/or without firts step define following ENV var:
if already declared LD_LIBRARY_PATH
export source LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:<path where is placed you library>
if not declared LD_LIBRARY_PATH
export source LD_LIBRARY_PATH=/usr/lib:/user/sbin/lib:<path where is placed you library> -
Ops center 12c installation last stage we are getting below error :
INFO: starting new satellite SMF services
satadm: Enable HTML redirect
satadm: Disabling application/scn/ec-server-splashpage
/opt/sun/xvmoc/bin/svcadm: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
satadm: ERROR: application/scn/ec-server-splashpage failed to stop
satadm: Starting Enterprise Controller with SMFlite...
svcadm: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
satadm: ERROR: Error enabling Enterprise Controller run-time milestone svc:/application/scn/satellite-enable:default (rc=127)
Error: starting satellite services
Command: /opt/sun/xvmoc/bin/satadm start -v -w
Exit code: 1
Output:
Please fix the problem and then try this step again.
For a full log of the failed install see the file: /var/tmp/installer.log.14112.
t. Try this step again (correct the failure before proceeding)
x. ExitHi Valentin
The copy error occurs when you try to copy the files to the main OS that has allocated the VM ?
Because another option is to get those files toward the VM across and ftp server. You could use
an ftp server installed in the main machine or in the network where you are connected o inclusive from
your mail if you have connection to internet.
Joel Perez
Oracle Ace Member
DBA Oracle -
Error while loading shared libraries: libpng12.so.0
Am trying to install Rockbox installer. After running the app, I get the following error:
error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
I have already installed libpng12 earlier this month for another application through AUR and that worked fine.
Where do I start?
thanksRockBox is an aur package? Does the aur package compile it from source? If it does, you should just be able to recompile. If its doing something funny and trying to download a prebuilt binary you may be out of luck on that one. The libpng12 package from AUR is installed on your system?
-
Hello
While starting a few games(for example Spring and Tremolous) I get the following error:
error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such file or directory
and the start interrupts. How to start these games?skottish wrote:
eldragon wrote:
skottish wrote:Does tremulous build off of the source code? If so, rebuild it against the newer openal. Symlinking libraries is a very bad idea.
could you explain further? there must be something im missing
The best way to do it in my opinion is to grab the tremulous build files using ABS:
http://wiki.archlinux.org/index.php/ABS
Once abs is installed and run, the tremulous file will be located in /var/abs/community/games/tremulous. Copy the tremulous folder to somewhere where you have write permissions, enter the directory, change pkgrel=4 to pkgrel=5 in the PKGBUILD, and run makepkg. If all goes well you'll have a new package in that directory after it's done compiling. Then you can install it by running 'pacman -U <whatever the file that ends in .pkg.tar.gz>.
i was talking about the dangers of symlinking libraries actually... -
Error while loading shared libraries: libglut.so.3: cannot open shared
Hi, I bought the new Humble Bundle today and downloaded the tar.gz file for Fieldrunners (which is supposed to work under linux)
"error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory" is the message I get when I put ./Fieldrunners into konsole after copying the fieldrunners folder into /opt
I have freeglut-2.8.0-1 installed
This is the README:
This is Fieldrunners for Linux.
It was built under Ubuntu 12.04 but is known to work in other distros.
The only external dependancy is the freeglut3 library.
To install:
copy the fieldrunners directory (executable and game assets) to /opt
copy the .fieldrunners directory (user options, achievements and saves) to your home directory.
If you don't want to copy the fieldrunners directory to /opt, you can likely start fieldrunners from any folder and it will attempt to find the assets in the same folder as the executable.
The executable /opt/fieldrunners/Fieldrunners will create the .fieldrunners directory in the home directory if not found.
EDIT: Forgot to mention, there is no PKGBUILD file in the tar.gz
Last edited by harsha (2012-08-15 23:43:19)My Fieldrunners says:
cannot open audio device (Device or resource busy)
Fieldrunners: pcm.c:928: snd_pcm_state: Assertion `pcm' failed.
... so I have to kill pulseaudio first (or use padsp). After that (with alsa), it has choppy sound. 1 second sound, one pause...
Spacechem is windows binary + a wine'ish blob (that just freezes on my machine), comes only as rpm/deb and seems to insist to be installed in /opt (AND some files in /usr/share). The included .exe doesn't work with native wine either (without further adjustments at least).
Doesn't really look good at all so far, this bundle.
edit:
Also: Uplink seems to be unplayable on a big resolution Display without workarounds due to its small font...?
Spirits says:
(Spirits-64:14143): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Fatal error reading PNG image file: Incompatible libpng version in application and library
... but seems to work fine at a first glance (safe for a missing picture in the launcher which isn't really tragic).
edit:
( Aaaand, now I notice I'm in the wrong thread and/or forum. Where did that generic "is the bundle working?"-thread go? Stupid multi-tabbing xD )
Last edited by whoops (2012-08-16 20:47:17)
Maybe you are looking for
-
Podcast client that downloads episodes during sync
Does anybody know of a podcast client for iPhone 4S and iOS 7 that will download all the podcast episodes physically to my iPhone? The default Podcast app seems to download episodes only on demand, but for me that is a problem because that way it max
-
it will not let me download any apps it says that the apps are not compatiable with ios 4.2.1
-
i have light room 5 tried loading map but only get the yellow and orange/red photo tags click on the tags the photos show but the map it self will not load
-
Is it possible to swap my landline number so it be...
I'm moving at the end of February 2010 and was wondering if my land line number can become my VOIP number as I'm moving into a different area code and I won't have the hassle of telling people my new number?
-
Trouble with Safari and keychain after upgrade to Snow Leopard
I just upgraded from Leopard to Snow Leopard. Previously in Safari (with Leopard), when logging in to a website, I entered the first character of my login and, depending on the settings in Keychain, the login/password was autofilled or I was prompte