kaffe 1.1.4 can now run ofbiz 2.1. I haven't tried a later version of ofbiz.
There are some issues, however.
Startup time under sun 1.4 is 11s. kaffe, 15.2.
Kaffe complains about an invalid bytecode at startup, while sun doesn't.
WARNING Bad bytecode! Illegal exception table entry: start_pc=140851621 is not
lower than end_pc=140851621 in method
org/mortbay/util/Resource.newResource((Ljava/net/URL;)Lorg/mortbay/util/Resource;)
See Java Virtual Machine Specification 2nd Edition $4.7.3 for details.
Please report this bug to the developers of the application you're running on
kaffe.
A simple fix might be to use another java compiler to build the application.
Also, shutdown hooks in kaffe are not run.
Attached you will find the entity engine performance test, which is available
under webtools.
Title: OFBiz: Core Web Tools: Entity Performance Test
Core Application WebTools
Entity Engine Performance Tests
NOTE: These performance results may vary a great deal for different
databases, JDBC drivers, JTA implementations (transaction managers), connection pools,
local vs. remote deployment configurations, and hardware (app server hardware, database
server hardware, network connections).
Operation |
Entity |
Calls |
Seconds |
Seconds/Call |
Calls/Second |
findByPrimaryKey |
Large:Product |
1000 |
18.763 |
0.018763000000000002 |
53.29638117571817 |
findByPrimaryKeyCache |
Large:Product |
10000 |
0.605 |
6.05E-5 |
16528.92561983471 |
findByPrimaryKey |
Small:Party |
1000 |
2.965 |
0.0029649999999999998 |
337.26812816188874 |
findByPrimaryKeyCache |
Small:Party |
10000 |
0.424 |
4.2399999999999994E-5 |
23584.90566037736 |
create |
Large:Product |
1000 |
16.407 |
0.016407 |
60.94959468519534 |
update |
Large:Product |
1000 |
5.089 |
0.005089000000000001 |
196.5022597759874 |
remove |
Large:Product |
1000 |
9.429 |
0.009429 |
106.05578534309046 |
new HashMap |
N/A |
100000 |
1.028 |
1.028E-5 |
97276.26459143969 |
UtilMisc.toMap |
N/A |
100000 |
1.172 |
1.172E-5 |
85324.23208191126 |
UtilCache.get(String) - basic settings |
N/A |
1000000 |
0.291 |
2.91E-7 |
3436426.1168384883 |
UtilCache.get(GenericPK) - basic settings |
N/A |
1000000 |
5.74 |
5.74E-6 |
174216.02787456446 |
UtilCache.put(GenericPK) - basic settings |
N/A |
1000000 |
6.983 |
6.982999999999999E-6 |
143204.926249463 |
|
For CellularOne internal use only. |
Title: OFBiz: Core Web Tools: Entity Performance Test
Core Application WebTools
Entity Engine Performance Tests
NOTE: These performance results may vary a great deal for different
databases, JDBC drivers, JTA implementations (transaction managers), connection pools,
local vs. remote deployment configurations, and hardware (app server hardware, database
server hardware, network connections).
Operation |
Entity |
Calls |
Seconds |
Seconds/Call |
Calls/Second |
findByPrimaryKey |
Large:Product |
1000 |
4.817 |
0.004817 |
207.5980900975711 |
findByPrimaryKeyCache |
Large:Product |
10000 |
0.171 |
1.7100000000000002E-5 |
58479.53216374268 |
findByPrimaryKey |
Small:Party |
1000 |
1.989 |
0.001989 |
502.76520864756156 |
findByPrimaryKeyCache |
Small:Party |
10000 |
0.115 |
1.15E-5 |
86956.52173913043 |
create |
Large:Product |
1000 |
5.49 |
0.00549 |
182.14936247723134 |
update |
Large:Product |
1000 |
3.645 |
0.003645 |
274.34842249657066 |
remove |
Large:Product |
1000 |
8.632 |
0.008632 |
115.84800741427247 |
new HashMap |
N/A |
100000 |
0.084 |
8.400000000000001E-7 |
1190476.1904761903 |
UtilMisc.toMap |
N/A |
100000 |
0.021 |
2.1000000000000003E-7 |
4761904.761904761 |
UtilCache.get(String) - basic settings |
N/A |
1000000 |
0.099 |
9.9E-8 |
1.01010101010101E7 |
UtilCache.get(GenericPK) - basic settings |
N/A |
1000000 |
0.452 |
4.52E-7 |
2212389.3805309734 |
UtilCache.put(GenericPK) - basic settings |
N/A |
1000000 |
0.453 |
4.53E-7 |
2207505.518763797 |
|
For CellularOne internal use only. |