Accessing application on websphere through iPlanet web server - web

I have an application that is running when directed hit using websphere application server(using the default port of the app server). What I want is that the application should be accessed using the iPlanet web server available.
I need to know the changes to be made to config files of the web server or app server concerned. Also do I need to make changes in obj.conf config file of iPlanet Web Server.

If you look at
WAS Software Requirements page
it refers to Sun Java System Web Server and I'm not sure that it match iPlanet product.
If it is supported you could administer it as other web server see: Administering web servers from the administrative console
Otherwise, it could be quite quite difficult to use iPlanet as HTTP Server.
In fact, you can configure iPlanet to behave as a Reverse Proxy to route some HTTP requests (e.g. /yourapp/*) to WAS but you need to add a configuration for each app.
Moreover, if you have a WAS cluster, you will lose session affinity that is a capability of HTTP plugin provided by WAS: Configuring simple load balancing across multiple application server profiles.
I suggest you to use Web Server supported by WAS like IBM HTTP Server (the license is included in WAS)

Related

Deployment of a React (Front-end) and Nodejs (Back-end) application on Windows Server 2019

Questions:
I'm looking for a way to deploy my React and Node application on the internet?
Context:
I have a dedicated server at OVH under Windows Server 2019.
I looked at several tutorials to try to deploy my application with IIS (Microsoft web server) but I read that it was not the best solution to host his website.
Here is the link of the tuto :
https://muffinman.io/blog/react-router-subfolder-on-server/
I have two websites for my company (one on the admin side and one on the client side), so I would like to make both accessible via the internet (make them public), I also have a nodejs server (express and sequelize).
Having knowledge in Network I have already set up the DNS server which will allow me to have the domain name for each site, I have also set up the firewall (open and closed port).
I have heard about nginx under windows but it can only manage one website and is not suitable for my needs.
At the moment I am stuck for a dedicated server, because the fastest solution would have been to take a web hosting under a known platform
Have you ever heard of another solution for a dedicated windows server?
Have you already configured a web server react under IIS?
I'm open to any help that could help me with this task!
Information :
My application is built like this:
architecture
Thanks in advance.

How to find CGI version in IIS

We have got a sonatype security issue with CGI. We need to know the CGI version in IIS or windows server. How can I get it?
CGI stand for Common Gateway Interface. It is used by webserver to pass web user request to application server and process and give back the output.it is a part of http protocol. It has no version; the settings are determined by the version of IIS.
For more information about CGI you can refer to Microsoft Docs

websphere: requested url was not found on this server

I am developing my first web application with EJB, JSF and JPA. I use rational developer for developement and test, and our server is an iSeries with websphere 8. I do not have access to the test and production server, i can only manage the one I locally installed for developement purpose.
So now, my web application is working perfectly on my local installation, but I can't make it work on the production or test server. I produce the EAR with Rational Developer, our sysadmin publishes it on the server, the logs show no error (everything seems fine), but when I then try to reach the application via browser, i get the message
404 not found: requested url was not found on this server
In locale, i have the application installed under
http://localhost:9080/<contextroot>/pages/login.jsf
I tried several different urls but I always get that error message:
http://<production_server_url>/<contextroot>/pages/login.jsf
http://<production_server_url>:80/<contextroot>/pages/login.jsf
http://<production_server_url>:9080/<contextroot>/pages/login.jsf
http://<production_server_url>/<contextroot>/
I asked the sysadmin to send me the screenshots of the steps he goes through when installing the app on the server to see if there was some difference in the configuration, but everything is the same. The contextroot is correct.
We have other web applications that run on the servers, but those are simple .war files, this is the first EAR we try to deploy (i.e. as such, websphere incapuslates war files into ear projects in order to run them)
We have no idea what to do, can anyone help?
What bothers me the most is that the deploy itself goes well, the app is installed and running, I just cannot reach it
Thanks
Solution: The application server was running on a different, non-standard port. As suggested by #Jarid i found the correct port under
<profile_config>/cells/<cellname>/nodes/<nodename>/serverindex.xml
at endpoint WC_defaulthost. I can access the application at
http://<production_server_url>:>WC_defaulthost_port>/<contextroot>/pages/login.jsf

Integrate easyrtc server in tomcat

i have a webapplication which is realized with servlets running on a tomcat server. This web application should also include a realtime videochat, for which i have choosen easyrtc. I have setup the easyrtc server already (via nodejs) and have changed the default port to 9090, to make it different from tomcat. It works just fine when running standalone, but i have problems to integrate it within the tomcat web application (since the easyrtc files are searched under the tomcat's port, which is 8080). I have read the manual but i have not yet found a solution for my requirement. Can someone point me in the right direction, probably providing some best practive? An iframe would be no alternative, since i need to share some javascript variables among the different pages on my web app.
Thanks in advance,
fredddmadison
I have found the solution:
When initializing the easyrtc on the client side, the following call can be used to set the url for webrtc:
easyRTC.setSocketUrl(some_url);
and everything works as expected.

Users in hawt.io in an standalone java app

I would like to know how can I have users for hawt.io when using it in an standalone java app. I believe that you need to define a realm like containers do, but is there any guide or easy way to do this? I just want to protect my hawt.io instance with user and password.
You can use Jetty or Tomcat as the embedded web server to run hawtio standalone. Then you can use their security out of the box. And its just like securing any other WAR web application, eg setup their realm, and setup web.xml stuff.
For example this is done in the Apache ActiveMQ distribution which has an embedded Jetty server for the web consoles and WebSocket support.

Resources