On my server UBUNTU SERVER 12.04 LTS, I installed JBoss EAP 5.1, and everything is working perfectly. Now I need to install JBOSS ESB, JBPM and JBoss Web Services. These 3 packages (except perhaps JBoss Web Services) are contained in JBoss SOA-P 5.2.
Given that JBoss SOA-P also contains JBoss EAP, how do I proceed? Is there a way to install individual packages missing, or can I install SOA-P on EAP? How?
If you have SOA-P 5.2 then I would just install and use that. EAP is included in the SOA-P and everything else you need, i.e. web services etc. should be in the jboss tools (I get them from the nightlies update site aka jboss soa tools). What is your end goal? Do you have a specific project or set of projects that are EAP specific?
also see this: JBoss Enterprise Application Platform vs JBoss Enterprise SOA Platform
Related
As the title described, in Ubuntu 20.04 how to set Tomcat 9 to use Java 17 ?
Recently I repacked the war file of my web project with Spring Boot 3.0.1 which requires Java 17 to run, trying to deploy it to Tomcat 9 container at an Ubuntu 20.04 server.
It seems that the best way is to utilize the setenv.sh.
I've followed some documents,
created a folder bin in /usr/share/tomcat9, touched file of setenv.sh,
edited its content with JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64.
Then run sudo systemctl start tomcat9, but failed.
sudo systemctl status tomcat9 said "No JDK or JRE found - Please set the JAVA_HOME variable or install the default-jdk package",
Installed openjdk-17-jre-headless, and removed openjdk-11-jre-headless at first. Both Tomcat9 and JRE 17 is installed by apt package manager.
Even if you managed to run tomcat 9 with java 17, a web app using spring boot 3.x or spring framework 6.x would still not be able to run there.
Reason is that starting with spring boot 3.0 or spring framework 6.0 the web application needs to conform to jakarta servlet api. According to doc for tomcat the jakarta servlet api (servlet v5.0) is supported from tomcat 10 and later.
As described in doc
Apache Tomcat 10.0.x
Apache Tomcat 10.0.x builds on Tomcat 9.0.x and
implements the Servlet 5.0, JSP 3.0, EL 4.0, WebSocket 2.0 and
Authentication 2.0 specifications (the versions required by Jakarta EE
9 platform).
So you have to use tomcat 10 instead of tomcat 9.
Hi we have to use JBoss 6.4, But when I try to execute my code it fails due to missing method and works fine with JBoss 6.3 and JBoss 7
the setSSLContext method became available in v4.5 of HttpClientBuiler.
JBOSS 6.4 comes bundled with v4.3.6JBOSS 6.4 comes bundled with v4.3.6
So if I use version 4.5.2 via maven, does it override all the JBoss methods. If not what is the solution?
I want to use JBoss 6.4 only.
If you want to want to use any other version of components which is not bundled with specific Jboss release, then you can create it as module dependencies and use it. Make sure that you should exclude the particular version of components which bundle with JBoss inside jboss-deployment-structure.xml file
see the link: https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7
I have develop JSP-Servlert application (i.e. WAR file) which running perfectly on tomcat server. Now I want to run same web application on IIS without tomcat.
Currently I am following this url: http://www.helicontech.com/articles/deploying-java-servlet-applications-on-windows-with-iis/
But while configuring Java hosting package as per mentioned in the above article, it is giving error to download jetty 8. Other softwares from the same package is getting download and install successfully.
When I checked the logs, I found that it is downloading the jetty from the URL: "http://dist.codehaus.org/jetty/jetty-hightide-8.1.7/jetty-hightide-8.1.7.v20120910.zip" and all the codehaus services has shutdown.
Can anyone help me to install the jetty into IIS or any other option to deploy the WAR into IIS?
Thanks,
SameerK
Definately the easiest option, at the time of writing, is to use Microsoft's HttpPlatformHandler that you can install on IIS 8+ (Windows 8 or Windows Server 2012 at least).
You basically need to:
Install IIS on your machine
Install JDK
Install Jetty on Windows (just download zip and unpack it)
Create WAR file
Copy WAR file to your Jetty's installation folder under webapps directory.
Set up IIS web site with web.config as described here.
That's it. You can view your site using http://localhost:your_iis_defined_port/your_war_name. If you rename your WAR to root.war then 'your_war_name' will not be necessary.
I have prepared a step by step guide on how to do that with more explanation.
After hours of trying i managed it by adding a ReverseProxy Rule, this is fairly easy and done super fast.
I had these dependencies installed already: AAR and HttpProxyHandler
I'm trying to enalbe AIO on ERHL (6) running Jboss EAP 6.1 with messaging enabled (HornetQ). I enabled ASYNCIO in the journal-type, but when I start the server I get:
13:00:00,307 WARN [org.jboss.as.messaging] (MSC service thread 1-3) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
I know, 'libaio' is already installed:
Package libaio-0.3.107-10.el6.x86_64 already installed and latest version
What do I need to do to get it working?
Thanks.
By default JBoss EAP 6 don't include jbossas-hornetq-native package. Take a look in the following links:
Installing Native Components and Utilities
Install Native Components and Native Utilities (RPM
Installation)
$ yum groupinfo jboss-eap6
Group: JBoss EAP 6
Mandatory Packages:
jbossas-appclient
jbossas-bundles
jbossas-core
jbossas-domain
jbossas-hornetq-native
jbossas-jbossweb-native
jbossas-modules-eap
jbossas-product-eap
jbossas-standalone
jbossas-welcome-content-eap
jbossas-hornetq-native package
$ rpm -ql jbossas-hornetq-native
/usr/share/jbossas/modules/org/hornetq/main/lib
/usr/share/jbossas/modules/org/hornetq/main/lib/linux-x86_64
/usr/share/jbossas/modules/org/hornetq/main/lib/linux-x86_64/libHornetQAIO.so
Note the jbossas-hornetq-native package is included for high availability in JBoss EAP 6 but it is not activated by default.
I have been using the following to set up a jBPM/JBoss server on a remote machine (linux)
http://docs.jboss.org/jbpm/v5.1/userguide/ch03.html
The above linked worked fine locally on my windows box, without any hitches. However, I am having numerous errors with starting/shutting-down the server, and having the drools-guvnor page run completely (or any other than the JBoss AS splash page on localhost:8080). Should this be working fine on linux as well, or are there any other references that I can seek? Also, I have no desire to install eclipse, just to get the jBPM designer going.
Or am I better off attempting to load jBPM into a separate JBoss install?
Running Red Hate Enterprise Linux Server release 5.8
Thank you for your time
I was unable to get the jBPM installer demo (packaged with jboss) to work. Instead I did a separate installation of jBPM and JBoss and set the JBoss home in the build.xml file. Then performed the individual installation of guvnor and designer using
ant install.guvnor.into.jboss
ant install.designer.into.jboss
Still having errors, but the designer/guvnor are up and running, now it is a database problem :(