who to create multiple instance of JBOSS Fuse 6.1 - jboss

i want to install multiple instance of jboss fuse and then integrate each jboss instance with different environment .
eg suppose we have 6 SIT env then we need 6 different jboss fuse to be connected.
and suppose we have 10 different unix user on one server and jboss fuse is install on this server now how we can install fuse on each unix user.
can we create jboss domain same as web-logic domain?
Currently we have downloaded zip file of jboss fuse from red-hat site and unzip this file and do configuration changes per environment that is we unzip file in 6 different users and integrated to SIT env.
what is standard way of doing this?

The solution for this is
Fabric
with the help Fabric we can support multiple environment without any issue.
.

You can run multiple instances
for that you would require to change in etc\system.properties
Change port for below attribute
org.osgi.service.http.port=<Port> #Every Instance should have different port
If you accessing it via putty. It is better to change sshPort as well to prevent the conflict. in etc\org.apache.karaf.shell.cfg
sshPort=8107
Last thing you would require to change is RMI Server Port in etc\org.apache.karaf.management.cfg for each instance.
rmiServerPort = 44444

Related

How to create separate log file for each server instance running in the jboss domain mode

I'm using jboss 7.2,and I created a log4j2.xml and placed in the server, application running in the domain mode there are two server instance in each ip, application logs are printing only for one server instance and another server instance logs are not printing,how to print the both server instance logs are in separate files.
Is anyone having idea pls help on this.
Sorry....you cannot use log4j2 in JBoss7.2.
Only WildFly 22 supports Log4j2 out of the box.
However, you may implement Log4j2 to other versions of WildFly, according to this tutorial. However I did not try myself.

How can I create a Managed Server on a different machine?

I am trying to create a second managed server on mine OSB domain, but due to the specification that you can see below I am not being able to do it.
I have installed on Machine 2 the following package:
fmw_12.2.1.4.0_infrastructure.jar
fmw_12.2.1.4.0_osb.jar
On the domain creation I selected the nodemanager per domain.
Since my Domain is installed on a shared FS, which steps I should follow in order to create a Managed Server on Machine 1 for my OSB domain?
Best Regards.

How to define standard port numbers for different apps

We have several enterprise application to deploy on Weblogic server. As you know for each domain we could define specific port, deploy an application on that and clients could access to server application by that port. My question is about the port number standard.
Is there any standard to assign server ports number to different application, if No what is your suggestion ? Is counting method (for example) god ?!! or ...
Thanks for your replies
You can deploy your applications in different managed servers. What you have to do is create a managed server per application under your weblogic domain. During the configuration of the managed server you will be asked to give a port number. After setting the managed server your applications can be deployed on them, using the ports you have specified earlier. More information about the weblogic managed servers can be found in weblogic administration guide.

JBoss Servername

Where do you change the hostname(servername) for your application server. For example, if there is an application server JBoss which is running on local machine, port 8080 and is accessed using "http://localhost:8080/index.jsp, and if I want to change lets say to "http://www.myserver.com/index.jsp, how do i do this?
This is called "virtual hosting". You can find the instructions for doing this with JBoss 5.1 here.

How do you run multiple instances of JBoss 4.0 (running under Eclipse) on the same machine?

At my office we run JBoss 4.0 and use Eclipse to debug and run the JBoss server. We're deploying simple wars, nothing terribly complex. However, I haven't yet figured out how to get this version of JBoss to either allow me to run separate instances of the war (HEAD and the Branch, for example) or to run separate servers controlled by two different projects in Eclipse. Anyone know how to do this? I've searched and found nothing that addresses this specifically.
The three things you have to think about are:
Making sure that instances do not overwrite each other’s files
Making sure that the instances don’t open the same TCP ports
Determining how to shut down each instance
Create a copy of your configuration so you don't have file collisions (like when temp files are created). Then, I would recommend just binding the two configurations to different IPs on the same machine, which will avoid port conflicts. You can do something like this:
run –b 192.168.0.100 –c myconfig
run –b 192.168.0.101 –c myconfig2
If you have two network cards, this is easy. If you don't, you can setup virtual IP addresses with a loopback adapter on Windows. On Linux, you can use ifconfig.
To shut down, just make sure you specify the IP/port to shut down, like this:
shutdown –s 192.168.0.100:1099 -S
shutdown –s 192.168.0.101:1099 -S
I'm not sure how to get you going on Eclipse, but you should be able to specify those flags to the run and shutdown scripts through the configuration somehow.
We cover this topic in depth in JBoss in Action in section 15.2 - Collocating multiple application server instances.
I think you can subscribe various instances of JBoss to your eclipse installation. normal installation example
Hope it helps you