Is it possible to run JSF 2.0 on Bea Weblogic 10.0?
If "no", is there a way for a work around?
JSF 2.0 requires a minimum of Servlet 2.5. WebLogic 10.x implements Servlet 2.5, so it ought to work.
Related
I am having a legacy grails application that uses Grails 2.4.4 & has a runtime of Java7 / Tomcat7. We are planning to take it to Azure app service but azure supports runtime starting from java 8 / tc 8.5.
We are looking to upgrade the application to grails 2.5 as that seems to be supporting jdk8. Are there any pointers on how a 2.4.4 application could be migrated to 2.5 ?
I have done this already. There were some issues i had to solve but the error-logs and stackoverflow were my friends. I cannot provide a howto but if you just try it and send the errors you get i would be pleased to help you.
I was able to successfully get the application with a stack of grails 2.2.4 , java 1.7 , tomcat 7 migrated to grails 2.5.6 , Java 1.8 (compile) , tomcat 9 ( runtime java 11). Some of the hurdles i encountered are:
If your app uses JAXB , make sure that is available in app's runtime. With java 8 runtimes, they were available by default.
mailService Bean creation issues - Ran to issues with instantiating the mailService Bean & was resolved by setting the poolSize to 1 in the configuration.
txManager , sessionFactory instantiating issues - those were are settled by having the runtime jars - JaxB , marshaller etc. Though the stacktrace was misleading.
I'm developing an application in Java using vaadin, JPA, maven and JAX-WS technologies.
When I publish the application in the glassfish server I can see the generated wsdl using this url:
http://localhost:8080/at/PrimaryTransmissionService?wsdl
When I publish the application in the wildfly server I can see the generated wsdl using this url:
http://localhost:8080/at-1.0/PrimaryTransmission?wsdl
When I publish the application in the jetty server I can't find to which endpoint is deployed, but I can use the webapp by using this url:
http://localhost:8080/at
Could you help me?
If you are using JPA and JAX-WS via Java EE API dependencies relying implementation bundled in Glassfish / Wildfly, which are Java EE compliant application containers, that would explain the observation. That is because Jetty is not Java EE container and does not contain implementation e.g. for JAX-WS out of the box.
I want to upgrade JSF version from 2.0.x to 2.1.x only for avoiding a bug that cause #ViewScope bean to destroy when any primefaces ajax request from the browser is made.
I have tested all my project's use cases and no errors are shown. All work like a charm.
So, is it possible to deploy a JSF 2.1.x application on a weblogic 10.3.6 even though it is only a 2.5 Servlet web container when using only JSF 2.0.x features?
Thanks in advance.
Can anyone advise how to run a Grails 3 app with SAML? I have a Grails 2.5 app running SAML using spring-security-saml:2.0.0 but it doesn't support Grails 3.x.
I have recently upgraded the G2 spring-security-saml plugin to be Grails 3 compliant. Working with the original authors and have some additional testing to complete before uploading it to bintray. It is currently working with my 3.0.9 applications. I can send you the plugin project code of what I have completed so far.
Jetty 8 is in stable release and is now using Servlet Version 3 (here). Grails 2.0 indicates it has been updated to support Servlets Version 3 as well, and indicates Jetty 7 works with Grails 2.0, but makes no reference to Jetty 8 as of yet. Note the Jetty version information indicates Jetty 7 is Servlets Version 2.5 (not Version 3).
Have you run Grails 2.0 on Jetty 8? Can you give a recommendation on which Jetty version to use with Grails 2.0?
Thanks
You are correct, Jetty 8 is using Servlet Version 3. To let Grails take advantage of it, you have to set
grails.servlet.version = "3.0"
in your BuildConfig.groovy. Go here.
Please note that your Servlet 3.0 compiled web application won't run in a servlet container not supporting Servlet Version 3.
To answer your question: Running Grails 2 on Jetty 8 is possible in both flavours - Servlet Version 3.0 or below. I recommend to using it.