Lister, Tom (ANTS)
2003-11-02 11:24:14 UTC
Hi
When deploying a generated ear I get the following deployment error re jdbc
lookup
13:16:05,166 ERROR [EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml :
datasource-mapping jdbc/relay not found
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntity
MetaData.java:416)
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(JDBCA
pplicationMetaData.java:258)
My sysbase.xml declares the jdbc name as
<property name="jboss.datasource.mapping" value="jdbc/relay"/>
And the generated jbosscmp-jdbc contains
<defaults>
<datasource>java:/jdbc/relay</datasource>
<datasource-mapping>jdbc/relay</datasource-mapping>
</defaults>
Is there some step or someother config I need to do?
I would have expected some resource refs in the ejb-meta/META-INF/jboss.xml
:-) Tom Lister
* ***@ants.co.uk
* 020 775 65014
***************************************************************************
This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error.
Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication.
This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding.
Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA).
***************************************************************************
When deploying a generated ear I get the following deployment error re jdbc
lookup
13:16:05,166 ERROR [EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml :
datasource-mapping jdbc/relay not found
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.<init>(JDBCEntity
MetaData.java:416)
at
org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.<init>(JDBCA
pplicationMetaData.java:258)
My sysbase.xml declares the jdbc name as
<property name="jboss.datasource.mapping" value="jdbc/relay"/>
And the generated jbosscmp-jdbc contains
<defaults>
<datasource>java:/jdbc/relay</datasource>
<datasource-mapping>jdbc/relay</datasource-mapping>
</defaults>
Is there some step or someother config I need to do?
I would have expected some resource refs in the ejb-meta/META-INF/jboss.xml
:-) Tom Lister
* ***@ants.co.uk
* 020 775 65014
***************************************************************************
This communication (including any attachments) contains confidential information. If you are not the intended recipient and you have received this communication in error, you should destroy it without copying, disclosing or otherwise using its contents. Please notify the sender immediately of the error.
Internet communications are not necessarily secure and may be intercepted or changed after they are sent. Abbey National Treasury Services plc does not accept liability for any loss you may suffer as a result of interception or any liability for such changes. If you wish to confirm the origin or content of this communication, please contact the sender by using an alternative means of communication.
This communication does not create or modify any contract and, unless otherwise stated, is not intended to be contractually binding.
Abbey National Treasury Services plc. Registered Office: Abbey National House, 2 Triton Square, Regents Place, London NW1 3AN. Registered in England under Company Registration Number: 2338548. Regulated by the Financial Services Authority (FSA).
***************************************************************************