Re: [JBoss-user] Error on bean deploy with CMR

2002-06-09 Thread Andre Selton
Please, what is the problem now ? Got me. Both of these work for me. We have a test that runs every night that looks just like this. This test is public ? I want to see how it is done. Or please point me in any direction to search the solution. Thanks. Andre S.

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-09 Thread Dain Sundstrom
The JBoss testsuite is in CVS. Checkout jboss-all and it will be in the testsuite directory. -dain Andre Selton wrote: Please, what is the problem now ? Got me. Both of these work for me. We have a test that runs every night that looks just like this. This test is public ? I

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Andre Selton
--- Dain Sundstrom [EMAIL PROTECTED] wrote: cmr-field cmr-field-nameorder/cmr-field-name cmr-field-typeOrder/cmr-field-type /cmr-field This one it wrong. You only need (can have) cmr-field-type if the cmr-field is multi-valued. With this

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Andre Selton
At 09:42 7/6/2002 -0500, you wrote: This one it wrong. You only need (can have) cmr-field-type if the cmr-field is multi-valued. I think this is another lame place in the spec, as I can look up the field type using reflection, but it is required. Just remove the line and it should

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-08 Thread Dain Sundstrom
Andre Selton wrote: --- Dain Sundstrom [EMAIL PROTECTED] wrote: cmr-field cmr-field-nameorder/cmr-field-name cmr-field-typeOrder/cmr-field-type /cmr-field This one it wrong. You only need (can have) cmr-field-type if the cmr-field is multi-valued.

[JBoss-user] Error on bean deploy with CMR

2002-06-07 Thread Andre Selton
Hi, When I deploy my EJB with CMR I got this error : org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for relation Order-Item: cmr-field-type should be java.util.Collection or java.util.Set but is Order. This is a simple 1-N relationship between Order and Itens. On my

Re: [JBoss-user] Error on bean deploy with CMR

2002-06-07 Thread Dain Sundstrom
Andre Selton wrote: Hi, When I deploy my EJB with CMR I got this error : org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for relation Order-Item: cmr-field-type should be java.util.Collection or java.util.Set but is Order. cmr-field