A question when test a CMP2.0 entity bean in WSAD5.0
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hua_Su
Posted On:   Tuesday, May 20, 2003 02:27 AM

I had successfully deployed a CMP2.0 entity bean on WSAD5.0's test server, binding to a datasource for informix V9.2 database. When I tested the create method in the localhome interface, the server output this Exception: java.sql.SQLException: Read only mode not supported at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:346) at com.informix.jdbc.IfxSqliConnect.isReadOnly(IfxSqliConnect.java:1571) at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.initializeConnectionProperties(WSRdbManagedConnectionImpl.java:578) ... Next Linked Exception: java.sql.SQLException: Read only mode not supported    More>>

I had successfully deployed a CMP2.0 entity bean on WSAD5.0's test server, binding to a datasource for informix V9.2 database. When I tested the create method in the localhome interface, the server output this Exception:


java.sql.SQLException: Read only mode not supported


at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:346)


at com.informix.jdbc.IfxSqliConnect.isReadOnly(IfxSqliConnect.java:1571)


at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.initializeConnectionProperties(WSRdbManagedConnectionImpl.java:578)


...


Next Linked Exception:


java.sql.SQLException: Read only mode not supported


at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:346)


at com.informix.jdbc.IfxSqliConnect.isReadOnly(IfxSqliConnect.java:1571)


at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.initializeConnectionProperties(WSRdbManagedConnectionImpl.java:578)


When binding to another datasource which is for MSSqlserver2000, the bean worked normally. So, how to solve this problem?


Thanks

   <<Less

Re: A question when test a CMP2.0 entity bean in WSAD5.0

Posted By:   Sai_Veraepalli  
Posted On:   Tuesday, July 22, 2003 11:56 AM

Can you please let me know how to use WSAD 5 to create EJBs. Any documentation or material is appreciated..

Thanks in advance..
About | Sitemap | Contact