For Programmers: Free Programming Magazines  


Home > Archive > Java Help > April 2004 > J2EE Deployment Error Message









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author J2EE Deployment Error Message
John

2004-04-27, 12:18 pm

Hi, I'm getting this error message when I 'test for j2ee compliance'
using the deploy tool (platform edition 8). I get one for 'StockEjb' and
one for 'AnalystEjb' which are both entity beans with local
interfaces. Interestingly I don't get the message for the session bean
in the same container. I can't find anywhere in the deploytool to enter
any additional jndi information for these beans (which is irritating).

Any pointers? I can post source or descriptiors if necessary.

John

Error:

"For [ Stock List Application#ejb-jar-ic.jar#StockEjb ]
Error: Exception [ JDO74033: Cannot deploy application 'Stock List
Application' module 'ejb-jar-ic' with CMP beans: cmp-resource is not
defined for this module. The minimum requirement for a cmp-resource is
to specify the jndi-name of a jdbc-resource or a
persistence-manager-factory-resource to be used with the beans. ] while
initializing JDOCodeGenerator. Please check your descriptors and mapping
files for consistency "
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com