Hi,

Further to this, I have tracked the problem down to the fact that the JDBC
file is getting a class not found exception looking for the bean class.

Ie this exception (I added the debug output);

[JAWS] java.lang.ClassNotFoundException:
com.rabobank.rbi.crm.entity.DealBean
[JAWS]  at javax.management.loading.MLet.findClass(MLet.java:800)
[JAWS]  at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
[JAWS]  at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
[JAWS]  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
[JAWS]  at java.lang.Class.forName0(Native Method)
[JAWS]  at java.lang.Class.forName(Class.java:120)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.<init>(JDBCFindEntit
iesCommand.ja
va:56)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.createFindEntitiesCommand
(JDBCCommandF
actory.java:181)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntityCommand.<init>(JDBCFindEntityC
ommand.java:4
6)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommandFactory.createFindEntityCommand(J
DBCCommandFac
tory.java:170)
[JAWS]  at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersistenceManage
r.java:85)
[JAWS]  at
org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceManager.java:
103)
[JAWS]  at org.jboss.ejb.EntityContainer.init(EntityContainer.java:198)
[JAWS]  at org.jboss.ejb.Application.init(Application.java:158)
[JAWS]  at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:851)
[JAWS]  at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:259)
[JAWS]  at java.lang.reflect.Method.invoke(Native
Method)
[JAWS]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[JAWS]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[JAWS]  at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:424)
[JAWS]  at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:176)

[snip]

I am generally using the jaws CMP - but since the finder implementation for
this is in the jaws/bmp package 
do I need to do some configuration in that direction?

Or do I need to deploy it somewhere on the main jboss classpath (yuck!)

> 
> I am following the above how-to (
> http://www.jboss.org/documentation/HowTo-JAWS-UseCustomFinders.html )
> 
> to use a custom finder (I want to search using a generic 
> routine - where the
> columns to match against, as well as the values are passed in 
> at runtime -
> which leads me to this solution)
> 
> I have setup a findByAttributes method on my home class and an
> ejbFindByAttributes on the bean class - with the same 
> signatures.  But they
> are not being picked up.  I've turned on debug - no more info.  I have
> checked the code and I am using 1.7 of the JDBC file and so 
> the code looks
> like it could handle it.
> 
> I have no entry related to this in my jaws.xml file - is that 
> the problem?
> If so, what is needed?
> 

Chris

================================================================================================
This electronic message (email) and any attachments to it are subject to copyright and 
are sent for the personal attention of the addressee. Although you may be the named 
recipient, it may become apparent that this email and its contents are not intended 
for you and an addressing error has been made. This email may include information that 
is legally privileged and exempt from disclosure. If you have received this email in 
error, please advise us immediately and delete this email and any attachments from 
your computer system.Rabobank International is the trading name of Coöperatieve 
Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. 
Registered with the Registrar of Companies for England & Wales No. BR002630 and 
regulated by the SFA for the conduct of investment business in the UK.

The presence of this footnote also confirms that this email has been automatically 
checked by Rabobank International for the presence of computer viruses prior to it 
being sent, however, no guarantee is given or implied that this email is virus free 
upon delivery.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to