Loading different library versions

Hi all,
I'm developing an application that detects a specific hardware, then loads the jar file appropriate for that hardware version.
My question is: How do I load multiple versions of a jar file in a single app? The idea is that the app spawns multiple threads. Each thread handles one hardware and uses the appropriate jar version.

Why do you need separate jars for each version? Is the Java code different for each version, or just the native libraries?
If it's Java code you're worried about and the jars do not overlap classes, there's no problem here.

Similar Messages

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

  • Has anyone seen this Dyld Error Message:   Library not loaded: /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow   Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto   Reason: image not found

    Getting this error on iPhoto open it refers to iLifeSlideShow and iPhoto quits - or doesn't open.
    Dyld Error Message:
      Library not loaded: /System/Library/PrivateFrameworks/iLifeSlideshow.framework/Versions/A/iLifeSlid eshow
      Referenced from: /Applications/iPhoto.app/Contents/MacOS/iPhoto
      Reason: image not found

    Yes, some perople have seen this. Options:
    1. Try reinstall iPhoto. (see below)
    2. If you have access to another Mac with the same version of the OS, try and copy that framework over
    3. Reinstall the OS.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.
    Regards
    TD

  • Load different versions of Help depending on user's OS?

    Is it possible to have different versions of Help load depending on the user's OS?
    For example, if a user is accessing from a PC then they would load the AIR Help version, but if they were accessing from a Mac then they would load the HTML version.
    Is this something that is handled on our database end, or would it be a feature of Adobe RoboHelp Server?

    Try this link if you want to see how browser based help will look on MACs and Apple hardware.
    http://www.grainge.org/demos/bbair/
    Your developers would need to create a sniffer to ascertain the OS of the user's device and then route to the required help. That is not built into RoboHelp and RoboHelp Server will not assist with this one.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Unable to load Adobe InDesign CC 2014 Type Library (Version 1.0)

    Good evening,
    I've just upgraded ID from CC to CC 2014 and now a script that had always run without issue now won't work. I get an error saying 'Unable to load Adobe InDesign CC 2014 Type Library (Version 1.0)'
    The bit of code I was running was executing a little VB script copying files:
            var vbScript = 'Set fs = CreateObject("Scripting.FileSystemObject")\r';
            vbScript +=  'fs.CopyFile "' + f.fsName.replace("\\", "\\\\") + '", "' + destinationFolder.fsName.replace("\\", "\\\\") + "\\" + f.name + '"';
            app.doScript(vbScript, ScriptLanguage.visualBasic);
    From trawling the net I can see stuff about the 'Resources for Visual Basic.tlb' file. I can see this in the C:\ProgramData\Adobe\InDesign\Version 10.0\en_GB\Scripting Support\10.1 folder but clearly it isn't registered or something similar.
    Can anyone help me get past this problem?
    Thanks for any help.

    Thanks for your prompt reply.
    Do you mean copy the 'Resources for Visual Basic.tlb' into the Version 9 folder?
    If so I already have the file in there: "C:\ProgramData\Adobe\InDesign\Version 9.0\en_US\Scripting Support\9.0\Resources for Visual Basic.tlb" as well as the file in this location: "C:\ProgramData\Adobe\InDesign\Version 10.0\en_US\Scripting Support\10.1\Resources for Visual Basic.tlb"
    The only difference between the 2 installs that I can see is that v10 also has a locale for en_GB.

  • Dynamically load different versions of client jar

    Hello,
    My application needs to simultaneously support different versions of an RMI app. How to dynamically load the proper version of the client jar to connect with the same version of the server. Say Server versions are sv1.0, sv 1.1, sv 2.0 and clients are cl1.0, cl1.1, cl2.0. How to dyncamically load cl1.0 in my application so as to connect with sv1.0, similarly cl1.1 with sv1.1
    Will having a different classloader for each of the client jars, solve the problem?
    Can someone direct me/suggest on how to handle this.
    I appreciate your help and thanks for your time.

    Try this link if you want to see how browser based help will look on MACs and Apple hardware.
    http://www.grainge.org/demos/bbair/
    Your developers would need to create a sniffer to ascertain the OS of the user's device and then route to the required help. That is not built into RoboHelp and RoboHelp Server will not assist with this one.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Loading different versions of Linux native libraries - question

    I need to package libXm.so, libXm.so.2 and libXm.so.2.1 for a JWS application.
    Q: How do I use System.loadLibrary() to load libXm.so.2 and libXm.so.2.1 from within a JWS application?
    System.loadLibrary("Xm"); // loads libXm.so from root of JAR file.
    �yvind

    I dont like this either - its a last resort really :)The whole System.loadLibrary()/nativelib business is a bit ...
    I'm loading a library that might pull in libXm.so, libXm.so.2 or libXm.so.2.1. I don't have a way of telling which.
    AFAICT, I need to load all three of them. Thats 2MB/library.
    Hopefully loading libXm.so.* that are not used is at least harmless.
    I'm left with the feeling that although this might work, it is not the way it is intended to be done.
    �yvind

  • 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

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

  • Error while creating database - Cannot load backend library 'oci.dll'

    Hi all,
    I am newbie to Timesten imdb (in memory database). I do not wish to use oracle rdbms.
    I have installed the Timesten IMDB on Win2003.
    E:\TimesTen\tt70_32\bin>ttVersion.exe
    TimesTen Release 7.0.5.0.0 (32 bit NT) (tt70_32:17000) 2008-04-05T00:54:16Z
    Instance admin: m4sadm
    Instance home directory: e:\TimesTen\tt70_32
    Daemon home directory: e:\TimesTen\tt70_32\srv\info
    While installing, I followed the viewlet at: [http://www.oracle.com/technology/products/timesten/viewlets/tt70_install_win_viewlet_swf.html]
    Now, I am planning to create a database, and so following the viewlet at: [http://www.oracle.com/technology/products/timesten/viewlets/tt70_create_db_win_cc_viewlet_swf.html]
    However, when I give the command (according to the viewlet), I get the following error:
    Command> select * from v$version;
    5102: Cannot load backend library 'oci.dll' for Cache Connect. OS error message '<empty>'.
    The command failed.
    Can anyone provide pointers to resolve this?

    I'm guessing you chose No to the install question about using Cache Connect to Oracle? This would cause certain libraries not to be installed at install time, specifically libraries that would enable you to use TimesTen Cache Connect to cache data from Oracle tables.
    The table "v$version" that you use in your select
    select * from v$version
    only exists on an Oracle RDBMS. It doesn't exist on TimesTen. Moreover the second viewlet you refer to is about using the TimesTen Cache Connect feature to cache tables from Oracle RDBMS. If you're not interested in using Oracle RDBMS, as you say, it would be my assumption that you're also not interested in using the TimesTen Cache Connect feature? So I'm a little confused here about your intentions. Are you interested in using TimesTen as a standalone datastore, or do you want to use it to cache data from tables located in an Oracle RDBMS?
    Thanks.

  • HT1386 I just loaded the latest version of itunes and now my Outlook notes won't sync and notes no longer appears in the advanced section of the info page

    I just loaded the latest version of itunes and now I cannot sync my notes from Outlook 2010 to my iphone.  Notes no longer appears under the advanced section of the info tab.  Since I have not had luck syncing in the cloud I always check the boxes and tell the sync to sync from my computer to my phone.  Does anyone know how to get this to work.

    When you connect your ipod up to the computer. It should show the device, usually with the name of the device, in my case 'jordan's ipod'. This should be on the row which shows 'songs', 'albums' e.t.c on the far right. There when you click on it it should go to a different screen showing a picture of your ipod along with two buttons - Update and Restore. Click update and it should take a 2 mins while your ipod is updated to the latest version of Ios.
    After updating te ipod see if there is a change in results.
    PS: make sure the device is active while syncing so keep tapping the screen.
    Sorry for any incorrect info, i have an ipod touch, but i've had experience with an ipod

  • DAC - Error loading shared library [pmwrtrel.dll] in the dynamic lib mgr

    Hi,
    While executing ETL load on a Windows 32-bit machine with DAC v10.1.3.4.1, we were able to execute 24 tasks out of 317 successfully. Then it fails with the following error message:
    PRE-SESS> TM_6232 Error loading shared library [pmwrtrel.dll] in the dynamic library manager. The error is [Database driver event...Error occurred loading library [pmwrtrel.dll]. System error encountered is 127. Error text is The specified procedure could not be found. .].
    PRE-SESS> CMN_1761 Timestamp Event: [Mon Mar 29 19:04:05 2010]
    PRE-SESS> WRT_8236 Error getting pre session writer object for target [W_ETL_RUN_S]
    MANAGER> PETL_24027 Pre-session task completed successfully. : (Mon Mar 29 19:04:05 2010)
    DIRECTOR> PETL_24006 Starting data movement.
    MAPPING> TM_6660 Total Buffer Pool size is 12582912 bytes and Block size is 128000 bytes.
    READER_1_1_1> DBG_21437 Reader: Source is a file-based source.
    READER_1_1_1> FR_3118 source [SQ_FILE_DUAL] code page: [7-bit ASCII]
    READER_1_1_1> FR_3071 Maximum Line sequential buffer length is 1026.
    READER_1_1_1> BLKR_16003 Initialization completed successfully.
    WRITER_1_*_1> CMN_1761 Timestamp Event: [Mon Mar 29 19:04:05 2010]
    WRITER_1_*_1> TM_6232 Error loading shared library [pmwrtrel.dll] in the dynamic library manager. The error is [Database driver event...Error occurred loading library [pmwrtrel.dll]. System error encountered is 127. Error text is The specified procedure could not be found. .].
    MANAGER> PETL_24031
    ***** RUN INFO FOR TGT LOAD ORDER GROUP [1], CONCURRENT SET [1] *****
    Thread [READER_1_1_1] created for [the read stage] of partition point [SQ_FILE_DUAL] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [TRANSF_1_1_1] created for [the transformation stage] of partition point [SQ_FILE_DUAL] has completed. The total run time was insufficient for any meaningful statistics.
    Thread [WRITER_1_*_1] created for [the write stage] of partition point [W_ETL_RUN_S] has completed. The total run time was insufficient for any meaningful statistics.
    MAPPING> CMN_1793 The index cache size that would hold [7340064] rows in the lookup table for [MPLT_GET_ETL_PROC_WID.LKP_ETL_PROC_WID], in memory, is [29555310648557682] bytes
    MAPPING> CMN_1792 The data cache size that would hold [7340064] rows in the lookup table for [MPLT_GET_ETL_PROC_WID.LKP_ETL_PROC_WID], in memory, is [12948046503805036] bytes
    MANAGER> PETL_24005 Starting post-session tasks. : (Mon Mar 29 19:04:05 2010)
    MANAGER> PETL_24029 Post-session task completed successfully. : (Mon Mar 29 19:04:05 2010)
    MAPPING> TM_6018 The session completed with [0] row transformation errors.
    MANAGER> PETL_24002 Parallel Pipeline Engine finished.
    DIRECTOR> PETL_24013 Session run completed with failure.
    DIRECTOR> TM_6022
    SESSION LOAD SUMMARY
    ================================================
    DIRECTOR> TM_6252 Source Load Summary.
    DIRECTOR> CMN_1740 Table: [SQ_FILE_DUAL] (Instance Name: [SQ_FILE_DUAL])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6253 Target Load Summary.
    DIRECTOR> CMN_1740 Table: [W_ETL_RUN_S] (Instance Name: [W_ETL_RUN_S])
         Output Rows [0], Affected Rows [0], Applied Rows [0], Rejected Rows [0]
    DIRECTOR> TM_6023
    ===================================================
    DIRECTOR> TM_6020 Session [SIL_InsertRowInRunTable] completed at [Mon Mar 29 19:04:06 2010].
    Kindly someone tell us how to resolve this issue.
    Regards,
    Vishnu

    what BIA version are you on?
    perhaps you have to install a informatica fix or a DAC patch

Maybe you are looking for

  • Icloud storage space for Mac book

    Will I get any extra icloud storage space , when I buy mac book pro. I am already using iPhone and ipad, so my 5GB icloud storage is almost finished. I know creating one more icloud I'd can give 5GB more , but I don't want too much ID and password.

  • Cannot connect - get error message

    EVERYTIME we try to connect to Mozilla/Firefox lately, the message "proxy server refuses connection" comes up. We have used Firefox with no problems until about 2 weeks ago. It just won't open.

  • Search no longer works in Bridge CS6, after upgrading computer.

    I recently upgraded computers and reinstalled CS6. I can no longer search my files based on keywords or file name. What has happened? When I click on a file, the keywords are check, searching produces no results, just "no items to diplay". I even tri

  • Problem in uploading data to psa.

    Hi experts, im having problems in uploading data to psa using info package in HR info area. while monitoring the info package the following error comes with red traffic signal.. Request still running Diagnosis No errors found. The current process has

  • Different caption for each photo in web gallery

    When you take your selected Photos from Library  to WEB is it possible to have a different caption for each photo. If I select 1 photo from the import and change its caption using the caption popup in the "Image Info" pane all the image captions chan