[JBoss-user] [Installation & Configuration] - Re: JBoss, SQL Server, EJB problem
I figured out the problem. I wasn't reading the stack trace closely enough at first. The problem was that /server/default/conf/standardjbosscmp-jdbc.xml was missing the "mssql-get-generated-keys" entity-command: It's needed to retrieve PKs that are generated by sql server's IDENTITY columns when new records are created and my EJBs require it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853964#3853964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853964 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss, SQL Server, EJB problem
I did double-check the driver jars - they are there. Here's some more info: I deployed the app successfully using the same db backup & ear file as on my dev box. I double checked that all the server jars in \lib & server\default\lib are the same as the jars on our working dev boxes. I added a new servlet to the ear that retrieved a db connection (using the same JNDI name & datasource that our ejbs use), queried the db (using plain jdbc) and printed out the result. This worked fine so this proves our database/datasource/jdbc drivers are setup properly. On startup, our app retrieves a db record using a local cmp, called from a remote session bean. The error occurs when the cmp is called so we suspect the error is related to a descriptor or the entity container. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853951#3853951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853951 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss, SQL Server, EJB problem
Maybe a naive question ? Are you sure you put your driver jars into the lib directory... Seems like jboss is unable to find some class... As the message 'Could not load class' comes from a wrapping of a "catch (ClassNotFoundException)" into JDBCEntityCommandMetadata. At least your xml config looks just fine... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853775#3853775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853775 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user