RE: [JBoss-user] Unable to call an EJB from a Servlet
Title: Unable to call an EJB from a Servlet make sure you include the Home and remote interface classes in your classpath, and you should get it with no problem. Al. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Muthiah PalaniappanSent: Monday, June 11, 2001 6:58 AMTo: '[EMAIL PROTECTED]'Subject: [JBoss-user] Unable to call an EJB from a Servlet Hi, I have deployed a simple Hello World Bean and it is working perfectly when I use a java app. to connect to the bean. But in the same way if I try to connect to the bean using a servlet or a JSP, it is not working. I am using JBoss2.2 with Tomcat. This is the server side error I am getting (unwanted part of the error messages has been removed for clarity) - Package ejb.session.helloworld not found in import. import ejb.session.helloworld.*; Thanks & Regards, Muthiah.
Re: [JBoss-user] Unable to call an EJB from a Servlet
Title: Unable to call an EJB from a Servlet Put the Home and Remote interfaces of the bean in the WEB-INF/classes directory of your web-app. That's mandatory. Lachezar. Hi, I have deployed a simple Hello World Bean and it is working perfectly when I use a java app. to connect to the bean. But in the same way if I try to connect to the bean using a servlet or a JSP, it is not working. I am using JBoss2.2 with Tomcat. This is the server side error I am getting (unwanted part of the error messages has been removed for clarity) - Package ejb.session.helloworld not found in import. import ejb.session.helloworld.*; Thanks & Regards, Muthiah.
Re: [JBoss-user] Unable to call an EJB from a Servlet
On Mon, 11 Jun 2001, Muthiah Palaniappan wrote: > Hi, > I have deployed a simple Hello World Bean and it is working > perfectly when I use a java app. to connect to the bean. But in the same way > if I try to connect to the bean using a servlet or a JSP, it is not working. > I am using JBoss2.2 with Tomcat. > > This is the server side error I am getting (unwanted part of the error > messages has been removed for clarity) - > > Package ejb.session.helloworld not found in import. > import ejb.session.helloworld.*; Have you included all imported classes in your war file? --- Per Lewau ([EMAIL PROTECTED]) "Why waste time learning, when ignorance is instantaneous?" - Hobbes ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Unable to call an EJB from a Servlet
Title: Unable to call an EJB from a Servlet Hi, I have deployed a simple Hello World Bean and it is working perfectly when I use a java app. to connect to the bean. But in the same way if I try to connect to the bean using a servlet or a JSP, it is not working. I am using JBoss2.2 with Tomcat. This is the server side error I am getting (unwanted part of the error messages has been removed for clarity) - Package ejb.session.helloworld not found in import. import ejb.session.helloworld.*; Thanks & Regards, Muthiah.