[jboss-cvs] JBossAS SVN: r86485 - in projects/reloaded/trunk: as5_0_1-profile and 22 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 30 16:21:52 EDT 2009


Author: wolfc
Date: 2009-03-30 16:21:52 -0400 (Mon, 30 Mar 2009)
New Revision: 86485

Added:
   projects/reloaded/trunk/as5_0_1-profile/
   projects/reloaded/trunk/as5_0_1-profile/.classpath
   projects/reloaded/trunk/as5_0_1-profile/.project
   projects/reloaded/trunk/as5_0_1-profile/.settings/
   projects/reloaded/trunk/as5_0_1-profile/.settings/org.eclipse.jdt.core.prefs
   projects/reloaded/trunk/as5_0_1-profile/.settings/org.maven.ide.eclipse.prefs
   projects/reloaded/trunk/as5_0_1-profile/pom.xml
   projects/reloaded/trunk/as5_0_1-profile/src/
   projects/reloaded/trunk/as5_0_1-profile/src/main/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/common/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/common/lib/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/repo.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/xmdesc/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/default/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/default/conf/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/default/conf/jboss-service.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/default/deployers/
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/deploy/
   projects/reloaded/trunk/as5_0_1-profile/src/test/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/test/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/test/boot/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/test/boot/unit/
   projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/test/boot/unit/BootASTestCase.java
   projects/reloaded/trunk/as5_0_1-profile/src/test/resources/
   projects/reloaded/trunk/as5_0_1-profile/src/test/resources/log4j.xml
   projects/reloaded/trunk/as5_0_1-profile/src/test/resources/test/
   projects/reloaded/trunk/as5_0_1-profile/src/test/resources/test/conf/
   projects/reloaded/trunk/as5_0_1-profile/src/test/resources/test/conf/jboss-service.xml
   projects/reloaded/trunk/as5_0_1-profile/src/test/resources/test/deployers/
Modified:
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/aop.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/bindings.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/classloader.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/deployers.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/jmx.xml
   projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/profile-repository.xml
Log:
JBAS-6704: Reloaded loading AS 5.0.1 up until profile service


Property changes on: projects/reloaded/trunk/as5_0_1-profile
___________________________________________________________________
Name: svn:ignore
   + eclipse-target
target


Added: projects/reloaded/trunk/as5_0_1-profile/.classpath
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/.classpath	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/.classpath	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,8 @@
+<classpath>
+  <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+  <classpathentry kind="src" path="src/test/java" output="eclipse-target/test-classes"/>
+  <classpathentry kind="src" path="src/test/resources" output="eclipse-target/test-classes" excluding="**/*.java"/>
+  <classpathentry kind="output" path="eclipse-target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+</classpath>
\ No newline at end of file

Added: projects/reloaded/trunk/as5_0_1-profile/.project
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/.project	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/.project	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>jboss-reloaded-as5_0_1-profile</name>
+	<comment>Reloaded booting up Application Server 5.0.1.</comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.maven.ide.eclipse.maven2Builder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.maven.ide.eclipse.maven2Nature</nature>
+	</natures>
+</projectDescription>

Added: projects/reloaded/trunk/as5_0_1-profile/.settings/org.eclipse.jdt.core.prefs
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/.settings/org.eclipse.jdt.core.prefs	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/.settings/org.eclipse.jdt.core.prefs	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,5 @@
+#Mon Mar 30 12:00:49 CEST 2009
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: projects/reloaded/trunk/as5_0_1-profile/.settings/org.maven.ide.eclipse.prefs
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/.settings/org.maven.ide.eclipse.prefs	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/.settings/org.maven.ide.eclipse.prefs	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,8 @@
+#Mon Mar 30 12:03:33 CEST 2009
+activeProfiles=eclipse
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=false
+resourceFilterGoals=process-resources resources\:testResources
+version=1

Added: projects/reloaded/trunk/as5_0_1-profile/pom.xml
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/pom.xml	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/pom.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,41 @@
+<!-- 
+  vi:ts=2:sw=2:expandtab 
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <parent>
+    <groupId>org.jboss.reloaded</groupId>
+    <artifactId>jboss-reloaded-build</artifactId>
+    <version>0.1.0-SNAPSHOT</version>
+    <relativePath>../build/pom.xml</relativePath>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>jboss-reloaded-as5_0_1-profile</artifactId>
+  <version>0.1.0-SNAPSHOT</version>
+  <packaging>jar</packaging>
+  <name>JBoss Reloaded AS 5.0.1 Profile</name>
+  <url>http://www.jboss.org</url>
+  <description>
+    Reloaded booting up Application Server 5.0.1.
+  </description>
+  
+  <dependencies>
+    <dependency>
+      <groupId>org.jboss.bootstrap</groupId>
+      <artifactId>jboss-bootstrap</artifactId>
+      <version>1.0.0-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+    <!-- urn:jboss:aop-beans:1.0 -->
+    <dependency>
+      <groupId>org.jboss.microcontainer</groupId>
+      <artifactId>jboss-aop-mc-int</artifactId>
+      <version>2.0.4.GA</version>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.reloaded</groupId>
+      <artifactId>jboss-reloaded-repoclassloader</artifactId>
+      <version>0.1.0-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Copied: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap (from rev 86467, tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap)

Modified: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/aop.xml
===================================================================
--- tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap/aop.xml	2009-03-30 10:15:07 UTC (rev 86467)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/aop.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -7,11 +7,25 @@
 
    <classloader><inject bean="aop-classloader:0.0.0"/></classloader>
 
-   <classloader name="aop-classloader" xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true">
-      <root>${jboss.lib.url}jboss-aop-asintegration-core.jar</root>
-      <root>${jboss.lib.url}jboss-aop-asintegration-jmx.jar</root>
-      <root>${jboss.lib.url}jboss-aop-asintegration-mc.jar</root>
-      <root>${jboss.lib.url}jboss-aop-jboss5.jar</root>
+   <classloader name="aop-classloader" xmlns="urn:jboss:repoclassloader:1.0" export-all="NON_EMPTY" import-all="true">
+      <descriptor>
+         <ivy-module version="2.0" 
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+            <info organisation="org.jboss.reloaded" module="bindings-classloader"/>
+            <dependencies>
+               <dependency org="org.jboss.aop" name="jboss-aop-asintegration-core" rev="2.0.1.GA" conf="default" transitive="false"/>
+               <dependency org="org.jboss.aop" name="jboss-aop-asintegration-jmx" rev="2.0.1.GA" conf="default" transitive="false"/>
+               <dependency org="org.jboss.aop" name="jboss-aop-asintegration-mc" rev="2.0.1.GA" conf="default" transitive="false"/>
+               <!-- TODO: see EJBTHREE-1734
+               <root>${jboss.lib.url}jboss-aop-jboss5.jar</root>
+               -->
+               <dependency org="org.jboss.ejb3" name="jboss-ejb3-aop-deployers" rev="0.1.0-SNAPSHOT" conf="default" transitive="false"/>
+               <!-- TODO: some weird ivy side-effect? -->
+               <exclude org="org.jboss.jbossas" module="jboss-as-j2se" ext="test-jar"/>
+            </dependencies>
+         </ivy-module>
+      </descriptor>
    </classloader>
 
    <!-- Integration -->

Modified: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/bindings.xml
===================================================================
--- tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap/bindings.xml	2009-03-30 10:15:07 UTC (rev 86467)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/bindings.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -4,8 +4,25 @@
 
    <classloader><inject bean="bindings-classloader:0.0.0"/></classloader>
 
-   <classloader name="bindings-classloader" xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true">
+   <classloader name="bindings-classloader" xmlns="urn:jboss:repoclassloader:1.0" export-all="NON_EMPTY" import-all="true">
+      <descriptor>
+         <ivy-module version="2.0" 
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:noNamespaceSchemaLocation=
+                   "http://ant.apache.org/ivy/schemas/ivy.xsd">
+            <info organisation="org.jboss.reloaded" module="bindings-classloader"/>
+            <dependencies>
+               <dependency org="org.jboss.jbossas" name="jboss-as-varia" rev="5.0.1.GA" conf="default" transitive="false">
+                  <!-- 
+                  <artifact type="jboss-bindingservice.jar"/>
+                  -->
+               </dependency>
+            </dependencies>
+         </ivy-module>
+      </descriptor>
+      <!-- 
       <root>${jboss.common.lib.url}jboss-bindingservice.jar</root>
+      -->
    </classloader>
 
    <bean name="ServiceBindingManager" class="org.jboss.services.binding.ServiceBindingManager">

Modified: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/classloader.xml
===================================================================
--- tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap/classloader.xml	2009-03-30 10:15:07 UTC (rev 86467)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/classloader.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -24,9 +24,18 @@
       <uncallback method="removeModule" state="Configured"/>
    </bean>
 
-   <classloader name="bootstrap-classloader" xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true">
+   <classloader name="bootstrap-classloader" xmlns="urn:jboss:repoclassloader:1.0" export-all="NON_EMPTY" import-all="true">
       <!-- System -->
-      <root>${jboss.lib.url}jboss-system.jar</root>
+      <descriptor>
+         <ivy-module version="2.0" 
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+            <info organisation="org.jboss.reloaded" module="bootstrap-classloader"/>
+            <dependencies>
+               <dependency org="org.jboss.jbossas" name="jboss-as-system" rev="5.0.1.GA" conf="default" transitive="false"/>
+            </dependencies>
+         </ivy-module>
+      </descriptor>
    </classloader>
    
 </deployment>

Modified: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/deployers.xml
===================================================================
--- tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap/deployers.xml	2009-03-30 10:15:07 UTC (rev 86467)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/deployers.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -7,7 +7,22 @@
 
    <classloader><inject bean="deployers-classloader:0.0.0"/></classloader>
 
-   <classloader name="deployers-classloader" xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true">
+   <classloader name="deployers-classloader" xmlns="urn:jboss:repoclassloader:1.0" export-all="NON_EMPTY" import-all="true">
+      <descriptor>
+         <ivy-module version="2.0" 
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+            <info organisation="org.jboss.reloaded" module="deployers-classloader"/>
+            <dependencies>
+               <dependency org="org.jboss.deployers" name="jboss-deployers-client" rev="2.0.5.GA" conf="default" transitive="true"/>
+               <dependency org="org.jboss.deployers" name="jboss-deployers-core" rev="2.0.5.GA" conf="default" transitive="true"/>
+               <dependency org="org.jboss.deployers" name="jboss-deployers-impl" rev="2.0.5.GA" conf="default" transitive="true"/>
+               <dependency org="org.jboss.deployers" name="jboss-deployers-structure-spi" rev="2.0.5.GA" conf="default" transitive="true"/>
+               <dependency org="org.jboss.deployers" name="jboss-deployers-vfs" rev="2.0.5.GA" conf="default" transitive="true"/>
+            </dependencies>
+         </ivy-module>
+      </descriptor>
+      <!-- 
       <root>${jboss.lib.url}jboss-deployers-core-spi.jar</root>
       <root>${jboss.lib.url}jboss-deployers-core.jar</root>
       <root>${jboss.lib.url}jboss-deployers-client-spi.jar</root>
@@ -17,14 +32,21 @@
       <root>${jboss.lib.url}jboss-deployers-impl.jar</root>
       <root>${jboss.lib.url}jboss-deployers-vfs-spi.jar</root>
       <root>${jboss.lib.url}jboss-deployers-vfs.jar</root>
-     <!-- Bean annotation handling -->
+      -->
+      <!-- Bean annotation handling -->
+      <!-- 
       <root>${jboss.lib.url}jboss-dependency.jar</root>
       <root>${jboss.lib.url}jboss-kernel.jar</root>
+      -->
 
       <!-- JAXB impl here, api is in endorsed -->
+      <!-- 
       <root>${jboss.lib.url}jaxb-impl.jar</root>
+      -->
       <!-- STAX2 impl here, api is in endorsed -->
+      <!-- 
       <root>${jboss.lib.url}wstx.jar</root>
+      -->
    </classloader>
 
   <!-- use legacy ordering -->

Modified: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/jmx.xml
===================================================================
--- tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap/jmx.xml	2009-03-30 10:15:07 UTC (rev 86467)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/jmx.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -7,12 +7,32 @@
 
    <classloader><inject bean="jmx-classloader:0.0.0"/></classloader>
 
-   <classloader name="jmx-classloader" xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true">
-      <root>${jboss.lib.url}jboss-j2se.jar</root>
-      <root>${jboss.lib.url}jboss-mbeans.jar</root>
-      <root>${jboss.lib.url}jboss-jmx.jar</root>
-      <root>${jboss.lib.url}jboss-system-jmx.jar</root>
-      <root>${jboss.lib.url}dom4j.jar</root>
+   <classloader name="jmx-classloader" xmlns="urn:jboss:repoclassloader:1.0" export-all="NON_EMPTY" import-all="true">
+      <descriptor>
+         <ivy-module version="2.0" 
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+            <info organisation="org.jboss.reloaded" module="jmx-classloader"/>
+            <dependencies>
+               <!-- 
+               <dependency org="org.jboss.mx" name="jboss-j2se" rev="6.0.0.Beta1" conf="default->runtime"/>
+               <dependency org="org.jboss.mx" name="jboss-mbeans" rev="6.0.0.Beta1" conf="default->runtime"/>
+               <dependency org="org.jboss.mx" name="jboss-jmx" rev="6.0.0.Beta1" conf="default->runtime"/>
+               -->
+               <dependency org="org.jboss.jbossas" name="jboss-as-j2se" rev="5.0.1.GA" conf="default" transitive="false"/>
+               <dependency org="org.jboss.jbossas" name="jboss-as-mbeans" rev="5.0.1.GA" conf="default" transitive="false"/>
+               <dependency org="org.jboss.jbossas" name="jboss-as-jmx" rev="5.0.1.GA" conf="default" transitive="false"/>
+               <dependency org="org.jboss.jbossas" name="jboss-as-system-jmx" rev="5.0.1.GA" conf="default" transitive="false"/>
+               <dependency org="dom4j" name="dom4j" rev="1.6.1" conf="default"/>
+               
+               <!-- undeclared stuff -->
+               <dependency org="oswego-concurrent" name="concurrent" rev="1.3.4-jboss-update1" conf="default"/>
+               
+               <!-- org.jboss.jbossas:jboss-as-jmx defines a dependency on jboss-as-j2se test-jar -->
+               <exclude org="org.jboss.jbossas" module="jboss-as-jmx" type="test-jar"/>
+            </dependencies>
+         </ivy-module>
+      </descriptor>
    </classloader>
 
    <bean name="ServerInfo" class="org.jboss.system.server.ServerInfo">

Modified: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/profile-repository.xml
===================================================================
--- tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap/profile-repository.xml	2009-03-30 10:15:07 UTC (rev 86467)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/profile-repository.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -7,8 +7,17 @@
 
    <classloader><inject bean="profile-classloader:0.0.0"/></classloader>
 
-   <classloader name="profile-classloader" xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY" import-all="true">
-      <root>${jboss.lib.url}jboss-profileservice-spi.jar</root>
+   <classloader name="profile-classloader" xmlns="urn:jboss:repoclassloader:1.0" export-all="NON_EMPTY" import-all="true">
+      <descriptor>
+         <ivy-module version="2.0" 
+            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+            xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd">
+            <info organisation="org.jboss.reloaded" module="profile-classloader"/>
+            <dependencies>
+               <dependency org="org.jboss.integration" name="jboss-profileservice-spi" rev="5.0.3.GA" conf="default" transitive="false"/>
+            </dependencies>
+         </ivy-module>
+      </descriptor>
    </classloader>
     
     <bean name="StructureModCache" class="org.jboss.deployers.vfs.spi.structure.modified.DefaultStructureCache">

Copied: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/repo.xml (from rev 86462, projects/reloaded/trunk/repoclassloader/src/test/resources/conf/bootstrap/repo.xml)
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/repo.xml	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/repo.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Boot up the repository resolver for the class loader factory
+-->
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+   <classloader><inject bean="repo-classloader:0.0.0"/></classloader>
+   
+   <bean name="RepoClassLoaderSchema" class="org.jboss.reloaded.repoclassloader.schema.RepoClassLoaderSchemaResolverFactory"/>   
+   
+   <bean name="IvyRepoResolver" class="org.jboss.reloaded.repoclassloader.ivy.IvyRepoResolver">
+      <property name="settings">
+         <![CDATA[
+         <ivysettings>
+            <settings defaultResolver="default"/>
+            <include url="${ivy.default.settings.dir}/ivysettings-public.xml"/>
+            <include url="${ivy.default.settings.dir}/ivysettings-shared.xml"/>
+            <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
+            <resolvers>
+               <ibiblio name="snapshots.jboss.org" m2compatible="true" usepoms="true" root="http://snapshots.jboss.org/maven2"/>
+               <ibiblio name="repository.jboss.org" m2compatible="true" usepoms="true" root="http://repository.jboss.org/maven2"/>
+               <chain name="main" dual="true">
+                  <resolver ref="shared"/>
+                  <resolver ref="repository.jboss.org"/>
+                  <resolver ref="snapshots.jboss.org"/>
+                  <resolver ref="public"/>
+               </chain>
+            </resolvers>
+            <include url="${ivy.default.settings.dir}/ivysettings-default-chain.xml"/>
+         </ivysettings>
+         ]]>
+      </property>
+   </bean>
+   
+   <classloader name="repo-classloader:0.0.0">
+      <null/>
+   </classloader>
+</deployment>
\ No newline at end of file


Property changes on: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap/repo.xml
___________________________________________________________________
Name: svn:mergeinfo
   + 

Copied: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap.xml (from rev 86467, tags/JBoss_5_0_1_GA/server/src/etc/conf/default/bootstrap.xml)
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap.xml	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/bootstrap.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   The list of URLs for mc beans to load during bootstrap.
+   $Id$
+-->
+<bootstrap xmlns="urn:jboss:bootstrap:1.0">
+
+   <url>bootstrap/vfs.xml</url>
+   <url>bootstrap/repo.xml</url>
+   <url>bootstrap/classloader.xml</url>
+   <url>bootstrap/aop.xml</url>
+   <url>bootstrap/jmx.xml</url>
+   <url>bootstrap/deployers.xml</url>
+   <url>bootstrap/bindings.xml</url>
+   <url>bootstrap/profile-repository.xml</url>
+
+</bootstrap>

Copied: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/conf/xmdesc (from rev 86478, tags/JBoss_5_0_1_GA/server/src/etc/conf/default/xmdesc)

Copied: projects/reloaded/trunk/as5_0_1-profile/src/main/resources/default/conf/jboss-service.xml (from rev 86478, tags/JBoss_5_0_1_GA/server/src/etc/conf/default/jboss-service.xml)
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/src/main/resources/default/conf/jboss-service.xml	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/src/main/resources/default/conf/jboss-service.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,296 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id$ -->
+
+<!-- ===================================================================== -->
+<!--  JBoss Server Configuration                                           -->
+<!-- ===================================================================== -->
+
+<server>
+
+   <!-- Load all jars from the JBOSS_HOME/server/<config>/lib directory and
+        the shared JBOSS_HOME/common/lib directory. This can be restricted to
+        specific jars by specifying them in the archives attribute.
+   -->
+   <classpath codebase="${jboss.server.lib.url}" archives="*"/>
+   <classpath codebase="${jboss.common.lib.url}" archives="*"/>
+
+   <!-- ==================================================================== -->
+   <!-- Main Deployer                                                        -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.deployment.MainDeployer"
+          name="jboss.system:service=MainDeployer">
+   	<!-- This is used to delegate the deployment handling -->
+      <attribute name="KernelMainDeployer"><inject bean="MainDeployer" /></attribute>
+      <!-- This is used to validate incomplete deployments -->
+      <attribute name="Controller"><inject bean="jboss.kernel:service=Kernel" property="controller"/></attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- XMBean Persistence                                                   -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.system.pm.AttributePersistenceService"
+      name="jboss:service=AttributePersistenceService"
+      xmbean-dd="resource:xmdesc/AttributePersistenceService-xmbean.xml">
+      <!-- the AttributePersistenceService is persistent, itself -->
+
+      <!--
+      <attribute name="AttributePersistenceManagerClass">org.jboss.system.pm.XMLAttributePersistenceManager</attribute>
+      <attribute name="AttributePersistenceManagerConfig">
+         <data-directory>data/xmbean-attrs</data-directory>
+      </attribute>
+      <attribute name="ApmDestroyOnServiceStop">false</attribute>
+      <attribute name="VersionTag"></attribute>
+      -->
+   </mbean>
+
+   <!-- A Thread pool service -->
+   <mbean code="org.jboss.util.threadpool.BasicThreadPool"
+      name="jboss.system:service=ThreadPool">
+      <attribute name="Name">JBoss System Threads</attribute>
+      <attribute name="ThreadGroupName">System Threads</attribute>
+      <!-- How long a thread will live without any tasks in MS -->
+      <attribute name="KeepAliveTime">60000</attribute>
+      <!-- The max number of threads in the pool -->
+      <attribute name="MaximumPoolSize">10</attribute>
+      <!-- The max number of tasks before the queue is full -->
+      <attribute name="MaximumQueueSize">1000</attribute>
+      <!-- The behavior of the pool when a task is added and the queue is full.
+      abort - a RuntimeException is thrown
+      run - the calling thread executes the task
+      wait - the calling thread blocks until the queue has room
+      discard - the task is silently discarded without being run
+      discardOldest - check to see if a task is about to complete and enque
+         the new task if possible, else run the task in the calling thread
+      -->
+      <attribute name="BlockingMode">run</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Log4j Initialization                                                 -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.logging.Log4jService"
+      name="jboss.system:type=Log4jService,service=Logging"
+      xmbean-dd="resource:xmdesc/Log4jService-xmbean.xml">
+      <attribute name="ConfigurationURL">resource:jboss-log4j.xml</attribute>
+      <!-- Set the org.apache.log4j.helpers.LogLog.setQuiteMode. As of log4j1.2.8
+      this needs to be set to avoid a possible deadlock on exception at the
+      appender level. See bug#696819.
+      -->
+      <attribute name="Log4jQuietMode">true</attribute>
+      <!-- How frequently in seconds the ConfigurationURL is checked for changes -->
+      <attribute name="RefreshPeriod">60</attribute>
+      
+      <!-- The value to assign to system property jboss.server.log.threshold
+           if it is not already set. This system property in turn controls
+           the logging threshold for the server.log file.
+           If the system property is already set when this service is created,
+           this value is ignored. -->
+      <attribute name="DefaultJBossServerLogThreshold">DEBUG</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Active Alarm Table                                                   -->
+   <!-- ==================================================================== -->
+
+   <!--
+      | The ActiveAlarmTable service is a simple JMX notification listener
+      | that maintains a table with the received notifications (alarms).
+      | The alarms can be acknowledged through the jmx or the web console.
+      | Modify the SubscriptionList below to subscribe for any notification
+      | in the system and treat it as an alarm.
+      | The JMXNotificationAppender is a log4j Appender that can be configured
+      | in log4j.xml, that trasforms logging events to JMX notification so they
+      | can be fed back into the table. By storing the WARN or higher level logging
+      | events you can have a quick view of important system faults.
+      |
+      | The following attributes may be set:
+      |
+      | MaxTableSize (default 1000)
+      |  - set an upper limit to the number of stored alarms
+      | LogLevel (default DEBUG)
+      |  - the log level to use for received notification, can be set to NONE
+      | ServerId (default jboss)
+      |  - used to construct unique alarm ids
+      | SubscriptionList
+      |  - subscribe for the notifications to be stored in the table
+
+   <mbean code="org.jboss.monitor.services.ActiveAlarmTable"
+          name="jboss.monitor:service=ActiveAlarmTable">
+      <attribute name="SubscriptionList">
+         <subscription-list>
+            <mbean name="jboss.monitor:*">
+               <notification type="jboss.alarm"/>
+               <notification type="JBOSS_MONITOR_NOTIFICATION"/>
+            </mbean>
+            <mbean name="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+         </subscription-list>
+      </attribute>
+   </mbean>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- JBoss RMI Classloader - only install when available                  -->
+   <!-- ==================================================================== -->
+   <mbean code="org.jboss.util.property.jmx.SystemPropertyClassValue"
+      name="jboss.rmi:type=RMIClassLoader">
+      <attribute name="Property">java.rmi.server.RMIClassLoaderSpi</attribute>
+      <attribute name="ClassName">org.jboss.system.JBossRMIClassLoader</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Class Loading                                                        -->
+   <!-- ==================================================================== -->
+
+   <!-- A mini webserver used for dynamic and class and resource loading --> 
+   <mbean code="org.jboss.web.WebService"
+      name="jboss:service=WebService">
+      <!-- The Bind address and Port -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>      
+      <attribute name="Port">
+         <!-- Get the port to use from ServiceBindingManager. -->
+         <value-factory bean="ServiceBindingManager" method="getIntBinding" parameter="jboss:service=WebService"/>
+      </attribute>
+      <!--  The address to use for the host portion of the RMI codebase URL -->
+      <attribute name="Host">${java.rmi.server.hostname}</attribute>
+      <!-- Should non-EJB .class files be downloadable -->
+      <attribute name="DownloadServerClasses">true</attribute>
+      <!-- Should resources other than .class files be downloadable. Both
+         DownloadServerClasses and DownloadResources must be true for resources
+         to be downloadable. This is false by default because its generally a
+         bad idea as server configuration files that container security
+         information can be accessed.
+       -->
+      <attribute name="DownloadResources">false</attribute>
+
+      <!-- Use the default thread pool for dynamic class loading -->
+      <depends optional-attribute-name="ThreadPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- JNDI                                                                 -->
+   <!-- ==================================================================== -->
+
+   <!-- A simple mbean wrapper around the jndi Naming object. This
+      only handles an in memory instance. The NamingService uses this
+      as the JNDI store and exposes it remotely.
+   -->
+   <mbean code="org.jnp.server.NamingBeanImpl"
+      name="jboss:service=NamingBeanImpl"
+      xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
+   </mbean>
+   
+   <mbean code="org.jboss.naming.NamingService"
+      name="jboss:service=Naming"
+      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
+      <!-- The call by value mode. true if all lookups are unmarshalled using
+         the caller's TCL, false if in VM lookups return the value by reference.
+      -->
+      <attribute name="CallByValue">false</attribute>
+      
+      <!-- The listening port for the bootstrap JNP service. Set this to -1
+         to run the NamingService without the JNP invoker listening port.
+      -->
+      <attribute name="Port">
+         <value-factory bean="ServiceBindingManager" method="getIntBinding">
+            <parameter>jboss:service=Naming</parameter>
+            <parameter>Port</parameter>
+         </value-factory>
+      </attribute>
+      
+      <!-- The bootstrap JNP server bind address. This also sets the default
+         RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="BindAddress">${jboss.bind.address}</attribute>
+      <!-- The port of the RMI naming service, 0 == anonymous -->
+      <attribute name="RmiPort">
+         <value-factory bean="ServiceBindingManager" method="getIntBinding">
+            <parameter>jboss:service=Naming</parameter>
+            <parameter>RmiPort</parameter>
+         </value-factory>
+      </attribute>
+      <!-- The RMI service bind address. Empty == all addresses
+      -->
+      <attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
+      <!-- The thread pool service used to control the bootstrap lookups -->
+      <depends optional-attribute-name="LookupPool"
+         proxy-type="attribute">jboss.system:service=ThreadPool</depends>
+      <!-- An example of using the unifed invoker as the transport.
+         <depends optional-attribute-name="InvokerProxyFactory"
+         proxy-type="attribute">jboss:service=proxyFactory,type=unified,target=Naming</depends>
+      -->
+      <depends optional-attribute-name="Naming"
+         proxy-type="attribute">jboss:service=NamingBeanImpl</depends>
+   </mbean>
+   
+   <mbean code="org.jboss.naming.JNDIView"
+   	name="jboss:service=JNDIView"
+   	xmbean-dd="resource:xmdesc/JNDIView-xmbean.xml">
+   	<!-- The HANamingService service name -->
+   	<attribute name="HANamingService">jboss:service=HAJNDI</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Security                                                             -->
+   <!-- ==================================================================== -->
+
+   <!-- JAAS security manager and realm mapping -->
+   <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
+      name="jboss.security:service=JaasSecurityManager">
+      <!-- A flag which indicates whether the SecurityAssociation server mode
+      is set on service creation. This is true by default since the
+      SecurityAssociation should be thread local for multi-threaded server
+      operation.
+      -->
+      <attribute name="ServerMode">true</attribute>
+      <attribute name="SecurityManagerClassName">org.jboss.security.plugins.JaasSecurityManager</attribute>
+      <attribute name="DefaultUnauthenticatedPrincipal">anonymous</attribute>
+      <!-- DefaultCacheTimeout: Specifies the default timed cache policy timeout
+      in seconds.
+      If you want to disable caching of security credentials, set this to 0 to
+      force authentication to occur every time. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+       <attribute name="DefaultCacheTimeout">1800</attribute>
+      <!-- DefaultCacheResolution: Specifies the default timed cache policy
+      resolution in seconds. This controls the interval at which the cache
+      current timestamp is updated and should be less than the DefaultCacheTimeout
+      in order for the timeout to be meaningful. This has no affect if the
+      AuthenticationCacheJndiName has been changed from the default value.
+      -->
+      <attribute name="DefaultCacheResolution">60</attribute>
+      <!-- DeepCopySubjectMode: This set the copy mode of subjects done by the
+      security managers to be deep copies that makes copies of the subject
+      principals and credentials if they are cloneable. It should be set to
+      true if subject include mutable content that can be corrupted when
+      multiple threads have the same identity and cache flushes/logout clearing
+      the subject in one thread results in subject references affecting other
+      threads.
+      -->
+      <attribute name="DeepCopySubjectMode">false</attribute>
+   </mbean>
+
+   <!-- ==================================================================== -->
+   <!-- Monitoring and Management                                            -->
+   <!-- ==================================================================== -->
+
+   <!-- Uncomment to enable JMX monitoring of the bean cache
+   <mbean code="org.jboss.monitor.BeanCacheMonitor"
+          name="jboss.monitor:name=BeanCacheMonitor"/>
+   -->
+
+   <!-- Uncomment to enable JMX monitoring of the entity bean locking
+   <mbean code="org.jboss.monitor.EntityLockMonitor"
+          name="jboss.monitor:name=EntityLockMonitor"/>
+   -->
+
+   <!-- ==================================================================== -->
+   <!-- An MBean that is a registry for JDBC type-mapping metadata           -->
+   <!-- ==================================================================== -->
+
+   <mbean code="org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary"
+      name="jboss.jdbc:service=metadata"/>
+
+</server>

Added: projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/test/boot/unit/BootASTestCase.java
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/test/boot/unit/BootASTestCase.java	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/src/test/java/org/jboss/reloaded/as5_0_1/profile/test/boot/unit/BootASTestCase.java	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.reloaded.as5_0_1.profile.test.boot.unit;
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URI;
+import java.net.URL;
+import java.util.Properties;
+
+import org.jboss.bootstrap.microcontainer.ServerImpl;
+import org.jboss.bootstrap.spi.ServerConfig;
+import org.jboss.bootstrap.spi.microcontainer.MCServer;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ * @author <a href="mailto:cdewolf at redhat.com">Carlo de Wolf</a>
+ * @version $Revision: $
+ */
+public class BootASTestCase
+{
+   private static MCServer server;
+   
+   @AfterClass
+   public static void afterClass()
+   {
+      if(server != null && server.isStarted())
+         server.shutdown();
+   }
+   
+   @BeforeClass
+   public static void beforeClass() throws Exception
+   {
+      System.setProperty("jboss.bind.address", "localhost");
+      
+      server = new ServerImpl();
+      Properties props = new Properties();
+      // either target or eclipse-target
+      String dir = getTargetDirectory() + "/classes";
+      mkdir(dir + "/lib");
+      props.put(ServerConfig.SERVER_NAME, "test");
+      props.put(ServerConfig.HOME_DIR, dir);
+      String serverBaseDir = getTargetDirectory() + "/test-classes";
+      //props.put(ServerConfig.SERVER_BASE_DIR, dir);
+      props.put(ServerConfig.SERVER_BASE_DIR, serverBaseDir);
+      // TODO: bug in Bootstrap
+      System.setProperty("jboss.server.base.dir", serverBaseDir);
+      props.put(ServerConfig.SERVER_HOME_DIR, dir);
+      props.put(ServerConfig.SERVER_HOME_URL, findDirURL(dir).toString());
+      //props.put(ServerConfig.LIBRARY_URL, new File("target/dist/lib").toURI().toURL().toString());
+      //props.put(ServerConfig.SERVER_CONFIG_URL, findDirURL("src/test/resources/conf").toString());
+      System.out.println(props);
+      server.init(props);
+      server.start();
+   }
+   
+   private static URL findDirURL(String path) throws IOException
+   {
+      return findDirURI(path).toURL();
+   }
+   
+   private static URI findDirURI(String path) throws IOException
+   {
+      File file = new File(path);
+      boolean success = file.isDirectory();
+      if(!success)
+         throw new IOException("failed to find " + path);
+      return file.toURI();
+   }
+   
+   private static String getTargetDirectory()
+   {
+      boolean isSurefire = System.getProperty("surefire.test.class.path", null) != null;
+      // TODO: isEclipse
+      return isSurefire ? "target" : "eclipse-target";
+   }
+   
+   private static String mkdir(String path) throws IOException
+   {
+      File file = new File(path);
+      boolean success = file.mkdirs() || file.isDirectory();
+      if(!success)
+         throw new IOException("failed to create " + path);
+      return file.getAbsolutePath();
+   }
+   
+   @Test
+   public void test1()
+   {
+      
+   }
+}

Added: projects/reloaded/trunk/as5_0_1-profile/src/test/resources/log4j.xml
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/src/test/resources/log4j.xml	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/src/test/resources/log4j.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!--                                                                       -->
+<!--  Log4j Configuration                                                  -->
+<!--                                                                       -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml 68671 2008-01-08 10:04:25Z wolfc $ -->
+
+<!--
+   | For more configuration infromation and examples see the Jakarta Log4j
+   | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+  <!-- ================================= -->
+  <!-- Preserve messages in a local file -->
+  <!-- ================================= -->
+
+  <!-- A time/date based rolling appender -->
+  <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+    <param name="File" value="target/test.log"/>
+    <param name="Append" value="false"/>
+
+    <!-- Rollover at midnight each day -->
+    <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+    <!-- Rollover at the top of each hour
+    <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+    -->
+
+    <layout class="org.apache.log4j.PatternLayout">
+      <!-- The default pattern: Date Priority [Category] Message\n -->
+      <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+
+      <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+      <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+       -->
+    </layout>	    
+  </appender>
+
+  <!-- A size based file rolling appender
+  <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+    <param name="File" value="${jboss.server.home.dir}/log/server.log"/>
+    <param name="Append" value="false"/>
+    <param name="MaxFileSize" value="500KB"/>
+    <param name="MaxBackupIndex" value="1"/>
+
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+    </layout>	    
+  </appender>
+  -->
+
+  <!-- ============================== -->
+  <!-- Append messages to the console -->
+  <!-- ============================== -->
+
+  <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+    <param name="Target" value="System.out"/>
+    <param name="Threshold" value="ALL"/>
+
+    <layout class="org.apache.log4j.PatternLayout">
+      <!-- The default pattern: Date Priority [Category] Message\n -->
+      <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+    </layout>
+  </appender>
+
+
+  <!-- ================ -->
+  <!-- Limit categories -->
+  <!-- ================ -->
+
+  <!-- Limit JBoss categories to INFO
+  <category name="org.jboss">
+    <priority value="INFO" class="org.jboss.logging.XLevel"/>
+  </category>
+  -->
+
+  <!-- Increase the priority threshold for the DefaultDS category
+  <category name="DefaultDS">
+    <priority value="FATAL"/>
+  </category>
+  -->
+
+  <!-- Decrease the priority threshold for the org.jboss.varia category
+  <category name="org.jboss.varia">
+    <priority value="DEBUG"/>
+  </category>
+  -->
+
+  <!--
+     | An example of enabling the custom TRACE level priority that is used
+     | by the JBoss internals to diagnose low level details. This example
+     | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+     | subpackages. This will produce A LOT of logging output.
+  <category name="org.jboss.system">
+    <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+  </category>
+  -->
+
+  <category name="org.jboss">
+    <priority value="INFO"/>
+  </category>
+  
+  <category name="org.jboss.reloaded">
+    <priority value="DEBUG"/>
+  </category>
+  
+  <!-- ======================= -->
+  <!-- Setup the Root category -->
+  <!-- ======================= -->
+
+  <root>
+    <priority value="WARN" />
+    <appender-ref ref="CONSOLE"/>
+    <appender-ref ref="FILE"/>
+  </root>
+  
+</log4j:configuration>

Added: projects/reloaded/trunk/as5_0_1-profile/src/test/resources/test/conf/jboss-service.xml
===================================================================
--- projects/reloaded/trunk/as5_0_1-profile/src/test/resources/test/conf/jboss-service.xml	                        (rev 0)
+++ projects/reloaded/trunk/as5_0_1-profile/src/test/resources/test/conf/jboss-service.xml	2009-03-30 20:21:52 UTC (rev 86485)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: jboss-service.xml 81277 2008-11-19 09:54:09Z dimitris at jboss.org $ -->
+
+<!-- ===================================================================== -->
+<!--  JBoss Server Configuration                                           -->
+<!-- ===================================================================== -->
+
+<server>
+</server>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list