Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 17159
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
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
 
It's not a secret anymore!