I can deploy and use a CMP Entity bean, and I can deploy (e.g. openejb deploy
-a ...) a Stateless Session bean that references the Entity bean.  But when I
start the openejb server it crashes as shown by the openejb.log text below. 
Any ideas what I'm doing wrong?

I guess I'm wondering if <ejb-name> in ejb-jar.xml is "CabinEJB" for the CMP
Entity bean, what should the <ejb-ref-name> be in ejb-jar.xml for the Stateless
Session bean?  I'm using "ejb/CabinEJB".

Note that the Assembler NullPointerException does not happen when I only have
the Entity bean deployed, so this must have something to do with the Stateless
Session bean that is referencing it.



********************************************************************************
OpenEJB http://openejb.sf.net
Startup: 10/4/02 5:35 PM
Copyright 2000,2001,2002 (C) OpenEJB Project, All Rights Reserved.
Version: 0.8.3
Build date: 20021001
Build time: 2020
********************************************************************************


DEBUG:  No SecurityManager installed. Installing default.
DEBUG:  Instantiating assembler class
org.openejb.alt.assembler.classic.Assembler
FATAL:  OpenEJB has encountered a fatal error and cannot be started: The
Assembler encountered an unexpected error while attempting to initialize.
java.lang.NullPointerException
        at
org.openejb.alt.config.ConfigurationFactory.initJndiReferences(ConfigurationFactory.java:672)
        at
org.openejb.alt.config.ConfigurationFactory.initEnterpriseBeanInfos(ConfigurationFactory.java:600)
        at
org.openejb.alt.config.ConfigurationFactory.getOpenEjbConfiguration(ConfigurationFactory.java:182)
        at org.openejb.alt.assembler.classic.Assembler.init(Assembler.java:163)
        at org.openejb.OpenEJB.init(OpenEJB.java:224)
        at org.openejb.server.EjbDaemon.init(EjbDaemon.java:137)
        at org.openejb.server.EjbDaemon.main(EjbDaemon.java:1104)
        at org.openejb.server.Main.main(Main.java:121)



=====
Clinton S. Olson - Owner, Steven's Pass Carving Elvises
   http://home.bak.rr.com/fl/fl.htm

"The two most important things in life are good friends and a strong bullpen"

  -- Bob Lemon, former manager Royals/White Sox/Yankees

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to