Hi all

I have jrun 3.0 and iam calling a servlet from a cfm file.The servlet has 
insert statement to oracle.Iam getting following error.

I have kept books.pdf in servlets directory...but also have tried lib,ext 
directories also.

Thanks

Vikram

books.pdf (The system cannot find the file specified)

  String insertstr = "insert into test (code1,title,code2,num,blobfield) 
values (?,?,?,?,?)";
    try{
    File file = new File ("books.pdf");
    int num = 90;
    InputStream is = new FileInputStream ("books.pdf");
    PreparedStatement pstmt = con.prepareStatement(insertstr);
    pstmt.setString(1,"NTN");
    pstmt.setString(2,"TEST1");
    pstmt.setString(3,"000270");
    pstmt.setInt(4,num);
    pstmt.setBinaryStream(5,is,(int)file.length ());
    pstmt.execute();
    out.println("upds");
    pstmt.close();
    con.close();
    pstmt = null;
    con = null;


>From: Bob Smith <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: JRun-Talk <[EMAIL PROTECTED]>
>Subject: WebLogic Drivers with JRUN.
>Date: 31 Oct 2001 00:15:21 EST
>
>Our client has a JRUN Server on which he wants to install the weblogic
>drivers.
>Can any one please help me in the following:
>How to set up connection pool? Typically Web Logic drivers refer to
>"weblogic.properties" file where do you put on the JRUN Server?
>
>
>
>
>Thanks,
>Bob
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to