IBM WebSphere Liberty Repository cannot be reached
geofreyflores opened this issue · 2 comments
geofreyflores commented
Using kernel-java8-ibmjava-ubi, Running applications using third-party API seems to be throwing errors due to the fact that some jars are now missing after RUN configure.sh
For example with server.xml:
<server>
<featureManager>
<feature>localConnector-1.0</feature>
<feature>jaxrs-1.1</feature>
<feature>servlet-3.1</feature>
<feature>transportSecurity-1.0</feature>
<feature>appSecurity-2.0</feature>
<feature>ldapRegistry-3.0</feature>
<feature>jsp-2.3</feature>
<feature>distributedMap-1.0</feature>
<feature>javaMail-1.5</feature>
</featureManager>
<enterpriseApplication id="my-EAR" location="my-EAR.ear" name="my-EAR">
<classloader apiTypeVisibility="spec,ibm-api,api,stable,third-party" delegation="parentLast"/>
</enterpriseApplication>
</server>
and Dockerfile:
FROM ibmcom/websphere-liberty:kernel-java8-ibmjava-ubi as JAVA_BUILD
USER root
# configure to get liberty jar libraries
COPY server.xml /config/
RUN configure.sh
jars like ./api/third-party/com.ibm.websphere.appserver.thirdparty.jaxrs_1.0.44.jar
seems to be missing now from directory.
geofreyflores commented
Turning on VERBOSE gave me this:
Checking for missing features required by the server ...
The server requires the following additional features: jsp-2.3 servlet-3.1 transportSecurity-1.0 ldapRegistry-3.0 localConnector-1.0 distributedMap-1.0 appSecurity-2.0 jaxrs-1.1 javaMail-1.5. Installing features from the repository ...
Establishing a connection to the configured repositories ...
This process might take several minutes to complete.
CWWKF1219E: The IBM WebSphere Liberty Repository cannot be reached. Verify that your computer has network access and firewalls are configured correctly, then try the action again. If the connection still fails, the repository server might be temporarily unavailable.
+ '[' 33 -ne 22 ']'
+ exit 0
Not sure what the actual URL is to actually verify
geofreyflores commented
Closing for now as this seems to be network-related.