File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Problem with running JBoss Seam examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Problem with running JBoss Seam examples" Watch "Problem with running JBoss Seam examples" New topic

Problem with running JBoss Seam examples

Michal Orman

Joined: Sep 01, 2006
Posts: 2
Hello. I want to start learning JBoss Seam framework, unfotunately I'm stucked at the very beginning. I'am following instructions from the Seam's reference

So, what I've done is: installed JBoss AS 4.0.5.GA using the jems installer and applying EJB3 profile, extracted Seam 2.1.0.GA, set jboss.home and tomcat.home properties in file, went to Seam's example directory and deployed registration example with 'ant deploy' command, start JBoss AS and I have following exception:

According to above trace I see that it cannot load the ELContext class but I've included el-api.jar in AS lib directory, in ear's lib directory and in war's WEB-INF/lib directory and it don't help. Even uncle google failed to find the solution (or maybe I failed to ask appropriate question ).

Did anybody can help me with this problem? There is no word in the reference that I need to manually provide any library.
Michal Orman

Joined: Sep 01, 2006
Posts: 2
I'll reply myself .

Seam 2 is not intended to work with JBoss AS 4.0. When I used AS 4.2 it works fine. Huh it taken me almost one and a half day to discover this...
I agree. Here's the link:
subject: Problem with running JBoss Seam examples
Similar Threads
getting null pointer exception
after copy server.xml from jboss 4.0.3 to jboss 4.2, the server cannot be run
No identifier specified for entity:
DeploymentException while deploying ear file in JBoss
Error while deploying war file