Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

IllegalArgumentException: Exceeded maximum blob size

843829Nov 19 2001 — edited Nov 20 2001
I'm using Oracle 8.1.7 and Borland App Server 4.5.1
When my BLOB size exceeds 10000 bytes,
Borland App Server throws next Exception:

java.rmi.ServerException: ; nested exception is:
java.rmi.RemoteException: Exceeded maximum blob size: set the property "EJBCmpMaxBlobSize" to a value greater than: 10000; nested exception is:
java.lang.IllegalArgumentException: Exceeded maximum blob size: set the property "EJBCmpMaxBlobSize" to a value greater than: 10000
java.rmi.RemoteException: Exceeded maximum blob size: set the property "EJBCmpMaxBlobSize" to a value greater than: 10000; nested exception is:
java.lang.IllegalArgumentException: Exceeded maximum blob size: set the property "EJBCmpMaxBlobSize" to a value greater than: 10000
java.lang.IllegalArgumentException: Exceeded maximum blob size: set the property "EJBCmpMaxBlobSize" to a value greater than: 10000

How to solve this problem?
Thank you.

Comments

843829
Add the JVM property -DEJBCmpMaxBlobSize=<an-integer-value> to your app server startup script while launching the appserver.

That should do the trick.
--Das
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 18 2001
Added on Nov 19 2001
1 comment
176 views