This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Issue deploying a JSF 1.2/RF 3.3 on JBoss AS7 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 » Java » JSF
Bookmark "Issue deploying a JSF 1.2/RF 3.3 on JBoss AS7" Watch "Issue deploying a JSF 1.2/RF 3.3 on JBoss AS7" New topic
Author

Issue deploying a JSF 1.2/RF 3.3 on JBoss AS7

Ouadi Belmokhtar
Greenhorn

Joined: Sep 15, 2012
Posts: 6
Mahendr Shinde
Ranch Hand

Joined: Sep 03, 2011
Posts: 38

Somewhere in your configuration files like faces-config.xml or web.xml or persistence.xml lies an Error
error is
lineNumber: 5; columnNumber: 13; Error at line 5 char 13: argument type mismatch

You need to describe your problem with little more details.


There is still lot to learn!
Ouadi Belmokhtar
Greenhorn

Joined: Sep 15, 2012
Posts: 6
2 days earlier when i deploy a web-app on JBoss AS 7, these errors appears, and i'm not able to resolve them. The errors might's triggered because of parsing a Xml file, but which file ? I brows all these 3 files that you say, but all of them are correct.
Help please
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15961
    
  19

JBoss has JSF 2.0 built into it, as required by the JEE 6 specification. To get JSF1.2 operating in a JBoss 7 server, you must override the built-in JSF with JSF 1.2 api and implementation libraries in your webapp's WEB-INF/lib directory. You must also set certain parameters in your WEB-INF/web.xml file.

The full details for those parameters are listed in the JBoss documentation.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ouadi Belmokhtar
Greenhorn

Joined: Sep 15, 2012
Posts: 6
Here is JSF declaration in web.xml file :

<context-param>
<param-name>org.jboss.jbossfaces.JSF_CONFIG_NAME</param-name>
<param-value>Mojarra-1.2</param-value>
</context-param>

Ouadi Belmokhtar
Greenhorn

Joined: Sep 15, 2012
Posts: 6
The solution is to remove the ajax4jsf dependencies from pom.xml.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue deploying a JSF 1.2/RF 3.3 on JBoss AS7
 
Similar Threads
unable to run jsf richfaces fileupload example from "exadel.com"
How to handle CDI Conversation expired in JBoss 7
Getting proxy view for the class and getting class cast exception.
JBoss AS 7.1.0 CR1b problem with hornetq-ra
Null Pointer Exception in a4j:commandLink