Activex doesn't work with apache balancer - apache

I'm having a problem to run and exe from my browser using ActiveX.
I have Apache balancer and 4 ManagedServer on Weblogic.
The problem is:
Browser---> ServerA IT WORKS open my exe
Browser---> Apache-Balancer---> Server(A,B,C,D) random server DOESN'T WORK my exe doens,t run.
Any help?
Thanks
Carlo

Are you using proxy balancer for load balancing? There might be possibility that session stickiness is not working .Try to configure Apache and weblogic using wls web server proxy plugin for apache which is designed for weblogic load balancing and by default having session stickiness enabled.
Check below link
Http://Middlewaresnippets.blogspot.in/2015/05/working-with-apache-http-server.html

Related

mod_cluster application for load balancing in JBoss cluster

I have to create a system with JBoss in cluster modality with a load balancer using Apache HTTPD with mod_cluster.
I have configured the system correctly, and the load balancer see all nodes of the system. But, I have to create the web application for the load balancer now.
It has to be a servlet or a REST service that has a reference to a remote bean and make a lookup with JNDI? Or is something different?
Can someone provide to me a reference to a documentation/tutorial that explain that?
mod_cluster is a Apache module that does the HTTP(S) load balancing.
Read more here: http://mod-cluster.jboss.org/
The whole application is installed in JBoss mod_cluster just does the load balancing.
mod_cluster is just for load balancing. Just deploy the web app against the server group created. It gets deployed on master and slaves and can access the remote bean as required.
You can dig into our mod_cluster testing servlets on clusterbench/clusterbench or vastly simplified, lobotomized version.
All new documentation effort is accumulated on: http://modcluster.io
TL;DR
create any servlet application
deploy to your workers and it's good to go
if you want web sessions replicated in the cluster, add <distributable/> to your WEB-INF/web.xml

Apache load balancer And JBoss

I am using apache load balancer 2.1 with JBOSS where I have configured 10 jboss nodes to be managed by apache load balancer. Is there any console available in apache load balancer to manage all these nodes and see how many users are handled by each of these nodes when there is some load on the environment?
There is a JKManager console. It is not something mind blowing, but is quite useful.
See:
http://tomcat.apache.org/connectors-doc/generic_howto/loadbalancers.html
http://www.gesea.de/en/techdocs/admin/tomcat/JKManager-Apache-mod_jk-loadbalancer-status-monitor.htm

Do I need to install Tomcat? I have installed JBoss for load balancing with Apache

I'm trying to working on load balancing, so is there a need to install Tomcat as well? Or is JBoss enough with Apache and mod_jk module.
And how can I test load balancing, if it it working or not? Can we have a simple way to test by looking at logs or is there another way?
Tomcat is bundled with JBoss, so there is no need to install it separately. Apache and mod_jk should be enough to load balance JBoss instances.
You can easily confirm that load balancing is working by looking at the JBoss access log files.

Can Struts 2 run on Apache2 server without Tomcat?

Please help! I got very frustrated with this assignment to demonstrate Apache and Java Struts. I cannot make struts apps run in the Apache web directory. They only work under Tomcat.
Can I use Struts only under Apache without Tomcat? ... Thanks very much!
Apache and Tomcat serve different purposes. You cannot use Apache to run Struts because it's just a web server, not a java web container.
What you could do is to setup Apache as a reverse proxy to a tomcat instance, so the "Internet" would talk to your Apache, but still Tomcat would be serving your requests in the end.

Using Jetty to serve a web application

I am using Jetty for the first time to deploy a GWT web app connecting to a Restlet API and I am trying to understand the best way to use it.
I want to make it embeddable so that I can update config during run-time (allowing me to add new domain names etc).
Our web server currently runs Apache to serve a PHP web app and this will be our first time deploying a GWT app and using Jetty.
Is it possible to use Jetty in parallel with Apache (both serving requests on port 80) and since I am embedding it do I use Apache before it reaches Jetty? So Apache receives request and forwards to Jetty?
Both server cannot run on same port. But you can run both on same machine. So use a separate port for jetty.
Jetty receives the request through its own port and doesn't depend on other server.