Sean

Not sure if anyone else answered this.. the jaws.xml file *is* being
read (and is causing the exception you see); what Sebastien was pointing
out is that it is being read by the 'old' metadata-handling code, not
the redesigned code that deals with ejb-jar.xml and jboss.xml.

regards

  Justin

In message <[EMAIL PROTECTED]>,
SBowman <[EMAIL PROTECTED]> writes
>I definitely need the jaws.xml file to be read.  I've got a lot of finder
>methods I've defined.
>
>Sean
>
>-----Original Message-----
>From: Sebastien Alborini [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, August 16, 2000 5:16 PM
>To: jBoss
>Subject: Re: [jBoss-User] Anybody seen this? Problems
>deployingentitybeans...
>
>
>marc fleury wrote:
>> 
>> this is from PR3 with the old metadata,
>
>Yes, but the new metadata doesn't read jaws.xml (yet).
>There must be something else :(
>
>Sebastien
>
>
>> 
>> either
>> 1- work from latest cvs
>> 2- wait for the new binary (any time now)
>> 
>> marc
>> 
>> > -----Original Message-----
>> > From: [EMAIL PROTECTED]
>> > [mailto:[EMAIL PROTECTED]]On Behalf Of SBowman
>> > Sent: Wednesday, August 16, 2000 4:05 PM
>> > To: '[EMAIL PROTECTED]'
>> > Subject: [jBoss-User] Anybody seen this? Problems deploying
>> > entitybeans...
>> >
>> >
>> > I've been trying to load a project I've been working on into jBoss, but
>I
>> > always come across the following error:
>> >
>> >         at java.util.EventObject.<init>(Unknown Source)
>> >         at java.beans.PropertyChangeEvent.<init>(Unknown Source)
>> >         at java.beans.PropertyChangeSupport.firePropertyChange(Unknown
>> > Source)
>> > [Container factory] java.lang.IllegalArgumentException: null source
>> >         at
>> >
>java.beans.beancontext.BeanContextChildSupport.firePropertyChange(Unknown
>> > Source)
>> >         at
>> > java.beans.beancontext.BeanContextChildSupport.setBeanContext(Unknown
>> > Source)
>> >         at java.beans.beancontext.BeanContextSupport.add(Unknown Source)
>> >         at java.beans.Beans.instantiate(Unknown Source)
>> >         at java.beans.Beans.instantiate(Unknown Source)
>> >         at
>> > java.beans.beancontext.BeanContextSupport.instantiateChild(Unknown
>Source)
>> >         at
>> > org.jboss.ejb.plugins.jaws.deployment.JawsEnterpriseBeans.addEntit
>> > y(JawsEnte
>> > rpriseBeans.j
>> > ava:49)
>> >         at
>> >
>com.dreambean.ejx.ejb.EnterpriseBeans.importXml(EnterpriseBeans.java:248)
>> >         at
>> > org.jboss.ejb.plugins.jaws.deployment.JawsEnterpriseBeans.importXm
>> > l(JawsEnte
>> > rpriseBeans.j
>> > ava:92)
>> >         at com.dreambean.ejx.ejb.EjbJar.importXml(EjbJar.java:144)
>> >         at
>> > org.jboss.ejb.plugins.jaws.deployment.JawsEjbJar.importXml(JawsEjb
>> > Jar.java:1
>> > 36)
>> >         at
>> > org.jboss.ejb.plugins.jaws.deployment.JawsFileManager.load(JawsFil
>> > eManager.j
>> > ava:132)
>> >         at
>> > org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.init(JAWSPersist
>> > enceManage
>> > r.java:151)
>> >         at
>> > org.jboss.ejb.plugins.CMPPersistenceManager.init(CMPPersistenceMan
>> > ager.java:
>> > 82)
>> >         at org.jboss.ejb.EntityContainer.init(EntityContainer.java:190)
>> >         at org.jboss.ejb.Application.init(Application.java:158)
>> >         at
>> > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:493)
>> >         at
>> > org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:183)
>> >         at java.lang.reflect.Method.invoke(Native Method)
>> >         at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
>> >         at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
>> >         at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:258)
>> >         at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:194)
>> >         at
>org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:237)
>> >         at
>> > org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:89)
>> >         at java.lang.reflect.Method.invoke(Native Method)
>> >         at javax.management.MBeanServer.invoke(MBeanServer.java:1635)
>> >         at javax.management.MBeanServer.invoke(MBeanServer.java:1501)
>> >         at org.jboss.Main.<init>(Main.java:155)
>> >         at org.jboss.Main.<init>(Main.java:86)
>> >         at org.jboss.Main$1.run(Main.java:76)
>> >         at java.security.AccessController.doPrivileged(Native Method)
>> >         at org.jboss.Main.main(Main.java:67)
>> >
>> > Any ideas what this means, or what it is referring to?  I've got about
>30
>> > entity beans trying to deploy in jBoss.  I get this message popping up
>at
>> > random intervals.  On one machine I've tried it on, the message pops up
>> > after deploying around 10-12 of the beans.  On a second machine (which
>> > happens to be the more powerful of the two), it pops up after two or
>three
>> > beans load.
>> >
>> > I'm not quite sure where the "java.lang.IllegalArgumentException: null
>> > source" message is coming from, or what it is refering to.
>> >
>> > One suggestion I'd like to make to the working group is BETTER ERROR
>> > MESSAGES!  Just to get my beans working, I've actually gone through and
>> > improved on some of the error messages coming back, just to see
>> > what fields
>> > weren't getting read properly, or what database errors were
>> > coming back.  An
>> > error message without a reference point is about as useful as "Syntax
>> > Error."
>> >
>> > BTW, I'm running Win2000 with Sun JDK 1.3 and Hotspot server.
>> >
>> > Thanks,
>> > Sean Bowman
>> > Senior Software Engineer
>> > Webb Interactive, Inc.
>> > [EMAIL PROTECTED]
>> >
>> >
>> > --
>> > --------------------------------------------------------------
>> > To subscribe:        [EMAIL PROTECTED]
>> > To unsubscribe:      [EMAIL PROTECTED]
>> > Problems?:           [EMAIL PROTECTED]
>> >
>> >
>> 
>> --
>> --------------------------------------------------------------
>> To subscribe:        [EMAIL PROTECTED]
>> To unsubscribe:      [EMAIL PROTECTED]
>> Problems?:           [EMAIL PROTECTED]
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Problems?:           [EMAIL PROTECTED]
>
>
>
>--
>--------------------------------------------------------------
>To subscribe:        [EMAIL PROTECTED]
>To unsubscribe:      [EMAIL PROTECTED]
>Problems?:           [EMAIL PROTECTED]
>

-- 
Justin Forder


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to