Bugs item #588312, was opened at 2002-07-29 19:11
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=588312&group_id=22866

>Category: JBossServer
Group: v3.0 Rabbit Hole
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Peter Luttrell (objec)
>Assigned to: David Jencks (d_jencks)
Summary: Confusing Error

Initial Comment:

There's probably a perfectly logical reason for this, but 
just in case it's a bug i'll note it.

In my jbosscmp-jdbc.xml file i just added a cmp-field to 
column mapping for an entity element, except that i put 
it for the wrong entity.

JBoss dumped about 20 exceptions out stating that the 
field was not found for ALL of my beans. Why wouldn't it 
only dump out 1 error indicating that the field to column 
mappings was not found in the entity that i had defined it 
in?

Here's 1 of the 20 outputs, less the full stack trace.
19:04:22,553 WARN  [ServiceController] Problem 
starting service 
jboss.j2ee:service=EJB,jndiName=myBean1..20
org.jboss.deployment.DeploymentException: CMP field 
not found : fieldName=myField

----------------------------------------------------------------------

>Comment By: Dain Sundstrom (dsundstrom)
Date: 2002-09-02 12:54

Message:
Logged In: YES 
user_id=251431

David this is now your problem.  Just remember if you have a
real application with 100+ beans you will get a huge
deployment failed log.

If you want to reproduce this error change the name of the
UserName field in the jbosscmp-jdbc.xml file of the commerce
cmp2 test and deploy it.

----------------------------------------------------------------------

Comment By: Dain Sundstrom (dsundstrom)
Date: 2002-08-23 19:17

Message:
Logged In: YES 
user_id=251431

That sucks. I'll try to fix this right away.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=588312&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to