Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why are manifest class path entries not found on WebSphere Liberty Profile startup?

When starting my application with WebSphere Liberty Profile (release 2013.11.0.0 - 8.5.5.Next Alpha with extended content) there are a lot of warnings showing up:

W SRVE9967W: The manifest class path dhbcore.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path jms.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path com.ibm.mq.jmqi.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path dhbcore.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path rmm.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path jndi.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path ldap.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path fscontext.jar can not be found in jar wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path providerutil.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path jta.jar can not be found in jar file wsjar:file:[blablabla] or its parent.
W SRVE9967W: The manifest class path com.ibm.mq.ese.jar can not be found in jar wsjar:file:[blablabla] or its parent.

I tried to fix that with server start --clean as stated in this forum thread but it did not help. There's a similar question here on Stackoverflow but before opening a PMR at IBM as suggested maybe someone has experienced this issue as well and solved it already.

like image 410
mwalter Avatar asked Jan 03 '14 15:01

mwalter


People also ask

How manifest MF file is created?

Manifest. MF contains information about the files contained in the JAR file. These are entries as “header:value” pairs. The first one specifies the manifest version and second one specifies the JDK version with which the JAR file is created.

What is WebSphere Liberty profile?

Liberty Profile is a flexible server profile of IBM's WebSphere Application Server (WAS) which enables the server to deploy only required custom features rather than deploying all available components.

What is WebSphere Liberty Application Server?

Liberty is a highly composable and dynamic runtime environment. OSGi services are used to manage component lifecycles, and the injection of dependencies and configuration. The server process comprises a single JVM, the Liberty kernel, and any number of optional features.


1 Answers

These warnings are saying that the JAR on the right (the one in wsjar:file:...) has a META-INF/MANIFEST.MF file with a Class-Path attribute that refers to the JARs on the left (e.g., dhbcore.jar), but those JARs don't actually exist.

This warning is indicative an application packaging issue, not something that can be resolved by changing configuration, restarting the server, etc. It is trying to help you avoid common causes of class loading problems: incorrectly formatting Class-Path attribute and misspelled JAR names.

Edit: As of 8.5.5.4, the <logging hideMessage="SRVE9967W"> configuration can be used to remove these messages after they have been reviewed. Be sure to temporarily remove the hiding when adding new applications (or debugging application classpath problems). See the Logging and Trace topic in the Knowledge Center.

like image 168
Brett Kail Avatar answered Oct 22 '22 17:10

Brett Kail