Java load library - std::locale::init - SIGBUS
Hi ,
I am trying to load a native library using java. This call crashes the jvm.
During the static initialization of library error is happening.
---- called from signal handler with signal 10 (SIGBUS) ------
[10] __Crun::ex_rethrow_q(0x0, 0x38, 0x0, 0x7ff, 0x0, 0xffffffff7ea0c090), at 0xffffffff7e9064fc
[11] std::basic_istream<char,std::char_traits<char> >::basic_istream(0xffffffff2c340458, 0x0, 0xffffffff2c340b50, 0xffffffff2c39d650, 0x0, 0x0), at 0xffffffff2775ee00
[12] __SLIP.INIT_A(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff2775dc60
[13] __STATIC_CONSTRUCTOR(0x0, 0x0, 0x1068a0, 0x0, 0xffffffff7ea0d0c8, 0xffffffffffec6448), at 0xffffffff2775f004
[14] 0xffffffff278ad6a0(0x0, 0xffffffff7f20d538, 0x1, 0x11ad28, 0xffffffff7f60e6a0, 0x20000000), at 0xffffffff278ad69f
[15] call_init(0xffffffff27100778, 0x0, 0xffdfffff, 0xffffffff27100718, 0x400000, 0x80000), at 0xffffffff7f60e6a8
[16] dlmopen_intn(0xffffffff7f725ea0, 0x1001f2690, 0xc01, 0xffffffff7cd01b00, 0x0, 0xffffffff7fff412c), at 0xffffffff7f6137f8
[17] _dlopen(0x1001f2690, 0x1, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f613978
[18] 0xffffffff7c2033b8(0x1001f2690, 0xffffffff7fff4690, 0x400, 0x0, 0x0, 0x0), at 0xffffffff7c2033b7
[19] JVM_LoadLibrary(0x1001f2690, 0xffffffff7fff4e10, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7e3051cc
[20] Java_java_lang_ClassLoader_00024NativeLibrary_load(0x100118d88, 0xffffffff7fff4e18, 0xffffffff7fff4e10, 0xffffffff39416318, 0x10, 0x0), at 0xffffffff7bd11768
I am using CC 5.3 -- (CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-18 2003/09/24). When i do a truss , i see that __1cDstdGlocaleEinit6F_v_ (std::locale::init) is happening , then an exception is thrown. It tries to find a file /usr/dt/lib/nls/msg//SUNW_SPRO_SC_libCstd_5.cat -- this file is supposed to have error message for an error code .. but it does not find this file in this path. and exception is rethrown. At this point , a SIGBUS happens - invalid op code.
I have the message file in this location /opt/SUNWspro/WS6U2/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_libCstd_5.msg
I wrote a C++ program in which i just do dlopen of this library and this succeeds. It does not call this function std::locale::init. I donno why.
Please let me know where i am going wrong and advise me how should i go about solving it.
Thanks a lot in advance.
Regards
Hi ,
I am trying to load a native library using java. This call crashes the jvm.
During the static initialization of library error is happening.
---- called from signal handler with signal 10 (SIGBUS) ------
[10] __Crun::ex_rethrow_q(0x0, 0x38, 0x0, 0x7ff, 0x0, 0xffffffff7ea0c090), at 0xffffffff7e9064fc
[11] std::basic_istream<char,std::char_traits<char> >::basic_istream(0xffffffff2c340458, 0x0, 0xffffffff2c340b50, 0xffffffff2c39d650, 0x0, 0x0), at 0xffffffff2775ee00
[12] __SLIP.INIT_A(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xffffffff2775dc60
[13] __STATIC_CONSTRUCTOR(0x0, 0x0, 0x1068a0, 0x0, 0xffffffff7ea0d0c8, 0xffffffffffec6448), at 0xffffffff2775f004
[14] 0xffffffff278ad6a0(0x0, 0xffffffff7f20d538, 0x1, 0x11ad28, 0xffffffff7f60e6a0, 0x20000000), at 0xffffffff278ad69f
[15] call_init(0xffffffff27100778, 0x0, 0xffdfffff, 0xffffffff27100718, 0x400000, 0x80000), at 0xffffffff7f60e6a8
[16] dlmopen_intn(0xffffffff7f725ea0, 0x1001f2690, 0xc01, 0xffffffff7cd01b00, 0x0, 0xffffffff7fff412c), at 0xffffffff7f6137f8
[17] _dlopen(0x1001f2690, 0x1, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7f613978
[18] 0xffffffff7c2033b8(0x1001f2690, 0xffffffff7fff4690, 0x400, 0x0, 0x0, 0x0), at 0xffffffff7c2033b7
[19] JVM_LoadLibrary(0x1001f2690, 0xffffffff7fff4e10, 0x0, 0x0, 0x0, 0x0), at 0xffffffff7e3051cc
[20] Java_java_lang_ClassLoader_00024NativeLibrary_load(0x100118d88, 0xffffffff7fff4e18, 0xffffffff7fff4e10, 0xffffffff39416318, 0x10, 0x0), at 0xffffffff7bd11768
I am using CC 5.3 -- (CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-18 2003/09/24). When i do a truss , i see that __1cDstdGlocaleEinit6F_v_ (std::locale::init) is happening , then an exception is thrown. It tries to find a file /usr/dt/lib/nls/msg//SUNW_SPRO_SC_libCstd_5.cat -- this file is supposed to have error message for an error code .. but it does not find this file in this path. and exception is rethrown. At this point , a SIGBUS happens - invalid op code.
I have the message file in this location /opt/SUNWspro/WS6U2/lib/locale/C/LC_MESSAGES/SUNW_SPRO_SC_libCstd_5.msg
I wrote a C++ program in which i just do dlopen of this library and this succeeds. It does not call this function std::locale::init. I donno why.
Please let me know where i am going wrong and advise me how should i go about solving it.
Thanks a lot in advance.
Regards
Similar Messages
-
Hi,
After ORACLE 11G software installation i tried to change the ORACLE_HOME directory.
OS : RHEL 4.5
DB : 11.2.0
Previous Home Location :
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/prod/tech_st/product/11.2.0/db_1
Current Home Loc:
[oracle@localhost ~]$ echo $ORACLE_HOME
/u01/oracle/db/tech_st/product/11.2.0/db_1
When i am trying the DBCA command i am getting the below error:
[oracle@localhost ~]$ dbca
java.lang.UnsatisfiedLinkError: Can't load library: /u01/oracle/prod/tech_st/product/11.2.0/db_1/oui/lib/linux/liboraInstaller.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:387)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:405)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:122)
at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(OiipgEnvironment.java:201)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.initUnixPtrFileLoc(OiipgPropertyLoader.java:212)
at oracle.sysman.oii.oiip.oiipg.OiipgPropertyLoader.<clinit>(OiipgPropertyLoader.java:125)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.updateProperties(OiicStandardInventorySession.java:492)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:266)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:240)
at oracle.sysman.oii.oiic.OiicStandardInventorySession.initSession(OiicStandardInventorySession.java:189)
at oracle.sysman.assistants.util.InventoryUtil.getOUIInvSession(InventoryUtil.java:346)
at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:87)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1023)
at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:798)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:257)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:164)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:112)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:184)
[oracle@localhost ~]$
I tried all possible ways with google help but still i am facing the same issue.Kindly check and suggest to solve the issue.
Thanks in advance.
Vijay.Hi all,
I give you the clear details about the issue what i am currently facing,
1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
5. But when i am trying to create one more db using DBCA utility it is through the above error.
Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
Thanks. -
Java.lang.UnsatisfiedLinkError: Can't load library: /
Hello
I downloaded the 32 bit JRE 5 for powerpc evaluation copy. When i try to execute the sample awt program using java.awt.headless=false. I'm getting following error.
java -Djava.awt.headless=false AWTExample
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /
mnt/usb/jre1.5.0_10/lib/ppc/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:545)
please letme know where can i get ppc/xawt/libmawt.so.
Is there any alternate solution for it. Please help me in this regard.
Thanks and Regards
Murali KrishnaHi all,
I give you the clear details about the issue what i am currently facing,
1. I installed the 11g (11.2.0) database alone(No EBS) in my local vmware machine.
2. Created my ORACLE_HOME under /u01/oracle/prod/tech_st/product/11.2.0/db_1 directory after that i tried to change my home location from /u01/oracle/prod/tech_st/product/11.2.0/db_1 location to /u01/oracle/db/tech_st/product/11.2.0/db_1 location, like created /u01/oracle/db directory and moved files from /u01/oracle/prod location.
3. I changed my bash_profile and exported home with the modified location also deregistered an old home and registered the new home.
4. When i am issuing echo $ORACLE_HOME it is showing the current home location and ORACLE_SID is same what i created before.
5. But when i am trying to create one more db using DBCA utility it is through the above error.
Please suggest me is it possible to change the location after db creation or any extra steps i have to do for this issue.
Thanks. -
Hi Experts,
I'm having an issue running cmsCollector.cmd. I run it in the command prompt and am presented with the following error:
java.lang.UnsatisfiedLinkError: Can't load Library %LINK_DIR%]BusinessObjects Enterprise 12.0\win32_x86\zlib.dll
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at com.acta.crystalrepo.crawler.CrawlerProgramBase.run(CrawlerProgramBase.java:117)
at com.acta.crystalrepo.crawler.CrystalCrawlerMain.getReportMetadata(CrystalCrawlerMain.java:204)
at com.acta.crystalrepo.crawler.CrystalCrawlerMain.main(CrystalCrawlerMain.java:80)
Any help would be appreciated.
Thanks,
Brian ComeauHi Manoj,
It seems like that got us past that step. Unfortunately, I have a new problem. Whereas the previous collection run stated that I had a number of Universes to collect (>40) it now says 0 for every type of object except folders.
I'm now getting the following error:
An unexpected error has been detected by HotSpot Virtual Machine:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7769a682, pid=3220, tid=5216
Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
Problematic frame:
C [ole32.dll+02a682]
Thanks for all of the help, I really appreciate it! -
Java.lang.UnsatisfiedLinkError: Can't load library libmawt.so
Getting a java.lang.UnsatisfiedLinkError: Can't load library .../weblogic10.3.2/jrockit_160_14_R27.6.5-32/jre/lib/i386/xawt/libmawt.so for a Java application running on WL 10.3.2. Do you have any tips or the root cause for this error? Are there any CRs that resolve it?
check this thread http://forum.java.sun.com/thread.jsp?thread=326048&forum=32&message=1436823
-
Hi all,
My question is can we load library from jar file using System.load() method.
ex:
myJar.jar
|
|----com.test.common.Util
which conatins a method to load library from jar file itself, before that i used to load from File
|---libraries/MozillaParser/......
Iam able load from Local system,
File parserLibraryFile = new File("libraries/MozillaParser" + EnviromentController.getSharedLibraryExtension());
File mozillaDistBinDirectory = new File("libraries/mozilla.dist.bin."+EnviromentController.getOperatingSystemName());
MozillaParser.init(parserLibraryFile.getAbsolutePath() , mozillaDistBinDirectory.getAbsolutePath());
but i am unable to load from jar file
URL url = ClassLoader.getSystemClassLoader().getResource("libraries/MozillaParser" + EnviromentController.getSharedLibraryExtension());
URL url1 = ClassLoader.getSystemClassLoader().getResource("libraries/mozilla.dist.bin."+EnviromentController.getOperatingSystemName());
MozillaParser.init(url.toString(), url1.toString());
Thanks in advance.That's a really confusing post.
The easiest way to make sure you can use the classes in a jar file is to copy the jar file to the "/jre/lib/ext" subfolder of your JDK. These classes will be visible to all applications. -
error:
OBJM_54538 Unable to connect to the reposiREP_51002 Database driver event...Error occurred loading library [libclntsh.so.10.1: cannot oopen shared object file:No such file or directory] Database driver event...Error occurred loading library [libpmora8.so]Hi
i'm on Oracle Enterprise Linux 5 update 6 32-bit
oracle 11g. r2 32 bit without client (as i've got both oracle &infa on same box)
infa 9.0.1 32 bit
i'm able to successfully connect to sqlplus sh/[email protected] & repo user/domain users too connected good
tnsping is good
lsnrctl startup is good
tnsnames.ora is good
i already have libclntsh.so.10.1 in $ORACLE_HOME/lib/ ...i also copied the same file to $INFA_HOME/server/bin/....alredy added all env variables including LD_LIBRARY_PATH ...also i even i copied two files to /lib.. .still no luck..
literally i'm exhausted of ideas after googling for the past 48 hrs,,,:( any expert advice on what i'm missing would be gr8tly apprected. tq.
[infa901hf2@oel5u6 root]$ which libpmora8.so
~/Informatica/9.0.1/server/bin/libpmora8.so
[infa901hf2@oel5u6 root]$ which libclntsh.so.10.1
/usr/bin/which: no libclntsh.so.10.1 in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/sbin:/home/oracle/app/oracle/product/11.2.0/dbhome_2/bin:/home/infa901hf2/Informatica/9.0.1/server/bin:/home/infa901hf2/Informatica/9.0.1/server/tomcat/bin)
[infa901hf2@oel5u6 root]$ ls -al /home/infa901hf2/Informatica/9.0.1/server/bin/libclntsh.so.10.1
lrwxrwxrwx 1 infa901hf2 infa901hf2 69 Dec 25 01:02 /home/infa901hf2/Informatica/9.0.1/server/bin/libclntsh.so.10.1 -> /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libclntsh.so.11.1
[infa901hf2@oel5u6 root]$ ls -al /home/infa901hf2/Informatica/9.0.1/server/bin/libpmora8.so
-rwxrwxrwx 1 infa901hf2 infa901hf2 314325 Dec 24 22:17 /home/infa901hf2/Informatica/9.0.1/server/bin/libpmora8.so
OBJM_54538 Unable to connect to the repository RepoSrvc on database orcl
REP_51002 Database driver event...Error occurred loading library [libclntsh.so.10.1: cannot oopen shared object file:No such file or directory] Database driver event...Error occurred loading library [libpmora8.so]
.bash_profile with all env variables set is below
======================================
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
ORACLE_HOSTNAME=oel5u6.localdomain; export ORACLE_HOSTNAME
ORACLE_UNQNAME=orcl; export ORACLE_UNQNAME
ORACLE_BASE=/home/oracle/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_2; export ORACLE_HOME
ORACLE_SID=orcl; export ORACLE_SID
PATH=$PATH:/usr/sbin:$ORACLE_HOME/bin; export PATH
LD_LIBRARY_PATH=.:$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
# JAVA HOME
JAVA_HOME=/usr/java/jdk1.6.0_30; export JAVA_HOME
#INFA ENV VARIABLES
LANG=C; export LANG
LC_ALL=C; export LC_ALL
INFA_JAVA_OPTS=-Xmx1024m; export INFA_JAVA_OPTS
INFA_HOME=/home/infa901hf2/Informatica/9.0.1; export INFA_HOME
INFA_DOMAINS_FILE=/home/infa901hf2/Informatica/9.0.1/domains.infa; export INFA_DOMAINS_FILE
LC_CTYPE=en_US.utf8; export LC_CTYPE
INFA_DEFAULT_DOMAIN=Domain_oel5u6.localdomain; export INFA_DEFAULT_DOMAIN
PATH=$PATH:$INFA_HOME/server/bin:$INFA_HOME/server/tomcat/bin; export PATH
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH:$INFA_PATH/server/bin; export LD_LIBRARY_PATH
listener.ora
# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
ADR_BASE_LISTENER = /home/oracle/app/oracle
tnsnames.ora
# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
ORCL.LOCALDOMAIN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL.LOCALDOMAIN)
tnsping successful
[oracle@oel5u6 bin]$ tnsping orcl.localdomain
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 25-DEC-2011 00:20:33
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL.LOCALDOMAIN)))
OK (0 msec)listener startup successful
[oracle@oel5u6 bin]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 25-DEC-2011 00:19:48
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /home/oracle/app/oracle/product/11.2.0/dbhome_2/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
Log messages written to /home/oracle/app/oracle/diag/tnslsnr/oel5u6/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel5u6.localdomain)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 25-DEC-2011 00:19:48
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/diag/tnslsnr/oel5u6/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel5u6.localdomain)(PORT=1521)))
The listener supports no services
The command completed successfullytq.Issue definitely seems to be with your Oracle env setup and configuration. Having a symlink point to another symlink is not necessarily a problem.
So, just to be sure, can you confirm the 2 below:
1) You have installed the Oracle 32 bit client (full) and are using the libraries in the Client as part of the LD_LIBRARY_PATH for the OS user that is running the INFA processes. In other words your ORACLE_HOME (in .bash_profile) points to the CLIENT directory with the .so files..correct. You have confirmed this by su - as the OS user (e.g "oracle") and doing an echo on LD_LIBRARY_PATH. correct? if needed, I would even recommend using the FULL path to the 32 bit client directory.
2) You have confirmed that all .so files in the directory have permissions for the OS user that is running INFA processes. You can check this via ls -alt and confirming none of the .so files in question are restricted.
3) Also..is your OS user for the Oracle DB and INFA the same? Or do you have 2 different OS users? -
I try to load libary.swf from an swc file in order to use it's library items.
i load the library.swf using urlrequest and loader() and then use getDefinition() to fetch the class definition
of the UIMovieclip element.
i simply created the swc file by adding library assets to an swf file, converting them to a flex component and extending each compoent with the UIMovieClip class.
when i load the swf file from a url (http) i get the following error:
VerifyError: Error #1053: Illegal override of UIMovieClip in mx.flash.UIMovieClip.
when i load the file locally, i get no error. any ideas why?
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" creationComplete="init()">
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
import mx.flash.UIMovieClip;
private var _context: LoaderContext;
private var _request: URLRequest;
private var _loader:Loader;
private var _library:Object;
private var _executeFunction:Function = null;
public function _setExecuteFunction(f:Function):void {
this._executeFunction=f;
public function handleLibInitialized(e:Event):void {
this._library=e.target.applicationDomain;
var a:Class = this._library.getDefinition("lobby_page_component");
var b:MovieClip = new a() as MovieClip;
var c:UIComponent = new UIComponent();
c.addChild(b);
this.addElement(c);
public function init():void {
Security.allowDomain("*");
var url2:String="http://url/for/library.swf"; <- http provides an error
var url2:String="/path/to/library.swf"; <- local path works
this._context = new LoaderContext(false,ApplicationDomain.currentDomain);
this._request = new URLRequest(url2);
this._loader = new Loader();
this._loader.contentLoaderInfo.addEventListener(Event.INIT,this.handleLibInitialized);
this._loader.load(this._request,this._context);
]]>
</fx:Script>
</s:Application>hello,
thanks for trying to help.
if this is the case, why it happens only when i load the library.swf file from an http location instead of a local location ?
how can i make sure that my adobe flash has the same UIMovieClip version?
kfir -
Hi.
This is my configuration
Red Hat Linux 6.2 kernel 2.2.14-6
512 Mb Ram
Bea Weblogic Server 5.1 Service Pack 9
It runs fine with jdk 1.2.2; but when I try it with 1.3.1 I get this error (please
see below)
This is my installation secuence
1. Downloaded jdk 1.3.1 tarball for linux from www.java.sun.com & installed according
with instrucctions.
2. changed JAVA_HOME from /usr/lib/jre1.2.2/ to /usr/lib/jdk1.3.1/ in the startWebLogic
script
trying it I get:
"Green threads support not available
Could not create the Java virtual machine."
3. changed JAVA_OPTIONS from -green to -native
After that i got the error subject of this message (please see below)
I have searched this newsgroup for a similar post but found an unsolved message
on april 12, 2001.
Any ideas?
Thanks in advance
Sergio Ríos
Ps: this is my error
Thu May 24 15:51:13 CDT 2001:<I> <ListenThread> Listening on port: 90
Thu May 24 15:51:13 CDT 2001:<I> <Posix Performance Pack> System has file descriptor
limits of - soft: '1024', hard: '1024'
Thu May 24 15:51:13 CDT 2001:<I> <Posix Performance Pack> Using effective file
descriptor limit of: '1024' open sockets/files.
Thu May 24 15:51:13 CDT 2001:<I> <Posix Performance Pack> Allocating: '3' POSIX
reader threads
Thu May 24 15:51:13 CDT 2001:<A> <SSLListenThread> ListenThread.run() failed:
java.lang.UnsatisfiedLinkError: /usr/local/weblogic/lib/linux/libweblogicunix1.so:
/usr/local/weblogic/lib/linux/libweblogicunix1.so: undefined symbol: makeCString
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at weblogic.platform.Unix.<init>(Unix.java:14)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:81)
at weblogic.t3.srvr.T3Srvr$1.run(T3Srvr.java:1160)
at weblogic.t3.srvr.Callback.done(Callback.java:37)
at weblogic.t3.srvr.SSLListenThread.newServerSocket(SSLListenThread.java:474)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:254)
Thu May 24 15:51:13 CDT 2001:<!> <SSLListenThread> **** The WebLogic Server is
no longer listening for connections.
Thu May 24 15:51:13 CDT 2001:<!> <SSLListenThread> **** You should probably restart
it.
Thu May 24 15:51:13 CDT 2001:<I> <WebLogicServer> Server shutdown by system
Thu May 24 15:52:14 CDT 2001:<I> <WebLogicServer> WebLogic Server started
Thu May 24 15:52:14 CDT 2001:<I> <WebLogicServer> Server shutdown commencing NOW
Thu May 24 15:52:15 CDT 2001:<I> <HTTP> Destroying servlets in default servlet
context.
Thu May 24 15:52:15 CDT 2001:<I> <WebLogicServer> Requesting thread shutdown
Thu May 24 15:52:15 CDT 2001:<I> <SSLListenThread> Shutting down Thread[SSLListenThread,5,]
Thu May 24 15:52:15 CDT 2001:<I> <ListenThread> Shutting down Thread[ListenThread,5,WebLogicServer]
Thu May 24 15:52:15 CDT 2001:<I> <WebLogicServer> Waiting: '20' seconds for threads
to complete shutdown
Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer> Invoking garbage collection
Thu May 24 15:52:35 CDT 2001:<I> <GC> GC: Before free/total=62768288/66846720
(93%)
Thu May 24 15:52:35 CDT 2001:<I> <GC> GC: After free/total=64551016/66846720
(96%)
Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer> Invoking garbage collection
Thu May 24 15:52:35 CDT 2001:<I> <GC> GC: Before free/total=64544984/66846720
(96%)
Thu May 24 15:52:35 CDT 2001:<I> <GC> GC: After free/total=64550992/66846720
(96%)
Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer> Shutting down execute threads
Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer> Shutdown completedThanks because JDK 1.3 is not supported with WLS 5.1. See:
http://www.weblogic.com/platforms/index.html
However, WLS 6.0 supports JDK 1.3 since the JDK is already bundled with WLS
6.0.
Sergio Ríos wrote:
>
Hi.
This is my configuration
Red Hat Linux 6.2 kernel 2.2.14-6
512 Mb Ram
Bea Weblogic Server 5.1 Service Pack 9
It runs fine with jdk 1.2.2; but when I try it with 1.3.1 I get this error
(please see below)
This is my installation secuence
1. Downloaded jdk 1.3.1 tarball for linux from www.java.sun.com &
installed according with instrucctions.
2. changed JAVA_HOME from /usr/lib/jre1.2.2/ to /usr/lib/jdk1.3.1/ in the
startWebLogic script
trying it I get:
"Green threads support not available
Could not create the Java virtual machine."
3. changed JAVA_OPTIONS from -green to -native
After that i got the error subject of this message (please see below)
I have searched this newsgroup for a similar post but found an unsolved
message on april 12, 2001.
Any ideas?
Thanks in advance
Sergio Ríos
Ps: this is my error
Thu May 24 15:51:13 CDT 2001:<I> <ListenThread> Listening on port: 90
Thu May 24 15:51:13 CDT 2001:<I> <Posix Performance Pack> System has file
descriptor limits of - soft: '1024', hard: '1024'
Thu May 24 15:51:13 CDT 2001:<I> <Posix Performance Pack> Using effective
file descriptor limit of: '1024' open sockets/files.
Thu May 24 15:51:13 CDT 2001:<I> <Posix Performance Pack> Allocating: '3'
POSIX reader threads
Thu May 24 15:51:13 CDT 2001:<A> <SSLListenThread> ListenThread.run()
failed:
java.lang.UnsatisfiedLinkError:
/usr/local/weblogic/lib/linux/libweblogicunix1.so:
/usr/local/weblogic/lib/linux/libweblogicunix1.so: undefined symbol:
makeCString
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at weblogic.platform.Unix.<init>(Unix.java:14)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
weblogic.platform.OperatingSystem.getOS(OperatingSystem.java:81)
at weblogic.t3.srvr.T3Srvr$1.run(T3Srvr.java:1160) at
weblogic.t3.srvr.Callback.done(Callback.java:37) at
weblogic.t3.srvr.SSLListenThread.newServerSocket(SSLListenThread.java:474)
at weblogic.t3.srvr.ListenThread.run(ListenThread.java:254)
Thu May 24 15:51:13 CDT 2001:<!> <SSLListenThread> **** The WebLogic
Server is no longer listening for connections.
Thu May 24 15:51:13 CDT 2001:<!> <SSLListenThread> **** You should
probably restart it.
Thu May 24 15:51:13 CDT 2001:<I> <WebLogicServer> Server shutdown by
system Thu May 24 15:52:14 CDT 2001:<I> <WebLogicServer> WebLogic Server
started Thu May 24 15:52:14 CDT 2001:<I> <WebLogicServer> Server shutdown
commencing NOW Thu May 24 15:52:15 CDT 2001:<I> <HTTP> Destroying servlets
in default servlet context.
Thu May 24 15:52:15 CDT 2001:<I> <WebLogicServer> Requesting thread
shutdown Thu May 24 15:52:15 CDT 2001:<I> <SSLListenThread> Shutting down
Thread[SSLListenThread,5,] Thu May 24 15:52:15 CDT 2001:<I> <ListenThread>
Shutting down Thread[ListenThread,5,WebLogicServer] Thu May 24 15:52:15
CDT 2001:<I> <WebLogicServer> Waiting: '20' seconds for threads to
complete shutdown Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer>
Invoking garbage collection Thu May 24 15:52:35 CDT 2001:<I> <GC> GC:
Before free/total=62768288/66846720 (93%)
Thu May 24 15:52:35 CDT 2001:<I> <GC> GC: After
free/total=64551016/66846720 (96%)
Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer> Invoking garbage
collection Thu May 24 15:52:35 CDT 2001:<I> <GC> GC: Before
free/total=64544984/66846720 (96%)
Thu May 24 15:52:35 CDT 2001:<I> <GC> GC: After
free/total=64550992/66846720 (96%)
Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer> Shutting down execute
threads Thu May 24 15:52:35 CDT 2001:<I> <WebLogicServer> Shutdown
completed -
Cacaoadm start fail ( Can't load library)
Hi,
Do you have any idea regarding following error while starting cacao:
root #
root # cacaoadm start
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/run/.patchSafeMode/root/usr/lib/cacao/lib/libcacao_cacao.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.Runtime.load(Runtime.java:757)
at com.sun.cacao.container.impl.ContainerPrivate.internalStart(ContainerPrivate.java:511)
at com.sun.cacao.container.impl.ContainerPrivate.start(ContainerPrivate.java:451)
at com.sun.cacao.container.impl.ContainerPrivate.main(ContainerPrivate.java:766)
root #
root#
root#
root@#
root@#
root@# cacaoadm -V
2.1.1
root@#
root@ #
root@# uname -a
SunOS cluster2 5.10 Generic_138888-01 sun4v sparc SUNW,SPARC-Enterprise-T5220
root@#
root@#
root@ #
root@ #
root@ # svcs -l svc:/application/management/common-agent-container-2:default
fmri svc:/application/management/common-agent-container-2:default
name Cacao, a common Java container for JDMK/JMX based management solution
enabled true
state maintenance
next_state none
state_time Mon Feb 09 19:34:07 2009
logfile /var/svc/log/application-management-common-agent-container-2:default.log
restarter svc:/system/svc/restarter:default
contract_id
dependency require_all/none svc:/system/filesystem/local (online)
dependency require_all/none svc:/network/initial (online)
dependency require_all/none svc:/milestone/multi-user (online)
root@#
root@ # tail -30 /var/svc/log/application-management-common-agent-container-2:default.log
[ Feb 9 19:33:50 Executing start method ("/usr/lib/cacao/lib/tools/scripts/cacao_smf start default") ]
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/run/.patchSafeMode/root/usr/lib/cacao/lib/libcacao_cacao.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.Runtime.load(Runtime.java:757)
at com.sun.cacao.container.impl.ContainerPrivate.internalStart(ContainerPrivate.java:511)
at com.sun.cacao.container.impl.ContainerPrivate.start(ContainerPrivate.java:451)
at com.sun.cacao.container.impl.ContainerPrivate.main(ContainerPrivate.java:766)
Error: Fail to start cacao agent. default
[ Feb 9 19:33:56 Method "start" exited with status 1 ]
[ Feb 9 19:33:56 Executing start method ("/usr/lib/cacao/lib/tools/scripts/cacao_smf start default") ]
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/run/.patchSafeMode/root/usr/lib/cacao/lib/libcacao_cacao.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.Runtime.load(Runtime.java:757)
at com.sun.cacao.container.impl.ContainerPrivate.internalStart(ContainerPrivate.java:511)
at com.sun.cacao.container.impl.ContainerPrivate.start(ContainerPrivate.java:451)
at com.sun.cacao.container.impl.ContainerPrivate.main(ContainerPrivate.java:766)
Error: Fail to start cacao agent. default
[ Feb 9 19:34:02 Method "start" exited with status 1 ]
[ Feb 9 19:34:02 Executing start method ("/usr/lib/cacao/lib/tools/scripts/cacao_smf start default") ]
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/run/.patchSafeMode/root/usr/lib/cacao/lib/libcacao_cacao.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1650)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.Runtime.load(Runtime.java:757)
at com.sun.cacao.container.impl.ContainerPrivate.internalStart(ContainerPrivate.java:511)
at com.sun.cacao.container.impl.ContainerPrivate.start(ContainerPrivate.java:451)
at com.sun.cacao.container.impl.ContainerPrivate.main(ContainerPrivate.java:766)
Error: Fail to start cacao agent. default
[ Feb 9 19:34:07 Method "start" exited with status 1 ]
root@ #
I will be great if you guys can give me some tips about this.
Thanks.Hi Tim,
I havw change it to the same with no luck still not able to start cacaoadm?? smcwebserver version 3.0.2 and cacaoadm -V 2.2.0.1? any more suggestion? error i'm getting is
Error: Fail to start cacao agent. default
[ May 13 17:43:16 Method "start" exited with status 1 ]
[ May 13 17:44:34 Leaving maintenance because clear requested. ]
[ May 13 17:44:34 Enabled. ]
[ May 13 17:44:34 Executing start method ("/usr/lib/cacao/lib/tools/scripts/cacao_smf start default") ]
Error: Fail to start cacao agent. default
[ May 13 17:44:36 Method "start" exited with status 1 ] -
Down loaded Library book, now want to return ebook
down loaded library book via 'MY MEDIA' and Adobe , now want to return Ebook. Cant get from MY MEDIA anymore to Adobe bookshelf
I changed the code I had teh rror with to return just list. It complies OK now but when I run the client it says:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableE
xception: PhoneDetails
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at PhoneImpl_Stub.readFile(Unknown Source)
at PhoneClient .getPhoneList(DvdClient.java:186)
at PhoneClient .<init>(DvdClient.java:74)
at PhoneClient .main(DvdClient.java:161)
Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializab
leException: PhoneDetails
It has a problem with the line loadedlist = remote.readFile() I think (I do have loadedlist declared as a PhoneDetails[] loadedlist PhoneDetails[250]; in PhoneClient, you just can't see it).
Edited by: fonzi on Nov 23, 2009 12:28 PM
Edited by: fonzi on Nov 23, 2009 12:30 PM -
Hi!
As you can see from here :
http://www.fabiocavallo.it/sap/maxdb.jpg
MaxDB seems to work fine, but after starting application server i have got an error :
SAPGUI Logon Error Message:
http://www.fabiocavallo.it/sap/sapguilog.jpg
...here comes dev_w0 :
trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, MJ
B
B Thu May 22 19:58:50 2008
B create_con (con_name=R/3)
B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
M Error 126 = "Impossibile trovare il modulo specificato."
B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
http://dbcon.c 4726
M sysno 00
M sid NSP
M systemid 560 (PC with Windows NT)
M relno 7000
M patchlevel 0
M patchno 95
M intno 20050900
M make: multithreaded, ASCII, optimized
M pid 3376
M
M kernel runs with dp version 224(ext=109) (@(#) DPLIB-INT-VERSION-224)
M length of sys_adm_ext is 360 bytes
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 3376) http://dpxxdisp.c 1301
I MtxInit: 30000 0 0
M DpSysAdmExtCreate: ABAP is active
M DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M
M Thu May 22 19:58:51 2008
M DpShMCreate: sizeof(wp_adm) 6328 (904)
M DpShMCreate: sizeof(tm_adm) 3605136 (17936)
M DpShMCreate: sizeof(wp_ca_adm) 1200 (60)
M DpShMCreate: sizeof(appc_ca_adm) 1200 (60)
M DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
M DpShMCreate: sizeof(comm_adm) 528048 (1048)
M DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
M DpShMCreate: sizeof(slock_adm) 0 (96)
M DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M DpShMCreate: sizeof(file_adm) 0 (72)
M DpShMCreate: sizeof(vmc_adm) 0 (1280)
M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)
M DpShMCreate: sizeof(gw_adm) 48
M DpShMCreate: SHM_DP_ADM_KEY (addr: 06420040, size: 4205552)
M DpShMCreate: allocated sys_adm at 06420040
M DpShMCreate: allocated wp_adm at 06421A28
M DpShMCreate: allocated tm_adm_list at 064232E0
M DpShMCreate: allocated tm_adm at 06423310
M DpShMCreate: allocated wp_ca_adm at 067935A0
M DpShMCreate: allocated appc_ca_adm at 06793A50
M DpShMCreate: allocated comm_adm at 06793F00
M DpShMCreate: system runs without slock table
M DpShMCreate: system runs without file table
M DpShMCreate: allocated vmc_adm_list at 06814DB0
M DpShMCreate: allocated gw_adm at 06814DF0
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 06814E20
M DpShMCreate: allocated wall_adm at 06814E28
X EmInit: MmSetImplementation( 2 ).
X MM global diagnostic options set: 0
X <ES> client 0 initializing ....
X Using implementation view
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M ThInit: running on host PCFABIO
M
M Thu May 22 19:58:52 2008
M calling db_connect ...
B create_con (con_name=R/3)
B Loading DB library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll' ...
M *** ERROR => DlLoadLib: LoadLibrary(C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll) Error 126 http://dlnt.c 237
M Error 126 = "Impossibile trovare il modulo specificato."
B *** ERROR => Couldn't load library 'C:\SAP\NSP\SYS\exe\run\dbsdbslib.dll'
http://dbcon.c 4726
M ***LOG R19=> ThInit, db_connect ( DB-Connect 008192) http://thxxhead.c 1426
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) http://thxxhead.c 10240
M
M Info for wp 0
M
M stat = WP_RUN
M waiting_for = NO_WAITING
M reqtype = DP_RQ_DIAWP
M act_reqtype = NO_REQTYPE
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source =
M last_tid = 0
M last_mode = 0
M semaphore = 0
M act_cs_count = 0
M csTrack = 0
M csTrackRwExcl = 0
M csTrackRwShrd = 0
M control_flag = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M vm = no VM
M
M *****************************************************************************
M *
M * LOCATION SAP-Server PCFABIO_NSP_00 on host PCFABIO (wp 0)
M * ERROR ThInit: db_connect
M *
M * TIME Thu May 22 19:58:52 2008
M * RELEASE 700
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 10439
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm http://thxxrun1.c 720
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed http://thxxtool3.c 260
M Entering ThSetStatError
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 3376) http://dpnttool.c 327
File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\), maybe i have to set environment variable in windows for SAP.
Could you help me, please ?
I don't know how to set these variables.......
Many thanks.
Regards.
FabioHello Fabio,
-> You wrote:
"File dbsdbslib.dll' is 'there' (in 'C:\SAP\NSP\SYS\exe\run\)"
=> Please check the version of this file.
< Go to file properties ->Version && update with 'file version', Platform,
Product Name, Product Version information >
-> What version of the SAP system did you install?
"I suppose that i can download this patch from Sap MaketPlace, but i can't register there, because i have no
Customer or Installation Number! (i can't Logon in SAP....) "
From were did you get the SAP software installation or CD?
-> Could you upgrade the database client software on the application server to the version 7.7.04.08 or higher.
You pointed "As you can see from here : http://www.fabiocavallo.it/sap/maxdb.jpg u2026 "
=> If the database and application were running on the same server, you installed the database
Software version 7.6.02.17. Please run 'sdbregview -l' to review the list of all installed packages
on the server.
-> "MaxDB seems to work fine, but after starting application server i have got an error"
Was the system working fine before? What was changed?
Or you was not able to start the application server after installation. ?
Thank you and best regards, Natalia Khlopina -
Could not load library for database connection LCA
Hi,
I am facing RFC connection prblem while connectiong to database. I have installed SCM5.1 and live cache in single server
Please find the logs.
Work process log:
B Mon Jul 20 11:19:13 2009
B create_con (con_name=LCA)
B Loading DB library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll' ...
M *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll) Error 126 [dlnt.c 241]
M Error 126 = "The specified module could not be found."
B *** ERROR => Couldn't load library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll'
[dbcon.c 4731]
B ***LOG BYG=> could not load library for database connection LCA [dbds#1 @ 1035] [dbds 1035 ]
A
A Mon Jul 20 11:21:58 2009
A GENER starting remote generation: /SAPAPO/OM_SYNC_LC_DB (requested by W1).
B
SM21:
No shared library found for the database with ID LCA|
No shared library found for the database with ID LCA
/SAPAPO/OM17|/SAPAPO/OM_SYNC_LC_DB|K |SAP Web AS Problem|SBAC |
Documentation for system log message BY G :
As well as the standard connection, an attempt was made to set up
another database connection, under the specified ID. The Shared Library
for this second database could not be found.
The Shared Library is usually found in the the Executable
directory (profile parameter DIR_LIBRARY) under the name dbs
<dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>
stands for the operating system-specific extension of the Shared
Libraries.
The database type is determined from the entry that corresponds to the
specified DB ID in the table DBDCON. Check whether the data in this
entry is correct.
ST22
Runtime Errors DBIF_DSQL2_CONNECTERR
Exception CX_SY_NATIVE_SQL_ERROR
Date and Time 20.07.2009 11:22:21
Short text
Error setting up a secondary database connection
What happened?
Connection to database system not possible with identifier "LCA".
|----
System environment
SAP-Release 700
Application server... "
Network address...... "
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "8x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 8
Shortdump setting.... "full"
Database server... "
Database type..... "ORACLE"
Database name..... "SC7"
Database user ID.. "SAPSC7"
Terminal................. " "
Char.set.... "C"
SAP kernel....... 701
created (date)... "Jul 6 2009 23:47:55"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "OCI_10201_SHARE (10.2.0.2.0) "
Patch level. 50
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 701
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
NT 6.0"
Information on where terminated
Termination occurred in the ABAP program "SAPLSLCAPPS" - in
"LCA_EXISTS_LCA_ROUTINE".
The main program was "/SAPAPO/TS_BATCH_RUN ".
In the source code you have the termination point in line 23
of the (Include) program "LSLCAPPSU05".
The program "SAPLSLCAPPS" was started as a background job.
Job Name....... "MACROS"
Job Initiator.. "SC7GEN"
Job Number..... 10222002
The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
in
procedure "LCA_EXISTS_LCA_ROUTINE" "(FUNCTION)", but it was neither handled
locally nor declared
in the RAISING clause of its signature.
The procedure is in program "SAPLSLCAPPS "; its source code begins in line
1 of the (Include program "LSLCAPPSU05 ".
Please help me to resolve the issue.
SurajHi Natalia Khlopina,
I have raised OSS message to SAP.
Below is the information
E:\usr\sap\SC7\SYS\exe\uc\Copy_ of_NTAMD64_15062009>sdbregview -l
Server Utilities e:/sapdb/programs 7.7.02.08 64 bit valid
DB Analyzer e:/sapdb/programs 7.7.02.08 64 bit valid
PCR 7301 e:/sapdb/programs 7.3.01.21 valid
PCR 7500 e:/sapdb/programs 7.5.00.42 64 bit valid
SAP Utilities e:/sapdb/programs 7.7.02.08 64 bit valid
APO LC APPS f:/sapdb/lcs/db/sap 6.00.004 64 bit valid
Redist Python e:/sapdb/programs 7.7.02.08 64 bit valid
Base e:/sapdb/programs 7.7.02.08 64 bit valid
JDBC e:/sapdb/programs 7.6.03.02 valid
Messages e:/sapdb/programs MSG 0.5010 valid
ODBC e:/sapdb/programs 7.7.02.08 64 bit valid
SQLDBC 77 e:/sapdb/programs 7.7.02.08 64 bit valid
Database Kernel f:/sapdb/lcs/db 7.7.02.08 64 bit valid
Loader e:/sapdb/programs 7.7.02.08 64 bit valid
SQLDBC e:/sapdb/programs 7.7.02.08 64 bit valid
SQLDBC 76 e:/sapdb/programs 7.6.01.15 64 bit valid
Fastload API e:/sapdb/programs 7.7.02.08 64 bit valid
C:\Documents and Settings\sc7adm>disp+work
disp+work information
kernel release 701
kernel make variant 701_REL
compiled on NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00
compiled for 64 BIT
compilation mode UNICODE
compile time Jul 6 2009 23:47:55
update level 0
patch number 50
source id 0.050
supported environment
database (SAP, table SVERS) 700
701
operating system
Windows NT 5.0
Windows NT 5.1
Windows NT 5.2
Windows NT 6.0
Thanks for quick responce.
Suraj -
Cannot load library due to dot in path
I'm trying to run the Data Loader program from Salesforce.com. I have to load a jar file, and am using the following command.
java -jar "C:\Program Files\salesforce.com\Apex Data Loader 14.0\Data Loader.jar"When I do this, I get the following error.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3063 in
java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Widget.<clinit>(Widget.java:66)
at com.salesforce.lexiloader.process.LexiLoaderRunner.main(LexiLoaderRun
ner.java:53)So, I figured out that I need to tell Java where to find the library swt-win32-3063. I use the following command.
java -Djava.library.path="C:\Program Files\salesforce.com\Apex Data Loader 14.0\" -jar "C:\Program Files\salesforce.com\Apex Data Loader 14.0\DataLoader.jar"And this time I get this error.
Exception in thread "main" java.lang.NoClassDefFoundError: Files\salesforce/com\
Apex
Caused by: java.lang.ClassNotFoundException: Files\salesforce.com\Apex
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: Files\salesforce.com\Apex. Program will exit.It looks like java sees the dot in the path, and thinks that is the name of a class. since there is obviously no file called "Files\salesforce.com\apex", it generates an error.
How do I get around this?
Edited by: haydenmuhl on Jan 27, 2009 10:34 AM
Edited by: haydenmuhl on Jan 27, 2009 10:35 AMI've been fiddling around, and I've found out it's not the dot, it's the spaces. How can I escape the spaces in the library path?
-
JGSL : about java scientific library, how to use it any tutorial or etc
Hay,
I have a question regarding JGSL: java scientific library.
I just download the jgsl.0.1.1 lib for my project
It contains a bunch of file, including the lib files
I set the lib folder path in the LD_LIBRARY_PATH and when i tried to run the testfile.class
that comes with this library, i got an error
main class defination not found.
Have any one used the lib if yes can send me the working example.
or at least tell me how to set these things, there is no documentation available with this.
thanksWhy don't u use a class loader. Try this code
// loader class
public class Loader extends ClassLoader {
String path;
public Loader(String path) {
this.path = path;
public Class findClass(String name) {
byte[] b = loadClassData(path+name+".class");
return defineClass(name, b, 0, b.length);
private byte[] loadClassData(String name) {
File file = new File(name);
byte[] data = null;
try {
InputStream in = new FileInputStream(file);
data = new byte[ (int) file.length()];
for (int i = 0; i < data.length; i++) {
data[i] = (byte) in.read();
catch (IOException ex) {
file = null;
return data;
// in your caller class use
Loader loader = new Loader(libPath); // lib path may be taken from a command line arg
Object main = loader.loadClass("ClassLib", true).newInstance();I think this is what u r looking for
Uditha Nagahawatta
Maybe you are looking for
-
Sharing a usb external hard drive
I am running MAC OS X v10.4.6 on a G5 PowerPC. I have an external drive attached to one of my usb ports. I used netinfo manager to export it. I run showmount -e and it shows up. But when I nfs mount it from another server (running solaris 8), the vol
-
Hi Guys, This is related to 0ACCOUNT Hierarchy. I am running P&L PCA report using this hierarchy. A new account group is added in R/3 system. But the same is not appearing in BW system. I checked in the Infopackage (BWP Systems) with the refresh butt
-
Having trouble with Image Capture
I used to be able to scan multiple photos at the same time and have it detect separate items. Now, ever since upgrading to Lion, it retains the image outline as dotted lines when I add new photos. It then scans the new images and also the areas wher
-
What is the easiest way to use a video clip as the DVD's menu and have titles?
Ok, I"m using Ppro CS4, and I have a clip that i would like to be the title screen when the DVD starts. I then want to click on something like Play movie that will play the movie. I want the Menu to be the actual video clip playing in the background
-
5 iTunes Accounts Limit on iPod
After creating a 6th iTunes account within our family I've discovered that iTunes store content from only 5 accounts can be synced to a single iPod (we all have our seperate accounts on a single computer and share downloaded content). In order to get