What is Jboss Fuse or Red Hat Fuse ?
Jboss fuse a,k.a Red Hat Fuse is an enterprise ESB (enterpise service bus) which uses Apache karaf as container. For more information please go through the below link. https://developers.redhat.com/products/fuse/
Now, lets see how to install fuse in windows operating system.
Where to find Fuse ?
Please go through the URL https://developers.redhat.com/products/fuse/download/
and click on the Download button.
This will download a Zip file which looks like below
Starting Fuse ESB
After downloading of the Zip file, extract the zip file. and below are folders and files we see after successful extraction of the .zip file.
Go inside the bin directory
Copy the location of the folder, Open command prompt, go the location of the bin directory of fuse
execute fuse.bat batch file
If you get the following error after executing the fuse.bat batch file, then the java version used in the system is older than Java 8. Red Hat fuse 7.1.0 requires java version greater than or equals 8.
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/karaf/main/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
If there is no error then we will see the following in the command prompt console. then red hat fuse successfully started.
Note: fuse.bat will start the fuse esb as foreground process which is a temporary process. if we close the command prompt fuse esb will terminate as well.
EmoticonEmoticon