How can I access Glassfish v2 Admin Console from Apache httpd? - glassfish

We have a Glassfish running behind an Apache Webserver. Direct requests to the application server are blocked by the firewall. So we have the webserver forwarding requests to the app server via mod_jk. This all works fine for the web apps deployed on x80 ports of Glassfish. But am now left wondering, how do I access the Admin Console GUI? I can do most of the Admin Console things using asadmin, but it'd be good to have the GUI as well.
Thanks!
Nirav

Why not create a new VirtualHost or an Alias which will map to the Glassfish admin console?

Related

How to do a reverse proxy for application behind port and directory?

Hi i've an application of that i hosted in docker, that is an openfire (xmpp) server , the openfire has several feature like web client and located in port localhost:7443/inverse for example
in my server that contain docker I've managed several application to use reverse proxy and working fine, but I cannot do on localhost:7443/inverse to https://webapp.localhost
Please give me some advice how to do it on apache2 webserver

Apache webgate integration with docker application

My application is working in a docker container in port 80. I'm planning to integrate SSO with this application, we are using OAM apache webgate to integrate SSO. I need help in structuring this integration.
I previously integrated apache webgate with my docker container directly and got into a state like, i cannot rebuild my image anymore.
Can i integrate apache webgate on my host and still integrate SSO with application inside docker?
Yes you can. OAM WebGate is just like any other apache plugin/module and can work inside the docker container.

Cannot connect to meteor server running on virtualbox when using force-ssl

I have a windows 8.1 machine running ubuntu 14.x on a virtualbox. I'm running meteor inside that virtualbox. I've bridged the connection and turned off the firewall on both machines. I'm able to connect to the internet from the virtual box, and I can telnet from the windows host into the ubuntu machine.
I can also connect to meteor apps that are not using the force-ssl package; however, I CANNOT connect to meteor apps that are using force-ssl!
If I run "meteor remove force-ssl" I can connect to the app. Any thoughts? Thanks.
EDIT - by connect to the app, I mean "http://[ip_address_of_guest]:3000/" in a browser on the host machine. I've tried both http and https.
I'm new to Meteor but, from this documentation, it looks to me like you are seeing the intended behaviour ...
"This package, part of Webapp, causes Meteor to redirect insecure
connections (HTTP) to a secure URL (HTTPS). Use this package to ensure
that communication to the server is always encrypted to protect users
from active spoofing attacks.
To simplify development, unencrypted connections from localhost are
always accepted over HTTP.
Application bundles (meteor bundle) do not include an HTTPS server or
certificate. A proxy server that terminates SSL in front of a Meteor
bundle must set the standard x-forwarded-proto header for the
force-ssl package to work.
Applications deployed to meteor.com subdomains with meteor deploy are
automatically served via HTTPS using Meteor's certificate."
This answer clarifies.
I am about to try the Digital Ocean guide, "How To Deploy a Meteor.js Application on Ubuntu 14.04 with Nginx", myself to see if it correctly documents the required set up steps. I'll update with my results.

Setting up tomcat6 using mod_jk for Apache, page not found using https

I have been trying to setup an Apache web server along with a Tomcat6 web server, using SSL/HTTPS. On my Apache web server the SSL is working correctly, and I can access the web pages it serves up using SSL/HTTPS, but I am having a problem accessing the web apps on the Tomcat server using SSL/HTTPS. The new setup is on a Centos 6 machine, and I have a similar setup on a Fedora 13 machine.
I have compared all the files that I can think of between the two machines, but can not get to the web apps using HTTPS. When I try I get a "Not Found" error. I can access the web apps if I use just HTTP.
Can anyone point me to where my problem might be?
Thank you

Synchronize - Apache web server session with Tomcat session

I need to sync Apache web server session with Tomcat server session, to share authentication mechanism between 2 applications run on those two servers.
What is the way to do this? php code?
(I just need to authenticate the user who is going to use application runs on Apache through browser where who already logged in to the application which is running on Tomcat)
logging on to tomcat application cause
automatically logged in to apache application
log out from tomcat application cause
automatically log out from apache application