Hi Carlos,

Thank you. This seems to have somehow been causing the problem. I don't
understand why though...

I think it is a general good point that the EJB Container should output as
detailed error messages and stack traces as possible. This isn't necessarily
a direct criticism of JOnAS but once matters are out of the programmers
hands (i.e. during deployment) it can be extremely difficult to debug and
track down errors. 

Thanks for the help, much appreciated...

Andy.

> > createEJBContainers [jonas-ejb-jar.xml])
> > descriptor is null
> > Cannot read the deployment descriptors 'jonas-ejb-jar.xml': 
> Invalid XML in
> > jonas-ejb-jar.xml:
> 
> another 2 cents: last week I had some problems deploying an EJB
> whose descriptor was declared as the one you attached to your first
> post:
> 
> <?xml version="1.0"?>
> <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
> JavaBeans 1.1//EN'            
'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'>

JOnAS did't seem to like that reference to a PUBLIC DTD, so I changed it
to point to the local DTD supplied with the distribution:

<!DOCTYPE ejb-jar SYSTEM "/usr/local/jonas/xml/ejb-jar.dtd"> 

...and everything went fine.

Perhaps there lies your mysterious problem with the JOnAS-specific
descriptor: JOnAS might not be able to find neither the *ejb-jar.xml*
nor the *jonas-ejb.jar*

Hope it helps,

Carlos Valiente <[EMAIL PROTECTED]>
-- 
"Es tristi di pidil, piru is mas tristi di pidil un duminiu .es"
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to