RE: [OFF-TOPIC] CSInline decrypt error 2

2004-02-03 Thread Shapira, Yoav

Howdy,

Do you mean to say that it doesn't happen when NOT using Ant?

Same with and without Ant.  The DB is Oracle 9i with Oracle's own
drivers (ojdc14.jar v9.2.0.1).  Thanks,

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]



[OFF-TOPIC] CSInline decrypt error 2

2004-02-02 Thread Shapira, Yoav

Hi,
Has anyone seen an error message with the title in the subject line
before?  I get it when I run a java class using ant that contains the
following construction:
ResultSet rs = ...
Blob blob = rs.getBlob(columnName);
String str = new String(blob.getBytes(1, (int) blob.length());

The method with the above code is declared to throw SQLException, and
the calling method has a System.exit(1) if an exception is thrown, but
it's some kind of internal error because my java program keeps going,
printing to stderr:
Error - CSInline decript error 2
(nothing else, no stack trace etc, just the above line repeating once
per row in my result set).

If I change the code to do reading via blob.getBinaryStream, to a
StringWriter, the errors goes away.   So I have a fix, and this is
nothing urgent, just a curiosity that became even more interesting when
I didn't see any google references for this error.  Has anyone else seen
it before?

Yoav Shapira
Millennium ChemInformatics





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]



Re: [OFF-TOPIC] CSInline decrypt error 2

2004-02-02 Thread Oscar Carrillo
Do you mean to say that it doesn't happen when NOT using Ant?

Just wondering. Not too much to add.

I'm assuming this is the JDBC driver's inability to handle the streaming
for Blobs.

What database and driver are you using? I could try it with Postgres 7.4.1 
in the near future.

I don't really know anything about Blobs, so take what I say with a grain 
of salt :)

Oscar

On Mon, 2 Feb 2004, Shapira, Yoav wrote:

 
 Hi,
 Has anyone seen an error message with the title in the subject line
 before?  I get it when I run a java class using ant that contains the
 following construction:
 ResultSet rs = ...
 Blob blob = rs.getBlob(columnName);
 String str = new String(blob.getBytes(1, (int) blob.length());
 
 The method with the above code is declared to throw SQLException, and
 the calling method has a System.exit(1) if an exception is thrown, but
 it's some kind of internal error because my java program keeps going,
 printing to stderr:
 Error - CSInline decript error 2
 (nothing else, no stack trace etc, just the above line repeating once
 per row in my result set).
 
 If I change the code to do reading via blob.getBinaryStream, to a
 StringWriter, the errors goes away.   So I have a fix, and this is
 nothing urgent, just a curiosity that became even more interesting when
 I didn't see any google references for this error.  Has anyone else seen
 it before?
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 
 
 
 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]
 


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