Discussion:
[Middlegen-user] jdbc lookup on deployment problem
Lister, Tom (ANTS)
2003-11-02 11:24:14 UTC
Permalink
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).
***************************************************************************
Eivind Waaler
2003-11-02 12:15:02 UTC
Permalink
Hi, I suggest you check with jboss and xdoclet resources to find out
what's missing. Then go back to see if Middlegen can be configured to fix
the problem..

Cheers
.eivind
Post by Lister, Tom (ANTS)
Hi
When deploying a generated ear I get the following deployment error re jdbc
lookup
13:16:05,166 ERROR [EntityContainer] Starting failed
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
* 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).
***************************************************************************
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
middlegen-user mailing list
https://lists.sourceforge.net/lists/listinfo/middlegen-user
Loading...