Macromedia ColdFusion MX 6.1 (or older versions) is not compatible with WebSphere 5.0 Version 5 data sources
 Technote (troubleshooting)
 
Problem(Abstract)
When trying to use Macromedia ColdFusion MX 6.1 or previous ColdFusion versions with WebSphere® 5.0 using a version 5 data source, a Java exception is thrown.
 
Resolving the problem
The following exception is thrown:
java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 servlet
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.validServlet
(ConnectionFactoryBuilderImpl.java:2898)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getCMConfigData
(ConnectionFactoryBuilderImpl.java:1979)
at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance
(ConnectionFactoryBuilderImpl.java:1001)
at javax.naming.spi.NamingManager.getObjectInstance
(NamingManager.java:299)
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup
(Helpers.java:884)

...

Also, a J2CA0106E message is displayed.

The error message is misleading because Macromedia states that ColdFusion MX 6.1 uses servlet 2.3.

The reason this fails is that ColdFusion MX 6.1, as well as previous versions, supports only JDBC™ data sources and is not compatible with the J2EE™ Connector Architecture (JCA) that WebSphere 5.0.x version 5 data sources use.

ColdFusion MX 6.1 does, however, work successfully when using the version 4 data source option in WebSphere 5.0.

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > DB Connections/Connection Pooling
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1152770
IBM Group: Software Group
Modified date: Apr 3, 2006