I made it work. First, I deleted the default DataSource configuration that
comes with JBoss4 ($JBOSS_HOME/server/default/deploy/hsqldb-ds.xml).
Second, I changed the name for Datasource lookup from
DataSource ds = (DataSource) context.lookup("java:comp/env/jdbc/MSSQLDS");
to
DataSource ds = (Data
I am getting this exception when executing a Statement from a Stateless Session
Bean.
EJBException:; nested exception is: javax.ejb.EJBException: Unable to get
price: java.sql.SQLException: Table not found in statement [SELECT price FROM
price WHERE product_code = ?]
This is where it fails (in
I am getting the same error. I created a sample application, as described in
tutorial http://docs.jboss.com/jbosside/tutorial/build/en/html/index.html. When
I test the application I get
17:00:15,540 INFO [STDOUT] javax.naming.NamingException: Could not dereference
object [Root exception is ja