I am trying to synchorize data( on web-mysqldb) thru entity bean, i am getting this exception
Note : trying to insert values in while loop more than 2000 records
13:17:06,546 ERROR [LogInterceptor] Unexpected Error:
java.lang.OutOfMemoryError
<<no stack trace available>>
Have you tried giving your JBoss JVM more heap space in JAVA_OPTS? e.g. -Xmx128 or something appropriate.
Try it and see if it helps.