All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dynamicextensionsalfresco.controlpanel.Container.index.get.html.ftl Maven / Gradle / Ivy

Go to download

Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features

There is a newer version: 3.1.0
Show newest version
<#import "templates/html-macros.inc.ftl" as html>
<@html.document title="Configuration - Dynamic Extensions" active="container">

  

System Packages

View all System Packages

System Packages are Java libraries from the Alfresco repository. Classes from these packages are available to OSGi bundles.

Dynamic Extensions scans the System Packages when it starts up for the first time and caches them to speed up subsequent repository startups. Updating the WEB-INF/lib folder will expire the cache.

Services

View all Services

<#-- .span6 -->

Restart OSGi container

Restart the OSGi container to reinitialize Dynamic Extensions:

<#if canRestartFramework>

The Control Panel will be unavailable while the OSGI container is restarting.

Restart OSGi container

If you get a "Not Found" or "Service Unavailable" response afterwards, wait a few seconds, then refresh the page.

<#else>

The OSGi container cannot be restarted.

REST API

<#assign restartApiUrl = "${url.serviceContext}/dynamic-extensions/osgi/restart" />

You can also restart the OSGi container using the REST API:

POST ${restartApiUrl}

This API requires adminstrator-level access.

Example of using the REST API through cURL:

curl -X POST ${restartApiUrl} -u admin

cURL will prompt you for the password.

<#-- .span6 -->
<#-- .row -->

Settings

Change these settings via the osgi-container.properties file.

Key Value Description
osgi.container.restartable <@html.check configuration.frameworkRestartEnabled /> Restart OSGi container @ runtime
osgi.container.hot-deploy <@html.check configuration.hotDeployEnabled /> Installing bundles via control-panel @ runtime
osgi.container.repository-bundles <@html.check configuration.repositoryBundlesEnabled /> Installing/starting bundles in the repository. (instead of classpath)
osgi.container.system-package-cache.mode ${configuration.systemPackageCacheMode} System classpath scanning: cache mode




© 2015 - 2025 Weber Informatics LLC | Privacy Policy