Hi All,

We have been successfully using Jboss version 3.2.1 and a datasource to
Informix 9.3. Following upgrading Jboss to 3.2.3 we now get the
following error: 

SQLException: Read only mode not supported 

Is there a change in the way that datasources are obtained between these
2 versions and if so how can I specify the connection type to be read
and write. 

Any help would be appreciated. 

Regards 

Martin Thomas 

PS here is the DS XML and a more detailed stack trace: 


<local-tx-datasource> 
<jndi-name>InformixDS</jndi-name> 
<connection-url>jdbc:informix-sqli://hestia:1703/paysol:informixserver=v
fonedev</connection-url> 
<driver-class>com.informix.jdbc.IfxDriver</driver-class> 
<user-name>username</user-name> 
<password>password</password> 
</local-tx-datasource> 


10:29:38,583 WARN [JBossManagedConnectionPool] Throwable while
attempting to get a new connection: 
org.jboss.resource.JBossResourceException: Could not create connection;
- nested throwable: (java.sql.SQLException: Read only mode not
supported) 
at
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.crea
teManagedConnection(LocalManagedConnectionFactory.java:160) 
at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.creat
eConnectionEventListener(InternalManagedConnectionPool.java:477) 
at
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getCo
nnection(InternalManagedConnectionPool.java:213) 
at
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool
.getConnection(JBossManagedConnectionPool.java:496) 
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedCo
nnection(BaseConnectionManager2.java:425) 
at
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConne
ction(TxConnectionManager.java:318) 
at
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConn
ection(BaseConnectionManager2.java:477) 
at
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionMa
nagerProxy.allocateConnection(BaseConnectionManager2.java:814) 
at
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperD
ataSource.java:102) 
at
nz.co.vodafone.creditcard.persistence.ConnectionFactory.getDataSourceCon
nection(ConnectionFactory.java:80)

-----------------------------------------------------------------------------------------------
Have you seen our website?.... http://www.vodafone.co.nz

CAUTION: This correspondence is confidential and intended for the named recipient(s) 
only.
If you are not the named recipient and receive this correspondence in error, you must 
not copy,
distribute or take any action in reliance on it and you should delete it from your 
system and
notify the sender immediately.  Thank you.

Unless otherwise stated, any views or opinions expressed are solely those of the 
author and do
not represent those of Vodafone New Zealand Limited.

Vodafone New Zealand Limited
21 Pitt Street, Private Bag 92161, Auckland, 1020, New Zealand
Telephone + 64 9 357 5100
Facsimile + 64 9 377 0962


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to