|
Just
started the EJB programs. using the documentation from Sun and doing examples in
the documentation.
The first
application which converts currency I have tried and got stuck on the following
error:
When I
try to deploy the application it produced the filenotfound
exception:
http
port that is failing to deploy is the one configured in ejb.properties file
http.port=9191
i
don't know why is this becoz i started my j2ee server with the parameter
[-verbose] and it printed , Web service started : 9191
i
ignored this error and proceeded to run my client, the client is starting up
fine and i can log in as guest, however when the code tries to execute a lookup
method
initial.lookup("java:comp/env/MyConverter"); or
initial.lookup("java:comp/env/SimpleConverter");
i get
the following error:
SimpleConverter not found
javax.naming.NameNotFoundException:SimpleConverter not
found.
here
are the following JNDI names of my ConverterApp and
ConverterClient
ConverterApp
1
Referecnced By =
Component/Reference Name = ConverterEJB
JNDI Name MyConverter
2
Referecnced By = ConverterClient
Component/Reference Name
= ejb/SimpleConverter
JNDI Name MyConverter
ConverterClient
CodedName = ejb/SimpleConverter
Type =
session
Home =
ConverterHome
Remote
= Converter
Please
advice on how can I proceed from here. is it becoz of the error that i mentioned
above or i messed up the jndi names.
if it
is becoz of the error please tell me how i can correct the deployment
error. |
- Re: EJB not found! Tinashe Bothwell Chipomho
- Re: EJB not found! Hardeep Singh
- Re: EJB not found! Tinashe Bothwell Chipomho
- Re: EJB not found! Hardeep Singh
- Re: EJB not found! Ashwani Kalra
