-
1. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
jaikiran Feb 2, 2010 2:44 AM (in response to void_void)We have a dedicated forum for JSF on JBossAS. I'll move this thread there.
-
2. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
void_void Feb 2, 2010 3:16 AM (in response to jaikiran)ok. -
3. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
ssilvert Feb 2, 2010 7:44 AM (in response to void_void)JSF 1.1 should work with 4.0.2. Just bundle it with your WAR the same way you would do with Tomcat.
Starting with 4.0.3, JBoss bundles a JSF implementation with the server:
JSF 1.2 will not work with 4.0.2 because it requires Servlet 2.5.
Stan
-
4. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
void_void Feb 2, 2010 7:48 AM (in response to ssilvert)can we configure tomcat's higher version for jboss4.0.2 ?
-
5. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
ssilvert Feb 2, 2010 7:52 AM (in response to void_void)void_void wrote:
can we configure tomcat's higher version for jboss4.0.2 ?
I'm not sure what you mean. You can't change the Tomcat version shipped with 4.0.2. It is Tomcat 5.5.9, which allows you to run JSF 1.1 applications.
Stan
-
6. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
void_void Feb 2, 2010 7:54 AM (in response to ssilvert)ok..
thanks..
i got the way..
now started real work.
will ask you if i will find any configurational problem thanks man
-
7. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
void_void Feb 2, 2010 11:40 AM (in response to void_void)I have configured a sample application it is working fine.
following is the conf..
<?xml version="1.0"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml</param-value>
</context-param>
<listener>
<listener-class>com.sun.faces.config.ConfigureListener</listener-class>
</listener>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup> 1 </load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app>
now if i try to integrate it with my other web application.i am getting22:07:33,941 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exceptionjava.lang.IllegalArgumentException: setAttribute: Non-serializable attributeat org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233)at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)at com.sun.faces.context.SessionMap.put(ExternalContextImpl.java:556)at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:138)at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:169)at org.apache.jsp.pages.inputname_jsp._jspx_meth_f_view_0(org.apache.jsp.pages.inputname_jsp:131)at org.apache.jsp.pages.inputname_jsp._jspService(org.apache.jsp.pages.inputname_jsp:80)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) -
8. Re: Is it possible to deploy jsf 1.2 or 1.1 application in jboss 4.0.2 ?
void_void Feb 2, 2010 11:41 AM (in response to void_void)i tried implementing my ModelBean serializable ..
then also i am getting same exception ..