Mantis - Resin
Viewing Issue Advanced Details
163 minor always 05-12-05 00:00 11-30-05 14:45
user62  
 
urgent  
closed 3.0.13  
3.0.13 fixed  
none    
none 3.0.14  
0000163: UserPoolItem uses JDK 1.5 only code
RSN-163
Get the following stack trace on Resin 3.0.13 running with JDK 1.4.2:

Caused by: java.lang.NoSuchMethodError: java.lang.IllegalStateException: method (Ljava/lang/Throwable;-)V not found
        at com.caucho.jca.UserPoolItem.associate(UserPoolItem.java:312)
        at com.caucho.jca.PoolItem.toActive(PoolItem.java:260)
        at com.caucho.jca.ConnectionPool.allocateIdle(ConnectionPool.java:735)
        at com.caucho.jca.ConnectionPool.allocatePool(ConnectionPool.java:654)
        at com.caucho.jca.ConnectionPool.allocate(ConnectionPool.java:619)
        ... 117 more


The version of the constructor for IllegalStateException that takes a Throwable is from JDK 1.5. Unless things have changed, I thought Resin 3.x was supposed to support 1.4 as well?
JDK 1.4, resin 3.0.13

Notes
(0000190)
ferg   
05-12-05 00:00   
Hmph. JDK 1.4 should have had that constructor. Switched to RuntimeException which does take a Throwable exception.