[jboss-user] [JBoss Portal] - Re: File upload problem

roy.russo@jboss.com do-not-reply at jboss.com
Thu Aug 24 14:53:01 EDT 2006


Peter, what DB are you using?

On mysql5, with large file uploade, I see this:


  | Caused by: org.jboss.util.NestedSQLException: Error; - nested throwable: (java.lang.OutOfMemoryError)
  |         at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:557)
  |         at org.jboss.resource.adapter.jdbc.WrappedStatement.checkException(WrappedStatement.java:561)
  |         at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:255)
  |         at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.executeAndExtract(IdentityGenerator.java:73)
  |         at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33)
  |         ... 256 more
  | Caused by: java.lang.OutOfMemoryError
  | 

which is normally fixed by increasing the heapsize.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967307#3967307

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967307



More information about the jboss-user mailing list