on 01-21-2011 7:15 AM
Hello,
I'm trying to deploy a JSF 2.0 application on my SAP WAS CE 7.11. I've not found so much document explaining clearly what is the JSF supported version of CE 7.11(if someone can tell me it would be great).
I'm getting exception when trying to deploy my application (not the same error depending of the JSF 2 implementation used).
Does someone know if it's possible to deploy JSF 2 application on SAP CE 7.11?
Is there a solution for the above issues?
Do you know when and which version of SAP WAS JSF version 2 is supported?
Here is the error I get with the different implementation:
Sun Mojarra 2.0.4 :
[EXCEPTION]
javax.servlet.ServletException: The stream has already been taken by method [getOutputStream()].
Apache Myfaces 2.0.3
[EXCEPTION]
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
Edited by: Xavier Tendron on Jan 21, 2011 8:15 AM
Edited by: Xavier Tendron on Jan 21, 2011 8:16 AM
Hi!
First thing to remember - SAP NetWeaver CE 7.1 has JSF 1.2 implementation already running on it, to override it you have to use "Heavy resources" at least if it is possible at all!
About JSF 2.0 - it is included in J2EE 6 as a standart, but I would not be sure that it is not running in J2EE 5 environment.
Are you trying to replace JSF with another Reference Implementation or some 3rd party implementation ?
Maybe 3rd party implementation of JSF 2.0 can bring more implications when trying to use on NW AS (wild guess).
Sorry that I cannot give you straight answer, but still, maybe you have not seen info about Heavy Resources.
Info about Heavy Resources usage in NW AS projects :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for your answer. I've already try what is described in this blog:
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6447] [original link is broken] [original link is broken] [original link is broken];
I'll try out this documentation even if it's look very similar.
I've also try to use other JSF 1.2 implementation then the one provided with SAP WAS but it still looks the same.
Thanks,
I've also been trying to get a basic JSF 2 sample to work with no success. Using the heavy resources with the jsf 2 reference libs doesn't seem to work. Does anyone have a sample getting this to work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I very much would like an answer to this latest question (does JSF 2 work on NWDS 7.2?). I have been trying to get this to work for days now, but without much success.
I would really like to be able to use the .xhtml/Facelets-approach (as preferred in JSF 2), but I don't even manage to get the simplest JSP example working.
Isn't there any tutorial available? I have a tutorial for a JSF 1.2 in NWDS 7.1, but I haven't been able to find such tutorial for the current versions.
Hi,
which implementation of JSF 2.0 did you test on the NW 7.2 platform.
The MyFaces-implementation of JSF 2.0 ?
I asked this question, because we are developing our web-application with MyFaces 1.1 / 1.2 in combination with Tomahawk and Facelets-support on TomCat 5 / JDK 1.4. The Runtime-Engine is NetWeaver 7.0 / JDK 1.4!
In the next weeks we are trying to migrate these application to the new NetWeaver 7.3 platform.
So, I am very interested in getting a solution for the support of the MyFaces JSF 1.2 (or JSF 2.0) implementation on NetWeaver 7.3 !
Regards
Steffen
Hi,
thanks for your reply.
I'm sorry but I've found this in JSF2.1 spec:
JSF is based on the following Java API specifications:
■ JavaServer Pagesu2122 Specification, version 2.1 (JSPu2122) <http://java.sun.com/products/jsp/>
■ Javau2122 Servlet Specification, version 2.5 (Servlet) <http://java.sun.com/products/servlet/>
■ Javau21222 Platform, Standard Edition, version 5.0 <http://java.sun.com/j2se/>
■ Javau21222 Platform, Enterprise Edition, version 5.0 <http://java.sun.com/j2ee/>
■ JavaBeansu2122 Specification, version 1.0.1 <http://java.sun.com/products/javabeans/docs/spec.html>
■ JavaServer Pagesu2122 Standard Tag Library, version 1.2 (JSTL) <http://java.sun.com/products/jsp/jstl/>
From my point of view JSF 2 is also based on JEE 5. So should be able to integrate JSF 2 application in WAS 7.11.
Am I wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Xavier,
Just FYI, JSF 2.0 comes with Java EE 6, and the AS Java of SAP NetWeaver CE 7.11 is based on Java EE 5 (which originally introduces JSF 1.2).
Regards,
Yordan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.