Maximum listeners to be created on client side

hi any please enlighten me about this question. 'How many maximum listeners can be configured at the client side?' This was asked to me at an interview and it made me skeptical

Justin Cave wrote:
At the risk of putting words in Ed's mouth, I'm pretty sure he didn't call you a poser.
Correct.
Someone that was trying to pretend that they knew a lot more about Oracle than they did would be liable to bluff an answer to a question like this that has no correct answer rather than admitting that they don't know. Someone that understands how Oracle works would point out that the question is flawed and unanswerable.
Exactly the point I was trying to make.
In general, if someone asks a question like this, an answer of "I don't know" is much, much preferrable to the bluff. If I'm looking for an entry-level person, I'm perfectly happy to hire someone that readily admits to what they don't know. I'm loathe to hire someone that is going to pretend like they know something only to find out weeks later that they didn't know how to do what they were supposed to do (or that they misunderstood the original request and weren't willing to admit to being confused). It's great if they know the right answer, of course, but being able to admit to where they have gaps is the real test.
Exactly.
To the OP: the key to such a question is that the question deliberately assumes a fallacy. And the more deeply embedded that assumed fallacy is, the better the question.
Poor question: "does the listener run on the client or the server?"
Better question: "how do you install the listener on the client?"
Better still: "what is the maximum number of listeners that can run simultaneously on the client?"
to the best question:
Worst answer: "<pick a number, any number>>"
Better answer: "I'm not sure, but I'm pretty fresh so I'd have to check the Net Admin Guide" (note not only the honesty, but also showing that you at least know where to find answers - that you are familiar with the official documentation, not just your favorite blogs.)
Best answer: "The question is fallacious because the listener is a server side process. I guess you could configure a listener process on the client, but it would be as useful as a screen door on a submarine."
Just as interview questions can work on several levels, there are several lessons in this thread ....
JustinEdited by: EdStevens on Nov 27, 2012 1:44 PM

Similar Messages

  • Creat a client-side image map in JSC

    Has anyone sucessfully created and implemented a client-side image map in JSC? I can get it to compile but it falls over on execution with a 500 error:
    org.apache.jasper.JasperException: No tag "map" defined in tag library associated with uri "http://java.sun.com/jsf/html" Any suggestions would be appreciated.

    Hi,
    We apologize for the late response. We would like to know if you have found a solution for the problem. In case you are still looking for a solution we would like to look into the issue and try and provide a solution.
    Thanks
    RK.

  • Creating Client-side Image Map in Web Dynpro

    Hi,
    How can I create a client-side Image Map in Web Dynpro application?
    My application consists of a screen-size image in which several areas will have to link to URLs and actions. I have browsed through the "Web Dynpro UI Element Reference Guide," but could not find anything appropriate.
    Can someone give me an advice? Thanks.
    Teecheu

    It doesn't, there is no corresponding UI control for this.
    There is only onAction event on BusinessGraphics (have not working with them since SP5, eventing did not work at that time) and onObjectAction in GeoMap (never see it in action, probably an option for you if your map is geographic map
    WBR,
    VS

  • Query: creating client side handler

    how can I create a client side handler for a webservice on weblogic 9.2 workshop

    Take a peek at edocs for some examples and code you can get started with:
    http://edocs.bea.com/wls/docs92/webserv/client.html#client_handlers
    Best of luck,
    -Jacobd
    Mihir Khanwalkar wrote:
    how can I create a client side handler for a webservice on weblogic 9.2 workshop

  • Uix Client Side Validation

    Hi there,
    is it possible to create additional client side validators, is there an API? Does anybody know? It would be pretty nice to write more complex validators in Javscript but still rely on the field validation mechanism before submit.
    Regards
    Jan

    Thanks. This is how I solved it. I just thought, when there is a onBlurValidator/onSubmitValidator element, why not add a script option so it could look like :
    <onBlurValidater>
    <scriptValidator>
    return (value==".");
    </scriptValidator>
    </onBlurValidater>
    Of course the example above is quite stupid, but nevertheless such an option would sometimes be very valuable.

  • Problem in creating client side PDF with image using flex and AlivePD

    I need a favor I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf.I am taking the image inside a canvas . How do i control my images so that they come fit on that pdf file for any image size that i take.
    Thanks in advance
    Atishay

    I am having a similar and more serious problem. It takes a
    long time to execute, but even attaching a small image balloons the
    pdf to 6MB plus. After a few images it gets up to 20MB. These are
    100k jpeg files being attached. The resulting PDF is too large to
    email or process effectively. Does anyone know how to reduce
    size/processing?

  • How to create a Document Set in SharePoint 2013 using JavaScript Client Side Object Model (JSOM)?

    Hi,
    The requirement is to create ""Document Sets in Bulk" using JSOM. I am using the following posts:-
    http://blogs.msdn.com/b/mittals/archive/2013/04/03/how-to-create-a-document-set-in-sharepoint-2013-using-javascript-client-side-object-model-jsom.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1904cddb-850c-4425-8205-998bfaad07d7/create-document-set-using-ecma-script
    But, when I am executing the code, I am getting error "Cannot read property 'DocumentSet' of undefined "..Please find
    below my code. I am using Content editor web part and attached my JS file with that :-
    <div>
    <label>Enter the DocumentSet Name <input type="text" id="txtGetDocumentSetName" name="DocumentSetname"/> </label> </br>
    <input type="button" id="btncreate" name="bcreateDocumentSet" value="Create Document Set" onclick="javascript:CreateDocumentSet()"/>
    </div>
    <script type="text/javascript" src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"> </script>
    <script type="text/javascript">
       SP.SOD.executeFunc('sp.js','SP.ClientContext','SP.DocumentSet','SP.DocumentManagement.js',CreateDocumentSet);
    // This function is called on click of the “Create Document Set” button. 
    var ctx;
    var parentFolder;
    var newDocSetName;
    var docsetContentType;
    function CreateDocumentSet() {
        alert("In ClientContext");
        var ctx = SP.ClientContext.get_current(); 
        newDocSetName = $('#txtGetDocumentSetName').val(); 
        var docSetContentTypeID = "0x0120D520";
        alert("docSetContentTypeID:=" + docSetContentTypeID);
        var web = ctx.get_web(); 
        var list = web.get_lists().getByTitle('Current Documents'); 
        ctx.load(list);
        alert("List Loaded !!");
        parentFolder = list.get_rootFolder(); 
        ctx.load(parentFolder);
        docsetContentType = web.get_contentTypes().getById(docSetContentTypeID); 
        ctx.load(docsetContentType);
        alert("docsetContentType Loaded !!");
        ctx.executeQueryAsync(onRequestSuccess, onRequestFail);
    function onRequestSuccess() {       
        alert("In Success");
        SP.DocumentSet.DocumentSet.create(ctx, parentFolder, newDocSetName, docsetContentType.get_id());
        alert('Document Set creation successful');
    // This function runs if the executeQueryAsync call fails.
    function onRequestFail(sender, args) {
        alert("Document Set creation failed" + + args.get_message());
    Please help !!
    Vipul Jain

    Hello,
    I have already tried your solution, however in that case I get the error - "UncaughtSys.ArgumentNullException: Sys.ArgumentNullException:
    Value cannot be null.Parameter name: context"...
    Also, I tried removing SP.SOD.executeFunc
    from my code, but no success :(
    Kindly suggest !!!
    Vipul Jain

  • Can we create export dump files on client side??

    Hi,
    Please see this link
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#i1010293
    Check the "NOTE" which says that
    All Data Pump Export and Import processing, including the reading and writing of dump files, is done on the system (server) selected by the specified database connect string. This means that, for nonprivileged users, the database administrator (DBA) must create directory objects for the Data Pump files that are read and written on that server file system. For privileged users, a default directory object is available
    So does this mean, the dump files can be created only on the server???
    What if i want to create the dump file on my client c:\
    Is it possible??
    As per my knowledge, this was possible in 9i
    Thanks

    Yes in the "orignal" export ,it was possible to have a client side dump file.But the Export DataPump uses the Directory parameter which maps to a directory on the server side only and the option to give an absolute path for the dump file on the client side is removed,the files can be only on server side.
    Aman....

  • How to use "CREATE DIRECTORY" from client side remotely

    Is there any way to create a logical directory from the remote client side, other than in the server? Or it's associated with the server's operating system policy? Thanks.

    Hello Roland:
    If your question is "can you creat an OID directory outside of the database" the answer is no. If I have not correctly understood your question please repost with more details.
    Thanks,
    Jay
    null

  • Creating/copying documents using client side object (javascript)

    Hi
    I want to the user to press a button and this creates or copies documents (Excel) into a document library on the same site. There are many examples showing how to do this for a list but how can it be achieved for documents?
    I've looked at SPFile.CopyTo method but dont know how to use it.
    So the source file would have a number of destination files and the name and column data would be altered at time of creation. Looking for a client side javascript solution.
    Hope someone can assist.
    Thanks

    Hi,
    According to your description, my understanding is that you want to copy or create excel files into a document library using JavaScript Client Object Model.
    For copying excel files, you can use get_files function to get files within a specific folder , and then you can use file collection
    push function to copy files and get_name function to get the file name.
    Here is a detailed code demo for your reference:
    How do I move files from one document library to another using JSOM?
    For creating files, you can use Jquery upload plugin to achieve it,here is a detailed code demo for your reference:
    How to Upload File to Document Library using JavaScript Client Object Model?
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Could not create client side connection for PDBORCL

    Dear all,
    we are using oracle database 12c enterprise edition on widows server 2012 standard edition 64bits.
    we cannot make a connection from client to the PDBORCL using Net Configuration Assistant.
    TNSNAMES.ORA
    # tnsnames.ora Network Configuration File: C:\app\Administrator\product\12.1.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
      (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl.hct.org)
    PDBORCL =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = HP426-ORATEST)(PORT = 1521))
      (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = PDBORCL.hct.org)
    LISTNER.ORA
    # listener.ora Network Configuration File: C:\app\Administrator\product\12.1.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
      (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\app\Administrator\product\12.1.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\Administrator\product\12.1.0\dbhome_1\bin\oraclr12.dll")
    LISTENER =
      (DESCRIPTION_LIST =
      (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    On my client side, i open NET CONFIGURATION ASSISTAN,
    click on LOCAL NET SERVICE NAME CONFIGURATION,
    select ADD and click next
    on the service name type PDBORCL
    select TCP and click next
    on the hostname, put the name of the server which is HP426-ORATEST and click next
    when i click on YES PERFORM TEST, it give the following error
    Connecting...ORA-12170: TNS:Connect timeout occurred
    The test did not succeed.
    Some of the information you provided may be incorrect.
    Click Back to review the information provided for net service name, or Change Login to change username.
    we could ping the HP426-ORATEST using cmd on my client.
    kindly guide us.
    Thank you.

    LSNRCTL SERVICES
    C:\Users\Administrator>LSNRCTL SERVICES
    LSNRCTL for 64-bit Windows: Version 12.1.0.1.0 - Production on 23-APR-2014 23:23
    :39
    Copyright (c) 1991, 2013, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.153.103.202)(PORT=152
    1)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0
      LOCAL SERVER
    Service "orcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
      LOCAL SERVER
    Service "orclXDB.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Handler(s):
      "D000" established:0 refused:0 current:0 max:1022 state:ready
      DISPATCHER <machine: HP426-ORATEST, pid: 3088>
      (ADDRESS=(PROTOCOL=tcp)(HOST=HP426-ORATEST.hct.org)(PORT=59070))
    Service "pdborcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
      Handler(s):
      "DEDICATED" established:0 refused:0 state:ready
      LOCAL SERVER
    The command completed successfully
    LSNRCTL STATUS
    C:\Users\Administrator>LSNRCTL STATUS
    LSNRCTL for 64-bit Windows: Version 12.1.0.1.0 - Production on 23-APR-2014 23:24
    :38
    Copyright (c) 1991, 2013, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.153.103.202)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 12.1.0.1.0 - Produ
    ction
    Start Date 23-APR-2014 03:44:26
    Uptime 0 days 19 hr. 40 min. 16 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\app\Administrator\product\12.1.0\dbhome_1\network\a
    dmin\listener.ora
    Listener Log File C:\app\Administrator\diag\tnslsnr\HP426-ORATEST\listen
    er\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HP426-ORATEST.hct.org)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=HP426-ORATEST.hct.org)(PORT=5500))(
    Security=(my_wallet_directory=C:\APP\ADMINISTRATOR\admin\orcl\xdb_wallet))(Prese
    ntation=HTTP)(Session=RAW))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "pdborcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • Fetching a partial range of selected result rows from the client side

    It has been a while since I started trying to solve this Oracle puzzle.
    Basically, what I need it is a way to fetch from the client side a run-time
    defined range of result rows of a arbitrary SELECT query.
    In low-end databases like MySQL I can do it simply by appending the LIMIT
    argument to the end of the SELECT query statment passing the number of
    the first row that I want to be returned from the server from the total
    result rows available in the result set and the maximum number of rows
    that it may return if available.
    In higher end databases I am supposed to use server side cursors to skip
    any initial rows before the first that I want to retrieve and fetch only
    the rows I want up to the given limit.
    I am able to achieve this with PostgreSQL and Microsoft SQL server, but I
    am having a hard time with Oracle. The main problem is how do I fetch
    result rows from a server side cursor and have their data returned to a
    client side in a result set like in a straight SELECT query?
    I was able to create a cursor and fecth a row into a server side record
    variable with the following PL/SQL code.
    DECLARE
    CURSOR c IS SELECT * FROM my_table;
    my_row c%ROWTYPE;
    BEGIN
    OPEN c;
    FETCH c INTO my_row;
    CLOSE c;
    END;
    I want to do this from PHP, so I don't have client side ESQL variables to
    store the result set data structure. Anyway, if I can do it just with
    SQLPlus I should be able to do it in PHP.
    If I do straight SELECT I can get the result set, but in a PL/SQL script
    like the one above I don't seem to be able to select the data in the
    fetched row record to have returned to the client. Does a straight SELECT
    query sends the result rows to a default client side variable?
    If anybody can help, I would appreciate if you could mail me at
    [email protected] because I am not able to access this forum all the time in
    the Web. BTW, is it possible to access this forum by e-mail?
    Thanks in advance,
    Manuel Lemos
    null

    Hello Jason,
    On 03-Feb-00 05:34:14, you wrote:
    I'm not sure I totally understand your problem, but I think you might be able
    to solve it by using the ROWNUM variable. ROWNUM returns the sequenc number
    in which a row was returned when first selected from a table. The first row
    has ROWNUM = 1, the second has ROWNUM = 2, etc. Just remember that the
    ROWNUM is assigned as soon as it's selected, even before an order by. So if
    you have an order by clause, it'll mess it up. Here's an example. I hope
    that helps.I though of that before but it doesn't help because if you use ORDER BY the
    first result row might not have ROWNUM=1 and so on. Another issue is that
    I want to be able to skip a given number of result rows before returning
    anything to the client.
    The only way I see to do it is to get the rows with server side cursor.
    But how do I return them to the client? Where does a normal select returns
    the rows? Isn't there a way to specify that the fetch or something else
    return the rows there?
    Regards,
    Manuel Lemos
    Web Programming Components using PHP Classes.
    Look at: http://phpclasses.UpperDesign.com/?user=[email protected]
    E-mail: [email protected]
    URL: http://www.mlemos.e-na.net/
    PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
    null

  • How to generate rule log on client side

    I am looking for a solution where I could generate a rule log and make it available on client side. I know generating a log during consolidation and save it on server. However, I want to make it available on client side.
    I have created four scenarios in HFM application, namely -
    1. ACTUAL_REPORTING - To capture TB data and use it for reporting
    2. ACTUAL_ICP - To capture ICP data and run custom business rule as per requirement
    3. ACTUAL_ADDINPUT - To capture additional memorandum inputs
    During consolidation,data is copied from ACTUAL_ICP and ACTUAL_ADDINPUT to ACTUAL_REPORTING. However, problem is that user should consolidate ACTUAL_ICP AND ACTUAL_ADDINPUT scenarios first. If they miss executing the consolidation in these scenarios, then the data copied would be wrong. Just as to ensure this, there's a provision is HFM to check calculation status in rule file and looking at that, calcuation could be stopped and a message could be sent to the user. But delimma is, how to report the same on the user side.
    Possible solution that I could have thought are -
    1. To generate a rule log and post the same to the client, but how to do this? As path of the rule log could be of the server only (that is C:\Hyperion\Logs\Rule)
    2. To generate a rule log and pop a web page terminating consolidation, but how to do this?
    3. To raise an error from the rule file and direct it to the system messages, but how to to this?
    Please advice and any further clarification is required please contact me.
    Thanks & Regards,
    Mustafa

    You can define the output folder as a share, which has already been mentioned. I strongly advise against implementing any solution that in production will regularly generate an external file.
    1) The output file is generated by the DCOM user. If you want this user to generate a file in a specific location, it must be writeable by the DCOM user, and readable by the intended human user. Make sure both NTFS and share level permissions on the target file and its containing folder consider this. Latency for the file write can degrade performance.
    2) Most HFM implementations have two or more HFM application servers. You have no control over which server will execute the file, and also no control over what happens if two or more servers try to write to the same file. You can create a process which causes HFM to become single threaded if every time Sub Calculate for any entity on any server needs to open a single file. This is because the file object is single threaded. It could be multi-threaded if you write out to a database, but certainly far more complex.
    3) Wait state: while as in #2, this can single thread the process, and you have to consider whether your process will error out during moments when another process has access to the file, or if you will ignore that and simply proceed. This can have a significant impact on performance time if you decide to wait until the file becomes available.
    While I have done implementations where the overall solution required combining data across multiple scenarios, I consistently find this a cumbersome, error-prone, and poorly performing approach. For this reason, I always try to keep all of the data required in a single scenario. This is one key reason why the "DataSource" or "DataType" (or whatever you call it) approach is so popular and successful.
    Finally, you cannot write to the HFM system messages. You can, on the other hand, use Calc Manager to write out to a system log.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Client side event for h:outputText... and other JSF component

    Hello friends...
    I need client side (to use Java script ) event for change in <h:outputText /> or <h:inputText...>.
    I want to open a popup window when there is a change in there. I donot want to use onblur() for this. Is there any thing for achiev it.
    Thanks.
    Regard
    Roshan Lal ( I don't know why there is "DOG" display in LIST )
    :-)

    Hi Jacek,
    Unfortunately I think you may be stuck extending Renderer. Another possibility is creating your component via a template, which will be available in JSF 2.0. However, as JSF 2.0 won't be out for a while... you can use JSFTemplating in the meantime:
    http://java.sun.com/developer/technicalArticles/J2EE/jsf_templating/
    http://www.theserverside.com/tt/articles/article.tss?l=JSFTemplateComponent
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

  • 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

Maybe you are looking for

  • Using external Display via Mini-DVI to VGA Adapter does'nt work

    Hey Guys, i recently bought a mini-dvi-to-vga adapter. When I plug it into my macbook and connect it to my 19" external TFT, the MB recognizes the TFT as [Medion] MD30219PH but the display stays blank (no matter if i choose mirroring mode or extended

  • Report generation for users assigned to Function

    Hi friends, We require an report should consist of the following contents. Usr ID(Mandaory) |   First name(optional) | Last name(optional) | Function(mandatory). We are not able access USER_ADDRS table which gives all this datas. So, We are looking f

  • My Applications are Freezing

    Every time i open itunes iphoto or the app store it freezes, when i try to log into my account on my mac it frezzes for a few seconds befor i can type in the password. i think i need to run a scan, do you know of any good free computer scans that can

  • How to record value of field to perform action when saving with new value

    Hi, I have a multi-tabbed form (Forms 6i). I need to include code so that when a field is changed on one tab and is saved, then I need to update some fields on the other tabs. My first question is: How can I record a copy of the field whenever data i

  • How to install cubes and queries from Business content in BI 7

    Hi all,    Could you please help regarding how to install Info Cubes and Querries from Business content in BI 7.0      And pl send some OSS notes on BW Statistics in BI 7.0 Thanks in advance