Different behaviour with non-versioned and versioned jars

Everything works fine if I do not use the 'version' attribute into my jnlp file.
Now, I set this version attribute : version="1.2" for example and I rename my jar file into blabla__V1.2.jar (before it was blabla.jar). When I try to execute my application with this configuration I have the following exception :
JNLPException[category: Erreur de t�l�chargement : Exception: java.io.IOException: HTTP response 404 : LaunchDesc: null ]
Why this difference between a versioned and non-versioned config. ?
mailto:[email protected]

The version based protocol requires you to running a servlet
that implements the version based protocol. A basic web server
will only implement the basic protocol. The java web start
developers pack contains a sample servlet (JNLPDownloadServlet) that can be used to extend your web
server to implement both version based and jardiff protocals.

Similar Messages

  • I have two different accounts with I-tunes and I want to link both purchases for my music to one account. How can I do this?

    I have two different accounts with I-tunes and I want to link both purchases for my music to one account. How can I do this?

    You are going to need to change the email address you use with your old ID. Once you have got access to your old account you will then log into both accounts at the same time on your Mac and transfer your data to a single account. We can do this later, but need you to get access to your old account first.
    My Apple ID

  • Stored Proc output being truncated with latest ojdbc14 and classes12.jar

    Hello,
    I downloaded the latest ojdbc14.jar from Oracle website and used it with my Java program. I noticed a peculiar behavior. If my stored proc is returning a VARCHAR with large number of characters, the output is being truncated. This worked fine with the older ojdbc14.jar (and the older classes12.jar). It does not work properly with the new ojdbc14 and classes12.jar. Is there something that I am missing here?
    My Oracle Server version is - Oracle Database 10g Enterprise Edition Release 10.2.0.1.0.
    Below is the sample stored proc and the Java file to execute the same.
    Am I missing something here?
    CREATE OR REPLACE PROCEDURE TestOracleDriver (returnVal OUT VARCHAR2) IS
    BEGIN
    returnVal := '';
    FOR tmpVar in 1..2000
    Loop
              returnVal := returnVal || to_char(tmpVar) || ',';          
    END LOOP;
    END;
    import java.sql.*;
    import java.util.*;
    import java.util.Hashtable;
    import oracle.jdbc.driver.OracleTypes;
    public class OracleDriverTest
         public static void main(String argv[]) throws Exception
              Connection c = null;
              try
                   Driver dr = new oracle.jdbc.OracleDriver();
                   Properties props = new Properties();
                   props.put("user", "scott");
                   props.put("password", "tiger");
                   c = dr.connect("jdbc:oracle:thin:@SERVER_NAME:PORT:SID", props);
                   System.out.println("GOT A PLAIN CON" );
                   System.out.println("The driver is " + c.getMetaData().getDriverVersion() );
                   System.out.println("The DBMS is " + c.getMetaData().getDatabaseProductVersion() );
                   execute(c);
              catch (Exception e)
              e.printStackTrace();
              finally { try {c.close();} catch (Exception ign){} }
         private static String execute(Connection connection )
                   String procName = "TestOracleDriver";
                   CallableStatement cstmt=null;
                   ResultSet rs = null;
                   String returnedData = null;
                   try
                        cstmt = connection.prepareCall("{call " + procName+" (?)}");
                        cstmt.registerOutParameter(1,OracleTypes.VARCHAR);
                        cstmt.execute();
                        returnedData = cstmt.getString(1);
                        System.out.println("ProcTest ::execute --> Returned data is \n"+ returnedData);
                        return returnedData;
              catch (Exception e) {
                   System.out.println("ProcTest ::execute -->Error while executing "+procName);
                   e.printStackTrace();
                   return null;
              finally
                   try
                        connection.close();
                   catch (Exception e1)
                        System.out.println("ProcTest ::execute -->Error while closing connection ");
                             e1.printStackTrace();
                   }//end of catch
         }//end of finally
    }//End of execute method
    Regards,
    Hari
    Message was edited by:
    user553601
    Message was edited by:
    user553601

    Hari,
    If you think it is a bug, you can report it to Oracle Support via the MetaLink Web site.
    Good Luck,
    Avi.

  • Problems working with non drop and drop frame DVCPRO HD material in project

    I am having playback problems with my non drop frame HDV material. It stutters.
    All of our projects up to this point have been shot in drop frame. During our last shoot however the Bcam was recorded in non drop. I loaded both the non drop bcam tapes as non drop and the drop frame Acam tapes as drop. All of the drop frame Acam material plays back fine in the source viewer and the timeline. The non drop Bcam material seems to randomly stutter in the source viewer, or causes the system to serve a "dropped frames warning" in the timeline.
    Is there a bug with fcp 5.1.2 about mixing non drop and drop frame material in a project. Or is this not possible? They are the same frame rate.
    I have exported the non drop clips in a drop frame timeline and re-imported them as drop frame clips - thus correcting the problem. Is this the best solution?
    All of the material was loaded thru a kona card as 1080i60 DVCPROHD 29.97
    I had no problems capturing the material as long as I used the corrrect firewire setting (ndf vs df).
    Anyone have a problem like this? I would greatly appreciate a response.
    Thanks,
    Mark

    http://bssc.sel.sony.com/BroadcastandBusiness/DisplayModel?m=10014&p=2&sp=141&id =78439
    The camera can record 60i, and 30F:
    "HDV 1080, 50i/60i/30F/25F Recording and Playback capable"
    Look at the clips...look at their frame rates. What do they say? Is one 59.94? Is the other 29.97?
    You would never need to render if you mixed NDF and DF footage. The footage runs at the same speed, on the TC numbers are different. But, you would need to render if your footage had different frame rates. LOOK AT THE CLIPS.
    Shane

  • Create a different db with same db_name and now cannot start apex

    Hi All
    we create a db in the same box with my old db.
    The purpose is we need to change the default character set to unicode.
    And How do we start apex?
    Is there a command line tool to start apex?
    -Thanks for the help!

    Hi umesh,
    Thanks for your help.
    That means we can set up two database with same db_name and domain is system. the duplicate DB (second DB) does not affect primary DB in system and makes a confusion for client application? suppose i use TNS to control each DB by IP .
    also, can we use db_link to link two differnet OS plastform( window 32 bit and linuc 64 bit redhat with service name) oacle version is 10 g too?
    I try to configure a TNS in primary DB tnaname file but fail with TNS : no listener ora-12541 during connect linux DB server.
    But I copy this TNS to new window 32 bit PC with oracle client. it works to link to linux db services.
    which issue?
    Thnak for help
    JIM
    Edited by: user589812 on Jul 3, 2009 9:00 AM

  • Splash screen with progress bar and multiple jar files to load

    Hello,
    I have been looking to the new features in java 6 for splash screens. I haven't implemented this never before and i was wondering how i could do the following with java 1.5 or 6:
    I would like to see a splash screen with a progress bar that "grows" when every jar file has been read.
    At this time i call my application like this from a shell script:
    exec "$JAVA_BIN" -Djava.library.path=$LIBRARIES_J3D -classpath xxxx.jar yyyy.jar zzzz.jar ...
    where xxx.jar, yyy.jar and zzz.jar are very heavy jars.
    So i would like to see in the progress bar 33% 66% and 100% when they are loaded.
    I do not know if this is the right forum to ask for this. If no, please point me which would be the ideal one.
    Any help will be very useful. Thanks to all!

    Am 10.07.2015 um 07:17 schrieb Lalit Solanki:
    > Hi friend,
    >
    > I am create pure eclipse E4 application and trying to splash screen with progress bar and message.
    >
    >
    >
    >
    > but above image in only support eclipse E3 application so pleas help me how to add progress bar and message in eclipse E4 application
    >
    Hi Lalit,
    there's a Bug entry: https://bugs.eclipse.org/bugs/show_bug.cgi?id=382224
    Meanwhile you can use this solution:
    https://www.eclipse.org/forums/index.php/t/328812/5ceed4bcaa683a94d65efb161bffd217/
    Regards,
    Ralf.

  • Problem with different resultset with same data and same query in Oracle 8.1.7 and 9i

    Hello,
    I have been using this query in oracle 8.1.7
    SELECT
    ID,
    AREA_NO
    FROM MANAGER_AREA MGR
    WHERE COMPANY_ID = :id AND
    (:value < (SELECT COUNT(ROWID)
    FROM MANAGER_WORK MW
    WHERE MW.AREA_ID = MGR.ID AND
    (MW.END_WORK IS NULL OR MW.END_WORK >= SYSDATE)))
    order by AREA_NO;
    In the above query I want to see rows from MANAGER_AREA table depending upon date criteria in the table MANAGER_WORK and also upon the parameter :value i.e if I pass a value as 0 I get to see records for which their is atleast 1 record in MANAGER_WORK with the date criteria and if I pass -1 then I get all the records because minimum value that count(*) would give is 0. The resultset was as expected in 8.1.7.
    A couple of days back I installed PERSONAL 9i to test for testing the basic functionality of our program with the same data. This query fails and irrespective whether I pass -1 or 0 it returns me same dataset which I would have got in case if I pass 0.
    I do not know whether this is a bug that has got introduced in 9i. Can anybody help me with this problem. It would be difficult for me to change the parameter send to this query as the Query is called from many different places.
    Thanks in advance
    Amol.

    I cannot use a Group by and a having statement over here. The problem with 'Group by' and 'having' clause is If I have to make a join between the two tables. When I use join then I get only rows that are linked to each other in the table.
    If I use outer join to solve that problem then I have to take in consideration the other date condition. My previous query use to virtually discard the corelated query result by using -1 as the value. This will not happen in the join query.
    Amol.

  • JComboBox - different behaviour in 1.3 and 1.4

    I have noticed that there is a difference in JCombobox behaviour in 1.3 and 1.4.
    I think it is better to give the program than explaining the issue.
    the below given program shows the difference.
    import javax.swing.* ;
    import java.awt.* ;
    import java.awt.event.* ;
    import java.util.* ;
    * Test program to show difference between
    * Combo behaviour in java1.3 and 1.4
    public class CTest extends JFrame
         private JComboBox combo1 ;
         private JComboBox combo2 ;
         public CTest()
              super() ;
         public void init()
         combo1 = new JComboBox() ;
              combo1.addItemListener( new ItemListener()
                        public void itemStateChanged( ItemEvent event )
                        if (null != combo1.getSelectedItem() && event.getStateChange() == ItemEvent.SELECTED)
                             loadCombo2(combo1.getSelectedIndex()+1) ;
         combo2 = new JComboBox() ;
              combo2.addItemListener( new ItemListener()
                        public void itemStateChanged( ItemEvent event )
                        if (null != combo2.getSelectedItem() && event.getStateChange() == ItemEvent.SELECTED)
                             System.out.println("Combo2 item selected : "+ combo2.getSelectedItem()) ;
              JPanel panel = new JPanel(new BorderLayout()) ;
              panel.add(combo1,BorderLayout.NORTH) ;
              panel.add(combo2,BorderLayout.SOUTH) ;
              getContentPane().add(panel) ;
         public void loadCombo1()
              combo1.removeAllItems() ;
              for (int iCount = 0 ; iCount <5 ; iCount++)
                   String strItem = "Item : "+iCount ;
              combo1.addItem(strItem) ;
              try
                   combo1.setSelectedIndex(0) ;
              catch(Exception e)
         private void loadCombo2(int itemCount)
              combo2.removeAllItems() ;
              for (int iCount = 0 ; iCount <itemCount ; iCount++)
                   String strItem = "Item : "+iCount ;
              combo2.addItem(strItem) ;
              try
                   combo2.setSelectedIndex(0) ;
              catch(Exception e)
         public static final void main(String args[])
              CTest app = new CTest() ;
              app.init() ;
              app.setSize(100,100) ;
              app.setVisible(true) ;
              app.loadCombo1() ;
    In jdk1.3 every time you change the selection in combo 1 there will be selection change in combo 2 also. but not in jdk1.4.
    i am not sure whether it is a bug. But surely te behaviour is different.
    any comments on this issue???

    Anil,
    I've just noticed this as well, so I had a quick look at the 1.4 sources. Quite simply, adding and removing items in a JComboBox will never fire an ItemStateChangedEvent, even if the selected item does change.
    The culprits are intervalAdded() and intervalRemoved() in JComboBox.java. Under 1.3 these methods called contentsChanged() which would then fire an ItemStateChangedEvent if necessary. Under 1.4, these methods are empty. Why? I have no idea. It seems like a bug to me, but can't see anything in the bug database about it. Hope someone from Sun can explain it.
    Regards,
    Peter

  • Using digital tv in different countries with ATSC/M and DVB/PAL formats

    Are there any Toshiba LED/LCD/plasma models 40-42" that will function with both DVB and ATSC digital formats and M (NTSC) and PAL analogue formats?

    Alex,
    This is sort of the holy grail for me as well, I've got an upgraded PC with a dual analog tuner and a single DTV tuner on it - for now I'm using a TV antenna to get DTV transmissions and using the analog for ch 2-83 cable.  Not ideal, but the OTA stuff is great.  One side benefit - it still records in .DVR-MS format, which most applications know what to do with.  Not too many out there that know what to do with .WTV format that the update pack (Fiji) creates.
    From what I understand - if you have a newer QAM tuner and driver - Win7 should bring it all together.   Maybe by then the video editing packages will be able to handle the new format as well.
    -dm (an HP employee, but the comments/suggestions are mine, not my employers).
    -DM (HP Retiree)
    NOTE: If this helps you or solved your problem - please say thanks by clicking the white kudos star on the left.
    If you think this would also help others, please mark 'Accept as Solution' to help them find it easier.

  • Report with non aggregated and aggregated columns from different facts.

    Hi,
    We have got requirement as follows,
    1) We have two dimension tables, and two fact(Fact1 and Fact2) table in physical.
    2) In BMM we have made hierarchies for both dimensions, and are joins both logical fact table.
    3)In fact1, we are having three measures of which we have made two as aggregation sum, and one is non aggregated(It contains character).
    4)Fact2 have two measures, both are aggregation as sum.
    5)Now here the problem arises, we want to make a report with some columns from dim and non aggrgated column from fact1 and and aggregated column fact2
    How to resolve the above issue.
    Regards,
    Ankit

    As suggested you really want to move your none-aggregated fact attributes to a logical dimension (using the same physical table as the logical fact). Map this in the BMM layer as a snowflake, Place a hierarchy on this dimension with (at minimum) Total -> Detail levels, then on the other fact table you want to include in the report, set the content level on your other fact measures to the 'Total' level for your new logical Dim and it will allow them to be present in the same report.

  • Project file failing to open on different machine with same version of FCP

    i have been editing a documentary on my mac book, on an upgraded version of final cut studio two. i recently got an iMac, Intel Core 2 Duo, 2.66 GHz, and planned to continue editing the same project on this. i loaded fC studio to it, but when i tried to open my existing project file, it tells me that the project file's format is too new for the version of the application. but it's the exact same version!
    totally stumped.

    When you upgraded to the latest OS, do you mean from say Tiger to Leopard? If so and it wasn't done cleanly as an erase and install of that new OS, I'd suggest this could very well be the reason you're having problems...
    If you'd like you could send me a copy of this project file... [email protected] If I can open it, it's likely your install that's causing the problem, and the fix is to wipe your hard drive and start over, or get another drive to start up from that's cleanly installed.
    Jerry

  • Usage of java.sql.Timestamp with classes12.zip and ojdbc14.jar  ?

    Hi all,
    If i'm using java.sql.Timestamp with classes12 it is functioning perfectly,
    if i'm using ojdbc14 and java.sql.Timestamp it is functioning in different way and failing to do the action..
    Example : update set xxx=yy where time = my Timestamp object set in Prepared statement
    Hope to see the answer

    http://forum.java.sun.com/thread.jspa?threadID=460615&messageID=2116517
    Timestamp insert problem
    Using the "classes12.zip" file that comes with the distribution for Oracle versions 8.1.6.x and 8.1.7.x, Oracle's DATE datatype is mapped to the "java.sql.Timestamp" class. However, the "ojdbc14.jar" driver maps DATE to "java.sql.Date", and "java.sql.Date" only holds a date (without a time), whereas "java.sql.Timestamp" holds both a date and a time.

  • Different Results with Powershel v2 and v3

    Hope someone can help me determine why there is a difference in my data between v2 and v3 of Powershell. I do my development on my laptop which has version 3 installed, but the script is executed on a server which has version 2 installed.
    #create directory searcher object and set it's porperties
    $searcher = New-Object DirectoryServices.DirectorySearcher
    # (!userAccountControl:1.2.840.113556.1.4.803:=2) - Filters out disabled accounts
    $searcher.Filter = '(&(objectCategory=person)(objectClass=user)(!samaccountname=ITS-*)(!userAccountControl:1.2.840.113556.1.4.803:=2))'
    $searcher.PageSize = 5
    $searcher.SearchRoot = "LDAP://OU=District Offices,DC=myDomain,DC=com"
    #load only the following properties
    $params = @("samaccountname","sn","givenname","mail","physicaldeliveryofficename","department","title","manager","distinguishedname")
    foreach($param in $params)
    $searcher.PropertiesToLoad.Add($param) | Out-Null
    try
    $found = $searcher.FindAll()
    $found | ForEach-Object {
    if (($_.Properties["distinguishedname"] -notlike "*,OU=Generic User Accounts*") -and ($_.Properties["title"] -notlike "*Consultant*") `
    -and ($_.Properties["title"] -notlike "*Commissioner*") -and ($_.Properties["title"] -notlike "*Security Guard*") `
    -and ($_.Properties["title"] -notlike "*OSC*") -and ($_.Properties["title"] -notlike "*DCC*Temp*") -and ($_.Properties["samaccountname"] -ne "tbjohn") `
    -and (($_.Properties["mail"] -ne "")))
    $filtered += $_
    Running this script on my machine produces the data that the user is looking for. When I run it on the server, there are users in the data file that should not be. In the filter statement if I change
    -and (($_.Properties["mail"] -ne "")))
    #TO BE
    -and (($_.Properties["mail"] -ne $null)))
    Then those users are removed, but then other users are included and I haven't figured out why yet. Why would there be a difference, with the above script? I would think that should work in any version but obviously that is not true.
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

    jrv, with your modifications, things look to be going great, but again I am having an issue between version 3 and version 2 of powershell
    I have the following code in a file
    $searcher = New-Object DirectoryServices.DirectorySearcher
    $searcher.Filter = '(&(objectCategory=person)(objectClass=user)(mail=*)(!samaccountname=ITS-*)(!userAccountControl:1.2.840.113556.1.4.803:=2))'
    $searcher.PageSize = 5
    $searcher.SearchRoot = "LDAP://OU=District Offices,DC=MyDomain,DC=com"
    #load only the following properties
    $params = @("samaccountname","sn","givenname","mail","physicaldeliveryofficename","department","title","manager","distinguishedname")
    foreach($param in $params)
    $searcher.PropertiesToLoad.Add($param) | Out-Null
    # Filtered results to exclude certain OU's
    $filtered = @()
    try
    $filtered += $searcher.FindAll() | Where {
    $_.Properties["distinguishedname"][0] -notmatch ",OU=Generic User Accounts" `
    -and $_.Properties["title"][0] -notmatch "Consultant|Commissioner|Security Guard|OCS|DCC.*Temp" `
    -and $_.Properties["samaccountname"][0] -ne "tbjohn"
    $filtered.Count
    catch
    Write-Host "Error occured $_"
    exit
    I then did two different tests. In a command window I run the following
    C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe -Version 3.0 -ExecutionPolicy RemoteSigned -File F:\PS_Scripts\ADTest.ps1
    The results here return the count of 2485, yet if I force it to use version two with the following command
    C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe -Version 2.0 -ExecutionPolicy RemoteSigned -File F:\PS_Scripts\ADTest.ps1
    The results returned is an error stating "Cannot index into a null array", is there a difference in the DirectorySearcher object in version 2.0 compared to version 3.0?
    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
    Don't Retire Technet

  • Different behaviour of Outlook (client) and OWA when sending mails

    Hi everyone,
    we're developing an application which uses the push notifications of the Exchange systems to communicate (and synchronize) with the server.
    We're currently facing the following problem: we want to create a mail in the drafts folder of a user via EWS (working fine) and when the user sends this mail, we want to be notified in order to look for changes made to the mail (in order to keep our own
    "mail object" updated). The problem is, the Outlook client is sending a move-Notification from Draft to Sent Items whereas the OWA creates a Delete- and a Create-Notification.
    Is there a reason for this difference? Is there a way to change it / is the change planned for future releases? Right now our application is only handling the move-Notification and since this application is running on a server for a number of users, we don't
    want to create too many notification subscriptions which all have the same callback URL.
    Thank you in advance and kind regards,
    Bernd

    It does happen in OWA.
    We do have SP3 installed but we do not have the most recent rollup. We have version 14.03.0181.006 which is according to this article is Update Rollup 5 for Exchange Server 2010 SP3 Per this article, http://technet.microsoft.com/en-us/library/hh135098(v=exchg.150).aspx
    The server performance is certainly questionable, but we haven't gotten very far with upgrading or replacing it and I think something like this would certainly be something we could point to as an example of how the server performance is affecting business
    and the delay it causes. But I was really hoping to get something I could use to definitively point to as evidence of it being a server performance problem. Would you, or anyone who reads this, be able to tell me what the results of that cmdlet indicate?

  • Production RAC with ASM and DR with non-rac and ASM

    Hi,
    I have a question whether this configuration is feasible or not. Production environment is 10gR2 RAC running on 2 node cluster. DR site will have single instance with ASM. Disks from primary site will be mirrored to DR site using EMC SRDF. Would i be able to bring up single instance at DR site on mirrored ASM disks once split is done? Currently not incorporating Dataguard for DR solution.
    Wanted to check if anyone has done like this before.
    Thanks

    This is feasible. SRDF is capable of providing data at the DR site that is always in a "crash-consistent state", without doing anything at the production site RAC environment. Starting the database at the DR site will cause it to run crash recovery first. SRDF synchronous or asynchronous feature should be used in this case.
    At the DR site, your default OS devices files could be different. Either change the asm disk strings or configure the device files for the disks such that they are the same as the shared device files at production side. This way, you can use the ASM configuration as is.
    Also the database is to be started in a non-cluster mode, by commenting the cluster related parameters (ie: cluster) at the init*.ora parameter file.

Maybe you are looking for

  • HP Laserjet 5200- Ethernet- Network host is busy - problem

    Hi I just bought an HPLaserjet 5200 GN. I got it up and running and it prints its test page fine and the mac seems to see the printer when I check the system profiler but alas it wont print. I get the response: attempting to connect to host on port 9

  • Can I change WP to PL?

    This is quite possibly a very basic question, but I can find no answer to it anywhere. A friend sent me a Pages document that opens in WP mode. However, I need to change the document using PL. Is there some way that I can get Pages to switch the mode

  • 1760 Diagnostic Question

    I have a 1760 Series Router with a Serial Interface that randomly goes up and down. According to our provider, they can find nothing wrong with the line. It is configured with a single Ethernet WIC (E0), and a single WAN Wic Card (S0). Configurations

  • I accidentally deleted the Safari browser.

    I accidentally deleted the Safari browser from my computer. I reinstalled it using the startup disc but when I tried to use it, I was given a message saying Safari was too new to use with the OS (OS X 10.5.8).  I need help. 

  • IDisposable best practice

    After reading a lock implementation I noticed they enabled GC.SuppressFinalize(this) inside Dispose() only when in debug mode, however the guides (1, 2) at msdn don't indicate this. Does anyone know why? Thanks!