Loading a server side flex movie into a client side flex application

Hello all,
I'm running a local flex application that's loading another
flex movie from an external url into a container (via SWFLoader).
After setting up the whole crossdomain.xml issue, i'm facing
a weird problem:
The loaded swf shows up streched and does not inherit any
styles from the parent application. It also can not trigger any
function inside the parent application or the other way round.
When i load the same swf from my local filestore everything
is fine. It's also working properly when i load the parent
application from the same webserver the "loadin" swf comes from...
Does anyone know the problem? How can this be solved? Can it
be solved? If not, i'm in trouble..
Best regards,
N.

I'm not sure why it would be stretched. As for the other
issue, look at Security.allowDomain. If you want the loaded SWF to
have access to the parent Flex app, the parent Flex app must grant
permission using allowDomain. And vice-versa.

Similar Messages

  • Which SQL Server Edition support how many sessions to the instance from SQL Management Studio on the client side

    Hi,
    I'm looking for some help on the below query to verify which version of sql server edition supports multiple or N number of sessions to the SQL server Instance using the SQL Server Management Studio tool from the client side.
    SQL Standard Vs Enterprise.
    your urgent help is much appreciated.
    Br.

    Hello,
    See Maximum Capacity Specifications for SQL Server =>
    User connections = 32,767; and this value is independent of use SQL Server Version, edition or the used tools, like SSMS in your question 
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • BUG - client-side iPad keyboard in MRD 8.1.5 is mis-mapped for remote VMware Player console on Windows 8.1 Pro

    Client system: iPad 4 running iOS 8.1.1
    Client language/locale: US English
    Client app: MRD 8.1.5
    Server system: 64-bit Windows 8.1 Pro
    Server language/locale: US English
    Problem: client-side keyboard in MRD 8.1.5 does not work properly within VMware Player 6 console only
    When interacting with VMs through the VMware Player 6 console app on the remote Windows 8.1 host, the client-side iPad keyboard for MRD 8.1.5 is not properly mapped. Letter keys and the top-row number keys send function keys or non-standard key scan codes
    that aren't used by traditional PC keyboards. The spacebar sends the D key, and some keys send nothing at all. Many other keys work properly, including the client-side numeric keypad, and uppercase letters sent by using the Shift key (but not the iPad up-arrow
    shift key). The only way to send the proper keystrokes to VMware Player from MRD 8.1.5 is to not use the client-side iPad keyboard and instead switch to the on-screen keyboard provided by the remote Windows server.
    This problem only occurs within the VMware Player console app, and only with RDP connections that use the MRD 8.1.5 client on iOS. I do not encounter the problem with other iOS RD clients such as iFreeRDP by Thinstuff or Pocket Cloud Remote Desktop by Wyse.
    Steps to reproduce:
    Connect to Windows 8.1 Pro system from the MRD 8.1.5 client for iOS 8.1.1
    Using the client-side iPad keyboard within MRD 8.1.5, bring up the Run dialog by typing Windows-R
    Launch Notepad by typing notepad.exe in the Run dialog and pressing Enter on the client-side iPad keyboard
    Type some sample text in Notepad until you're confident that the client-side iPad keyboard is functioning properly
    Launch VMware Player 6 and start up a VM (mine was Windows Server 2008)
    Open the sign-on prompt in the VM by sending Ctrl-Alt-Ins from the client-side keyboard or by pressing the Ctrl-Alt-Del icon in VMware Player
    Touch or click in the password field in the VM to ensure it has keyboard focus
    Using the client-side keyboard, try to type letters or numbers in the password field, and notice that dots generally do not appear for most keypresses
    Switch to the server-side on-screen keyboard and delete the contents of the password field if it is not already empty
    Use the server-side on-screen keyboard to sign on to the VM
    Inside the VM, open Notepad or some other text editor
    Enter text into the editor from both the client-side and server-side keyboards to verify that only the server-side keyboard is functioning properly within the VM
    This issue is the only problem I'm having with MRD for iOS, and I hope it is resolved soon.
    Thanks,
    Fred

    Client system: iPad 4 running iOS 8.1.1
    Client language/locale: US English
    Client app: MRD 8.1.5
    Server system: 64-bit Windows 8.1 Pro
    Server language/locale: US English
    Problem: client-side keyboard in MRD 8.1.5 does not work properly within VMware Player 6 console only
    When interacting with VMs through the VMware Player 6 console app on the remote Windows 8.1 host, the client-side iPad keyboard for MRD 8.1.5 is not properly mapped. Letter keys and the top-row number keys send function keys or non-standard key scan codes
    that aren't used by traditional PC keyboards. The spacebar sends the D key, and some keys send nothing at all. Many other keys work properly, including the client-side numeric keypad, and uppercase letters sent by using the Shift key (but not the iPad up-arrow
    shift key). The only way to send the proper keystrokes to VMware Player from MRD 8.1.5 is to not use the client-side iPad keyboard and instead switch to the on-screen keyboard provided by the remote Windows server.
    This problem only occurs within the VMware Player console app, and only with RDP connections that use the MRD 8.1.5 client on iOS. I do not encounter the problem with other iOS RD clients such as iFreeRDP by Thinstuff or Pocket Cloud Remote Desktop by Wyse.
    Steps to reproduce:
    Connect to Windows 8.1 Pro system from the MRD 8.1.5 client for iOS 8.1.1
    Using the client-side iPad keyboard within MRD 8.1.5, bring up the Run dialog by typing Windows-R
    Launch Notepad by typing notepad.exe in the Run dialog and pressing Enter on the client-side iPad keyboard
    Type some sample text in Notepad until you're confident that the client-side iPad keyboard is functioning properly
    Launch VMware Player 6 and start up a VM (mine was Windows Server 2008)
    Open the sign-on prompt in the VM by sending Ctrl-Alt-Ins from the client-side keyboard or by pressing the Ctrl-Alt-Del icon in VMware Player
    Touch or click in the password field in the VM to ensure it has keyboard focus
    Using the client-side keyboard, try to type letters or numbers in the password field, and notice that dots generally do not appear for most keypresses
    Switch to the server-side on-screen keyboard and delete the contents of the password field if it is not already empty
    Use the server-side on-screen keyboard to sign on to the VM
    Inside the VM, open Notepad or some other text editor
    Enter text into the editor from both the client-side and server-side keyboards to verify that only the server-side keyboard is functioning properly within the VM
    This issue is the only problem I'm having with MRD for iOS, and I hope it is resolved soon.
    Thanks,
    Fred
    I'm experiencing exactly the same problem. Is there a solution yet?

  • What is Sharepoint client side object model ?

    What is Sharepoint client side object model ?

    The client-side object model (CSOM) provides client-side applications with access to a subset of the SharePoint Foundation server object model, including core objects such as site collections, sites, lists, and list items. As described in Data Access for
    Client Applications, the CSOM actually consists of three distinct APIs—the ECMAScript object model, the Silverlight client object model, and the .NET managed client object model—that target distinct client platforms. The ECMAScript object model and the Silverlight
    client object model provide a smaller subset of functionality. This is designed to enhance the user experience, because it minimize the time it takes Silverlight applications or JavaScript functions running in a Web page to load the files required for operation.
    The .NET managed client object model provides a larger subset of functionality for standalone client applications. However, these APIs provide a broadly similar developer experience and work in a similar way.
    You can write both managed client object model code and JavaScript Client Object model code in Visual Studio. As an example, you can create a console application having managed client object model code. Similarly, you may create a Visual Web Part and have
    JavaScript client object model code in it. The JavaScript client object model code can also be directly written inside the SharePoint Designer as well.
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • How to Install SSIS COM Component on Client side

    Hi,
    I am new to BPC.
    I can't install SSIS COM Component on Client side.
    and i guess,  it lead BPC Excel , Data Manager is not working.
    Because all the user are local user on server side, no domain
    I have run OSoftSetup.exe,  but the result is
    Error (Login failed for user ". The user is not associated with a trusted SQL Server connection.)
    i have tried to change the OutlookSoft.config in OSoftSSIS_Client\Bin Folder
    and the config doesn't take any effect.
    How to How to Install SSIS COM Component on Client side?
    thx
    It is client side PC_MS\Logging\Log
    #ERROR#CustomXMLClt##EPM-BPC-MS##e17c2022-c7d4-4a0b-8515-b719441e3dbf###XMLParser : GetTagValue#hostname
    user########Plain##[LOG ID:22]System.NullReferenceException: Object reference not set to an instance of an object.
       at OSoft.Consumers.Common.CustomXML50.XMLParser.GetAttributeValue(String strKeyValue, String strAttKeyValue, String strSubKeyValue)#
    thx
    John

    But the problem is...in client side
    When opening Office 2007 Excel -> eTool -> Data Manager
    There have no option showed.
    and in C:\Documents and Settings\<user>\My Documents\PC_MS\Logging\Log
    it has following error.
    2010 08 21 17:15:35:875#+8:00#ERROR#CustomXMLClt##EPM-BPC-MS##51cea66a-13cd-49fc-afdd-7b492566bd12###XMLParser : GetTagValue#<HOSTNAME>
    BPCADM########Plain##[LOG ID:346]System.NullReferenceException: Object reference not set to an instance of an object.
       at OSoft.Consumers.Common.CustomXML50.XMLParser.GetAttributeValue(String strKeyValue, String strAttKeyValue, String strSubKeyValue)#
    2010 08 21 17:15:35:875#+8:00#ERROR#DMClientTools##EPM-BPC-MS##7aec1fbe-5fda-4c91-9c4a-1eec5e59911b###DMTools::ErrCheck#<HOSTNAME>
    BPCADM########Plain##[LOG ID:347]System.Exception: 91: Object reference not set to an instance of an object.
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.ErrCheck(String strRtn)#
    2010 08 21 17:15:35:875#+8:00#ERROR#DMClientTools##EPM-BPC-MS##48f5a612-a046-4ef9-a56c-db565ef489d2###DMTools::GetServerInfo#<HOSTNAME>
    BPCADM########Plain##[LOG ID:348]System.Exception: 91: Object reference not set to an instance of an object.
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.ErrCheck(String strRtn)
       at OSoft.Consumers.DataMgr.DMClientTools50.DMTools.GetServerInfo(String strContext, String strFilter, String strSecurity)#
    2010 08 21 17:15:35:890#+8:00#ERROR#DMConsole##EPM-BPC-MS##af7f7343-1cb2-4802-a667-2adbb1b8e2fd###basClientTools::ChangeClientSiteList#<HOSTNAME>
    BPCADM########Plain##[LOG ID:349]Subscript out of range#

  • Getting my server to return data to the client

    I am writing a client/server program..
    buttons on the client side make the server side do the work, but how do i get the server to return the work back to the client??
    it is a basic beginners program pressing buttons on the client to say cap a word on the server side... have the buttons working but dont know how to returned the capped word back to the client. the code is really long and there are two programs, but i can put them up if necessary.
    tks

    what technology are you useing for the client and server? client: swing, jsp, applet, applicaiton? server: servlet, http, rmi...? Kind of need to know what you're doing before we can help.

  • Problem with Client Side Validator - e.getFacesMessage is not a function

    (JDeveloper 11g, TP2 and TP3)
    I have created a custom validator that does server side validation as well as client side validation. It gets invoked - an alert is fired to prove that - but when validation fails, instead of the red box and error message that I was hoping for, I get a JavaScript error:
    e.getFacesMessage is not a function (all-11-otn2.js (line 27600))
    The getClientScript() method in the validator looks like this:
        public String getClientScript(FacesContext facesContext,
                                      UIComponent uIComponent) {
            return "function GreaterThanValidator(p1)\n" +
            "{  this.greaterThanItem=p1; \n" +
            "}\n" +
            "GreaterThanValidator.prototype.validate = function(value){" +
                           "alert('value= '+value); " +
            " if (!(value=='X')){ " +
            "    return new ValidatorException('Value must not be X '" +
            "         +' (current value = '+value+')');}"+
        }   Can someone tell me what I am doing wrong here? Like I said, the validation is performed, the alert is shown. Then when I raise the ValidatorException, the error occurs.
    thanks for any suggestions.
    Lucas
    Message was edited by:
    Lucas Jellema
    Message was edited by:
    Lucas Jellema
    Message was edited by:
    Lucas Jellema

    Lucas,
    I assume that this post is related to the previous
    Display client side validation error message with the pretty box
    I forwarded this internally and am waiting for a hint. Will update this post accordingly (or someone else will do directly)
    Frank

  • Hi am new and need help on client side java.

    Hi I am a .net developer. Dont boo lol. I am trying to find the latest on Java. I build web apps and would like to use java on the client side.
    Is there a new form of java for client side code.
    What do I need to install?
    Where are some good sites that provide tutorials for Java newbies wishing to develop web client scripts etc.
    Thanks

    Hi I am a .net developer. Dont boo lol. I am trying
    to find the latest on Java. I build web apps and
    would like to use java on the client side.
    Is there a new form of java for client side code. Web apps usually use Java Server Pages, or JSPs, on the client side.
    What do I need to install? Tomcat is a free servlet/JSP engine:
    http://jakarta.apache.org/tomcat
    Where are some good sites that provide tutorials for
    Java newbies wishing to develop web client scripts
    etc.
    ThanksBetter buy a book. I highly recommend Hans Bergsten's JSP book for O'Reilly.
    %

  • ACE deployment with two interface for client side

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-fareast-language:EN-US;}
    In a ACE router mode deployment, I have a single context configured with two interface for server side and two interface for client side. In this situation how can we meet the demands of customers arriving from both networks? How can the ACE handle the client request if we configure one default-gateway to each network?
    Regards,
    Egomes

    Enable "mac-sticky" comand under each client inteface.
    It will ensure that ACE sends the response to the MAC address from which the request to the VIP was recieved.
    For more details
    http://cisco.biz/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A1/command/reference/if.html#wp1033275
    HTH
    Syed Iftekhar AHmed

  • What permissions are needed on the client side for RunspaceFactory.CreateRunspace?

    Hi.
    I am running a remote powershell command from an IIS application to an Exchange server getting the below error. Everything works fine if the IIS application pool identity is in the local administrators group on the IIS server so we can rule out issues with
    firewall or anything on the Exchange server. It is a problem with lack of privileges on the local server. 
    So my question is: What permissions are required on the local server for RunspaceFactory.CreateRunspace? I find good documentation on the permissions required on the server side, but nothing about the client side.
    The last Win32 error code after failure is 1008.
    An internal error occurred. 
    at at System.Management.Automation.Remoting.Client.WSManClientSessionTransportManager.Initialize(Uri connectionUri, WSManConnectionInfo connectionInfo) 
    at System.Management.Automation.Remoting.Client.WSManClientSessionTransportManager..ctor(Guid runspacePoolInstanceId, WSManConnectionInfo connectionInfo, PSRemotingCryptoHelper cryptoHelper) 
    at System.Management.Automation.Remoting.ClientRemoteSessionDSHandlerImpl..ctor(ClientRemoteSession session, PSRemotingCryptoHelper cryptoHelper, RunspaceConnectionInfo connectionInfo, URIDirectionReported uriRedirectionHandler) 
    at System.Management.Automation.Remoting.ClientRemoteSessionImpl..ctor(RemoteRunspacePoolInternal rsPool, URIDirectionReported uriRedirectionHandler) 
    at System.Management.Automation.Internal.ClientRunspacePoolDataStructureHandler..ctor(RemoteRunspacePoolInternal clientRunspacePool, TypeTable typeTable) 
    at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo) 
    at System.Management.Automation.Runspaces.RunspacePool..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo) 
    at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable, PSPrimitiveDictionary applicationArguments) 
    at System.Management.Automation.RemoteRunspace..ctor(TypeTable typeTable, RunspaceConnectionInfo connectionInfo, PSHost host, PSPrimitiveDictionary applicationArguments) 
    at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable, PSPrimitiveDictionary applicationArguments) 
    at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(RunspaceConnectionInfo connectionInfo) 

    Thanks Daniel.
    I see that the IIS server has a GPO setting 'Allow log on locally' to the local administrators group for this server. I will order add of the IIS app pool identity to this list.
    I tried the process monitor comparing runs with and without the app pool identity as local administrator. The runs are identical up to the point where one does something useful and the other closes 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN'.
    There are no failures.
    I am not using my runspace objects for multiple threads. I dispose after use.
    I will end up with the below if I change. Comments?
    public static PowershellResult RunPowerShellCommandExchange2010(string exchangeServer, string command, ICollection<KeyValuePair<string, object>> parameters, string usr, string pwd) {
    WindowsImpersonationContext impersonationContext = null;
    try {
    impersonationContext = WindowsIdentity.Impersonate(IntPtr.Zero);
    GetProcessInformation();
    try {
    var connectionInfo = GetExchange2010ConnectionInfo(exchangeServer, usr, pwd);
    using (var runspace = RunspaceFactory.CreateRunspacePool(1, 1, connectionInfo)) {
    using (PowerShell powershell = PowerShell.Create()) {
    var psCommand = new PSCommand();
    if (parameters != null) {
    psCommand.AddCommand(command);
    foreach (KeyValuePair<string, object> parameter in parameters) {
    if (parameter.Value == null) psCommand.AddParameter(parameter.Key);
    else psCommand.AddParameter(parameter.Key, parameter.Value);
    } else {
    //if parameters argument is null the command will be treated as script
    psCommand.AddCommand(new Command(command, true));
    powershell.Commands = psCommand;
    runspace.Open();
    powershell.RunspacePool = runspace;
    var resultPSObjects = powershell.Invoke();
    var psResult = new PowershellResult {
    PSObjects = resultPSObjects,
    Errors = powershell.Streams.Error.ToList()
    return psResult;
    } catch (Exception ex) {
    var windowsIdentity = WindowsIdentity.GetCurrent();
    int errorCode = Marshal.GetLastWin32Error();
    if (windowsIdentity != null) throw new Exception(string.Format("Failed to run Exchange powershell command '{0}' as user {1} passing executing user {2} due to: {3} at {4}. Server: {5}. Last error code: {6}", command, windowsIdentity.Name, usr, ex.Message, ex.StackTrace, exchangeServer, errorCode), ex);
    throw new Exception(string.Format("Failed to run Exchange powershell command '{0}' as unknown user passing executing user {1} due to: {2} at {3}. Server: {4}. Last error code: {5}", command, usr, ex.Message, ex.StackTrace, exchangeServer, errorCode), ex);
    } finally {
    if (impersonationContext != null) {
    impersonationContext.Undo();
    Tore Olav Kristiansen

  • RMI client-side - how to encrypt,decrypt  in client-side

    I write javacard RMI style. My problem is...
    Source code below is work when it write in applet (card - side)
    but in client-side (reader -side) I copy it to client - side code and test to run, if fail --> throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    It seem to be "javacardx.crypto" and "javacard.security" is make for use in applet in card only. Did I misunderstand?
    if it make for use in applet only, how is possible to do like this " card use privatekey to sign message and send to reader , reader use card's publickey to verify that card sign this signature or not."
    or
    "card use reader's publickey to encrypt message and send to reader, then reader use privatekey to decrypt message (reader authencate itself) "
    because I can't do any of cipher , keybuilder in RMI-client side(reader)
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,false);
    it will throw nullPointerException
    and if (change false to true)
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,true);
    throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    after that I swap this line with
    pri_key = (RSAPrivateKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PRIVATE,KeyBuilder.LENGTH_RSA_512, false);
    since it will do this first (i swap the line already) it also throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    also be the same result with swap
    kp = new KeyPair(KeyPair.ALG_RSA,(short)KeyBuilder.LENGTH_RSA_512 );
    to a first line
    it throw exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHM
    Please help me
    RSAPrivateKey pri_key;
    RSAPublicKey pub_key;
    KeyPair kp;
    Cipher RSAcipher;
    RSAcipher = Cipher.getInstance(Cipher.ALG_RSA_PKCS1,false);
    pri_key = (RSAPrivateKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PRIVATE,KeyBuilder.LENGTH_RSA_512, false);
    pub_key =(RSAPublicKey) KeyBuilder.buildKey(KeyBuilder.TYPE_RSA_PUBLIC,KeyBuilder.LENGTH_RSA_512, false);
    kp = new KeyPair(KeyPair.ALG_RSA,(short)KeyBuilder.LENGTH_RSA_512 );
    kp.genKeyPair();
              pri_key = (RSAPrivateKey) kp.getPrivate();
              pub_key = (RSAPublicKey) kp.getPublic();
    //ENCRYPT
    RSAcipher.init(pri_key, Cipher.MODE_ENCRYPT);
    t_cipherLengthRSA = RSAcipher.doFinal(plaintxt,(short)0, (short)plaintxt.length, t_cipherText, (short)0);
    //DECRYPT
    RSAcipher.init(pub_key, Cipher.MODE_DECRYPT);
    RSAcipher.doFinal(ciphertxt,(short)0,(short) t_cipherLengthRSA, temp1, (short)0);

    I write javacard RMI style. My problem is...
    Source code below is work when it write in applet (card - side)
    but in client-side (reader -side) I copy it to client - side code and test to run, if fail --> throw
    exception 0x3 - javacard.security.CryptoException.NO_SUCH_ALGORITHMYou can not share code between card and client. On the card use the classes of javacardx.crypto and on the client side those of javax.crypto and java.security.
    It seem to be "javacardx.crypto" and "javacard.security" is make for use in applet in card only. That is right.
    if it make for use in applet only, how is possible to
    do like this " card use privatekey to sign message
    and send to reader , reader use card's publickey to
    verify that card sign this signature or not." or
    "card use reader's publickey to encrypt message and
    send to reader, then reader use privatekey to decrypt
    message (reader authencate itself) "On each platform you have classes that provide the same cryptographic operations but the interface of these classes is different (because of the limitations of the java card platform).
    because I can't do any of cipher , keybuilder in
    RMI-client side(reader)Use the java.security.KeyFactory instead.
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,false);
    it will throw nullPointerException
    and if (change false to true)
    Cipher.getInstance(Cipher.ALG_RSA_PKCS1,true);
    throw exception 0x3 -
    javacard.security.CryptoException.NO_SUCH_ALGORITHMCryptographic support on java cards is optional. Not every card supports every algorithm. Try to use another algo.
    Jan

  • How can i load file into database from client-side to server-side

    i want to upload file from client-side to server-side, i use the following code to load blob into database.
    if the file is in the server-side, it can work, but if it in the client-side, it said that the system cannot find the file. i think it only will search the file is in the server-side or not, it will not search the client-side.
    how can i solve it without upload the file to the server first, then load it into database??
    try
    ResultSet rset = null;
    PreparedStatement pstmt =
    conn.prepareStatement ("insert into docs values (? , EMPTY_BLOB())");
    pstmt.setInt (1, docId);
    pstmt.execute ();
    // Open the destination blob:
    pstmt.setInt (1, docId);
    rset = pstmt.executeQuery (
    "SELECT content FROM docs WHERE id = ? FOR UPDATE");
    BLOB dest_lob = null;
    if (rset.next()) {
    dest_lob = ((OracleResultSet)rset).getBLOB (1);
    // Declare a file handler for the input file
    File binaryFile = new File (fileName);
    FileInputStream istream = new FileInputStream (binaryFile);
    // Create an OutputStram object to write the BLOB as a stream
    OutputStream ostream = dest_lob.getBinaryOutputStream();
    // Create a tempory buffer
    byte[] buffer = new byte[1024];
    int length = 0;
    // Use the read() method to read the file to the byte
    // array buffer, then use the write() method to write it to
    // the BLOB.
    while ((length = istream.read(buffer)) != -1)
    ostream.write(buffer, 0, length);
    pstmt.close();
    // Close all streams and file handles:
    istream.close();
    ostream.flush();
    ostream.close();
    //dest_lob.close();
    // Commit the transaction:
    conn.commit();
    conn.close();
    } catch (SQLException e) {

    Hi,
    Without some more details of the configuration, its difficult to know
    what's happening here. For example, what do you mean by client side
    and server side, and where are you running the upload Java application?
    If you always run the application on the database server system, but can't
    open the file on a different machine, then it sounds like a file protection
    problem that isn't really connected with the database at all. That is to
    say, if the new FileInputStream (binaryFile) statement fails, then its not
    really a database problem, but a file protection issue. On the other hand,
    I can't explain what's happening if you run the program on the same machine
    as the document file (client machine), but you can't write the data to the
    server, assuming the JDBC connection string is set correctly to connect to
    the appropriate database server.
    If you can provide some more information, we'll try to help.
    Simon
    null

  • Load .MOV into adobe première éléments

    Please someone help me to Load .MOV into adobe première éléments 10?
    Everything should work , new windows computer , new caméra
    Olympus tg1, i Hans QuickTime Pro 7 open on the side !!!

    Patrick Bourret
    I found a sample video from your brand model camera and have tested it in my Premiere Elements 10 on Windows 7 64 bit.
    The sample that I test
    AVCHD video compression
    .swot audio compression
    .mov file extension wrapper format
    1920 x 1080 @ 29.97 progressive frames per second
    I set the Premiere Elements 10 project preset =
    NTSC
    DSLR
    1080p
    DSLR 1080p30 @ 29.97
    I imported the video (saved to my computer desktop) into the project via the program's Get Media/Files and folders. What I imported had the gspot readout out as show in the following screenshot
    This video on the Timeline displayed with perfect video and audio at play back in the Edit Mode monitor. No green video.
    Since you are using Premiere Elements 10, I believe that we need to focus on the video card, especially if your video card is from NVIDIA. If so, the answer may be to roll back the video card driver version rather than to assure that you have the latest video card version. Please check out the following
    http://forums.adobe.com/thread/1317675
    We will discuss this further in the morning.
    Thank you for all the helpful information supplied.
    ATR
    Add On...I am not sure if there is any merit in replacing QuickTime Pro with the "regular" QuickTime latest version.
    http://www.apple.com/quicktime/download/

  • I have a MacBook 10.5.8 with Boot Camp. I can only operate the Windows side. When I move into MacOS it does not open.

    I have a MacBook 10.5.8 with Boot Camp. I can only operate the Windows side. When I move into MacOS it does not open.

    Your phrasing is not clear. How do you reboot into Mac OS? /can you describe the process step by step?
    Usually, you should do like this:
    - while in win, restart
    - immediately after chime, press option or alt key
    - wait for 2-3 seconds, you should see the boot options
    - select Mac OS partition
    If you have performed all these steps, and, after choosing Mac OS partition, you cannot boot into Mac OS, then your system is corrupt and should be reinstalled.

  • How do I load movies into my ipad from itunes?

    I'm trying to load movies onto my ipad from itunes, I've already synced my ipad with all the current songs and the movies, but I go to videos on my ipad and do not see it.  So I go to itunes, hit movies and still see nothing but movies for purchase only.  I'm going on a trip on Wednesday and would love to sync all my mp4 movies into my ipad but can't find them on my ipad, can anyone give me some advice?  I've been searching the forums, but nothing seems to work for me.  Appreciate it guys.

    ohmyyikes wrote:
    wondershare video converter.     
    I wouldn't bother with Wondershare. While iSkySoft has some excellent products (e.g. FreeSync), their video converters are generally (sometimes far) slower than HandBrake (check out the benchmarks at http://www.macworld.com/article/1150757/dvdripping_roundup.html and http://www.iphonelife.com/blog/87/benchmark-excellent-multimedia-converter-handb rake-vs-commercial-apps if you want to see some figures). And vastly overpriced, while HandBrake is free and so is its batch companion. Finally, it's really a one-second drag-and-drop to drop the files it creates into iTunes.

Maybe you are looking for