I think the whole thing is caused by misuse of the file-open dialog
box. When you want to open an existing ejb-jar.xml you need to select
the file in this dialog and then change the file type to 'EJB 1.1 XML'
from it's default, jBoss XML. If you want to edit a jboss.xml or
jaws.xml you still need to select ejb-jar.xml in the dialog but then
change the file type to the appropriate type.
This seems kinda counter-intuitive to me.
Tom
Rickard Oberg writes:
> Hi!
>
> > 1. ejb-jar.xml opens in EJX, but seems to be missing primary key
> > specifications for the beans. Also, the Actions menu in EJX only
> > displays one choice: Add JNDI Name Prefix. Is the implementation
> > incomplete (e.g. missing primary key stuff and others stuff?) How do
> > you add things like environment, ejb, and resource references to a bean?
> > Where are the Actions menu options to add these things?
>
> You seem to be referring to the jBoss editor, not the EJB-JAR.xml editor.
> Make sure you choose the right file filter!
>
> > 2. When I tried to open the bank test's jaws.xml or jboss.xml, I get a
> > null pointer exception. Here's a sample stack trace...
> >
> > java.lang.NullPointerException
> > at com.dreambean.ejx.editor.EJX$2.actionPerformed(EJX.java:94)
>
> Don't have the source available right now so I can't check. Can you add this
> to bugzilla?
>
> > 3. A side issue, but does anyone know how I can easily reformat the xml
> > produced by ejx so it is properly formatted? As indicated above, I'm
> > using NT.
>
> What is the formatting issue? EJX uses an XML parser to read/write files so
> we're pretty much stuck with how it does it.
>
> regards,
> Rickard
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]