Below is guidance that may help you to understand common issues and how to workaround them.
If you developed an extension (service, web page, etc.), deployed your plug-in and the functionality doesn't seem to show up in MDWorkbench Server, it might be your plug-in fails to get loaded by the OSGI platform.
Open the following web page: /mdworkbench/web/config/bundles.html
.
This page lists all plug-ins that were discovered by the OSGI platform.
Each plug-in has an associated state.
The plug-in is not even found by the OSGI platform.
Here are some potential causes:
/webapps/mdworkbench/WEB-INF/plugins
/META-INF/MANIFEST.MF
file.The OSGI platform discovered your plug-in but could not load it. A typical reason is your plug-in depends on other plug-ins that are not available in the deployed platform.
You can restart the web container with debug traces to discover why your plug-in is not loaded:
<Tomcat>/work/Catalina/localhost/mdworkbench
\webapps\mdworkbench\WEB-INF\web.xml
located in your web container.-consoleLog -debug
command line arguments and save the changes.This will make Eclipse to log all plug-ins that cannot get loaded correctly and explain the missing dependencies.
You might add other Eclipse command line arguments there, e.g. the ones listed in here:
http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html?cp=2_1_3_0
The plug-in has been successfully loaded by the OSGI platform. If its functionality is not available, it may miss some files that are needed for your extension to activate.
Open the corresponding JAR file in a ZIP viewer and manually verify the files you have in your development environment
were correctly deployed into the JAR.
If files are missing (e.g. plugin.xml
or your HTML and CSS files), review the content of the build.properties
file
of the plug-in in your development environment. This is the file that controls what is deployed and how.