How to detect Jboss version during installation? - jboss

We are currently migrating from Jboss AS 4.2.3 to Jboss AS 7.1.1. When running the installation process we need to detect if the client already have Jboss installed and which version is it.
From what I can see ,in Jboss 4.2.3 there is a readme.html file, while under Jboss 7 it is called readme.txt, is there a more unified/common way to detect it?

if there is a standalone.xml file it should mean it is jboss as 7

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 AS 7 work with JDK8

I'm trying startup JBoss EAP 7.1.1 Final with JDK 1.8.0_144 in Window 7 enviroment. Each time I run the standalone.bat from command line I got following error. Server halt on starting cannot proceed anymore.
09:20:44,413 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
09:20:45,203 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
09:20:45,265 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
Below is link i download JBoss AS 7.1.1 Final. I also configure my JAVA_HOME and PATH environment variable, I think configuration should not an issue.
http://jbossas.jboss.org/downloads
I found some article mention that Jboss AS 7 unable work with JDK8 but my colleagues is PC is startup with JDK8. I guess should has another way to work up.
AS7.1 does not work on JDK8.
Downgrade to JDK7 or Upgrade AS to WildFly 8.
Update
After trying, I found Jboss EAP 7.0 or Jboss AS 7.0.0 Final is executable with JDK8, I will downgrade to that version that what I need.
The article you read is correct, JBoss AS 7.1.1.Final does not work on jdk 8. Only EAP 6.3.3 (which is way newer than 7.1.1) and above have jdk8 support
https://access.redhat.com/articles/111663
Are you sure your friend is using jdk 8? Even if he is using jdk8, it is not recommended to do so.
Go for Wildfly - v8 server it seemlessly works with jdk8

org.apache.catalina.realm.RealmBase.java file located in Jboss EAP 6.3

I tried to run simple Web APP in JBoss EAP 6.3 and from the log and I saw
DEBUG [org.apache.catalina.realm] (http-/127.0.0.1:8080-1) User data constraint has no restrictions
This logging message is from org.apache.catalina.realm.RealmBase.java
I would like to know, where does this file located in EAP 6.3? Which jar file?
I am running Windows 7 and the Jboss is installed under C:\EAP-6.3.0
Thanks
David
It is located in
C:\EAP-6.3.0\jboss-eap-6.3\modules\system\layers\base\org\jboss\as\web\main\jbossweb-7.4.8.Final-redhat-4.jar
Thanks
David

How to upgrade embedded HornetQ on JBoss 6.1.0.Final

I am running JBoss 6.1.0.Final with embedded HornetQ.
I want to upgrade HornetQ but keep the JBoss.
Is that possible, and how? What would the latest compatible HornetQ version that can still work with JBoss 6.1.0Final?
Looking at this thread: How to upgrade HornetQ version in JBoss 6?
I tried the following:
1- Download HornetQ 2.4.0, but wasn't sure what copy from the pack?
2- Download the latest JBoss AS 6.1.1Final and copies some jars, but not sure what version I deployed.
I need at least version 2.3.0 or HornetQ, and I have no idea which version of HornetQ is deployed with the latest 6.1.1.Final !
With JBoss EAP I would post your question to RedHat support. EAP 6.1 comes with HornetQ 2.3.1.Final, as you can see here. 6.1.1 comes with 3.6.6. And you can see the version simply by looking at the log messages or inside the manifest.

How to find a new JBoss Application Server 7 server in eclipse?

I want to launch my application with JBoss AS7. Normally I'll go to Window->Preferences->Server->RuntimeEnvironments and Add JBoss 7.0 Runtime. But I can't find JBoss AS 7.0 Runtime. I have installed the JBOSS Community with JBoss AS 3.2, ... 6.0 but where is 7? Thanks for your help
You can indeed run JBoss Application Server 7 with Eclipse, but you will find it easiest to do so with JBoss Tools. There's a helpful guide posted to the JBoss community per the following: Starting JBoss AS from Eclipse with JBoss Tools
There's another useful guide on the JBoss Tools site: How to use JBoss AS 7 Beta 2 with JBoss Tools & Developer Studio
I don't think that Eclipse supports JBoss AS 7... You may need to run it manually for now.