remote+http URL invocation for JBOSS 7.2 via Citrix Netscaler load balancer is NOT working - jboss7.x

We are trying to invoke EJB lookup using Jboss 7.2's remote+http URI invocator, but this protocol is not recognized by NetScaler load-balancer. Any one faced similar issue?

Related

Is fronting Tomcat by Apache http server meaningful when we are using aws application load balancer

I know fronting Tomcat by Apache has some security benefits when we are using aws classic load balancer. However, I was wondering if it is meaningful to front Tomcat by Apache http server, when we are using aws application load balancer? Because an application load balancer operates at Layer 7 of the OSI model, and deals with application-level content.
It depends on your intention. Fronting tomcat is not an issue when you go with AWS and ALBs are good way to handle and route your traffic. Therefore, stick to ALB rather than ELB and maintaining an Apache layer.

can not deploy web service via endpoint.publish() in apache reverse proxy env

we have a weblogic server in the internal network without SSL. To access the application, apache server is installed as a reverse proxy and also have configure SSL. it is ok to deploy web service via endpoint.publish(address) that address is get from httpservletrequest.getRequestURL() if the access url is internal. But failed and throw the below exception if the access url is proxy url. Any idea to publish it via proxy url?
weblogic.wsee.server.ServerURLNotFoundException: Cannot resolve URL for protocol http/https
at weblogic.wsee.server.ServerUtil.getHTTPServerURL(ServerUtil.java:211)
at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:150)
at weblogic.wsee.server.ServerUtil.getServerURL(ServerUtil.java:137)
at weblogic.wsee.jaxws.spi.WLSEndpoint.calculatePublicAddressFromEndpointAddress(WLSEndpoint.java:335)
at weblogic.wsee.jaxws.spi.WLSEndpoint.publish(WLSEndpoint.java:207)
As per Oracle KM: Secure WebService call throwing CANNOT RESOLVE URL FOR PROTOCOL HTTP/HTTPS through web server(APACHE) plug-in. (Doc ID 1598617.1)
This is a Product Bug 8358398. For wls 10.3.0 to 10.3.2 you need to apply patch for this BUG and set -Dweblogic.wsee.useRequestHost=true
Blockquote
in your JAVA_OPTIONS.
For 10.3.3 and above version you need not to apply the patch. You can only set the above flag to true.

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

Activex doesn't work with apache balancer

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

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.