Migration from JBOSS-3.3.2 to JBOSS EAP 7.1 - jboss

I am in process of migrating one of our web application from JBOSS-3.3.2 to JBOSS EAP 7.1. As Jboss 3 will not support JDK1.8*. I was instructed to migrate the jboss to latest jboss version available in our repository.
I referred the following link but it confuses me as both the versions folder structures are different.
https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html-single/installation_guide
One thing I understood is I have to use standalone/deployments folder for my application(war) to be deployed.
In 3.x we have run.jar, run.sh, run.conf. But in newer versions these are not available instead we have jboss-eap.conf, jboss-eap-rhel.sh but no run.jar any where.
Is there any guide or steps available to be followed for migration.
I was not able to find in google.

In the latest JBoss EAP, you have to start the JBoss EAP server using standalone.sh (for standalone mode) or domain.sh(for domain mode) file.
The .sh file is located under $JBOSS_HOME/bin directory.
For configuration, you can configure using standalone.conf or standalone.xml file in standalone mode and for domain mode, you have to add configuration inside domain.xml file.
For migration please refer to the official document.

Related

picketlink.xml & jboss-web.xml is missing on JBOSS EAP 7.4

I recently downloaded VM and Installed RHEL 8.6 and installed JBOSS EAP 7.4.
I am trying to create a SSO POC and need to do some changed in picketlink.xml and jboss-web.xml.
I checked in all the folders of jboss eap 7.4 but couldnt find.
Do I install separately or how do I fix this.
I am able to start the server and deploy a sample war file too.

JBOSS EAP Folder Structure - confused between EAP 7.3 and JBoss-AS

I am new to J2EE development. I installed EAP 7.3 from internet (version.txt file has the information "Red Hat JBoss Enterprise Application Platform - Version 7.3.0.GA"). I see a different directory structure than what is mentioned at https://access.redhat.com/documentation/en-us/jboss_enterprise_application_platform/5/html/administration_and_configuration_guide/server_directory_structure
Was the above link for version 5 and JBoss has completely changed its folder structure in 7.x? I see the followings folders under my top-level folder - .installation, .well-known, appclient, bin, docs, domain, icons, installation, migration, modules, standalone, uninstaller, welcome-content etc.
Is CLI/ Management console the only option to define DataSource etc. OR have I installed something wrong?

Jboss 6 in Eclipse runtime installation configuration directory

I have an existing JBoss project on which I am working on.
Currently every time I make a change, even to a JSP file, I have to run an ANT build to make a EAR file and then import the file in JBoss localhost that I started from the command line.
I would like to run JBoss in Eclipse to make development easier.
I have installed JBoss Tools from Eclipse's Marketplace. However, when I try to install a runtime environment, I cannot get past the configuration screen. Even when I point the configuration directory to the directory with my standalone.xml.
This is the picture of screen I cannot pass
Any ideas?
On your New Server Runtime Environment window, instead of selecting JBoss 6.x Runtime from the JBoss Community folder option, you should instead select the folder Red Hat JBoss Middleware and choose the JBoss Enterprise Application Platform 6.1+ Runtime:
That's the runtime suited for JBoss EAP 6.4.0.
Afterwards you just need to set your Home Directory path.

ModeShape 3.0 on JBoss Application Server 7.1

I am trying to setup ModeShape AS7 Kit on JBoss Application Server 7.1.1. The ModeShape has the following structure.
/docs
/schema
modeshape_1_0.xsd
/modules
/javax/jcr/*
/org/modeshape/*
/org/hibernate/search-engine/4.1/*
/org/apache/lucene/3.5/*
/standalone
/configuration/
standalone-modeshape.xml
/deployments
/modeshape-rest.war/
.dodeploy
/META-INF/*
/WEB-INF/*
Could somebody help on where these files to be copied to JBoss AS7 installation directories in order for ModeShape to be up and running?
Thanks in advance.
Check out the documentation, which includes instructions for installing the ModeShape kit for AS7. It actually is as simple as unzipping the kit over the top of an existing AS7 installation.
The kit includes a sample configuration, but it's better if you create a configuration that suits your own needs. The best way to do that is using AS7's command line interface to set up the Infinispan caches, security, and repositories.
Worked:
Copy and paste all the contents from ModeShape AS Kit into JBoss's Application Server's directories(if they exist or they will be copied from ModeShape source) and run the JBoss's
./standalone.sh -c="standalone-modeshape.xml".
Enjoy :)

HSQL DB Conflicts with JBoss

I would like to use a custom version of the HSQL DB in an application that I am deploying in JBoss. However, JBoss already contains an HSQLDB.jar. The JBoss jar is being resolved by my application instead of the custom jar in my ear.
How can I use a different version of HSQL in my web application from the one that JBoss uses internally?
Can I remove the HSQLDB.jar included with JBoss without negatively impacting the Application Server?
The custom version it's just a newer version? If it's that the case than you can simply replace the jar in the Jboss lib folder. Jboss uses HSQLDB as far as I know for queue persistence.