I think that I've seen a similar error when I had my CLASSPATH messed up.
At the risk of tooting my own horn, take a look at my example
http://blog.ideoplex.com/software/2004/01/29.html#a768 that runs against
a local server via ant. Double check the CLASSPATH.

Dwight

On Wed, 26 May 2004 19:03:27 +0530, "Swet Batra" <[EMAIL PROTECTED]> said:
> Thnks for reply
> 
> But, I had already tried all this stuff. When i validate the jar file on
> the
> command prompt it does not display any message and control goes to a new
> line on command prompt. Further the openejb.conf file is also perfectly
> alright. There is one poin that i would like to ur attention is that
> application works absolutely fine if i use Remote Server. Further it is
> also
> working fine if i access the EJB's deployed in OpenEJB container through
> JSP's in Apache Tomcat. Please provide some more options.
> 
> Thanks and Regards
> Swet Batra
> The world knows you by what you are and not by what you are capable of
> doing
> 
> 
> 
> -----Original Message-----
> From: David Blevins [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 26, 2004 6:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [openejb-user] Problem while using OpenEJB as Local Server
> 
> 
> On Wed, May 26, 2004 at 04:48:34PM +0530, Swet Batra wrote:
> > Exception Caught in InitialContext
> > Javax.naming.NamingException: Attempted to load OpenEJB. Cannot embed
> > OpenEJB. Exception: java.lang.Exception Cannot initialize OpenEJB. OpenEJB
> > has encountered a fatal error and cannot be started: The Assembler
> > encountered an unexpected error while attempting to initialize:
> > org/exolab/castor/xml/ValidationExeption
> 
> Looks like there is some bad xml in the mix somewhere.  
> 
> Run the validator on your beans with -vvv.  If that reports a problem,
> then you need to fix one of your ejb-jar.xml files.  Otherwise, make
> sure your openejb.conf is ok.  If you rename it to something other
> than openejb.conf, OpenEJB will create you a new one.
> 
--
 Dwight Shih
 [EMAIL PROTECTED]

Reply via email to