1_question:

I'm using Jboss on MS SQLSERVER2000, and I have some problems when running
my
CMP Bean.I receive on the output a SQL SERVER 2000 DRIVER FOR JDBC ERROR
....

[15:51:25,503,ContainerFactory] Deployed application: 
[15:51:25,503,J2eeDeployer] J2EE application:
file:/C:/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/chap5-ex2.jar is deployed.
[15:51:28,898,ProductBean] setEntityContext:, kry=null
[15:51:28,908,ProductBean] ejbCreate: kry=Product0
[15:51:28,908,JAWSPersistenceManager] Create, id is Product0
[15:51:28,919,JAWSPersistenceManager] Exists command executing: SELECT
COUNT(*) FROM ProductBean WHERE kry=?
[15:51:28,999,JAWSPersistenceManager] Set parameter: idx=1,
jdbcType=VARCHAR, value=Product0
[15:51:29,019,JAWSPersistenceManager] Create command executing: INSERT INTO
ProductBean (major,description,minor,kry) VALUES (?,?,?,?)
____________________________________________________________________________
_________________

[15:51:29,019,PreparedStatementFactory] Error creating prepared statement.
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Can't start a
cloned connection while in manual transaction mode.
        at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown
Source)  
____________________________________________________________________________
__________


2- question
I want to use a socket to get connection on a server.The connect method is
one of the methods on my session bean.
Is it possible to use socket with ejb? 
how can I read on my socket ? (we can't use java.io package)
If yes is it possible to have a short example.

Thanks for yor help

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to