Open the good application, is it possible?

Hi everybody,
I have a java class which can insert a BLOB into DB2 mainframe and a java class which can select a BLOB from DB2 mainframe. When I select my BLOB, I write it into a file.
I would like after write my file, open it with the good application, my BLOB(file) can be jpg, doc, xls, ...
Is it possible open the good application from my java application?
Thanks

not particuarly elegant but you could use a switch on the substring'ed extension and Runtime.getRuntime().exec(appropriate application filepath)

Similar Messages

  • Unable to Open the HFM application through Workspace

    Hi,
    Here I am getting below error while i am trying to open the HFM application through Workspace.
    I was permitted allowed all IIS (Allow option checked ) but still the error coming i am unable to open my application through workspace , but i am able to do the all thing in HFM via Clien.The error is below
    There was some communication error. Response is : http://localhost:19000/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/appcontainer/Adf.asp <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <HTML><HEAD><TITLE>The page cannot be found</TITLE>
    <META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
    <STYLE type="text/css">
    BODY { font: 8pt/12pt verdana }
    H1 { font: 13pt/15pt verdana }
    H2 { font: 8pt/12pt verdana }
    A:link { color: red }
    A:visited { color: maroon }
    </STYLE>
    </HEAD><BODY><TABLE width=500 border=0 cellspacing=10><TR><TD>
    The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
    <hr>
    Please try the following:
    Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    If you reached this page by clicking a link, contact
    the Web site administrator to alert them that the link is incorrectly formatted.
    Click the Back button to try another link.
    HTTP Error 404 - File or directory not found.
    Internet Information Services (IIS)
    <hr>
    Technical Information (for support personnel)
    Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    Open IIS Help, which is accessible in IIS Manager (inetmgr),
    and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
    </TD></TR></TABLE></BODY></HTML>
    "There was some communication error. Response is : http://localhost:19000/hfm/GlobalWorkspaceNav/bpm/modules/com/hyperion/hfm/web/appcontainer/Adf.asp"
    "

    there can be many causes to this error....
    1) you should check first of all that the redirection from Apache port 19000 to folder HFM within the IIS is actually working. try hitting http://apacheserver:19000/hfm and make sure you get "hfm" response back.
    2) check that ASP is turned on in the IIS ("file / directory not found" suggests that it isnt)
    3) check what URL you used when you created the application or when you registered it with shared services as the "Financial Management Web Server URL for Security". It should normally be http://apacheservername:19000/hfm. If you did this wrong then re-register it with shared services via Navigate->Administer->Classic Application Administration->Consolidation Administration.
    4) check that the application was registered with Shared Services in the first place.
    5) make sure that on the HFM web server, the HFM application server/cluster is properly registered
    6) stop and restart all services and test again...
    7) try not to use "localhost" but proper fully qualified domain names "servername.mydomain.com" wherever possible. you will have less problems. the only place where you should use a non qualified name is in Relational Content links... see the HFM readme.

  • When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.

    When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.

    Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.

  • Error while opening the ORACLE application

    hi
    when i am opening the Oracle application(DB & oracle forms) -frm-40815 message is coming and when i say enter and it is asking me database details. I checked the oracle services and they are in started state and server path is also pinging but i am not able to open the application. so i restarted the server .
    After restarting the server the application started working fine.
    But this is happening daily when the day started . Please let me know if any thing i need to check.

    Thanks John, that's the solution. For some reason I'd forgotten that DCErrorHandlerImpl exists in the controller layer, not the model layer, so it makes perfect sense to override it and do the redirect.
    Here's what I came up with:
    @Override
    public void reportException(DCBindingContainer dCBindingContainer,
                                Exception exception) {
        try {
            String message = exception.getMessage();
            if (message.indexOf("JBO-26061") >= 0) {
                FacesContext.getCurrentInstance().getExternalContext().redirect("faces/ErrorPageJDBCFailure.jspx");
            } else
                super.reportException(dCBindingContainer, exception);
        } catch (IOException e) {
    }The following OTN post shows some other methods to do the redirect: JSF forward Vs redirect
    Cheers!
    CM.

  • Mail unexpectedly quits when I try to open the Mail Application 4.5 and system is 10.6.8

    Mail unexpectedly quits when I try to open the Mail Application 4.5.
    Any ideas how to resolve this?
    I have tried the suggestions already given on Lists, and nothing has yet worked...

    10.6.8 is not Mountain Lion.
    How big is your hard drive, and how full is it?
    Did you happen to download any system cache cleaners?  Those can damage its ability to function.
    Have you tried repairing permissions?
    Is your data backed up?
    Is Spotlight indexed?
    Is the Mail trying to load an IMAP, POP or Exchange account?
    I've requested this thread be moved, no need to repost.

  • How to open the choose application dialog on Mac?

    Hi all,
    I want to know how can we open the "choose application" dialog from InDesign. I want to give this functionality through right click context menu.
    At present CS4 has this feature - steps are as follows:
    1.Create a document.
    2.Place an item on the document.
    3.Now select the placed item and right click on it.
    4.Go to "Edit With->Other..." option.
    5.Choose application dialog opens up and user can select the application in which he/she wants to open the selected item.
    I want the same behavior but not able to understand how to open the choose application dialog on Mac. I have already achieved this on windows.
    I think that there might be some system API's for Mac to get this working.
    Please let me know about this, any help will be appreciable.

    Is this not sufficient? Looks like  you get some defaults then an "other" at the bottom as well. Control click or right click, when using the white arrow on the image.

  • I can't open the Itunes application, keeps coming up with unknown error occured

    I can't open the itunes application on my mac book air. Keeps saying that an unknown error has occurred with (13014)???

    iTunes error 13014

  • Hi, my trial version of Lightroom 5 has recently expired and I have now fully bought it. I have uploaded the CD onto my Mac, but when I open the Lightroom application again, it still says the trial has expired. Does anybody know how I can update it so I c

    Hi, my trial version of Lightroom 5 has recently expired and I have now fully bought it. I have uploaded the CD onto my Mac, but when I open the Lightroom application again, it still says the trial has expired. Does anybody know how I can update it so I can finally use it again? I really appreciate any help!! Thank you!

    Joanne please remove your current installation of Photoshop Lightroom using the uninstallers located in the Applications/Utilities/Adobe Installers.
    You will then want to download Adobe Photoshop Lightroom 5.7.1 from Adobe - Lightroom : For Macintosh.  The update contains the entire application.  Photoshop Lightroom can not be installed through the Adobe Creative Cloud Desktop application and still be licensed with a serial number.

  • Why I can not open the downloaded applications in my iphone 4s?

    Why I can not open the downloads applications? Please show me the way.

    why you cant open? what does it says? have you tried using an valid apple id?

  • Cannot now open the mail application - any clues as to how i can fix this ?

    Just downloaded Yosemite and cannot now open the mail application - how can i get this back ?
    thanks

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore, go into Recovery Mode per the instructions here.

  • HT2500 whenever I open the mail application a flurry of past emails appears from nowhere. How do I stop this happening ?

    whenever I open the mail application a flurry of past emails appears from nowhere. How do I stop this happening ?

    1. If by flurry of emails you mean they all appear opened as if clicked on.
    2. Or do you mean your inbox fills up with a whole lot of 'new' unread emails downloaded from the server, so that if you delete them they return next time you open Mail.
    If it is 1. Press (three keys) Option + Command + W
    This will close all mail windows including the inbox.
    Then press (two keys) Command + 1
    to return the inbox.
    That should stop any flurry next time you open Mail
    If 2., Open Mail Preferences > Accounts (select the account in question if there is more than one), click on Advanced, and where it says remove copy from server after retrieving message, select that choice and click Remove now.

  • HT4993 my emails are not updating itself automatically. I only get emails if i open the mail application in my iphone. How to update emails automatically?

    my emails are not updating itself automatically. I only get emails if i open the mail application in my iphone. How to update emails automatically?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • My iphone 4 will not play or open the music application included on the iphone

    when i try to open the music application included on my phone it comes up as a blank or black screen for a few seconds before returning to the home screen i have rebooted and restarted as well as fully closed down all my apps

    Try resetting it: hold down the power and the Home button for about ten seconds until the Apple icon appears on the screen.
    As per the troubleshooting section of the User Guide:  http://manuals.info.apple.com/en_US/iPhone_iOS4_User_Guide.pdf

  • Access Denied error while opening the deployed Application

    Hi,
    When I try to open my deployed application I get the following error:
    weblogic.net.http.SOAPHttpsURLConnection
    Im using the following code in my application:
    URL wsURL = new URL(wsLocation + "?command=login");
    So I went ahead and changed my code to this:
    java.net.URL wsURL = new URL(null, wsLocation + "?command=login",new sun.net.www.protocol.https.Handler());
    But I got the following error:
    access denied (java.lang.RuntimePermission accessClassInPackage.sun.net.www.protocol.https)
    Also I believe sun.* packages are not supported anymore on cloud. I think it might be because of this it failed the second time.
    Is there any workaround for this?
    Regards,
    Abhishek

    Access denied indicates the user account uploading the file doesn't have access to the library, or sometimes it means there's already a document in the library with the same name that was never checked in. It's also possible that your template contains
    custom code that tries to do something that is not allowed.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Unable to open the Planning application on planning desktop(9.2.x)

    Hi
    I am unable to open the application on the planning desktop.
    All the possible solutions like unlockapp.exe,restarting of Services has been performed but stiil i am unable to open the application.Also the essbase service is unstable ie whenever i restart(stop and start also) the essbase services is up but after a refresh of services the essbase service is getting stopped.Even the DSN conection between planning and essbase seems to not work.
    Any solution for the issue faces above would be really helpfull.
    Thanks and regards
    krishnatilak

    Hi Tilak,
    May be there is problem with hung connections, try to kill hung connections and try to open app, if not works try to reboot the server,sometimes it will help for services failing. after reboot the server check services and hung connections, this time hung connection wud nt present, then try to open app, it may help.
    still problem means check the install files are correct or somebody deleted any files....bin folder
    thnx
    :-)

Maybe you are looking for

  • WVC210 "File Not Found" error in IE9

    When attempting to access a WVC210 camera using IE9, I get a "File Not Found" error. I've updated the firmware on the camera to V1.1.1.15, and have reset the camera to factory defaults.  Under "Downloaded controls" in IE, it indicates that the Linksy

  • Multiple blank pages follow body of message in webmail

    Approximately after the update to iOS 7.0.2 and whatever version of updated Safari, when checking web mail using Safari, I get multiple blank 'pages' at the bottom of emails. These multiples will grow in number/size each time I view a message. If I t

  • Asset  Master  Standard workflow ?...

    Hi all.... I am NEW to workflow. This is my First object. I hope Some body guid me. When ever Asset Master creates that related information goto some users outlook. Is there any standard WF & Task  available. and suggest me the Process what i have to

  • Whenever a page is idle over 10 secs or so, tab bar fades out and I need to tap the page before I can scroll down.

    It seems that the browser backgrounds itself, once I tap on the page the tab bar becomes active (ie. it's no longer faded out) and I can use my space bar or touch pad to continue scrolling down the page again.

  • Urgent: Paid Windows 8.1 Pro, need SHA1

    Dear Microsoft, I just paid and downloaded Windows 8.1 Pro (English), the downloading program from Microsoft store was: OSGS14-WindowsSetupBox-32bitand64bit-English-4141408.exe And after downloading, I chose to save the files to an ISO for later inst