We have setup JBoss EAP 7 in domain mode with one server group and 2 JVM's.
Server Group A --> Server1 & Server 2.
Is there any way we can deploy a war file to just one Server? (Not to the cluster)
Test1.war --> Server1
Test2.war --> Server2
I don't believe that is possible.
All servers in a server group are supposed to have identical configurations, so having a deployment not applied to all servers in a group would break that.
Of course, you could create another server group (even if it only contains one server) if you wanted a different configuration for a particular server.
Related
How to configure multiple tomcats running on same machine to Apm server ? With single tomcat I m able to start APMUI.
Just to be sure we are on the same page here:
You have multiple instances of Tomcat running on the same machine.
You have configured APM through CATALINA_OPTS as defined in the Elastic APM docs.
I guess the simplest setup would be to have a wrapper script to start each Tomcat instance that exports the right CATALINA_OPTS. You could share global settings like the APM server address, but could customize the app name, namespaces,...
We have environment with two Apache Web Server and Two Tomcat via Mod_jk. We have configured Both to Apache for Loadbalancer as well as failover.
We have a LB on top of both the Apache web Server configured in Round Robin Algorithm
Problem is randomly session gets invalidated when both the apache are running .
If One of the Apache is running loadbalancing and failover works perfectly fine.
Do i need to configure a two apache web server ?
Do i need to change some configuration for two apache for sticky session ?
I have got WebSphere Application Server base version and I need to deploy application in horizontal cluster. Can that be achieved without Network Deployment version?
You cannot create and manage cluster on base version.
What you can do, is so called Simple load balancing. So you have 2 separate servers, where you have to manually, separately deploy same application and configure IBM Http sever to do the load balancing among these 2 servers.
So you have a failover and load balancing, but without centralized management.
If I deploy an EAR on WAS 6.1 and I want to use a remote ejb client, i need to know the url.
Now I know the host name where the EAR is deployed but i need the port number also. On WAS console when i go to Ports, I see many ports running different services. Which one is the one on which the EAR is listening?
Is it the one marked BOOTSTRAP_ADDRESS?
I have 2 standalone IBM WebSphere server running on same host. Both the servers have same EJB deployed but our code is distributed among 2 EAR's as ClientAgent and services respectively. When calling any service method from clientAgent i.e an EJB call from serverA to serverB it fails with classnotfound error. I opened the NamingService trace to diagnose the problem and found that ServerB is using same JNDI namespace as ServerA.
How can I make ServerB to use its own JNDI name space ?
Note :- With ServerA and ServerB on different hosts, everything works fine.
Thanks
Shivam
Your question does not seem to be clear. You have stated "The Server B is using the same JNDI namespace as server A"
What do you mean by that?
Each server has its own JNDI space where the EJBs and other resources or registered.
Notice that you typically connect to the bootstrap port of a server to connect to the JNDI namespace. The default is 2809, chances are Server A's bootstrap port is 2809.
Server B would have a different one say 2810 and your client code should be connected to this port.
I am guessing that your code does a localhost:2809 which connects it to the Server A.
If you elaborate your problem clearly people can possibly help you out.
HTH
Manglu