I have created a new TestWebApp same as the default-web-app which comes
with the application server for my application. I have done it by
a) Creating TestWebApp-website.xml and dropping it to config directory.
b) Added entry in application.xml and server.xml.
My Directory structure goes like this.
Myapp
--myapp-ejb/classes
--myapp-ejb/meta-inf/ejb/ejb-jar.xml
--myapp-web/web-inf/classes
--myapp-web/*.jsp,*.html
--myapp-web/web.xml
--meta-inf/application.xml
Since my new webapp needs an web.xml, i have given --myapp- web/web.xml
for it. The problem comes when i access the ejb through Jsp. I am getting
the following exception.
javax.naming.NamingException: Error instantiating web-app
JNDI-context: No location specified and no suitable instance of the type
'com.acme.bmpapp.Template' found for the ejb-ref ejb/Template
Thanking you
Ram