Hi, I've just installed Tomee 1.0 Web Profile, I've copied eclipse* jar into the lib folder (EclipseLink JPA 2.0 persistence provider) and started the server with 512MB of heap (on a 4GB Notebook Ubuntu workstation).
The startup of Tomee was fine, my app was deployed but when I run my datapump process (reading data from CSV and writing to entity beans on MySQL db) the process is about 40x slower than Glassfish. Apache tomee 1.0.0 web profile: process 1 csv record every 3 seconds (0.3 records/sec on empty db) Glassfish 3.1.2.2: process 12 csv records every 1 second (12 records/sec on empty db) To test the speed I've put System.out.println messages, maybe Glassfish has some optimizations for these kind of messages ? The only strange thing I've noticed is that I've some warnings at tomee startup: Can't load log handler "1catalina.org.apache.juli.FileHandler" java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler Can't load log handler "1catalina.org.apache.juli.FileHandler" java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler Can't load log handler "2localhost.org.apache.juli.FileHandler" java.lang.ClassNotFoundException: 2localhost.org.apache.juli.FileHandler Can't load log handler "3manager.org.apache.juli.FileHandler" java.lang.ClassNotFoundException: 3manager.org.apache.juli.FileHandler Can't load log handler "4host-manager.org.apache.juli.FileHandler" java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler I cannot understand, must I configure something into Tomee to speed up my session/entity beans ? Many thanks in advance... -- View this message in context: http://openejb.979440.n4.nabble.com/Very-poor-performance-when-writing-into-db-tp4657289.html Sent from the OpenEJB User mailing list archive at Nabble.com.
