> "Lee, Se Hee" wrote:
> 
> I've compiled and jar it the ejb-jar.xml in the META-INF. Then, I jar
> it up with the application.xml and create the ear file. I also
> modified the server.xml and etc as noted in the orion primer sample.
> When orion server starts, it picks up the ejb and deploys it w/o any
> problem. The troubles comes when I tried to connect it from jsp. I
> didn't jar this jsp. Rather, I just put it under the default
> application directory. I can run this jsp, but I get an exception when
> it looks for ejb. Do I need to create war file along with ejb and
> deploy together? 

  Yes, you have to create the .war archive, and put in web.xml, and
orion-web.xml the jndi names and locations, all in .ear file.

> Or do I have to put this ejb in the different path? I

  No, just .war + .jar = .ear
  
> also notice that there is no jndi.properties in the ejb deployed
> directory. Do I have to create one? 
    
   No, 
  
> I did a bit of research on it, and
> found out that it has orion-ejb-jar.xml within the ejb deployed
> directory and location represents the actual JNDI name. I tried
> connection through this jndi name, but I wasn't successful.  Can
> someone give a hand???

  If you don't specified any deployment directory, then look at
ORION_HOME/application-deployments


by
begin:vcard 
n:Miranda;Claudio
x-mozilla-html:FALSE
org:EverSystems;Research & Developmet - Internet & New Tech
adr:;;;Sao Paulo;SP;;Brazil
version:2.1
email;internet:[EMAIL PROTECTED]
title:SUN Certified Programmer for JAVA 2
fn:Claudio Miranda
end:vcard

Reply via email to