OpenShift and Restheart - openshift

I have to use Restheart APIs in an OpenShift application.
I tried to execute restheart.jar as suggested in the installation and use guide, but it produced an error, due to the difference between the installed java version (openjdk 7) and the required one (oracle java 8).
Is there any trick to get Restheart APIs working in an OpenShift app?

OpenShift does not support JDK 8 but that doesn’t mean you can’t run Java 8 applications.
You can use a DIY cartridge and install your own JDK version. 

Related

Is Windows Filtering Platform (WFP) Supported on Windows IoT Core

I have not been able to locate documentation indicating whether Windows 10 IoT Core supports WFP in any capacity. I am particularly interested in whether IoT Core supports WFP callout drivers.
Background on WFP
You may try to run the WFP sample on Windows IoT Core. It includes a driver project named WFPSamplerCalloutDriver. Since the the target of projectis for Windows Desktop, it may show error when compiling for Windows IoT Core. You need to change the DriverTargetPlatform to Universal which supports Windows IoT Core.
Windows Filtering Platform Sample
Update:
I have compiled the WFPSamplerCalloutDriver sample for Windows IoT Core successfully, and built/installed the driver package on my device(Raspberry PI) with no errors. But I can not find the installed drivers via command devcon driverfiles * after booting the device.

Can AWS X-ray configured with jdk7?

I am exploring the AWS X-ray for monitoring my application with java 7.But in documentation, I found that, It requires java 8 or later(https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java.html).
Java 8 is required to up the xray or applicaton is needed to build in java 8?
If there is some process by which xray can be used with java 7?
There is no easy way to support Java 7. The SDK is developed on Java 8 which uses some features not available on older versions. You can download source from https://github.com/aws/aws-xray-sdk-java, modify it so it builds on Java 7 and use the built artifacts as needed.

JDK 8 support for Wildfly 8.1 OpenShift cartridge

Still no Java 8 (JDK) support for the OpenShift Wildfly 8.1 cartridge? Is this a limitation of the SELinux gear? Or can I just create a Java 8 JDK cartridge and a modified Wildfly 8 cartridge and combine them in the same gear?
As of june 3rd, there is JDK 8 support for wildfly.
See https://www.openshift.com/content/support-for-jdk-8#comment-39656
As can be read here: https://community.jboss.org/people/fjuma/blog/2014/06/03/wildfly-810final-on-openshift--with-jdk-8-support new wildfly instances from scratch will default to JDK 8.
OpenShift currently does not support JDK8 yet.
Once it will be added WildFly cartridge will be updated to add support for it.
There is also running discussion about this on wildfly-dev mailing list.
for more see http://wildfly-development.1055759.n5.nabble.com/WildFly-8-1-0-CR1-on-OpenShift-tt5713989.html#none

cas jasig using oracle data source on windows

is there any way that can help cas settings to use the data source oracle on windows
in my company will apply singgle singgle sign on and logout, I've been trying for 5 days, and until now have not been successful.
I've tried several ways
I use
Tomcat 7.0
Java 1.7
cas server 3.5.2
Tomcat 7.0
Java 1.7
cas server 3.5.2
I downloaded cas server 3.5.2
extract cas-server-3.5.2
copy cas-server-webapp-3.5.2.war into tomcat webapps
cas has been successfully deployed, and can be accessed
and then I do not understand anymore, how do I get the authentication process can use oracle database
sorry my english is not good
thank you
There's a few things you need to do:
First of all, if you haven't downloaded and included the Oracle JDBC Driver library (http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html) then you have to do that.
Secondly, you need to configure the JDBC plugin: https://wiki.jasig.org/display/CASUM/JDBC
These instructions (and the preferred method of customizing & building CAS) uses the Maven Web Overlay method. This has the advantage that you deploy lots of un-necessary libraries that you aren't using.

Which version of WebSphere is best for JSF2.0 web dev with PrimeFaces3.1

I am newbie with WebSphere. Recently I downloaded WebSphere Community Edition version 3 (WASCE v3) but there is no description about using WASCE v3 with JSF2.0 in the guide "Getting started with WASCE". I already build my web in Apache Tomcat 7.0.11 with JSF2.0 and PrimeFaces 3.1. I am using eclipse INDIGO. Now i have to shift my server to WebSphere. Please suggest me the best version of WebSphere, which is suitable for JSF2.0 with PrimeFaces3.1?
Thank you.
WASCE 3 is a Java EE 6 container, so it has support for JSF 2.0 (if it wouldn't have this, it couldn't be called Java EE 6).
Do note that people typically don't mean WASCE when they refer to WebSphere. WASCE is another name for the server otherwise known as Apache Geronimo. The difference is that it's specifically supported by IBM.
What people do mean with WebSphere is the one you can find here: ibm.com/software/webservers/appserv/was
For JSF 2.0 you would need the latest version, which is version 8.