[JBoss-user] ejb-ref's needed?

2001-07-08 Thread G.L. Grobe



If I put the ejb-ref tag in, I get errors 
when the war loads upon initialization of JBoss. If I leave it out, it loads 
successfully. But still doesn't work once I browse the servlet. I get 'ejb not 
bound' errors.

It's been suggested to me both ways and I just 
wanted to get a more concrete answer ona 
servlet that does a lookup to an ejb in the web.xml file.

TIA


Re: [JBoss-user] ejb-ref's needed?

2001-07-08 Thread Allen fogleson



When you have ejb-ref's you will also need a 
jboss-web.xml (for the war file) and possibly jboss.xml if you have ejb-ref's in 
your bean jars.

Al


  - Original Message - 
  From: 
  G.L. Grobe 
  To: [EMAIL PROTECTED] 
  
  Sent: Sunday, July 08, 2001 3:09 PM
  Subject: [JBoss-user] ejb-ref's 
  needed?
  
  If I put the ejb-ref tag in, I get errors 
  when the war loads upon initialization of JBoss. If I leave it out, it loads 
  successfully. But still doesn't work once I browse the servlet. I get 'ejb not 
  bound' errors.
  
  It's been suggested to me both ways and I just 
  wanted to get a more concrete answer ona 
  servlet that does a lookup to an ejb in the web.xml file.
  
  TIA


Re: [JBoss-user] ejb-ref's needed?

2001-07-08 Thread G.L. Grobe



heh, darn, another config.

i have ejb-refs in my web.xml, and my jboss-web.xml 
is empty, and i can even remove the jboss-web.xml and it will still work. i also 
have ejb-refs in my ejb-jar and i do not have a jboss.xml.

i finally got it working after looking at some of 
the examples in the jboss cvs tree. now i've only got minor errors or warnings 
to deal with which i'll post shortly if i can't figure these out and may be 
linked to the way my descriptors are setup.

thanxs all


  - Original Message - 
  From: 
  Allen fogleson 
  To: [EMAIL PROTECTED] 
  
  Sent: Sunday, July 08, 2001 5:05 PM
  Subject: Re: [JBoss-user] 
  ejb-ref's needed?
  
  When you have ejb-ref's you will also need a 
  jboss-web.xml (for the war file) and possibly jboss.xml if you have ejb-ref's 
  in your bean jars.
  
  Al
  
  
- Original Message - 
From: 
G.L. Grobe 
To: [EMAIL PROTECTED] 

Sent: Sunday, July 08, 2001 3:09 
PM
Subject: [JBoss-user] ejb-ref's 
needed?

If I put the ejb-ref tag in, I get 
errors when the war loads upon initialization of JBoss. If I leave it out, 
it loads successfully. But still doesn't work once I browse the servlet. I 
get 'ejb not bound' errors.

It's been suggested to me both ways and I just 
wanted to get a more concrete answer ona servlet that does a lookup to an ejb in the web.xml 
file.

TIA