How to enable http/2 in Weblogic server - weblogic12c

I want to enable http/2 for Weblogic 12c server. I could not find documentation for enabling http/2.

You can't, not yet. HTTP/2 is in the servlet 4.0 specification. The current release of WebLogic (12.2.1.3) implements servlet 3.1. The next major release which should support Java EE 8 (and thus servlet 4.0) should be out this year.

Related

Configure SPDY on tomcat 8 windows

I'm developing a web application with eclipse and tomcat 8 in windows, now i want to setup SPDY. I must use apache tomcat 8, this is a constraint project.
How can I configure my web application to use SPDY in tomcat 8?
UPDATE: i wrote a mail to apache users mailing list and they gave me this reply:
SPDY support was experimental and for a much older version of SPDY than
any current browser supports. Tomcat's SPDY support is not usable in its
current form.
HTTP/2 support will be available in Tomcat 9.

migrating jsf application from weblogic10 to weblogic 12c

We are encountering issues while deploying the new core SDM modules (wars) in weblogic 12c version. The new SDM core module (wb-tss-core-sdm-web-war-0.9.1.war) uses the JSF ,SeamListeners & FacesServlet (version 1.2 jars) and we have found that the JSF 1.2 version is not directly compatible with the weblogic 12c version. Hence, the application deployment is failed with user defined listener conflict issue
As per Weblogic 12c documentation,
"WebLogic Server 12.1.1 has enhanced support for JSF and JSTL. In this
release, JSF 2.x and JSTL 1.2 have been incorporated directly in the
server's classpath. Your applications deployed to WebLogic Server can
seamlessly make use of JSF 2.x and JSTL 1.2 without requiring you to
deploy and reference separate shared libraries, as was the case in
previous releases. For backward compatibility, WebLogic Server
provides JSF and JSTL libraries that can be deployed and referenced by
applications. See Deploying JSF 1.2 and JSTL Libraries. "
We had tried to install the JSF 1.2 wars explicitly in the weblogic server path as per the documentation to support the backward compatibility and forced the SDM application/war to use the JSF 1.2 version jars by adding the below entries in the weblogic.xml .
<wls:library-ref>
<wls:library-name>jsf</wls:library-name>
<wls:specification-version>1.2</wls:specification-version>
<wls:implementation-version>1.2</wls:implementation-version>
<wls:exact-match>false</wls:exact-match>
</wls:library-ref>
But the deployment is failed again with FacesServlet listener issue as the "jsf-impl-1.2_04_P02.jar" jar is already part of (wb-tss-core-sdm-web-war-0.9.1.war) war .
Tried to add the following entries in the weblogic,xml to force the application to use the application specific jars/classes which are part of the application war file.
<wls:prefer-application-packages>
<wls:package-name>javax.faces.*</wls:package-name>
<wls:package-name>com.sun.faces.*</wls:package-name>
<wls:package-name>com.bea.faces.*</wls:package-name>
<wls:package-name>com.sun.facelets.*</wls:package-name>
</wls:prefer-application-packages>
After adding the above entries, the application deployment is completed successfully but have noticed the following errors in the console:
<BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory.
javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory
Due to this above error, some of the Jasper file upload SDM screens are not accessible and it is getting failed with this error:
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.render.RenderKitFactory. Attempting to find backup.
How do we get past this?
We had the same issue during migration of JBoss Seam application from Weblogic 10.3.3 to Weblogic 12.1.1.
It was resolved by switching to Weblogic's default JSF 2.1.14 and updating Seam version to 2.3.
Hope this helps.
Not sure if you saw the longer discussion on this question:
Migrating JSF-Application to Weblogic 12
This helped me when analysing a similar library migration issues (hibernate was on my list).

doesn't Jetty server support version 3.0 of the J2EE Web module specificaton?

I created a version 3.0 of J2ee web module with resin4, now I need to use jetty, so I installed eclipse plugin of jetty 6, but when I new server with it, eclipse point that The server does not support version 3.0 of the J2EE Web module specification, is there any way to fix it?
Jetty 6 is very old and was marked End of Life back in 2010.
Use Jetty 8 or Jetty 9 for Servlet 3.0 support.
http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html

What is the App server for fatwire?

Do fatwire has its own app server?
Or it use any standard app servers like Apache tomcat
(I dont mean jump start kit)
In theory, it can run on any Java EE compliant application server, but I always found it easiest to run on Tomcat since it's easier to setup and administer; and it's FoC.
From memory, the JSK used to use JBoss but was switched to use Tomcat in a later incarnation
WebLogic, WebSphere, Tomcat, JBoss are all supported.
For a list of officially supported software for Oracle Web Center Sites(formerly FatWire Content Server), refer to this certification matrix : http://www.oracle.com/technetwork/middleware/webcenter/sites/owcs-11gr1certmatrix-1609746.xls
Prior to acquisition by Oracle, the JSK was bundled with JBoss and Tomcat server instances and it was possible to select one or the other as the deployment platform.
Now it only ships with Tomcat 6.
Fatwire hasn't its own app server but it can be deployed on Apache Tomcat, JBoss, IBM WAS, WebLogic, Sun Java Enterprise System or Oracle Application Server.

What is the minimally required server to deploy JSF 2.0 project?

I can either install Tomcat or glassfish server in the production server inorder to deploy my JSF 2.0 project. Which from which versions of these servers are compatible with JSF 2.0? Please give suggestion.
I have developed with Mojarra 2.0.2, Facelets and PrimeFaces, Netbeans 6.8
In general you need at least a server that supports Servlet 2.5 or later for JSF 2.0 (found at coreservlets.com JSF 2.0 tutorial), e.g.:
Tomcat 6+
Glassfish 2.1+
Jetty 6+
Google App Engine
JBoss 5+
WebSphere 6+
WebLogic 9+
If not integrated, you then need jsf-api.jar and jsf-impl.jar for JSF 2.0
If you have a server that supports Java EE 6 (Glassfish 3, JBoss 6, WebLogic 11g) these jar's are already included.
JSF 2.0 uses version 2.5 of the servlet-api, which means it should be compatible with Tomcat version 6.0.x.
Sources:
http://javaserverfaces.java.net/nonav/rlnotes/2.0.0/releasenotes.html
http://tomcat.apache.org/whichversion.html