Which libraries are loaded ?

I have a JWS application, using the Java Advanced Imaging library (JAI). On the developing machine JAI 1.1 is installed in lib/ext of JDK 1.3.1.
Since a new version of JAI is out 1.1.1, I upgraded the webserver resources with this newer version and expected that the JWS application would use this one. Instead, the app continued to use the JAI library (1.1) installed in the local JDK. I expected that the library cached in the JWS cache would have the preference.
In such a situation, a user could download a JAI version not supported by the JWS application from Sun's web site, install it in a local JRE. Does this mean that afterwards this unsupported version is preferred over the cached version ? This way a user could unwillingly corrupt a JWS application.
Is there any way to force that the downloaded libraries in the JWS cache are used ? (I may even have applications, which use different version of a library).
Thanks in advance for comments ...
Thomas Guelden

I think the problems, I described does not exist, since I have installed now a different JAI version on the local JRE and the web start app now uses downloaded one.
I am sure that I observed the behaviour described in the original thread, but I cannot reproduce it. Sorry for inconvenience.
To answer your question:
In the case of Java Advanced Imaging (JAI), I load the native libraries using:
if (jws != null) {
System.out.println("Loading libraries ...");
System.out.println("Starting in JWS mode ...");
System.loadLibrary("mlib_jai");
System.loadLibrary("mlib_jai_mmx");
else {
System.out.println("Starting in normal mode ...");
Thomas Guelden

Similar Messages

  • How can you determine at runtime which libraries are attached?

    Hi
    I am wondering if there is a way to determine which libraries are currently attached to a form at runtime. My application is in forms 10g.
    I am hoping to get the full path so that it is possible to show this in an information type display. I am ideally looking for a solution that works on both Unix and Windows so that it can be used in development and production
    thanks in advance
    Wayne

    I am curious, why you want to know which library is attached and the full path??? You cannot change it at runtime!!
    I don't think that's possible at runtime by using Generic Forms built-ins, But as always with Oracle, you can have several solutions.
    One solution is to initialize global variables/parameters in PRE-FORM and later you can read them and see the values and do whatever you want accordingly.
    When using Global variables, you can test for their DEFAULT_VALUE to check whether the variable exists or not, this will prevent getting an error if the variable hasn't been initialized yet.
    Tony

  • Which maps are loaded on my phone?

    I'm using Nokia Map Loader to install maps on my phone for the various countries I travel to, but how can I tell which maps are already present on the phone?
    I can't see any way to determine if a particular map is already installed, or whether it's the latest version. It seems the only way to be sure you have the latest map is to download and install it again. The maps for some countries are over 100MB in size, so it would be nice to avoid doing that if it's not necessary.
    Chris

    Unfortunately it isn't possible to tell what maps you already have with the current version of Map Loader.
    However, there is no harm in regularly downloading map data, even if you already have it as the maps are regularly updated. I actually make it a point to regularly download all the maps I refularly use. The new maps will just overwrite the old and I am guaranteed the latest maps.

  • Which libraries are accessible in custom components?

    hi there
    i am developing a custom component that has to access the repository. i found a tutorial for accessing it from a client application, but it needs quite a lot libraries such as adobe-repository-client.jar or adobe-livecycle-client.jar. i think there must be a way for a component, that is runing inside the appserver, to access the repository without this libraries. but i did not find any documentations for this.
    has anyone an idea or a link to a tutorial?
    greez
    ps: i know, it's not the appropriate category here, but there is no better one...!

    for everyone that is interested in this:<br />I figured out, that it seems to be possible to use all libraries as on client side. but it is not necessary to include them in the jar for deployment. just add a dynamic package import to the component.xml file, and the server handles everything itself!<br />it is really amazing how long that one has to search for such a solution! there is absolutely no documentation available! i hope that will become better in the future!<br /><br />greez<br /><br /><dynamic-import-packages><br />  <package version="1.0" isOptional="true">*</package>     <br /></dynamic-import-packages><br /><services><br />  ...<br />  ...

  • Which libraries are needed to compile ejb

    To compile my own test ejb application that uses servlets as well as EJBs, what libraries do I need. I'm using Sun ONE Application Server 7 and trying to compile using javac.

    Use appserv-ext.jar and appserv-rt.jar to your classpath while compiling your application.

  • Which classes are required to run a basic client app outside of jDev?

    Basic question, folks.
    For a minimal program, say a frame and a swing component, which classes need be copied (to a system without any Oracle software installed) in order to run? Is there a listing available that describes which class/jars are needed if x component is used?
    Also, will jre 1.4 work? Or do I need to copy a special Oracle JVM? If so, is there a specific installer just for it?
    TIA
    -Nat

    Nathan,
    To run any Java application, you will need a Java Runtime Environment(JRE) which is part of the Java Software Development Kit (SKD). If you want to distribute your application with a JRE, you can copy the .../jdk/jre directory from JDeveloper (check the readme file about copyrights and other legal issues) or you download it from http://java.sun.com/j2se/1.3/download.html
    Both the AWT and Swing libraries are included in the JRE in the same jar file as the basic java.lang or java.io classes. The name of the file is rt.jar.
    If your program runs with the Oracle VM, it will run with Hotspot. Both VMs are equivalent when running your application. It is only for the development phase that we strongly suggest to use the Oracle VM because it is much better instrumented for development than any other VM.
    If you want to know precisely which classes are loaded from which jar files, run your application from a command line and add -verbose:class.
    For example:
    C:\JDev9\jdk\demo\jfc\SwingSet2>java -verbose:class -jar SwingSet2.jar
    - Cedric
    JDev. team

  • How to tell which maps are the latest?

    I have Maps v3.01 loaded on my 6710 Navigator (came with free worldwide licence) and Map Loader v3.0.28 on my PC.
    How do I tell which maps are loaded on my Nokia and what version/date the maps availalble on Map Loader are?
    Map Loader does not state which maps are already on my phone, nor does it state the date or version of the maps which can be uploaded.
    Obviously, I'd like to install newer versions of my country map if and when it is available, but how do I know which version is available and which I already have?
    Ovi.com does not seem to be the answer either as all maps were downloaded using Map Loader.
    Solved!
    Go to Solution.

    If you already have a free worldwide license and V 3.01 is working well for you then you are right to leave it for the moment. I hear of problems  searching for addresses etc with V3.03.  Can always update later when everything is sorted.
    I believe if you delete all your maps and then use Ovi Suite to download new maps, Ovi Suite will at least tell you what maps you have on your phone. I haven;t tried it myself because I can't stand Ovi Suite.
    Speed warning is available for Ireland but just like you I have to import the speed camera locations as landmarks. Hopefully, we will see these as new features in future updates.

  • What libraries are attached to my form?

    Is there a Forms built-in that will help me determine which libraries are attached to my form at runtime?

    There is no way to do this natively.
    You could build your own scheme where every package sets a flag. Then at any point you could check the flags and that will tell you what's attached.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • How do I find out which JamPacks are present?

    Second question: How do I determine which Jampacks are loaded into a current GarageBand on my new (old) computer?

    Thanks,I did that but if for instance I'm trying to determine if: "Garageband Jam Pack 2: Remix Tools, Garageband Jam Pack 3:Rhythm Tools, Garageband Jam Pack 4: Symphony Pack" are present, what exactly am I looking for?

  • WPF+MAF - addin referenced libraries are not loaded?

    Hi! I'm new to Add-in framework. Now I'm trying to create WPF addin that returns UserControl (according to https://msdn.microsoft.com/en-us/library/bb909849(v=vs.110).aspx).
    The problem is that when I try to get user control from addin, Exceptions are thrown:
    1. The first exception was "Cannot find resource named '<name>'. Resource names are case sensitive.". All the resources are stored in separate library and it worked fine when I did the same with MEF (before MAF)
    2. OK, I've removed all StaticResources and then I got another exception: "{"Could not load file or assembly 'Infralution.Localization.Wpf, PublicKeyToken=547ccae517a004b5' or one of its dependencies."}". This lib is used for localization.
    Note: all needed libraries are in the same folder as the addin is
    Are addin referenced libraries not loaded? Or where was I mistaken? 

    Yes, I had downloaded it (before writing my application) and tried to start it, but it does not work. Today I've tried it again and it still does not work.
    1. VS says there are no System.Xaml references at all projects (fixed)
    2. NullReferenceException is thrown at StackChanged event invokation - added check for null (fixed)
    Now, when the solution is built, there are 6 warnings at AddInStore.Rebuild(path). The first says: "While examining an assembly for pipeline segments, got a TypeLoaderException" and there is
    no the exception per se. (I could attach image, but it will be useless, because I have VS Express and not english ui language). So, 0 addins are found.
    Hi Maleev,
    >>1. VS says there are no System.Xaml references at all projects (fixed)
    >>2. NullReferenceException is thrown at StackChanged event invokation - added check for null (fixed)
    I saw that your original two issues have been resolved, for your new question, could you please close this case and feel free to open a new thread for better communication?
    Thank you for your understanding:)
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Map Loader should tell me which maps are already i...

    Hi!
    I've tries many ways, but haven't found a way for Map Loader to tell me which maps are ALREADY in my device. Which means that every time I go to a country, I have to try to remember if I had already uploaded that map to my device... or not.
    Is there a way to figure out easily what maps are already present in my phone? And while we're at it, what voices?
    Also, as a natural consequence, I'd like to be able to remove voices or maps individually.
    This seems like basic functions that TomTom has had for, well... forever.
    Gilles.

    But there's no similar for maps. Even with latest Ovi Maps.
    Hi ggravier
    Ironically in Nokia Maploader for Mac which is a stripped down version there is a download history which although not perfect does give you some idea! 
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • No rows are loaded after the execution

    Which product and version are you using?
    ans client 9.2.0.2.8 and db 9.2.0.4
    - On which platform and version is it installed?
    windows 2000
    - Is this part of Oracle Applications (i.e. Financials, Inventory, etc.)?
    its part of 9ids. I installed data warehouse in saperate home
    - Has this ever worked correctly? If yes, what has changed?
    No. This is my first project and we are evaluating oracle over other warehouse
    product.
    All is working except the rows are not loaded. Mapping is validated correctly. Deployed successfully, executed successfully from the deployment manager but 0
    rows are loaded. You get a small pop up window after execute of a mapping. Log message
    at the end of the execute shows insert 0, update 0, delete 0 and merged 0.
    The mapping consists of two table operators. One from source table from differenct schema and one for target. There is nothing so complicated here. All I want is
    to copy the data from source to target table through warehouse. My question really what do I need to insert the record? Once the mapping is defined, deployed and executed should not the rows be loaded?
    Everything else is working. Like creation of target tables and so on.
    The source operator properties are bound_name-eqpthist_qtr, primary source-no loading type-Insert.
    The target has bouondname-test, primary source-no, loading type delete/insert.

    after the execution there errors whatsoever. It executes with out any error.
    Its working when I replace the source table with one from the target schema itself. I mean a copied table to target using slqplus. I uses any tables under its schema itself then all the rows are inserted. Its not working when copying/referencing from another source schema. THe target user is given select any table, all object privileges of the source table, even dba role. Still no rows are loaded.
    the target has DBA,CONNECT,RESOURCE,AQ_USER_ROLE, WB_A_VLSIOWRUN, WB_D_VLSIOWRUN, WB_R_VLSIOWRUN, WB_U_VLSIOWRUN, SELECT_CATALOG_ROLE.
    The target has system privs as
    CREATE VIEW
    CREATE TABLE
    ALTER SESSION
    CREATE SESSION
    CREATE SYNONYM
    CREATE TRIGGER
    CREATE ANY TYPE
    CREATE SEQUENCE
    CREATE SNAPSHOT
    CREATE DIMENSION
    CREATE INDEXTYPE
    CREATE PROCEDURE
    SELECT ANY TABLE
    DROP ANY DIRECTORY
    DROP PUBLIC SYNONYM
    CREATE ANY DIRECTORY
    CREATE DATABASE LINK
    GLOBAL QUERY REWRITE
    UNLIMITED TABLESPACE
    CREATE PUBLIC SYNONYM
    SELECT ANY DICTIONARY
    CREATE PUBLIC DATABASE LINK
    and the following privs on the source table as well
    SELECT
    ALTER
    DELETE
    INDEX
    INSERT
    UPDATE
    REFERENCES
    ON COMMIT REFRESH
    QUERY REWRITE
    DEBUG
    FLASHBACK

  • Safari 4.0.3 running OSX 10.6.1 -  Pages are loading but NOT thumbnails?

    Just upgraded to OSX 10.6.1 running Safari 4.0.3 last week - everything was working BEFORE the upgrade - but now for some reason I have an issue where pages ARE loading including larger banners, text flash animations etc, but if the site contains small thumbnails they are not loading.
    The icon in the web bar spins and spins for ages and then suddenly where the thumbnails should be I get the blue question make as if the links are broken - which there not as this is happening to well know sites such as youtube gettyimages and ebay and its just to the thumbnails?????
    Take ebay for example, the homepage page loads in fine, and if I search for a product - the page with the listing all loads but not the thumbnail images, yet if I click a listing the full page loads without a problem?
    Any advice, I have cleared the cookies and javascript database all to no avail?

    HI,
    Try Safari Maintenance
    Carolyn

  • I have a iPad were I have opened I tunes match ect linked to my pc I have since found my old ipod classic which I have loads of music on but that was all linked to a mac which I don't have anymore, is there anyway I can sync them both

    I have a iPad were I have opened I tunes match ect linked to my pc I have since found my old ipod classic which I have loads of music on but that was all linked to a mac which I don't have anymore, is there anyway I can sync them both without loosing my music, if I plug my ipod into PC it won't read it

    You need to transfer the music from your iPod on to your iTunes library on your PC, since that is where you are currently syncing and where you are signed into iTunes Match.  It doesn't matter that you were previously syncing it with a Mac, and you won't need to reinstall iTunes on your PC.  But you will have to use 3rd party software such as Touch Copy to transfer any music not purchased from the iTunes store from your iPod to your iTunes library.  Here's another guide on this, which is shoter and you may find easier to follow: Syncing to a "New" Computer or replacing a "crashed" Hard Drive.  Also, if you're using iTunes 11, go to View>Show Sidebar.  This will make it easier to follow along with these guides.

  • How can I tell which clips are currently used in a sequence

    In the Project window there is a list of clips I have loaded, but often I lose track of which clips are currently used in the sequence.  In Premiere Elements there was a green check next to clips you have used in the timeline, but I don't see any indication of which clips are currently used in the sequence/timeline I am editing.
    Is there some way to sort the loaded clips so that the ones in use all appear first followed by those clips not currently being used in the timeline/sequence.  Is there some indication I am missing showing me whether or not a clip I have loaded is currently being used or not?
    -Roger Uzun

    This isn't really a sorting mechanism, but you can see how many times a clip is used, where it's used, and then navigate to it using the following non-descript button:
    You need to have a clip selected in the Project Panel to see this information, of course. Once you click the disclosure triangle, you'll see the list of sequences and the times where the clip is used; if you select one of those references, the sequence will come to the front in the Timeline panel, and the CTI will park at its in point.
    Again, not a sorting means, but it might be helpful in some instances.

Maybe you are looking for

  • Can not view videos on you tube in firefox4 using flash player11

    I'm using firefox 4 and i can not view videos on you tube.I've updated and reinstalled adobe flash player twice with no results.I've also tried the other checks,security blocking,cache,pop ups etc Works fine on IE. Hope someone has a solution.I've al

  • Unable to connect my Apple TV to my wireless network

    Hi I have an Apple TVMC572LL/A I had to replace my wireless router.  I am now using a dual band router. I am unable to connect to the 5GHz signal offered by the router. It is a Netgear N750.  Is there an issue with this generation Apple TV and 5GHz?

  • Grey screen and "incorrect number of thread records"

    I think I am in trouble. My eMac will not boot and gets stuck on the great screen with the Apple logo and the spinning windmill. I have followed the instructions in the Apple help article up to but not including "archive and install". I tried the adv

  • How to add JDBC Drivers to J2EE server?

    Hey, I am studying the j2ee following j2ee tutorial of sun java. while, I want to execute the programs over another database server such as mssql server, I add it by j2eeadmin addJdbcDriver sun.jdbc.odbc.JdbcOdbcDriver, and j2eeadmin addJdbcDatasourc

  • Configuration Details for GL account, Fund and Funds center

    Hi All I am executing budget report by using FMRP_RFFMEP1FX. In this report shows the fundcenter wise invoice details. As I execute the report with different fund center I am getting different output that is not match with actual one for that I want