Howdy,
I suggest you start multiple threads for multiple questions, especially
two like these that are completely unrelated.

>*) I am uploading a file using MultipartRequest class given by third
party.

O'Reilly, by any chance? ;)

>Now my file
>is uploading to specific position. My problem whenever the file is
>uploading, if any problems comes in uploading immediately it should be
>monitor using a table or file.  That means
>When i click upload the file uploading to specific location now, if any
>problems raises inbetween uploading like system restarted,connection
>failed,location is full so file doesnot have space. So I have to
capture
>that error information. Can anybody help me  ?

There's some stuff you'll be able to catch and some stuff you won't.
For example, in your servlet that handles the uploaded, you have the
operation surrounded in a try/catch block, with a logging statement
should any exception occur.  That will catch many errors, such as
location invalid or full.

It won't catch a system restarted error, as that's more catastrophic and
outside the scope of your servlet: there's not much you can do in that
case.  It will catch some kinds of connection failure but not others.
And it won't catch OutOfMemoryErrors, which are common with large
uploads and some large upload libraries that keep the entire upload in
memory.

You may wish to use jakarta-commons-fileupload, which is robust in
handling large uploads and failure conditions.

>2) I am loading a java object into oracle procedure using the follwoing
>ways ?
>1 ) javac program.java
>2)  then moving oracle directory and saying loadjava classname.
>3) It is successfully loaded . And in my procedure i am calling
>that object and executing object.functionname(). But the procedure
>rasing an error some CLASSno121 not found. What my doubt is is their
>compability needed between java and oracle that means the jdk1.3 works
only
>on oracle8.1 or 7.1.  This is very important concept.
>Don't feel anybody that calling a java object in oracle is not possible
.
>This is already done in my earlier companies. And it is there in oracle
>tuturials which i have seen in internet. Can anybody solve this problem
?

I'm not very familiar with this area, although it seems like a normal
ClassNotFoundException so you need to somehow place the required class
on the classpath for your procedure.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • doubts Pinguti Sridevi
    • Shapira, Yoav

Reply via email to