Weblogic 8.1.6 Unable to load native library: libjvm.so

hi,
i have installed weblogic 8.1 SP6 on my box and when im trying to deploy new application i get errors comaplining about some java libraries.
when i link them to the /usr/lib directory it's working but it's not a solution couse i need also weblogic 9.2 server running on that box.
i tried to export LD_LIBRARY_PATH with path to the jdk142 that was installed with weblogic server by myself but also without any success.
i checked commEnv.sh file and found that path to java libraries are not set properly. added those paths to the LD_LIBRARY_PATH but after running WLS when i try to echo ${LD_LIBRARY_PATH} i get no results.
maybe someone had such problems, and knows how to resolv them.
my system is Debian Linux/stable
WL_HOME=/home/bea/bea/weblogic81
JAVA_HOME=/home/bea/bea/jdk142_11
added to commEnv.sh:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/${JAVA_HOME}/jre/lib:${JAVA_HOME}/jre/lib/i386:${JAVA_HOME}/jre/lib/i386/server:${JAVA_HOME}/jre/lib/i386/client
thanks
below is a log for this error:
CUT HERE
<Error> <HTTP> <brain> <blsBepi> <ExecuteThread: '14' for queue: 'weblogic.kernel.Default'>
weblogic.servlet.jsp.CompilationException: Compilation of /home/bea/bepi/blsBepiDomain/blsBepi/.wlnotdelete/extract/blsBepi_bepi
Unable to load native library: libjvm.so: cannot open shared object file: No such file or directory
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:478)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:246)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.io.IOException: Compiler failed executable.exec
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:470)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:321)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:451)
... 13 more
-- CUT HERE --
PS. sorry for my english and is this post is not in the place where it sould be ;-)

SOLUTION:
set the absolute path to javac in General Section of the configuration
make sure that you j2sdk1.4.2 is accessible by all uids that managed servers are running at.
if that wont help try to put your J2SDK in /usr/local/java.
and reconfigure your administration server.
i hope that will help you all that have same problems. cheers ;-)

Similar Messages

  • Error ocurred during initialization of VM. Unable to load native library...

    Hi,
    I´m trying to install Oracle 9i on a PC with Suse 9.2.
    when I put the first CD it comes with this error:
    Initializing Java Virtual Machine from /tmp/OraInstall2006-05-04_11-13-11PM/jre/bin/java. Please wait...
    Error occurred during initialization of VM
    Unable to load native library: /tmp/OraInstall2006-05-04_11-13-11PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    I´ve seen that there was a similar issue in 2004 and I´ve trying to do what it says but it didn´t work this time.
    Unable to load native library:
    Could everyone help me to install Oracle??? I´ve been trying it for a few days and doesn´t work.
    Regards,

    I had same problems long time ago. Ok, I try to remember.
    First I read the recommandation. You need a special GLIBC-Library to support the JAVA 1.1.8 runtime environment.
    Some of the Oracle9i tools are compiled with gcc 2.95 compiler.
    You may need ”gcc_old for SLES9” for linking of those tools.
    gcc_old-2.95.3-175.2.i586.rpm is included in SLES 9 SP2 CD1
    For Suse you can obtain a package called orarun. You will get further support for installing, starting and stopping ORACLE. Please look at http://ftp.novell.com/partners/oracle/docs/9205_sles9_install.pdf.
    Good luck.

  • Unable to load native library on HP-UX

    Hi All,
    I am using a third party java library on 64 bit HP-UX, which in turn uses some native libraries. However, when I use that 3rd party java lib in my java app, I always get an UnsatisfiedLinkError, indicating that it cannot locate the native library.
    The name of this native library is "libjcryptoki.sl". The 3rd party lib correctly calls System.loadLibrary("jcryptoki") internally, and libjcryptoki.sl file name is present in SHLIB_PATH, LD_LIBRARY_PATH.
    Also, according to HP-UX JNI documentation, all JNI shared libs MUST begin with "lib" and should be of type "sl", which is satisfied here in this case.
    Anybody has any idea as to what could be missing?

    AUTOMATON wrote:
    Anybody has any idea as to what could be missing?Presumably you get the error from the loadLibrary() call and not after it. If not then the following is pointless...
    No idea why but you can try System.load() instead providing a full and explicit path and file name.
    Now if that works it means that the name is wrong somehow with loadLibrary() (maybe a VM problem, maybe a library name problem.)
    If it doesn't work then that would suggest that something is wrong with the library itself. Could be a large number of things.

  • Servicegen:  unable to load type library from classloader weblogic.utils.cl

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

    Hi,
    I am new to weblogic. I am encountering an error on trying to run the 'servicegen' command from my ant build scripts, on weblogic 9.2.
    Please find the build.xml snapshot, and the stack trace given below.
    Please help me out with this.
    Points to be noted are:-
    1) The ejb-jar.xml specifies the bean class, which is very much present in the classpath. The ejb-jar.xml is generated by xdoclet. Snapshot is given below:-
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar >
    <description><![CDATA[No Description.]]></description>
    <display-name>Generated by XDoclet</display-name>
    <enterprise-beans>
    <!-- Session Beans -->
    <session >
    <description><![CDATA[NorthBound Interface]]></description>
    <ejb-name>ArcorNBIService</ejb-name>
    <home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceHome</home>
    <remote>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService</remote>
    <local-home>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocalHome</local-home>
    <local>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceLocal</local>
    <ejb-class>com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIServiceBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    </ejb-jar>
    2) When I replace the "ejbJar" attribute in the 'service' command with "javaClassComponents" attribute, I am able to run the servicegen command successfully. Not sure why the ejbJar is creating problems.
    3) Build.xml snapshot:-
         <target name="gen-webservice" depends="init">
              <copy todir="${work.dir}" file="${export.dir}/lib/arcor-il-service-ejb.jar"/>
              <autotype javatypes="${javatypes}" targetNamespace="${targetNamespace}" destDir="${work.dir}/classes" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath"/>
              <autotype javaComponents="com.alcatel.hdm.arcoril.webservice.ejb.ArcorNBIService" targetNamespace="com.alcatel.hdm.service.nbi.dto.holders" destDir="${work.dir}/classes" keepGenerated="true" classpathref="webservice.client.classpath"/>
              <servicegen destEar="${earfile}" warName="${warname}" contextURI="${contextURI}" keepGenerated="${keepGenerated}" classpathref="webservice.client.classpath">
                   <service ejbJar="${ejbLocation}" targetNamespace="${targetNamespace}" serviceName="${serviceName}" serviceURI="/${serviceName}" generateTypes="false" expandMethods="${expandMethods}" ignoreAuthHeader="false" protocol="https" style="rpc" useSOAP12="${useSOAP12}" typeMappingFile="${work.dir}/classes/types.xml">
                        <security enablePasswordAuth="true"/>
                   </service>
              </servicegen>
         </target>
    4) Exception stacktrace:-
    --- Nested Exception ---
    java.lang.AssertionError: java.io.IOException
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:42)
    at weblogic.descriptor.DescriptorManager.getDefaultMF(DescriptorManager.java:116)
    at weblogic.descriptor.DescriptorManager.getMarshallerFactory(DescriptorManager.java:125)
    at weblogic.descriptor.DescriptorManager.getDescriptorFactory(DescriptorManager.java:153)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:277)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
    at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:309)
    at weblogic.descriptor.EditableDescriptorManager.createDescriptor(EditableDescriptorManager.java:99)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:344)
    at weblogic.application.descriptor.CachingDescriptorLoader.createDescriptor(CachingDescriptorLoader.java:188)
    at weblogic.application.descriptor.AbstractDescriptorLoader.createDescriptor(AbstractDescriptorLoader.java:328)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getDescriptor(AbstractDescriptorLoader.java:237)
    at weblogic.application.descriptor.AbstractDescriptorLoader.getRootDescriptorBean(AbstractDescriptorLoader.java:217)
    at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:141)
    at weblogic.ejb.spi.EjbJarDescriptor.getEditableEjbJarBean(EjbJarDescriptor.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.processEjbJarXMLWithSchema(DDUtils.java:519)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:182)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:126)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:154)
    at weblogic.ejb.container.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:147)
    at weblogic.ejb.spi.DDUtils.createDescriptorFromJarFile(DDUtils.java:30)
    at weblogic.webservice.dd.EJBJarIntrospector.<init>(EJBJarIntrospector.java:52)
    at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.<init>(EJBAutoTyper.java:68)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:339)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Caused by: java.io.IOException
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:50)
    at weblogic.descriptor.DescriptorManager$DefaultMarshallerFactorySingleton.<clinit>(DescriptorManager.java:40)
    ... 37 more
    Caused by: com.bea.xml.XmlException: unable to load type library from classloader weblogic.utils.classloaders.ClasspathClassLoader@1cc0a7f f
    inder: weblogic.utils.classloaders.CodeGenClassFinder@c52200 annotation:
    at com.bea.staxb.runtime.internal.BindingContextFactoryImpl.createBindingContext(BindingContextFactoryImpl.java:50)
    at weblogic.descriptor.internal.MarshallerFactory.<init>(MarshallerFactory.java:48)
    ... 38 more
    Total time: 5 seconds

  • Unable to load XDB library

    Hi, i have just created a new database but i keep getting the following error
    ORA-00600: internal error code, arguments: [unable to load XDB library],
    initializing SGA: sga_pass1Dynamic link error: Could not load module /u03/app/or
    acle/product/10.2.0.5/lib32/libxdb.so.
    The module has an invalid magic number.
    None of the other databases that have been running on the machine give out this error.
    I am running oracle 10.2 on aix
    I have read it may be something to do with it being 64 bit libraries. Even though none of the other DB's gave out any errors I have changed the setting in the user profile removing any mention of lib32 so they now read
    PATH=$ORACLE_HOME/bin:$ORACLE_HOME/lib:$ORACLE_HOME/lib
    LIBPATH=$ORACLE_HOME/lib
    export LIBPATH
    Ive shutdown the box, restarted the databases but the error occurs
    Any ideas?
    Many thanks

    Please check metalink doc ID 1292089.1
    It seems you have started the database with worng LIB settings, there are some steps provided to resolve this in the document
    On AIX there is special step for it and that should resolve your issue.
    Regards,
    Virendra
    Edited by: Virendra.K1.Yadav on Oct 2, 2012 1:53 PM

  • Unable to load DB2 library

    Hi,
    We are trying to install an application server on Windows in a UNIX SAP
    (abap+java) system with SAPinst.Our Central instance is in DB2/AIX
    platform and we want to install an windows application server.
    An error occured while processing start dialog instance task. Following
    error entry is displayed in dev_w0.
    "calling db_connect ...
    C  Registering callback for dynamic profile parameters
    C  *** ERROR => unable to load DB2 library 'E:\usr\sap\EBD\D01
    \exe/db6_clidriver\bin\db2app.dll'. Reason: A dynamic link library
    (DLL) initialization routine failed."
    [dbdb6.c      9714]
    C  *** ERROR in DB6Connect[dbdb6.c, 1412] CON = 0 (BEGIN)
    C  &+     DbSlConnectDB6: Unable to load DB2 libraries. Connect failed.
    Our Database instance version is DB2 9.1 with fp5 and application
    server db2 client version is also DB2 9.1 with fp5.
    Could you help us ?
    Best regards
    Gokhan Diren

    > C  Registering callback for dynamic profile parameters
    > C  *** ERROR => unable to load DB2 library 'E:\usr\sap\EBD\D01\exe/db6_clidriver\bin\db2app.dll'.
    Is that library there?
    Markus

  • ORA-00600: internal error code, arguments: [unable to load XDB library]

    hi everybody ;
    i have 9.2.0.7 db runs on SLES9 on host A. and i take full rman database backup to make a new database on different host ( host B ) with different file structure. ( sid is the same ) i had already 1 database on host B. after this duplicate now there are 2 database on host B.
    i take daily full database rman backup on the new host for my new database and there is no problem. when i try to take extra full export backup i get an error ;
    Dynamic link error: libxdb.so: cannot open shared object file: No such file or directory
    *** 2010-08-05 09:46:12.868
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [unable to load XDB library], [], [], [], [], [], [], []
    as i search ; i have to stop the database and listener and set the LD_LIBRARY_PATH variable. how can i make this without make any mistake for the first database runs on Host B.
    because 2 database must be up and running on host B. can you explaın these operation step by step ?
    thank you ....

    craft wrote:
    any idea ?
    >any idea ?
    your database is out off support you should consider to upgrade. ORA-00600 indicate for bug

  • Unable to Load JdbcOdbc library -- Linux

    I know this question has been asked a lot, but I couldn't find a helpful answer in all my searches. I'm trying to use JdbcOdbc to connect to MySQL via ODBC on Linux. I have to use ODBC as part of an assignment, which is rather annoying, since the MySQL J/Connectivity JDBC driver works perfectly. But the assignment sort of assumes I'm on Windows and using MS Access, although I did have a choice to use MySQL.
    That's the background.
    This is the error I'm getting when trying to connect to ODBC. It's loading the driver all right (ie: no problems if I comment out the lines that tries to connect to the database).
    *Driver.connect (jdbc:odbc:flightData)
    JDBC to ODBC Bridge: Checking security
    No SecurityManager present, assuming trusted application/applet
    JDBC to ODBC Bridge 2.0001
    Current Date/Time: Wed Mar 19 09:12:20 CST 2003
    Loading JdbcOdbc library
    Unable to load JdbcOdbc library
    Exception in thread "main" java.lang.NullPointerException
    at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:435)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at testData.main(testData.java:17)
    I've tried variations on the URL and the connect pattern, but it seems almost certain that it cannot load the library, and it's not the URL that's the problem yet.
    What I've done:
    I did a search on google and on this forum. I found that the directory containing libJdbcOdbc.so should be in /etc/ld.so.conf. I added it and I ran ldconfig -v; the library is listed in the output of that command, so I think it is loaded. I don't know how to check if a particular library is loaded?
    In this forum, I found that there might be a problem with the access permissions. I read that I should set the AllPermission policy to see if that's a problem, but I'm not exactly sure how to do that. Policytool is kind of cryptic, and on top of that, its GUI window is not displaying properly for me. If somebody could tell me the contents I should put in ~/.java.policy to enable all permissions, it might help.
    In addition, I've tried using the JDBCTest tool, and it also was unable to connect to ODBC. However, if I use the tool called DataManager that is a part of the ODBC implementation, it can connect to the database easily (which indicates that the database is properly set up via ODBCConfig, I think).
    My System:
    I'm running Debian Linux 3.0 (Woody) / unstable. I'm using the Blackdown version of Jdk1.4, which I retreived via apt-get. I'm not absolutely certain what I've got running ODBC; I also got it via apt-get. As mentioned, the tools odbcinst, ODBCConfig, and DataManager are all installed on my system.
    I'm really confused by this problem, since all the advice I've been able to find has helped other people, yet I'm still lost!
    Thanks,
    Dusty

    After running ldd on libJdbcOdbc.so, I realized I had to make a couple of symlinks from odbc.so.1 in /usr/lib to odbc.so.
    Dusty

  • Unable to load dynamic library oci8.so

    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?

    Madhu.149 wrote:
    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?
    Madhu.149 wrote:
    Hello All,
    When I try to start lampp, I am getting the below error.
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/oci8.so' - libclntsh.so.10.1: cannot open shared object file: No such file or directory in Unknown on line 0
    But I have  libclntsh.so.11.1 in my system. Why it is searching for libclntsh.so.10.1?
    >Why it is searching for libclntsh.so.10.1?
    old PHP software that does not know about V11
    So just create a softlink as below
    ln -s libclntsh.so.11.1 libclntsh.so.10.1

  • Problem with loading native library in java version "1.5.0_05"

    My application uses a native coded drawing. With java version 1.4.xx it was working just fine but with java 1.5.xx it gives the following error at the time of loading native library:
    java.lang.UnsatisfiedLinkError: /home/abyzov/tmp/friend32-1.6.02/libfriend.so:
    /home/abyzov/tmp/friend32-1.6.02/libfriend.so: undefined symbol: XtWindowToWidget
    I assumed that java loads all necessary X-libraries at start up but it seems to be not true for version 1.5.xx. Does anybody now about this kind of problems? Should I report it as a bug?

    I have this exact same problem. I developed an application all along using 1.4.2_08 to be exact no problems. I was forced to switch to 1.5.0_06, now when I try to run the app I get:
    java.lang.UnsatisfiedLinkError: <path to library>/libcomlib.so: <path to library>/libcomlib.so: undefined symbol: yp_get_default_domain
    I have tried compiling it in both 1.4.2_8 and 1.5.0_06 and it compiles perfectly but when I run with 1.5.0_06 it messes up.
    If you found the problem with this or anyone else has any advice please let me know.

  • PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so:

    I have oracle 11g, php5, and apache2 are running on server(A). One of my php application need to connect Oracle 10g on server(B). so I have to configure PHP5 and OCI8. Here is what I have done.
    #env
    ORACLE_SID=demo
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1
    LD_LIBRARY_PATH=/u01/app/oracle/product/11.1.0/db_1/lib
    TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin
    ## PHP configured
    #./configure prefix=/usr/local/php5 with-apxs2=/usr/local/apache2/bin/apxs --with-oci8=/u01/app/oracle/product/11.1.
    0/db_1 enable-sigchild with-config-file-path=/usr/local/apache2/conf
    ##OCI8
    ./configure -with-oci8=shared,/u01/app/oracle/product/11.1.0/db_1
    Then I add "extension=oci8.so" on the php.ini file (/usr/local/php/conf/php.ini)
    ## Here is a problem
    # php phpinfo.php |grep oci
    PHP Warning: PHP Startup: Unable to load dynamic library './oci8.so' - ./oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
    oci8
    oci8.default_prefetch => 10 => 10
    oci8.max_persistent => -1 => -1
    oci8.old_oci_close_semantics => 0 => 0
    oci8.persistent_timeout => -1 => -1
    oci8.ping_interval => 60 => 60
    oci8.privileged_connect => Off => Off
    oci8.statement_cache_size => 20 => 20
    OLDPWD => /usr/local/apps/oci8-1.3.4
    _SERVER["OLDPWD"] => /usr/local/apps/oci8-1.3.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    what is your OS?
    Under Fedora 9 I used :
    locate oci8.soI had to use yumex to install a bunch of php files (pecl and phpize) that had the programs to dowload and install oci8.
    Another post has the instructions! Search on phpize or pecl
    in /etc/php.ini put :
    extension=oci8.so

  • PHP & JAVA (Unable to load Java Library)

    Hello,
    I try to execute a script ncluding the call with JAVA routines, I obtain the following message:
    Fatal error: Unable to load Java Library /opt/j2sdk1.4.2_04/jre/lib/i386/libjava.so, error: libjvm.so: cannot open shared object file: No such file or directory in /usr/local/apache2/htdocs/prerequis.php on line 17
    My environment is as follows:
    Linux REDHAT 2.4.21, Apache 2.0.50, PHP 4.3.9, JDK 1.4.2_04
    Files php.ini :
    [Java]
    java.class.path = /usr/local/lib/php/php_java.jar
    java.home = /opt/j2sdk1.4.2_04
    java.library = /opt/j2sdk1.4.2_04/jre/lib/i386/libjava.so
    java.library.path = /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    extension_dir = /usr/local/lib/php/extensions/no-debug-non-zts-20020429
    extension=java.so
    If somebody has an idea??
    Thanks

    Shouldn't java.library.path point to java.library?

  • Apache 2.0: Unable to load dynamic library dbxml

    Examples in dbxml run quite well when I command "php -c /etc/php.ini ..."
    However, apache 2.0 error_log says:
    PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/dbxml.so' - /usr/lib/php4/dbxml.so: undefined symbol: db_env_ce_get in Unknown on line 0
    If any dbxml objects are referenced in PHP code, httpd segfaults. I have read all the resources on web I could get my hands onto, but still haven't figured out what's wrong. Can you help me?

    Hi,
    thanks to you both for your help. I tried adding the following to my apachectl script:
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/dbxml-2.3.10/install/lib:/usr/lib:/usr/local/lib
    export LD_LIBRARY_PATH
    ...but it didn't really help. I still don't get this. For your information:
    My system is Linux 2.6.9-023stab044.11-enterprise running i686, dbxml is 2.3.10, PHP 4.3.10 in Apache 2.0 Handler.
    Running ldd /usr/lib/php4/ gives
    libxqilla.so.1 => /usr/local/dbxml-2.3.10/install/lib/libxqilla.so.1 (0xb7c77000)
    libxerces-c.so.27 => /usr/local/dbxml-2.3.10/install/lib/libxerces-c.so.27 (0xb78dc000)
    libdbxml-2.3.so => /usr/local/dbxml-2.3.10/install/lib/libdbxml-2.3.so (0xb76c5000)
    libdb_cxx-4.5.so => /usr/local/dbxml-2.3.10/install/lib/libdb_cxx-4.5.so (0xb75cb000)
    libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb750a000)
    libm.so.6 => /lib/libm.so.6 (0xb74e8000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb74e0000)
    libc.so.6 => /lib/libc.so.6 (0xb73bc000)
    libnsl.so.1 => /lib/libnsl.so.1 (0xb73aa000)
    libpthread.so.0 => /lib/libpthread.so.0 (0xb7359000)
    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb7fee000)

  • Help / Configure PHP+IIS+Oracle "Unable to load dynamic library....."

    Hello,
    I am a seasoned Oracle user and PHP developer and for the life of me I cannot get our development server to load the php_oci8.dll file. I have spent hours searching the web, the Oracle forums and reading the FAQs and can still not get the web server to load correctly. Below are some specs about the environment we are running:
    -OS: Win2k Server SP4
    -Web Server: IIS 5.0
    -PHP Version: 5.1.4 PHP
    -Full Oracle Admin 10gr2 client is installed on web server
    When I pull up a page, I get the following warning: "PHP Warning: PHP Startup: Unable to load dynamic library 'D:\temp\php_oci8.dll' - The specified module could not be found. in Unknown on line 0 "
    Here is what I have done to troubleshoot:
    -'everyone' user has full access to the extension directory
    -I have tried moving the php_oci8.dll to other directories and changing the extension_dir in my php.ini
    -I am confident that my extension_dir in the ini file is correct
    -I have tried the Oracle instant client and the full admin OEM client. The machine currently has the full OEM client installed
    -All environment variables appear to be correct
    I rarely post to forums but I am running out of options. If I cannot figure this out soon, we will have to go another route for resolution. Any help is tremendously appreciated.
    Dave.
    [email protected]
    Message was edited by:
    user527623

    Should I explicity create environment variables named: ORACLE_HOME and NLS_LANGYep, you need to create those specific variables.
    Nooooo don't use ODBC!!!!
    Actually, I don't really care either way, I'm pretty much technology agnostic. Different things have different uses and you have to pick the best tool for the job. If I was a zealot I'd say "Don't use IIS" :p
    ~Jer

  • Problems with loading native library/missing methods: no ttJdbcCS1121

    Hi guys,
    Im getting this problem in glassfish 2.1, but in glassfish 3 or in tomcat, i dont get this problem. (Windows)
    Any thoughts?
    java.sql.SQLException: Problems with loading native library/missing methods: no ttJdbcCS1121 in java.library.path
    at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1750)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:305)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:161)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    at com.summitinvt.mdaq.db.handler.DBConnector.getConnection(DBConnector.java:108)
    at com.summitinvt.mdaq.db.handler.DBConnector.initiateConnection(DBConnector.java:101)
    at com.summitinvt.mdaq.db.handler.DBConnector.<init>(DBConnector.java:34)
    at com.summitinvt.mdaq.db.handler.DBConnector.<init>(DBConnector.java:14)
    at com.summitinvt.mdaq.db.handler.DBConnector$DBConnectorUtil.<clinit>(DBConnector.java:24)
    at com.summitinvt.mdaq.db.handler.DBConnector.getInstance(DBConnector.java:28)
    at com.summitinvt.mdaq.rats.server.CommunicatorImpl.getPnLByCurrency(CommunicatorImpl.java:1074)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:207)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:243)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:382)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    regards
    John

    A similar problem was reported before on this Forum - see
    Re: not able create connection to timesten
    checking the Release Notes I can see 11.2.1.8.0 has been tested against Glassfish 3 but I
    can't see any mention about Glassfish 2 in the v7 or v11 Release Notes (albeit only on a quick
    search).
    In my full install on XP, ttJdbcCS1121.dll is in C:\TimesTen\tt1121_32\bin

Maybe you are looking for

  • How to specify the EFI bootloader path in the EFI firmware?

    I want to single boot Ubuntu on my MacBookAir. I've deleted the HFS+ partition and replaced it with a EXT4 and installed Ubuntu 10 with grub EFI. I thought the EFI firmware would automatically look in /boot/grub/efi... but it doesn't... How can I con

  • Movie purchase question

    Hi all, I know it's my one fault, but I wanted to download the latest 2012 Red Dawn movie and it not on the movie page but the old one is which I already have a DVD of. Can I get it deleted and a refund if I haven't downloaded it all and haven't watc

  • Copy control between Sales activity and Inquiry.

    Hi Gurus, Can someone please tell me where copy control between sales activity and Inquiry is maintained? i am not able to find the settings. Regards Manoj

  • Question about Sennheiser headphones for my Zen Ph

    I just bought these Sennheiser headphones (CX 300-S) for my Zen Photo and when the lights are on I get a buzzing noise but when the lights go off the buzz is gone. Does anyone have any clue why this is? The headphones cost me a pretty penny and they

  • XML refresh within a PDF

    I was wondering if it's possible to refresh XML data imbedded in the report once it's been exported to a PDF?