Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'build-kernel/config')
-rw-r--r--build-kernel/config/keystorebin0 -> 1206 bytes
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.authentication.config3
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.jmxremote.access.properties1
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.properties12
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.userregion.properties74
-rw-r--r--build-kernel/config/org.eclipse.virgo.kernel.users.properties10
-rw-r--r--build-kernel/config/org.eclipse.virgo.medic.properties6
-rw-r--r--build-kernel/config/org.eclipse.virgo.repository.properties7
-rw-r--r--build-kernel/config/serviceability.xml77
9 files changed, 190 insertions, 0 deletions
diff --git a/build-kernel/config/keystore b/build-kernel/config/keystore
new file mode 100644
index 00000000..9684caa0
--- /dev/null
+++ b/build-kernel/config/keystore
Binary files differ
diff --git a/build-kernel/config/org.eclipse.virgo.kernel.authentication.config b/build-kernel/config/org.eclipse.virgo.kernel.authentication.config
new file mode 100644
index 00000000..5adc6b85
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.kernel.authentication.config
@@ -0,0 +1,3 @@
+virgo-kernel {
+ org.eclipse.virgo.kernel.authentication.KernelLoginModule REQUIRED;
+};
diff --git a/build-kernel/config/org.eclipse.virgo.kernel.jmxremote.access.properties b/build-kernel/config/org.eclipse.virgo.kernel.jmxremote.access.properties
new file mode 100644
index 00000000..ba899791
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.kernel.jmxremote.access.properties
@@ -0,0 +1 @@
+admin=readwrite
diff --git a/build-kernel/config/org.eclipse.virgo.kernel.properties b/build-kernel/config/org.eclipse.virgo.kernel.properties
new file mode 100644
index 00000000..3a7e4fb8
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.kernel.properties
@@ -0,0 +1,12 @@
+########################
+# Deployer Configuration
+########################
+# Note: use 0 to disable deployment timeouts
+deployer.timeout= 300
+deployer.pickupDirectory= pickup
+
+##########################
+# OSGi Shell Configuration
+##########################
+shell.enabled= true
+shell.port= 2401
diff --git a/build-kernel/config/org.eclipse.virgo.kernel.userregion.properties b/build-kernel/config/org.eclipse.virgo.kernel.userregion.properties
new file mode 100644
index 00000000..4247e876
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.kernel.userregion.properties
@@ -0,0 +1,74 @@
+baseBundles = \
+ file:lib/kernel/org.eclipse.virgo.kernel.userregion-@KERNEL.VERSION@.jar@start
+
+packageImports =\
+ org.eclipse.virgo.kernel.artifact.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.core;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.deployer.core;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.deployer.core.event;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.install.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.osgi.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.model.management;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.module;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.serviceability.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.services.work;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.shell.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.kernel.shim.*;version="[2.1.0,2.1.1)",\
+ org.eclipse.virgo.medic.*;version="[1.0,2)",\
+ org.eclipse.virgo.repository;version="[2.0,3)",\
+ org.eclipse.virgo.repository.*;version="[2.0,3)",\
+ org.eclipse.virgo.util.*;version="[2.0,3)",\
+ org.apache.commons.logging;version="[1.0.0,2.0.0)",\
+ org.apache.commons.logging.impl;version="[1.0.0,2.0.0)",\
+ org.aspectj.*;version="[1.6.5.RELEASE,2.0.0)",\
+ org.osgi.service.cm;version="0",\
+ org.osgi.service.event;version="0",\
+ org.slf4j;version="[1.5.10,2)",\
+ org.slf4j.spi;version="[1.5.10,2)"
+
+serviceImports =\
+ org.eclipse.virgo.kernel.deployer.core.ApplicationDeployer,\
+ org.eclipse.virgo.kernel.deployer.core.DeployUriNormaliser,\
+ org.eclipse.virgo.kernel.install.artifact.ScopeServiceRepository,\
+ org.eclipse.virgo.kernel.services.work.WorkArea,\
+ org.eclipse.virgo.repository.ArtifactBridge,\
+ org.eclipse.virgo.kernel.shell.state.StateService,\
+ org.eclipse.virgo.repository.RepositoryFactory,\
+ org.eclipse.virgo.repository.HashGenerator,\
+ org.eclipse.virgo.medic.eventlog.EventLoggerFactory,\
+ org.eclipse.virgo.repository.Repository,\
+ org.eclipse.virgo.kernel.core.Shutdown,\
+ org.osgi.service.cm.ConfigurationAdmin,\
+ org.osgi.service.event.EventAdmin,\
+ org.eclipse.virgo.medic.dump.DumpGenerator,\
+ org.eclipse.virgo.kernel.shim.scope.ScopeFactory,\
+ org.eclipse.virgo.kernel.shim.serviceability.TracingService
+
+serviceExports =\
+ org.eclipse.virgo.kernel.install.artifact.InstallArtifactLifecycleListener,\
+ org.eclipse.virgo.kernel.install.artifact.ArtifactIdentityDeterminer,\
+ org.eclipse.virgo.kernel.install.pipeline.stage.transform.Transformer,\
+ org.eclipse.virgo.kernel.module.ModuleContextAccessor,\
+ org.eclipse.virgo.medic.dump.DumpContributor,\
+ org.eclipse.virgo.kernel.osgi.quasi.QuasiFrameworkFactory,\
+ org.eclipse.virgo.kernel.osgi.framework.OsgiFramework,\
+ org.eclipse.virgo.kernel.osgi.framework.ImportExpander,\
+ org.eclipse.virgo.kernel.osgi.framework.PackageAdminUtil,\
+ org.osgi.service.event.EventHandler,\
+ org.osgi.service.cm.ConfigurationListener,\
+ org.osgi.service.cm.ManagedService,\
+ org.osgi.service.cm.ManagedServiceFactory
+
+inheritedFrameworkProperties =\
+ eclipse.bundle.setTCCL,\
+ eclipse.enableStateSaver,\
+ osgi.java.profile,\
+ osgi.parentClassloader,\
+ osgi.context.bootdelegation,\
+ osgi.compatibility.bootdelegation,\
+ osgi.java.profile.bootdelegation,\
+ osgi.hook.configurators.include
+
+# the next line must not be broken with back-slashes
+initialArtifacts = repository:plan/org.eclipse.virgo.kernel.userregion.springdm
diff --git a/build-kernel/config/org.eclipse.virgo.kernel.users.properties b/build-kernel/config/org.eclipse.virgo.kernel.users.properties
new file mode 100644
index 00000000..10d4c38c
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.kernel.users.properties
@@ -0,0 +1,10 @@
+##################
+# User definitions
+##################
+user.admin=springsource
+
+
+##################
+# Role definitions
+##################
+role.admin=admin
diff --git a/build-kernel/config/org.eclipse.virgo.medic.properties b/build-kernel/config/org.eclipse.virgo.medic.properties
new file mode 100644
index 00000000..d8882a5a
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.medic.properties
@@ -0,0 +1,6 @@
+dump.root.directory=serviceability/dump
+log.wrapSysOut=true
+log.wrapSysErr=true
+log.dump.level=DEBUG
+log.dump.bufferSize=10000
+log.dump.pattern=[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n
diff --git a/build-kernel/config/org.eclipse.virgo.repository.properties b/build-kernel/config/org.eclipse.virgo.repository.properties
new file mode 100644
index 00000000..5e7de2bc
--- /dev/null
+++ b/build-kernel/config/org.eclipse.virgo.repository.properties
@@ -0,0 +1,7 @@
+ext.type=external
+ext.searchPattern=repository/ext/{artifact}
+
+usr.type=watched
+usr.watchDirectory=repository/usr
+
+chain=ext,usr
diff --git a/build-kernel/config/serviceability.xml b/build-kernel/config/serviceability.xml
new file mode 100644
index 00000000..24accf18
--- /dev/null
+++ b/build-kernel/config/serviceability.xml
@@ -0,0 +1,77 @@
+<configuration>
+
+ <appender name="SIFTED_LOG_FILE" class="ch.qos.logback.classic.sift.SiftingAppender">
+ <discriminator>
+ <Key>applicationName</Key>
+ <DefaultValue>virgo-kernel</DefaultValue>
+ </discriminator>
+ <sift>
+ <appender name="${applicationName}_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>serviceability/logs/${applicationName}/log.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>serviceability/logs/${applicationName}/log_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+ </sift>
+ </appender>
+
+ <appender name="LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>serviceability/logs/log.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>serviceability/logs/log_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_STDOUT" class="org.eclipse.virgo.medic.log.logback.ReroutingAwareConsoleAppender">
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <appender name="EVENT_LOG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
+ <file>serviceability/eventlogs/eventlog.log</file>
+ <rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
+ <FileNamePattern>serviceability/eventlogs/eventlog_%i.log</FileNamePattern>
+ <MinIndex>1</MinIndex>
+ <MaxIndex>4</MaxIndex>
+ </rollingPolicy>
+ <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
+ <MaxFileSize>10MB</MaxFileSize>
+ </triggeringPolicy>
+ <layout class="ch.qos.logback.classic.PatternLayout">
+ <Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread &lt;%X{medic.eventCode}&gt; %msg %ex%n</Pattern>
+ </layout>
+ </appender>
+
+ <logger level="INFO" additivity="false" name="org.eclipse.virgo.medic.eventlog.localized">
+ <appender-ref ref="EVENT_LOG_STDOUT" />
+ <appender-ref ref="EVENT_LOG_FILE" />
+ </logger>
+
+ <logger level="INFO" additivity="false" name="org.eclipse.virgo.medic.eventlog.default">
+ <appender-ref ref="SIFTED_LOG_FILE" />
+ <appender-ref ref="LOG_FILE" />
+ </logger>
+
+ <root level="WARN">
+ <appender-ref ref="SIFTED_LOG_FILE" />
+ <appender-ref ref="LOG_FILE" />
+ </root>
+
+</configuration>

Back to the top