Hi!

Hm.....

Scott M Stark wrote:
> [TheAccount] Retrieved account DS from: java:comp/env/jdbc/EstoreDataSource, 
>ds=org.opentools.minerva.jdbc.xa.XAPoolDataSource@523be
> [TheAccount] queryString is: SELECT userid FROM account WHERE userid = 'j2ee'
> [DefaultDS] Resource 'org.opentools.minerva.jdbc.xa.wrapper.XAResourceImpl@50f59e' 
>enlisted for
> 'org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@5e256f'.
> [DefaultDS] Pool DefaultDS [1/1/10] gave out pooled object: 
>org.opentools.minerva.jdbc.xa.wrapper.XAConnectionImpl@5e256f
> [TheAccount] Thread = Thread[Thread-16,5,main]
> [TheAccount] dbConnection = 
>org.opentools.minerva.jdbc.xa.wrapper.XAClientConnection@63f09e
> [TheAccount] dbConnection metaData = org.hsql.jdbcDatabaseMetaData@4a55e5
> [TheAccount] DatabaseProductName = HypersonicSQL
> [TheAccount] DatabaseProductVersion = 1.4
> [TheAccount] DriverName = HypersonicSQL Driver
> [TheAccount] DriverVersion = 1.4
> [TheAccount] URL = jdbc:HypersonicSQL:hsql://localhost:1476
> [TheAccount] java.sql.SQLException: Table not found: ACCOUNT in statement [SELECT 
>userid FROM account WHERE userid = 'j2ee']

This is an EJB doing lookups right..? What does Tomcat has to do with it
at all then!??

> It seems to me that this mapping should be done in an jboss.xml file at the ear level
> rather than a war jboss-web.xml file as we are dealing with the ejb env, not the
> servlets. Was this mapping working in the past?

EJB mappings are done in ejb-jar.xml/jboss.xml
Servlet mappings are done in web.xml/jboss-web.xml

This has been working for some time now (unless someone has screwed it
up again).

regards,
  Rickard

-- 
Rickard Öberg

Email: [EMAIL PROTECTED]

Reply via email to