FELIX-307
---------
Modifications to make it work with jdk1.4
We added three dependencies:
    <dependency>
       <groupId>mx4j</groupId>
       <artifactId>mx4j</artifactId>
       <version>3.0.2</version>
       <scope>provided</scope>
    </dependency>
----
    <dependency>
       <groupId>mx4j</groupId>
       <artifactId>mx4j-jmx</artifactId>
       <version>3.0.1</version>
       <scope>provided</scope>
    </dependency>
----
     <dependency>
       <groupId>mx4j</groupId>
       <artifactId>mx4j-remote</artifactId>
       <version>3.0.1</version>
       <scope>provided</scope>
    </dependency>

Also added a line in doc/core.sh for lauchning it with jdk1.4


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@552854 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/mosgi/doc/config.properties.core b/mosgi/doc/config.properties.core
index 8a03f30..e696aea 100644
--- a/mosgi/doc/config.properties.core
+++ b/mosgi/doc/config.properties.core
@@ -105,6 +105,15 @@
  version="1.3.0"
 
 jre-1.4= \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
  javax.accessibility; \
  javax.imageio; \
  javax.imageio.event; \
diff --git a/mosgi/doc/config.properties.jmxconsole b/mosgi/doc/config.properties.jmxconsole
index f3a7cfc..524febc 100644
--- a/mosgi/doc/config.properties.jmxconsole
+++ b/mosgi/doc/config.properties.jmxconsole
@@ -92,6 +92,15 @@
  version="1.3.0"
 
 jre-1.4= \
+ javax.management; \
+ javax.management.loading; \
+ javax.management.modelmbean; \
+ javax.management.monitor; \
+ javax.management.openmbean; \
+ javax.management.relation; \
+ javax.management.remote; \
+ javax.management.remote.rmi; \
+ javax.management.timer; \
  javax.accessibility; \
  javax.imageio; \
  javax.imageio.event; \
diff --git a/mosgi/doc/core.sh b/mosgi/doc/core.sh
index dcb9660..371e96d 100755
--- a/mosgi/doc/core.sh
+++ b/mosgi/doc/core.sh
@@ -7,3 +7,6 @@
 echo "lauching felix with core gateway properties"
 java -Dfelix.config.properties=file:../mosgi/doc/config.properties.core -jar bin/felix.jar
 
+#LAUCHING COMMAND IF UNDER JDK1.4
+
+#java -Djavax.management.builder.initial=org.apache.felix.mosgi.jmx.agent.mx4j.server.MX4JMBeanServerBuilder -Dfelix.config.properties=file:../mosgi/doc/config.properties.core -classpath /home/sfrenot/.m2/repository/mx4j/mx4j/3.0.2/mx4j-3.0.2.jar:/home/sfrenot/.m2/repository/mx4j/mx4j-remote/3.0.1/mx4j-remote-3.0.1.jar:bin/felix.jar org.apache.felix.main.Main
diff --git a/mosgi/doc/jmxconsole.sh b/mosgi/doc/jmxconsole.sh
index 07cfcd5..4f8ca9c 100755
--- a/mosgi/doc/jmxconsole.sh
+++ b/mosgi/doc/jmxconsole.sh
@@ -4,3 +4,6 @@
 
 echo "lauching felix with jmxconsole properties"
 java -Dfelix.config.properties=file:../mosgi/doc/config.properties.jmxconsole -jar bin/felix.jar
+
+#LAUCHING COMMAND IF under JDK1.4
+#java -Dfelix.config.properties=file:../mosgi/doc/config.properties.jmxconsole -Dfelix.config.properties=file:../mosgi/doc/config.properties.jmxconsole -classpath /home/sfrenot/.m2/repository/mx4j/mx4j/3.0.2/mx4j-3.0.2.jar:/home/sfrenot/.m2/repository/mx4j/mx4j-remote/3.0.1/mx4j-remote-3.0.1.jar:bin/felix.jar org.apache.felix.main.Main