How to enable components page in Apache Felix Web console - osgi

I would like to deploy Apache Felix Web Console for research purpose.
According to the Apache Felix doc, there are the page to control components(OSGI services).
However, after starting the web console on localhost port 8080, I can not access components page through this URL: localhost:8080/system/console/components
I also install an start DS Plugin for Web Console but It seem not work.

You should use SCR (Declarative Services) (download from this https://felix.apache.org/downloads.cgi) instead of org.osgi.service.components

Related

Deploy SpringBoot Api into IIS Web Server

I created spring boot api with gradle build. everything working fine in my local.
I deployed angular app in Sites/DefaultsTest in IIS web server. it run in https://example.app.com/app
SpringBoot API base path is '/api'
I want to deploy spring boot api in same windows server machine and should able to access through Angular App globally.
please guide me.
IIS WebServer Dashboard
As far as I know, the spring boot API is a java web application, we don't suggest you directly hosted the java web application in the IIS.
I suggest you could try to install a docker or using tomcat to host the application, then you could use IIS reverse proxy to redirect the request to that API to get the result.
More details about how host the spring boot application on the docker, you could refer to below article.
https://blog.codecentric.de/en/2017/04/ansible-docker-windows-containers-spring-boot/
More details about how to use IIS reverse proxy, you could refer to below article.
https://blogs.msdn.microsoft.com/friis/2016/08/25/setup-iis-with-url-rewrite-as-a-reverse-proxy-for-real-world-apps/

Do IBM WebSphere Application Server 7.0 have a web server plugin like in version 8.5?

Do IBM WebSphere Application Server 7.0 have a web server plugin like in version 8.5? or in WAS7 we need IIS as a web server.
To add to what Gas has pointed out, if you intend to use a web server in front of your WebSphere Application Server (WAS) deployment, installing the WAS HTTP Plugin on the web server is a requirement.
All versions of WAS have this requirement and offer a plugin for the following web servers:
IBM HTTP Server (IHS)
Apache HTTP Server
Domino Web server
Internet Information Services (IIS)
Sun Java Web server
The plugin itself is available on the "Supplements" image for which ever WAS bundle you're licensed for. The following document provides the appropriate WAS v7 part numbers for each OS:
Download WebSphere Application Server Version 7.0 for Windows operating systems
The "Supplements" image is Download 3 in the list, and is a two part download.
Also, here is the Plugin install parent doc from the WAS v7 Knowledge Center:
Installing Web server plug-ins
Yes, every WAS version has Plugin for most major web servers (IHS, Apache, IIS). You need to download separate package, known as Supplements. There you will find WebSphere Plugins.

What is the use of Mercury and Tomcat in Xampp control panel?

Recently I installed Xampp server.
I know apache is used to run php server scripts and MySQL is used for database actions and FileZilla for transfering files to web to server.
But I don't understand what the Mercury and Tomcat Modules are for, can some explain?
Mercury :
Its a package to send emails. Its a local mail server.
Tomcat :
The Apache Tomcat software is an open source implementation of the
Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language and Jakarta
WebSocket technologies.
Tomcat official website
Getting Started with Tomcat
XAMPP Control Panel with Modules :

Felix OSGi Web Console and Grizzly HTTP Server (HTTP Port Conflict)

When my Felix (OSGi) starts it launches Felix Web Console bundle. This bundle uses Jetty which uses the felix property org.osgi.service.http.port to determine which HTTP port number to use.
One of my bundles on OSGi, developed by myself requires Grizzly to deal with WebSockets and so forth, therefore, one of the bundles that is also launched by OSGi is Grizzly OSGi HTTP Server bundle. Which attaches a web server to the HTTP port defined in org.osgi.service.http.port.
This causes a collision of HTTP ports. The dilema, I need both Felix Web Console and Grizzly. For what I'm concerned, Grizzly can run on a different por. But it seems to be lacking means to achieve this task.
Has anyone had this problem before? This issue from 2009 reflects this problem and it seems that Grizzly team fixed it, since I'm using the last release version 2.3.18, I can't see why I'm facing this problem.
After investigating on this HTTP port conflict problem. I got intrigued why Felix Web Console requires Jetty in particular. So I decided to remove Felix Web Console bundle from Felix, and I downloaded it from Maven Central along with it's dependencies.
During this process I haven't seen any dependency on Jetty, so my guess is that I was including Jetty to serve Felix Web Console by mistake.
After doing this, Felix Web Console seems to get along really well with Grizzly Http Service!
Just for curiosity, I decided to look into Felix Web Console code and on their code they have a class called OsgiManager. This clever class binds Felix Web Console to the first HTTP Service found.
This is why HTTP services look by default to the OSGi property org.osgi.service.http.port. There is supposed to exist only one HTTP Service at a time within Felix, which makes sense. Therefore, because I removed my Jetty bundles that I though to be related with Felix Web Console, everything started working because now Grizzly HTTP Service become the only HTTP Service available. That why this all worked in the first place!

how to enable https if application running in tomcat and resources are comming from apache?

We have created spring application, this is running in tomcat and resources(css, images and js) are coming from apache. We are trying to enable ssl but we are not able to get resources from apache. In console getting exception like resources could not be loaded. Can any one please help me.
You should probably use Apache as a reverse proxy to tomcat. This way, everything will go through Apache. Resources will be served directly, and requests to the appication will be proxied to your tomcat server:
http://httpd.apache.org/docs/current/mod/mod_proxy.html

Resources