The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

error connecting jboss to sqlserver7.0

Posted by Lynn on February 18, 2002 at 9:48 AM

Hi people,
I am migrating my aweb application from mysql to sqlserver7.0 using weblogic as my JDBC and JBoss2.2. I keep gettinghe following error on the server when i'm trying to log in as an existing user:

[EmbeddedTomcat] about to get user
[User] setEntityContext called (3841429, PK = nullctx; isDirty = false)
[User] UserBean.ejbActivate (3841429, PK = 1361994973; isDirty = false)
[User] TRANSACTION ROLLBACK EXCEPTION:Load failed; nested exception is:
java.sql.SQLException: Cannot translate 1361994973 to column column type 3; nested exception is:
java.rmi.ServerException: Load failed; nested exception is:
java.sql.SQLException: Cannot translate 1361994973 to column column type 3
[User] java.rmi.ServerException: Load failed; nested exception is:
[User] java.sql.SQLException: Cannot translate 1361994973 to column column type 3
[User] java.sql.SQLException: Cannot translate 1361994973 to column column type 3
[User] at weblogic.jdbcbase.mssqlserver4.TdsStatement.setObject(Unknown Source)
[User] at weblogic.jdbcbase.mssqlserver4.TdsStatement.setObject(Unknown Source)
[User] at org.opentools.minerva.jdbc.PreparedStatementInPool.setObject(PreparedStatementInPool.java:282
[User] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setParameter(JDBCCommand.java:334)
[User] at org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setPrimaryKeyParameters(JDBCCommand.java:371)

How can i get rid of this error, I have mapped the MS SQLServer types in the standardjaws.xml and updated the datasources in the conf. files but can't seem to get away from the above error

I would appreciate any help
Thanks




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us