Thank you,
by now the interfaces and the eyb-jar.xml file are correct. I have added 
the correct XDoclet header below. 
But I am afraid the deployment problem is not fixed yet.
I have deleted the tmp-directory. regenerated my sources and descriptors, 
rebuild my source, packaged my jar, controled whether it contains the correct files 
and tried to deploy it.
... but it didnt work.
The strange thing about the errormessage is that it referres to finders which  are no 
longer in the code (findAllFTAMDevices(), findAllFTPdevices() ).
I had them in there, but deleted them a few hours ago to find the source of another 
deployment error. A plaintext search on the build and sourcefiles
affirmed me, that there is no longer a findAllFTAMDevices() or findAllFTPDevices() 
method.

Any idea what mystc thing has infected my JBoss?

regards Christian


  | /**
  |  * @ejb.bean name="DeviceRecord" type="CMP" description="abstract db-representation
  |  * of a network device" primkey-field="id" view-type="local" cmp-version="2.x"
  |  * schema="DeviceRecord" local-jndi-name="DeviceRecordLocal"
  |  * 
  |  * @ejb.persistence table-name="core_devices"
  |  * 
  |  * @ejb.finder 
  |  *  signature="java.util.Collection findAllDevices( )" 
  |  *  query="SELECT * Object(p) FROM DeviceRecord AS p" 
  |  *  view-type="local" 
  |  *  method-intf="LocalHome"
  |  *  result-type-mapping="Local"
  |  * 
  |  * @jboss.entity-command name="get-generated-keys"
  |  */
  | public abstract class DeviceBean implements EntityBean {
  | ...
  | 
  | /**
  |  * 
  |  * @ejb.bean name="FTPDeviceRecord" type="CMP" description="db-representation
  |  * of a network device" primkey-field="id" view-type="local" cmp-version="2.x"
  |  * schema="FTPDeviceRecord" local-jndi-name="FTPDeviceRecordLocal"
  |  * 
  |  * @ejb.home local-extends="javax.ejb.EJBLocalHome"
  |  * 
  |  * @ejb.interface local-extends="vmdb.db.interfaces.DeviceRecordLocal"
  |  *
  |  * @ejb.finder signature="java.util.Collection findAllDevices( )" 
  |  * 
  |  * @ejb.persistence table-name="ftp_devices"
  |  * 
  |  * @jboss.entity-command name="get-generated-keys"
  |  */
  | public abstract class FTPDeviceBean extends DeviceBean {
  | ...
  | 
  | /**
  |  * 
  |  * @ejb.bean name="FTAMDeviceRecord" type="CMP" description="db-representation
  |  * of a network FTAM device" primkey-field="id" view-type="local" cmp-version="2.x"
  |  * schema="FTAMDeviceRecord" local-jndi-name="FTAMDeviceRecordLocal"
  |  * 
  |  * @ejb.persistence table-name="ftam_devices"
  |  * 
  |  * @ejb.home local-extends="javax.ejb.EJBLocalHome"
  |  *
  |  * @ejb.finder signature="java.util.Collection findAllDevices( )" 
  |  * 
  |  * @ejb.interface local-extends="vmdb.db.interfaces.DeviceRecordLocal"
  |  * 
  |  * @jboss.entity-command name="get-generated-keys"
  |  */
  | public abstract class FTAMDeviceBean extends DeviceBean {
  | ...
  | 

Bean   : FTAMDeviceRecord
Method : public abstract Collection findAllFTAMDevices() throws FinderException
Section: 10.5.6
Warning: Every finder method except findByPrimaryKey(key) must be associated with a 
query element in the deployment descriptor.

15:52:26,515 WARN  [verifier] EJB spec violation: 
Bean   : FTPDeviceRecord
Method : public abstract Collection findAllFTPDevices() throws FinderException
Section: 10.5.6
Warning: Every finder method except findByPrimaryKey(key) must be associated with a 
query element in the deployment descriptor.

15:52:26,546 WARN  [verifier] EJB spec violation: 
Bean   : DeviceRecord
Method : public abstract Collection findAllDevices() throws FinderException
Section: 10.5.6
Warning: Every finder method except findByPrimaryKey(key) must be associated with a 
query element in the deployment descriptor.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840467#3840467

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840467


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to