5
votes

I have installed WebSphere Liberty profile 8.5 . I am able to access WebSphere server with http://localhost:9080

But not sure how do I start Admin Console .

3

3 Answers

6
votes

You dont have 'classical' web administrative console in Liberty yet. For now you can install admin-center feature, that provides some basic functionality.

See also:

3
votes

As said before, only admin center is availables with very few features compared to admin console. Here is solution to deploy admin center on Docker Websphere liberty profile:

Create file 'Dockerfile' with following lines (change path to server.xml if you're not using default server):

FROM websphere-liberty
RUN installUtility install adminCenter-1.0 --acceptLicense
RUN sed -i 's/<\/server>//g' /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '<featureManager><feature>adminCenter-1.0</feature></featureManager>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '<basicRegistry id="basic"><user name="admin" password="adminpwd" /></basicRegistry>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '<administrator-role><user>admin</user></administrator-role>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
RUN echo '</server>' >> /opt/ibm/wlp/usr/servers/defaultServer/server.xml
ENV LICENSE accept
EXPOSE 80 9080 9448 9443 9060

From previous file directory, run following commands:

docker build -t liberty-console .
docker run -p 9443:9443 liberty-console

Access admin-center from url https://localhost:9443/adminCenter

Tested with WebSphere Application Server 19.0.0.2/wlp-1.0.25.

-2
votes

default (the default server) consider mofify setting on liberty source location /usr/servers/defaultServer/server.xml

http://localhost:9080/adminCenter/

https://localhost:9443/adminCenter/