Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem While Deploying EJB

vinoth subramaniam
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am having an deployment problem . I am using EJB 2.1 session Beans and Jboss 4.0.2 and JRE 5.0. Currently I am having Two Ear files. Here is the Structure belorw

1. PrePoCLamda.EAR
------------> PrePoCLamdaWeb.WAR

2. PoCService.EAR
--------------> PrePoCLamdaEJB.JAR

a. I added the Latest compiled version of "PrePoCLamdaEJB.jar" in to WEB-INF/lib of the "PrePoCLamdaWeb.WAR".
b. I deployed these two war files in Jboss 4.0.2/server/default/deploy.
c. Now When i run a java class which is in the web project as a Java Application, i can able to invoke the sessionBean and i can use the Business service without any problem.
d. If i tried to call the method which invoke the EJB from a servlet (in my case a JSF servlet,) i am getting the following error message

Thanks in advance,
Vinoth S.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic