Download & install application over http

Hi, All !
I'm novice at ME so don't be cruel :). The question is following:
I want to download and install application (some.jar) from server. Could the following code help me? ( Actually I had thought that device proposed to download file after (*) line, but It didn't ):
HttpConnection conn;
InputStream is;
DataInputStream dis;
int status;
try {
(*) conn = (HttpConnection) Connector.open(downloadURL);
status = conn.getResponseCode();
if (status != HttpConnection.HTTP_OK)
System.out.println("failed");
...et c.
It would be great if someone will advise me a scheme to realize.
Thanks in advance, Vadim.

if you want to install jar
you need to deploy it in public server
see here
http://developers.sun.com/techtopics/mobility/midp/ttips/wtkota/
and if netbeans you use
http://www.netbeans.org/kb/50/j2me-app-server.html

Similar Messages

  • Starting an j2se 1.3 application over https with JWS 1.2

    Hi,
    How can you start an application which needs j2se 1.3* over https?
    I know, distributing signed Software over https isn't very useful, but it's the only way we can distribute it.
    I assume that JWS validates codebase and j2se version by it self so I can't use many workarounds.
    My jnlp file:
    <jnlp spec="1.0" codebase="https://server.company.com/apps" href="launch.jnlp">
         <information>
         <resources os="Windows">
              <j2se version="1.3*"/>
    The Error:
    BadFieldException[ The Field  <jnlp> has an invalid Value: https
    For HTTPS-Support is Java 1.4+ needed]
         at com.sun.javaws.xml.XMLUtils.getAttributeURL(Unknown Source)
         at com.sun.javaws.xml.XMLUtils.getAttributeURL(Unknown Source)
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Main.main(Unknown Source)
    Are there any workarounds? Perhaps:
    -     installing the Java Secure Socket Extension (JSSE) to the JRE 1.3.1
    o     http://java.sun.com/products/jsse/index-103.html
    o     described at http://forum.java.sun.com/thread.jsp?thread=199562&forum=38&message=1138437
    -     using an extension in the jnlp which first downloads the application code with j2se 1.4.1. And afterwards starts the application with j2se 1.3.1.
    -     or something else?
    Thanks for any comment
    Andrea

    Unfortunately no.
    Java 1.3 dosn't contain jsse extension, so you cannot download your program (using 1.3) with javawebstart. Https suport in java web start requires at least java 1.4.0

  • After downloading & installing application of adobe creative suite cs2 version 6,  screen of adobe photoshop cs2 is not opened by clicking icon . message is giving " ausba4.dll " was not present. Please guide me.?

    I have downloaded & installed adobe creative suit cs2 version 6 but when I click the icon of adobe photoshop in desktop it is not opened & giving message " this application has failed to start because " ausba4.dll " was not found. reinstalling of the application may fix the problem " I have reinstall & opened many times but even then it is not opened. Please guide me accordingly.

    I'd try disabling the Twain_32.8BA plugin in
    C:\Program Files\Adobe\Adobe Photoshop CS2\Plug-Ins\Import-Export
    You can disable the plugin by putting an ~ (tilde) in front of the name or moving the plugin to your desktop.
    Then try photoshop cs2 and see if you still get the error message.
    I suspect the error has to do with your scanner driver, since photoshop cs2 does not have an ausba4.dll

  • Downloading Text file over http

    Hi,
    I am trying to display some plain text files over http to the client using a web browser. Everything works fine till the time the file size is small, but for the files of over 1MB the frontend just dies. Probably the display happens only after the complete transfer of the file.
    Does any one have the solution by which the text files can also be downloaded similar to the html files i.e. incrementaly. I have the code of transferring the html file over http as it happens in the explorer. But the same does not seem to work on the plain text files.
    Please help
    Sachin

    I do not have any Remote server written for this. What i am doing is, the directory in which the files are stored is exposed as a virtual directory through a web server(Apache) and then from client i am just placing a http request to open this file.
    So what i can do under this situations to handle the large files.

  • Streaming APP-V Applications Over HTTPS

    Hello,
    Is there any documentation on streaming APP-V 5.0 over HTTPS? I've only found one articval online and its not that great. I setup my APP-V environment with https and none of the client machines will pull the packages and in event
    view it tells me the package is corrupt. I re-packaged the same application and published them and still unable to stream to any clients.
    I reverted my servers back to http and reset the clients are able to stream the application that are persented to them.
    All servers are on a domain.
    Any imput or documentation on streaming over https would be much appreciated.
    Peter B Hardy

    See Thamim's post:
    http://virtualvibes.co.uk/ssl-and-https-with-app-v-5-0/
    Regards, Michael - http://blog.notmyfault.ch -

  • TS1702 When I try to install an app on my iPhone, I get either 'Unable to download / Install Application at this time' or on iTunes I get error 0xe000008

    OK, So here's the case on my new iPhone.
    A friend gifted me this app for my iPhone and it worked fine on my friends phone ( he downloaded it as well from my account and I authorized it temporarily so he could install it) but when I just tried to install the app on my iPhone, I kept getting an error, like I said in the title, either "Unable to download application (app name) could not be installed at this time" or on iTunes, I would get the error "unknown error 0xe000008" on iTunes, and the app would be un-launchable. I have tried many times to delete it and reinstall, I've tried tips from other users, disabling and re-enabling wifi, logging out and back in my Apple Store account, just about everything, even a fresh re-sync, does anybody have any ideas what to do, and what may be causing this?? This is seriously starting to frustrating me!
    Thanks!
    -Daniel

    Hello eddemas,
    Thank you for providing the details of the issue you are experiencing with apps purchased from the iTunes Store.  I recommend following the steps in this article:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Why billing information always prompt every time i download free application?

    billing information always prompt every time i download free application?

    http://www.howtogeek.com/howto/12936/create-an-itunes-account-without-a-credit-c ard/
    try this.. i dont knw whether this work or not..

  • How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?

    How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?
    The system I'm have is a Mac-mini that had SL on it and no SuperDrive.  I have also call Apple Support and they have really have not been to much help over 1st did my up grade to Lion and Installed the Lion Server.... it lost my SSL that I paid for and kill almost on of my server setting, plus kill all my web servers (using apache vhosts), and not to say the LDAP will even let remote users login to your laptops.
    PS: There is no way that I'm going to buy a Install USB from Apple... They have over billed me over $300.00 because the Apps Store still has bugs (Glad I did not write that App/Service)
    If there is anyone that can give in the information to create a USB install stick, I would be very thinkful.

    Here you are bro, courtesy of "softpedia.com"....brilliant site!!!
    If you ever had problems with your Mac OS X installation you know that the first thing you should do is to check the startup volume using Disk Utility.
    After the check has ended and, if the errors exceed a certain level of seriousness, the Disk Utility application will require you to restart your Mac and use its Mac OS X Install disc counterpart.
    Other users may have to reinstall OS X altogether, but will find, or already know, that their SuperDrive (a CD/DVD reader and write combo drive) is not functioning properly and it will not be able to read the Install disc.
    Although this might happen to Mac OS X Leopard users due to faultyhardware, the vast majority of problematic SuperDrives will be encountered inside Snow Leopard running Macs.
    This is due to the updated SuperDrive firmware included in either the Install disc or the software updates one has to install to reach the latest version of OS X, namely 10.6.6.
    This can be fixed by flashing the SuperDrive’s stock firmware using free command line tools that one can find for free online (I will write about this process also, but at a later time because this article only focuses on allowing you to create your own alternative USB boot disc).
    If you are reading this last bit of information with skepticism, than you should know that it happened to me too. Despite all my tries to make it work properly, the SuperDrive kept on munching any inserted DVDs and just popped them out in about twenty seconds.
    The workaround to this issue was to create my own Leopard bootable USB memory stick. I am not suggesting a Snow Leopard bootable stick mainly because there are lots of users that have decided to buy the cheaper, Upgrade version, which I have not tested and, therefore, I’m not sure if it will work properly once written to a USB disk.
    And now, here are the exact steps you should follow in order to obtain a fully bootable Leopard (or Lion) Install disc.
    Step 1 (If you already have the Leopard install disc DMG file you can skip to Step 2)
    Launch Disk Utility (you can find it inside /Applications/Utilities). Here select the Leopard Install disc in the list of drives on the left and click on the New Image menu entry at the top of the window. A save message will appear where you will have to select the Desktop as a destination.
    Step 2
    After Disk Utility has finished creating the Leopard DMG, insert your USB stick and erase all data and reformat the disk. To do this select the USB in the list of drives on the left and, after clicking on the Erase tab on the right side of the window, choose the Mac OS Extended (Journaled) format and click the Erase button beneath.
    Step 3
    After the USB has been reformatted, download the SuperDuper app from HERE and launch it. Once SuperDuper starts, you will only have to select the DMG in the Copy drop-down menu, your USB memory stick on the right and hit the “Copy Now” button.
    One can also use Disk Utility for this task but creating a bootable USB stick failed 2 out 4 times when copying the DMG to the stick (with the exact same settings each time). Creating the bootable stick using SuperDuper proved to be the perfect way to do it because it worked each of the 4 times I tested it.
    The steps above can also be used to create a bootable Mac OS X Lion USB by using the InstallESD.dmg image you can find inside the Lion installer (named “Install Mac OS X Lion.app”) downloaded from the Mac App Store in the /Applications folder.
    To locate the InstallESD.dmg right click the Lion installer, select the “Show Package Contents” entry, go inside the “Contents” folder, and from there into the “SharedSupport” folder. Inside this folder you can find the InstallESD.dmg you can use to create your own bootable Mac OS X Lion USB stick. To do so, go to the third step described above and use the InstallESD.dmg as the DMG to be copied to your USB disc.
    That’s it! Once the process ends you will have a fully bootable Leopard (or Lion) USB disk that you can use as an alternative to the Apple’s DVD Install disc that comes bundled with all Macs.
    To use your newly created bootable disk you will have to restart the Mac, press and hold the OPTION key until the StartupManager appears. Here, select the Mac OS X Install disk using your keyboard arrows and press return to start from the selected drive.

  • Mangled file downloads over http problem in 10g

    I have a web app running in an OC4J stand alone 10.1.3.3 and am having a problem with downloading files over http. Its a struts2 app whose file downloading impl is easy to use and standard code for writing to an http servlet response output stream.
    Using the firefox plugin for Live Headers I can see that the headers are correctly added to the servlet response and I do get the file I want. However the file has been mangled with binary output around the text. This is the case for txt, word, or any other file.
    This problem does not occur in Jetty or Tomcat. I've also ruled out file corruption while going in/out of the database since I can upload a file when running oc4j, turn off oc4j, start up my app in Jetty and retrieve the same file just fine.
    The mime types are all accounted for and the problem exists regardless if I use a specific content type or just application/download. My browsers (firefox and ie) also recognize all files from the content disposition value "attachment; filename=myfilename.ext". Its just the file content that some how has been wrecked on the way out of the container.
    Has anyone experienced this? I only found one or two unanswered posts elsewhere.
    How can this be mitigated?
    Thanks in advance.
    Andrew

    Figured it out when I realized it was in fact the data coming from the database that was corrupt. There were some older posts on the hibernate website that pointed to a single property that needs to go in the hibernate.properties file: hibernate.jdbc.use_streams_for_binary=true. Without it, Oracle returns the Blob locator consistently 86 bytes in length and therefore bad binary.

  • Have a student / teacher subscription. Trying to download and install applications on new mac pro with yosemite

    Have a student / teacher subscription. Trying to download and install applications on new mac pro with yosemite. Old applications still work on older Mac Pro. Can't download any applications. Creative Cloud website and desktop app both fail. Very frustrating. Anyone having this problem?

    Chas50 I would recommend removing the currently installed Adobe Creative software.  You can then install the new versions of the Adobe Creative software included with your membership.  You can find complete details regarding the uninstall and install process at Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • From where to download and install applications for MAC-OSX.

    hello everyone,
    I am trying to develop experimental HLS server and for that i need following cmd-line tools for my MAC-OSX-10.6.8.
    I have read some where that these tools are there from OSX version number 10.6 but I have only "mediastreamsegmenter"command on my MAC machine.
    I am very new to MAC environment and I don't know how to download/install new libraries and applications for MAC. 
    Can someone please provide some help,
    from where to download and install these cmd-line tools?
    I need following tools:
    1. mediastreamsegmenter
    2. mediafilesegmenter
    3. mediastreamvalidator.
    4. variantplaylistcreator
    Thanks

    Maybe this http://stackoverflow.com/questions/2973411/implementing-apples-http-live-streami ng-problem-with-mediafilesegmenter-tool can help you.
    Stefan

  • TS1702 Whenever i download any application, i got this message-" the application not installed on the iPhone because an unknown error occurred (0xE800000C)"...Please give me some solutions to resolve this issue..

    Whenever i download any application, i got this message-" the application not installed on the iPhone because an unknown error occurred (0xE800000C)"...Please give me some solutions to resolve this issue..

    Read here:
    http://support.apple.com/kb/TS3221

  • How to download and install application via desktop software?

    Hello everybody.
    I'd like to know how to download and then, install applications on my Bold 9700 using desktop manager (version 6.1).
    Can someone enlighten me about it please?

    The easiest way to install apps is to use either App World on your phone (available from mobile.blackberry.com if not installed on your phone) or via the web front end of App World (http://appworld.blackberry.com/webstore/) , plugging your phone in via USB. 

  • Internet Explorer cannot download over HTTPS if Pragma: no-cache is set

    APEX Ver. - 3.2
    DB Ver. - 11.1.0.7
    Problem : The apex application generates an XML file and saves it to a table. Users navigate to a report where they have a DOWNLOAD link to download the file. Over HTTPS, when the download link is clicked Internet Explorer (IE7) generates an Error Message saying Internet Explorer cannot download apex_util.get_blob from ...
    The same functionality works in Firefox and Chrome.
    A blog post on MSDN (http://blogs.msdn.com/b/ieinternals/archive/2009/10/03/internet-explorer-cannot-download-over-https-when-no-cache.aspx) describes this problem and one of the reasons contributing to this problem is a pragma declaration of no-cache , is there a way to remove the pragma declaration in the request header?
    Thanks,
    Ramesh
    Edited by: Ramesh on Dec 10, 2010 11:27 AM
    Edited by: Ramesh on Dec 10, 2010 11:28 AM
    Edited by: Ramesh on Dec 10, 2010 11:29 AM

    Dear Markus
    Could you please tell me indetail...
    Im able to download if im in internal network, bz it is directly pinging from server in IE 6.0 and 7.0.  Problem is only with External facing, that too with IE 6.0, 7.0. In firefox im able to downlad the file even using reverse proxy , and internal network.
    What i guess is problem within reverse proxy setup & configurations or IE broweser.?
    Please suggest
    Thanks
    PRadeep

  • I worry about could I download and install applications from Creative cloud when I reinstall my windows?

    I have to reinstall my windows, but Im using an adobe pack (ps, id, ai, etc.) that I've downloaded by creative cloud. I worry about could I download and install applications again from Creative cloud without any trouble? Could you share your experieces? THX a lot.
    Krisztina

    Before you remove anything you should sign out of the Creative Cloud so that it is reset for you when you reinstall and sign in again.
    Sign out, Sign in | Creative Cloud desktop app
    http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    Activation & deactivation help
    https://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html#a ctivate-how-to

Maybe you are looking for

  • Token-based server access validation failed with an infrastructure error

    Hi We have a new Win 2008 Enterprise x64 server running SQL 2008 When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message: "Token-based server access validati

  • Use of proxy distribution table in ACS v4.0

    HI All, We are running with Cisco ACS v4.0 AAA server, Here I need the use of Proxy distribution table. Why is this required and what is the functionality of it. Regards Suresh

  • I need help with my juava

    ok before i upgraded to java 6(tm) 5 I could play pogo now that I have upgraded it says i don't have java or that its not the most upgraded version or i need to reinstall. ok i have reinstalled probably 10 times i've checked my scripts and my system

  • M515 and Windows Vista 64 bit HotSync Issue

    Hi I have a M515 which I am unable to sync with a Windows Vista 64 bit machine using a USB cable. My computer does not have a IR port. Read thru several threads but did not find a solution for this problem for a 64 bit machine. Any help would be grea

  • Logon to PL/SQL AND SQL

    Hi I install 10g for windows 32bit after that I couldnot to logon to the data base control I loged as DBA on Oracle SQL*PLUS and alterd user hr and identified by hr I tried to log on as hr password hr but there is message no pirivilges to logon pleas