Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to output from a java program called from PL/SQL
Joined: Jun 29, 2002
Jun 29, 2004 08:06:00
I am getting this error
ORA-06502: PL/SQL: numeric or value error trying to return a
from this code
p = rt.exec("echo "+envar);
bis = new
while ((len = bis.read(buffer, 0, bufSize)) != -1)
System.out.write(buffer, 0, len);
path = new String(buffer);
Is there a way to get it to output the code or do I have to open a file within my program and write to it for debug purposes.
Thanks for any help
Joined: May 26, 2003
Jun 29, 2004 17:58:00
Are you trying to ouput the oracle error code or your source code?
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
Joined: Oct 11, 2000
Jun 29, 2004 23:05:00
forum where I answered this very same question that you also posted over there.
Don't get me started about those stupid
subject: How to output from a java program called from PL/SQL
reading byte array
Calling a java object fromn a store procedure no idea how to get it to work
Calling the UNIX API
Permission problem calling java from PL/SQL
A problem with servlet file transfer
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013