4 Replies Latest reply on Dec 3, 2012 11:21 AM by damiox

    Getting a ClassNotFoundException when starting my bundle

    damiox

      Hello guys,

       

      I'm getting a ClassNotFoundException when trying to start an OSGI blueprint bundle called "Bundle2" in JBOSS AS7 (jboss-as-7.2.0.Alpha1-SNAPSHOT):

       

      00:21:27,444 DEBUG [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Running blueprint container for bundle Bundle2 in state Unknown

      00:21:27,444 INFO  [org.jboss.osgi.framework] (MSC service thread 1-4) JBOSGI011002: Bundle started: Bundle2:1.0.0.201211300021

      00:21:27,446 DEBUG [org.apache.aries.blueprint.container.BlueprintEventDispatcher] (Blueprint Extender: 2) Sending blueprint container event BlueprintEvent[type=CREATING] for bundle Bundle2

      00:21:27,479 DEBUG [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Tracking service references: []

      00:21:27,480 DEBUG [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Instantiating components: [blueprintContainer, blueprintBundle, blueprintBundleContext, blueprintConverter, helloWorld]

      00:21:27,480 DEBUG [org.apache.aries.blueprint.di.AbstractRecipe] (Blueprint Extender: 2) Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld'], trying to load a nested class org.damiox.test.bundle2$HelloWorld

      00:21:27,481 ERROR [org.apache.aries.blueprint.di.AbstractRecipe] (Blueprint Extender: 2) Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']

      00:21:27,481 WARN  [org.apache.aries.blueprint.container.BeanRecipe] (Blueprint Extender: 2) Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null

      00:21:27,482 ERROR [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Unable to start blueprint container for bundle Bundle2: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']

      at org.apache.aries.blueprint.di.AbstractRecipe.doLoadType(AbstractRecipe.java:195)

      at org.apache.aries.blueprint.di.AbstractRecipe.loadType(AbstractRecipe.java:161)

      at org.apache.aries.blueprint.container.BeanRecipe.loadClass(BeanRecipe.java:245)

      at org.apache.aries.blueprint.container.BeanRecipe.getType(BeanRecipe.java:891)

      at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:319)

      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:802)

      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:783)

      at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]

      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]

      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)

      at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)

      at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)

      at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:648)

      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:340)

      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:242)

      at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)

      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_35]

      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]

      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [rt.jar:1.6.0_35]

      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [rt.jar:1.6.0_35]

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35]

      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]

      Caused by: java.lang.ClassNotFoundException: org.damiox.test.bundle2.HelloWorld from [Module "deployment.Bundle2.jar:main" from Service Module Loader]

      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.3.GA]

      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.3.GA]

      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.3.GA]

      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.3.GA]

      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:132) [jboss-modules.jar:1.1.3.GA]

      at org.jboss.osgi.framework.internal.HostBundleRevision.loadClass(HostBundleRevision.java:121) [jbosgi-framework-core-2.0.1.Final.jar:2.0.1.Final]

      at org.jboss.osgi.framework.internal.AbstractBundleState.loadClass(AbstractBundleState.java:444) [jbosgi-framework-core-2.0.1.Final.jar:2.0.1.Final]

      at org.jboss.osgi.framework.internal.HostBundleState.loadClass(HostBundleState.java:102) [jbosgi-framework-core-2.0.1.Final.jar:2.0.1.Final]

      at org.apache.aries.blueprint.container.BlueprintContainerImpl.loadClass(BlueprintContainerImpl.java:388)

      at org.apache.aries.blueprint.container.BlueprintRepository.loadClass(BlueprintRepository.java:410)

      at org.apache.aries.blueprint.container.GenericType.parse(GenericType.java:113)

      at org.apache.aries.blueprint.di.AbstractRecipe.doLoadType(AbstractRecipe.java:168)

      ... 24 more

       

       

      "Bundle2" is a very simple bundle that I developed just to analyze how OSGI blueprint works. This bundle contains only 1 class: org.damiox.test.bundle2.HelloWorld.

      The blueprint xml file (OSGI-INF/blueprint/config.xml) is detailed below:

       

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>

      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">

      <bean id="helloWorld" class="org.damiox.test.bundle2.HelloWorld"

      init-method="niam">

      </bean>

      </blueprint>

       

      And the MANIFEST.MF is the following:

       

      Manifest-Version: 1.0

      Bundle-ManifestVersion: 2

      Bundle-Name: Bundle2

      Bundle-SymbolicName: Bundle2

      Bundle-Version: 1.0.0.qualifier

      Import-Package: org.osgi.framework

      Export-Package: org.damiox.test.bundle2

      Bundle-ClassPath: .

      Bundle-RequiredExecutionEnvironment: J2SE-1.5

       

      I'm running the JBoss Server through Eclipse Juno and starting my bundle from there.

      Why is it failing? This is driving me nuts

       

      Thanks in advance

      Damian

        • 1. Re: Getting a ClassNotFoundException when starting my bundle
          thomas.diesler

          Did you start with the working examples that we distribute here?

           

          If this is a classloading issue, you can see the details if you turn on TRACE for org.jboss.modules

          1 of 1 people found this helpful
          • 2. Re: Getting a ClassNotFoundException when starting my bundle
            damiox

            Hello Thomas,

             

            Thanks for your feedback. I turned on "TRACE" logs to org.jboss.modules as you suggested me and at the end of this post you will find the console output.

             

            Take into account that I'm running my bundle through Eclipse with JBoss AS Tools. I went to C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\deployments and I checked that there is a Bundle2.jar there, I think it is being copied by Eclipse.

             

            If I open up that jar file I see the following jar structure:

            bundle2-deb.png

             

            Inside org/damiox/test/bundle2 there is nothing at all. Same in src/main/java

            My org.damiox.test.bundle2.HelloWorld class is in target/classes/org/damiox/test/bundle2/HelloWorld.class, I believe that might be the issue... Looks like a deployment issue from my Eclipse configuration.

             

            I will keep on researching that. Any help would be appreciated.

             

            Thanks in advance,

            Damian

             

            -----

            TRACE log when starting my bundle:

             

             

            11:30:21,327 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) Scanning directory C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\deployments for deployment content changes

            11:30:21,327 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Executing "read-children-resources" []

            11:30:21,327 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Prepared response is {

                "outcome" => undefined,

                "result" => {}

            }

            11:30:21,327 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) Scan complete

            11:30:26,339 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) Scanning directory C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\deployments for deployment content changes

            11:30:26,339 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) Executing "read-children-resources" []

            11:30:26,339 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) Prepared response is {

                "outcome" => undefined,

                "result" => {}

            }

            11:30:26,339 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) Scan complete

            11:30:31,348 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) Scanning directory C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\deployments for deployment content changes

            11:30:31,348 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Executing "read-children-resources" []

            11:30:31,348 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) Prepared response is {

                "outcome" => undefined,

                "result" => {}

            }

            11:30:31,348 DEBUG [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) Deployment scan of [C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\deployments] found update action [{

                "operation" => "composite",

                "address" => [],

                "steps" => [

                    {

                        "operation" => "add",

                        "address" => [("deployment" => "Bundle2.jar")],

                        "content" => [{

                            "path" => "deployments\\Bundle2.jar",

                            "relative-to" => "jboss.server.base.dir",

                            "archive" => true

                        }],

                        "persistent" => false

                    },

                    {

                        "operation" => "deploy",

                        "address" => [("deployment" => "Bundle2.jar")]

                    }

                ]

            }]

            11:30:31,348 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) Executing "composite" []

            11:30:31,348 DEBUG [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) Entered VERIFY stage; waiting for service container to settle

            11:30:31,348 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "Bundle2.jar"

            11:30:31,348 TRACE [org.jboss.vfs.zip] (MSC service thread 1-4) Created zip filesystem for file C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\standalone\tmp\vfs\temp3640c1ad6f56cb07\Bundle2.jar-ee96d816b29c64f4\Bundle2.jar in temp dir org.jboss.vfs.TempDir@3e9b69e6

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/javaCompiler...args" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/.classpath" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/build.properties" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/.project" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/target/classes/OSGI-INF/blueprint/config.xml" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/target/classes/org/damiox/test/bundle2/VoipService.class" accepted: true

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/target/classes/org/damiox/test/bundle2/VoipServiceImpl.class" accepted: true

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/target/classes/org/damiox/test/bundle2/HelloWorld.class" accepted: true

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/target/test-classes/org/damiox/test/bundle2/AppTest.class" accepted: true

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/build.xml" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/pom.xml" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/src/main/resources/OSGI-INF/blueprint/config.xml" accepted: false

            11:30:31,348 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/blueprint/config.xml" accepted: false

            11:30:31,363 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/META-INF/MANIFEST.MF" accepted: false

            11:30:31,363 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/.settings/org.eclipse.jdt.core.prefs" accepted: false

            11:30:31,363 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/.settings/org.eclipse.m2e.core.prefs" accepted: false

            11:30:31,363 TRACE [org.jboss.vfs.util.SuffixMatchFilter] (MSC service thread 1-4) "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/.settings/org.eclipse.core.resources.prefs" accepted: false

            11:30:31,363 TRACE [org.jboss.as.server.deployment] (MSC service thread 1-4) Generated index for archive "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar"

            11:30:31,363 DEBUG [org.jboss.as.server.deployment] (MSC service thread 1-4) Found Extension-Name manifest entry null in /C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar

            11:30:31,363 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) parse checking if "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/META-INF/persistence.xml" exists, result = false

            11:30:31,363 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) parsed persistence unit definitions for jar Bundle2.jar

            11:30:31,363 TRACE [org.jboss.as.jpa] (MSC service thread 1-4) incrementing PU count for Bundle2.jar by 0

            11:30:31,363 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-3) Found storage state: StorageState[id=18,rev=1,startlevel=1,started=true,location=Bundle2.jar]

            11:30:31,363 TRACE [org.jboss.osgi.framework] (MSC service thread 1-1) new RevisionContent: Bundle2-18-1-0

            11:30:31,363 TRACE [org.jboss.osgi.framework] (MSC service thread 1-1) Aquire framework lock

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-1) Install resource: HostBundleRevision[Bundle2:1.0.0.201212031130]

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-1)    XIdentityCapability[atts={osgi.identity=Bundle2, type=osgi.bundle, version=1.0.0.201212031130},[anonymous]]

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-1)    XResourceCapability[atts={osgi.wiring.bundle=Bundle2, bundle-version=1.0.0.201212031130},[Bundle2:1.0.0.201212031130]]

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-1)    XHostCapability[atts={osgi.wiring.host=Bundle2, bundle-version=1.0.0.201212031130},[Bundle2:1.0.0.201212031130]]

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-1)    XPackageCapability[atts={osgi.wiring.package=org.damiox.test.bundle2},[Bundle2:1.0.0.201212031130]]

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-1)    XPackageRequirement[atts={osgi.wiring.package=org.osgi.framework},[Bundle2:1.0.0.201212031130]]

            11:30:31,363 TRACE [org.jboss.osgi.framework] (MSC service thread 1-1) Release framework lock

            11:30:31,363 TRACE [org.jboss.osgi.framework] (MSC service thread 1-1) changeState: Bundle2:1.0.0.201212031130 -> INSTALLED

            11:30:31,363 TRACE [org.jboss.osgi.deployment] (MSC service thread 1-1) Invoke: [org.jboss.as.osgi.web.WebContextLifecycleInterceptor,order=1000] with state INSTALLED on Bundle2.jar

            11:30:31,363 INFO  [org.jboss.osgi.framework] (MSC service thread 1-1) JBOSGI011001: Bundle installed: Bundle2:1.0.0.201212031130

            11:30:31,363 DEBUG [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api:main dependency to Bundle2.jar

            11:30:31,363 DEBUG [org.jboss.as.osgi] (MSC service thread 1-4) Resolve: Bundle2.jar

            11:30:31,363 TRACE [org.jboss.osgi.framework] (MSC service thread 1-4) Aquire framework lock

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-4) Resolve: [HostBundleRevision[Bundle2:1.0.0.201212031130]], []

            11:30:31,363 TRACE [org.jboss.osgi.resolver] (MSC service thread 1-4) Env provides: XPackageRequirement[atts={osgi.wiring.package=org.osgi.framework},[Bundle2:1.0.0.201212031130]] => [XPackageCapability[atts={osgi.wiring.package=org.osgi.framework, version=1.5},[system.bundle:0.0.0]]]

            11:30:31,363 TRACE [org.jboss.osgi.resolver] (MSC service thread 1-4) Ctx provides: XPackageRequirement[atts={osgi.wiring.package=org.osgi.framework},[Bundle2:1.0.0.201212031130]] => [XPackageCapability[atts={osgi.wiring.package=org.osgi.framework, version=1.5},[system.bundle:0.0.0]]]

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-4) Resolution result: 1

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-4)    HostBundleRevision[Bundle2:1.0.0.201212031130]: 1 wires

            11:30:31,363 DEBUG [org.jboss.osgi.resolver] (MSC service thread 1-4)       XPackageRequirement[atts={osgi.wiring.package=org.osgi.framework},[Bundle2:1.0.0.201212031130]] -> [SystemBundleRevision[system.bundle:0.0.0]]

            11:30:31,363 TRACE [org.jboss.osgi.framework] (MSC service thread 1-4) createModuleDependencySpec: [id=jbosgi.framework:main,if=in {org/osgi/framework},ef=Reject,loader=FrameworkModuleLoader,optional=false]

            11:30:31,363 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-4) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,363 TRACE [org.jboss.osgi.framework] (MSC service thread 1-4) createLocalDependencySpec: [if=not in {org/osgi/framework},ef=Accept,rif=Accept,ref=Accept,cf=Accept]

            11:30:31,363 TRACE [org.jboss.as.osgi] (MSC service thread 1-4) Add module spec to loader: deployment.Bundle2.jar:main

            11:30:31,379 TRACE [org.jboss.osgi.framework] (MSC service thread 1-4) changeState: Bundle2:1.0.0.201212031130 -> RESOLVED

            11:30:31,379 TRACE [org.jboss.osgi.deployment] (MSC service thread 1-4) Invoke: [org.jboss.as.osgi.web.WebContextLifecycleInterceptor,order=1000] with state RESOLVED on Bundle2.jar

            11:30:31,379 TRACE [org.jboss.osgi.framework] (MSC service thread 1-4) Release framework lock

            11:30:31,379 TRACE [org.jboss.osgi.framework] (MSC service thread 1-4) Set mode ACTIVE on service: service jbosgi.bundle.18.Bundle2."1.0.0.201212031130".RESOLVED

            11:30:31,380 TRACE [org.jboss.modules] (MSC service thread 1-2) Locally loading module deployment.Bundle2.jar:main from Service Module Loader

            11:30:31,380 TRACE [org.jboss.as.server.moduleservice] (MSC service thread 1-2) listenerAdded: Controller for service jboss.module.spec.service."deployment.Bundle2.jar".main@8043bd7

            11:30:31,380 DEBUG [org.jboss.modules] (MSC service thread 1-2) Module deployment.Bundle2.jar:main defined by Service Module Loader

            11:30:31,380 TRACE [org.jboss.modules] (MSC service thread 1-2) Loaded module deployment.Bundle2.jar:main from Service Module Loader

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-3) Starting: service jbosgi.bundle.18.Bundle2."1.0.0.201212031130".RESOLVED in mode ACTIVE

            11:30:31,380 TRACE [org.jboss.as.logging] (MSC service thread 1-1) Scanning for logging configuration files.

            11:30:31,380 TRACE [org.jboss.as.naming] (MSC service thread 1-2) Bound resource AppName into naming store org.jboss.as.naming.WritableServiceBasedNamingStore@5671db31 (service name service jboss.naming.context.java.app.Bundle2.AppName)

            11:30:31,380 TRACE [org.jboss.as.naming] (MSC service thread 1-4) Bound resource ModuleName into naming store org.jboss.as.naming.WritableServiceBasedNamingStore@4ced9a4d (service name service jboss.naming.context.java.module.Bundle2.Bundle2.ModuleName)

            11:30:31,380 DEBUG [org.jboss.as.ejb3.deployment.processors.EjbClientContextSetupProcessor] (MSC service thread 1-3) Deployment unit deployment "Bundle2.jar" doesn't have any explicit EJB client context configured. Falling back on the default service jboss.ejb3.ejbClientContext.default EJB client context service

            11:30:31,380 DEBUG [org.jboss.as.ejb3.deployment.processors.EjbClientContextSetupProcessor] (MSC service thread 1-3) Registering EJB client context org.jboss.ejb.client.EJBClientContext@4d815146 for classloader HostBundleClassLoader for Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Aquire START lock on: Bundle2:1.0.0.201212031130

            11:30:31,380 TRACE [org.jboss.as.naming] (MSC service thread 1-1) Bound resource env into naming store org.jboss.as.naming.WritableServiceBasedNamingStore@5671db31 (service name service jboss.naming.context.java.app.Bundle2.env)

            11:30:31,380 TRACE [org.jboss.security] (MSC service thread 1-4) PBOX000337: nextState for action getPolicyConfiguration: open

            11:30:31,380 DEBUG [org.jboss.as.security] (MSC service thread 1-4) Cannot create permissions with 'null' metaData for id=Bundle2.jar

            11:30:31,380 TRACE [org.jboss.as.naming] (MSC service thread 1-3) Bound resource env into naming store org.jboss.as.naming.WritableServiceBasedNamingStore@4ced9a4d (service name service jboss.naming.context.java.module.Bundle2.Bundle2.env)

            11:30:31,380 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-2) Starting bundle: Bundle2:1.0.0.201212031130

            11:30:31,380 TRACE [org.jboss.security] (MSC service thread 1-4) PBOX000314: commit, contextID: Bundle2.jar

            11:30:31,380 TRACE [org.jboss.security] (MSC service thread 1-4) PBOX000337: nextState for action commit: inService

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Aquire RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Release RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Release START lock on: Bundle2:1.0.0.201212031130

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Aquire START lock on: Bundle2:1.0.0.201212031130

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) changeState: Bundle2:1.0.0.201212031130 -> STARTING

            11:30:31,380 TRACE [org.jboss.osgi.deployment] (MSC service thread 1-2) Invoke: [org.jboss.as.osgi.web.WebContextLifecycleInterceptor,order=1000] with state STARTING on Bundle2.jar

            11:30:31,380 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) changeState: Bundle2:1.0.0.201212031130 -> ACTIVE

            11:30:31,380 TRACE [org.jboss.osgi.deployment] (MSC service thread 1-2) Invoke: [org.jboss.as.osgi.web.WebContextLifecycleInterceptor,order=1000] with state ACTIVE on Bundle2.jar

            11:30:31,380 DEBUG [org.apache.aries.blueprint.container.BlueprintExtender] (MSC service thread 1-2) Scanning bundle Bundle2 for blueprint application

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es_AR.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es_AR.properties" (false)

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es.properties" (false)

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle.properties" (false)

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,380 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es_AR.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es_AR.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es_AR.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es_AR.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es_AR.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es_AR.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle_es.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) getChild: OSGI-INF/l10n/bundle.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Aquire RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Release RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (MSC service thread 1-2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 DEBUG [org.apache.aries.blueprint.container.BlueprintExtender] (MSC service thread 1-2) Found blueprint application in bundle Bundle2 with paths: [bundle://Bundle2-18-1-0/OSGI-INF/blueprint/config.xml]

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) startTracking org.osgi.service.blueprint.container.BlueprintContainer from: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Aquire RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Release RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding class org.osgi.service.blueprint.container.BlueprintContainer from Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Class [org.osgi.service.blueprint.container.BlueprintContainer] does not match Dynamic-ImportPackage patterns

            11:30:31,396 TRACE [org.jboss.modules] (MSC service thread 1-2) Class org.osgi.service.blueprint.container.BlueprintContainer not found from Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) stopTracking org.osgi.service.blueprint.container.BlueprintContainer from: Bundle2:1.0.0.201212031130

            11:30:31,396 DEBUG [org.apache.aries.blueprint.container.BlueprintExtender] (MSC service thread 1-2) Scheduling creation of blueprint bundle Bundle2 asynchronously

            11:30:31,396 DEBUG [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Running blueprint container for bundle Bundle2 in state Unknown

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Set mode ACTIVE on service: service jbosgi.bundle.18.Bundle2."1.0.0.201212031130".ACTIVE

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-4) Starting: service jbosgi.bundle.18.Bundle2."1.0.0.201212031130".ACTIVE in mode ACTIVE

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: OSGI-INF/l10n/bundle_es_AR.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es_AR.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 INFO  [org.jboss.osgi.framework] (MSC service thread 1-2) JBOSGI011002: Bundle started: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: OSGI-INF/l10n/bundle_es.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Release START lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Aquire START lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: OSGI-INF/l10n/bundle.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.framework] (MSC service thread 1-2) Release START lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: OSGI-INF/l10n/bundle_es_AR.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es_AR.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: OSGI-INF/l10n/bundle_es.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle_es.properties" (false)

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: OSGI-INF/l10n/bundle.properties => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/l10n/bundle.properties" (false)

            11:30:31,396 DEBUG [org.apache.aries.blueprint.container.BlueprintEventDispatcher] (Blueprint Extender: 2) Sending blueprint container event BlueprintEvent[type=CREATING] for bundle Bundle2

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: /OSGI-INF/blueprint/config.xml => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/blueprint/config.xml" (true)

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Aquire RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Release RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.modules] (Blueprint Extender: 2) Attempting to find resource OSGI-INF/blueprint/schema.map in Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) acceptForMount: "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar" => false

            11:30:31,396 TRACE [org.jboss.osgi.vfs] (Blueprint Extender: 2) getChild: OSGI-INF/blueprint/schema.map => "/C:/jboss-as-7.2.0.Alpha1-SNAPSHOT/bin/content/Bundle2.jar/OSGI-INF/blueprint/schema.map" (false)

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Class [OSGI-INF/blueprint/schema.map] does not match Dynamic-ImportPackage patterns

            11:30:31,396 TRACE [org.jboss.modules] (DeploymentScanner-threads - 1) Attempting to find resource META-INF/services/javax.xml.stream.XMLOutputFactory in Module "org.jboss.as.deployment-scanner:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,396 TRACE [org.jboss.modules] (DeploymentScanner-threads - 1) Could not load provider Not found in ModuleClassLoader for Module "org.jboss.as.deployment-scanner:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,396 DEBUG [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Tracking service references: []

            11:30:31,396 DEBUG [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Instantiating components: [blueprintContainer, blueprintBundle, blueprintBundleContext, blueprintConverter, helloWorld]

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) startTracking org.damiox.test.bundle2.HelloWorld from: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Aquire RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Release RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,396 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.damiox.test.bundle2.HelloWorld from Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,396 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.damiox.test.bundle2.HelloWorld not found from Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) stopTracking org.damiox.test.bundle2.HelloWorld from: Bundle2:1.0.0.201212031130

            11:30:31,396 DEBUG [org.apache.aries.blueprint.di.AbstractRecipe] (Blueprint Extender: 2) Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld'], trying to load a nested class org.damiox.test.bundle2$HelloWorld

            11:30:31,396 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) startTracking org.damiox.test.bundle2$HelloWorld from: Bundle2:1.0.0.201212031130

            11:30:31,411 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Aquire RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,411 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Release RESOLVE lock on: Bundle2:1.0.0.201212031130

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.damiox.test.bundle2$HelloWorld from Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,411 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) Class [org.damiox.test.bundle2$HelloWorld] does not match Dynamic-ImportPackage patterns

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.damiox.test.bundle2$HelloWorld not found from Module "deployment.Bundle2.jar:main" from Service Module Loader

            11:30:31,411 TRACE [org.jboss.osgi.framework] (Blueprint Extender: 2) stopTracking org.damiox.test.bundle2$HelloWorld from: Bundle2:1.0.0.201212031130

            11:30:31,411 ERROR [org.apache.aries.blueprint.di.AbstractRecipe] (Blueprint Extender: 2) Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']

            11:30:31,411 WARN  [org.apache.aries.blueprint.container.BeanRecipe] (Blueprint Extender: 2) Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.xnio.safe-close] (DeploymentScanner-threads - 1) Closing resource <?xml version='1.0' encoding='UTF-8'?>

             

             

            <server xmlns="urn:jboss:domain:1.4">

             

             

                <extensions>

                    <extension module="org.jboss.as.clustering.infinispan"/>

                    <extension module="org.jboss.as.configadmin"/>

                    <extension module="org.jboss.as.connector"/>

                    <extension module="org.jboss.as.deployment-scanner"/>

                    <extension module="org.jboss.as.ee"/>

                    <extension module="org.jboss.as.ejb3"/>

                    <extension module="org.jboss.as.jaxrs"/>

                    <extension module="org.jboss.as.jdr"/>

                    <extension module="org.jboss.as.jmx"/>

                    <extension module="org.jboss.as.jpa"/>

                    <extension module="org.jboss.as.jsf"/>

                    <extension module="org.jboss.as.logging"/>

                    <extension module="org.jboss.as.mail"/>

                    <extension module="org.jboss.as.naming"/>

                    <extension module="org.jboss.as.osgi"/>

                    <extension module="org.jboss.as.pojo"/>

                    <extension module="org.jboss.as.remoting"/>

                    <extension module="org.jboss.as.sar"/>

                    <extension module="org.jboss.as.security"/>

                    <extension module="org.jboss.as.threads"/>

                    <extension module="org.jboss.as.transactions"/>

                    <extension module="org.jboss.as.web"/>

                    <extension module="org.jboss.as.webservices"/>

                    <extension module="org.jboss.as.weld"/>

                </extensions>

             

             

             

             

                <management>

                    <security-realms>

                        <security-realm name="ManagementRealm">

                            <authentication>

                                <local default-user="$local"/>

                                <properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>

                            </authentication>

                        </security-realm>

                        <security-realm name="ApplicationRealm">

                            <authentication>

                                <local default-user="$local" allowed-users="*"/>

                                <properties path="application-users.properties" relative-to="jboss.server.config.dir"/>

                            </authentication>

                            <authorization>

                                <properties path="application-roles.properties" relative-to="jboss.server.config.dir"/>

                            </authorization>

                        </security-realm>

                    </security-realms>

                    <management-interfaces>

                        <native-interface security-realm="ManagementRealm">

                            <socket-binding native="management-native"/>

                        </native-interface>

                        <http-interface security-realm="ManagementRealm">

                            <socket-binding http="management-http"/>

                        </http-interface>

                    </management-interfaces>

                </management>

             

             

                <profile>

                    <subsystem xmlns="urn:jboss:domain:logging:1.2">

                        <console-handler name="CONSOLE">

                            <level name="TRACE"/>

                            <formatter>

                                <pattern-formatter pattern="%K{level}%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                            </formatter>

                        </console-handler>

                        <periodic-rotating-file-handler name="FILE" autoflush="true">

                            <formatter>

                                <pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>

                            </formatter>

                            <file relative-to="jboss.server.log.dir" path="server.log"/>

                            <suffix value=".yyyy-MM-dd"/>

                            <append value="true"/>

                        </periodic-rotating-file-handler>

                        <logger category="com.arjuna">

                            <level name="WARN"/>

                        </logger>

                        <logger category="org.apache.tomcat.util.modeler">

                            <level name="WARN"/>

                        </logger>

                        <logger category="org.jboss.as.config">

                            <level name="DEBUG"/>

                        </logger>

                        <logger category="sun.rmi">

                            <level name="WARN"/>

                        </logger>

                        <logger category="jacorb">

                            <level name="WARN"/>

                        </logger>

                        <logger category="jacorb.config">

                            <level name="ERROR"/>

                        </logger>

                        <logger category="org.jboss.modules" use-parent-handlers="true">

                            <level name="TRACE"/>

                        </logger>

                        <root-logger>

                            <level name="TRACE"/>

                            <handlers>

                                <handler name="CONSOLE"/>

                                <handler name="FILE"/>

                            </handlers>

                        </root-logger>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:configadmin:1.0"/>

                    <subsystem xmlns="urn:jboss:domain:datasources:1.1">

                        <datasources>

                            <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">

                                <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</connection-url>

                                <driver>h2</driver>

                                <security>

                                    <user-name>sa</user-name>

                                    <password>sa</password>

                                </security>

                            </datasource>

                            <drivers>

                                <driver name="h2" module="com.h2database.h2">

                                    <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>

                                </driver>

                            </drivers>

                        </datasources>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:deployment-scanner:1.1">

                        <deployment-scanner path="deployments" relative-to="jboss.server.base.dir" scan-interval="5000"/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:ee:1.1">

                        <spec-descriptor-property-replacement>false</spec-descriptor-property-replacement>

                        <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:ejb3:1.4">

                        <session-bean>

                            <stateless>

                                <bean-instance-pool-ref pool-name="slsb-strict-max-pool"/>

                            </stateless>

                            <stateful default-access-timeout="5000" cache-ref="simple"/>

                            <singleton default-access-timeout="5000"/>

                        </session-bean>

                        <pools>

                            <bean-instance-pools>

                                <strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>

                                <strict-max-pool name="mdb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>

                            </bean-instance-pools>

                        </pools>

                        <caches>

                            <cache name="simple" aliases="NoPassivationCache"/>

                            <cache name="passivating" passivation-store-ref="file" aliases="SimpleStatefulCache"/>

                        </caches>

                        <passivation-stores>

                            <file-passivation-store name="file"/>

                        </passivation-stores>

                        <async thread-pool-name="default"/>

                        <timer-service thread-pool-name="default">

                            <data-store path="timer-service-data" relative-to="jboss.server.data.dir"/>

                        </timer-service>

                        <remote connector-ref="remoting-connector" thread-pool-name="default"/>

                        <thread-pools>

                            <thread-pool name="default">

                                <max-threads count="10"/>

                                <keepalive-time time="100" unit="milliseconds"/>

                            </thread-pool>

                        </thread-pools>

                        <default-security-domain value="other"/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:infinispan:1.4">

                        <cache-container name="web" aliases="standard-session-cache" default-cache="local-web" module="org.jboss.as.clustering.web.infinispan">

                            <local-cache name="local-web" batching="true">

                                <file-store passivation="false" purge="false"/>

                            </local-cache>

                        </cache-container>

                        <cache-container name="hibernate" default-cache="local-query" module="org.jboss.as.jpa.hibernate:4">

                            <local-cache name="entity">

                                <transaction mode="NON_XA"/>

                                <eviction strategy="LRU" max-entries="10000"/>

                                <expiration max-idle="100000"/>

                            </local-cache>

                            <local-cache name="local-query">

                                <transaction mode="NONE"/>

                                <eviction strategy="LRU" max-entries="10000"/>

                                <expiration max-idle="100000"/>

                            </local-cache>

                            <local-cache name="timestamps">

                                <transaction mode="NONE"/>

                                <eviction strategy="NONE"/>

                            </local-cache>

                        </cache-container>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>

                    <subsystem xmlns="urn:jboss:domain:jca:1.1">

                        <archive-validation enabled="true" fail-on-error="true" fail-on-warn="false"/>

                        <bean-validation enabled="true"/>

                        <default-workmanager>

                            <short-running-threads>

                                <core-threads count="50"/>

                                <queue-length count="50"/>

                                <max-threads count="50"/>

                                <keepalive-time time="10" unit="seconds"/>

                            </short-running-threads>

                            <long-running-threads>

                                <core-threads count="50"/>

                                <queue-length count="50"/>

                                <max-threads count="50"/>

                                <keepalive-time time="10" unit="seconds"/>

                            </long-running-threads>

                        </default-workmanager>

                        <cached-connection-manager/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:jdr:1.0"/>

                    <subsystem xmlns="urn:jboss:domain:jmx:1.2">

                        <expose-resolved-model/>

                        <expose-expression-model/>

                        <remoting-connector/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:jpa:1.1">

                        <jpa default-datasource="" default-extended-persistence-inheritance="DEEP"/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:jsf:1.0"/>

                    <subsystem xmlns="urn:jboss:domain:mail:1.1">

                        <mail-session jndi-name="java:jboss/mail/Default">

                            <smtp-server outbound-socket-binding-ref="mail-smtp"/>

                        </mail-session>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:naming:1.3">

                        <remote-naming/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:osgi:1.2" activation="eager">

                        <properties>

                            <property name="org.osgi.framework.startlevel.beginning">

                                2

                            </property>

                        </properties>

                        <capabilities>

                            <capability name="javax.jws.api"/>

                            <capability name="javax.persistence.api"/>

                            <capability name="javax.servlet.api"/>

                            <capability name="javax.transaction.api"/>

                            <capability name="javax.ws.rs.api"/>

                            <capability name="javax.xml.bind.api"/>

                            <capability name="javax.xml.ws.api"/>

                            <capability name="org.slf4j"/>

                            <capability name="org.apache.felix.log" startlevel="1"/>

                            <capability name="org.jboss.osgi.logging" startlevel="1"/>

                            <capability name="org.apache.felix.configadmin" startlevel="1"/>

                            <capability name="org.jboss.as.osgi.configadmin" startlevel="1"/>

                            <capability name="org.jboss.as.osgi.http" startlevel="1"/>

                            <capability name="org.apache.aries:org.apache.aries.util:1.0.0" startlevel="2"/>

                            <capability name="org.apache.aries.proxy:org.apache.aries.proxy:1.0.0" startlevel="2"/>

                            <capability name="org.apache.aries.blueprint:org.apache.aries.blueprint:1.0.0" startlevel="2"/>

                        </capabilities>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:pojo:1.0"/>

                    <subsystem xmlns="urn:jboss:domain:remoting:1.1">

                        <connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>

                    <subsystem xmlns="urn:jboss:domain:sar:1.0"/>

                    <subsystem xmlns="urn:jboss:domain:security:1.2">

                        <security-domains>

                            <security-domain name="other" cache-type="default">

                                <authentication>

                                    <login-module code="Remoting" flag="optional">

                                        <module-option name="password-stacking" value="useFirstPass"/>

                                    </login-module>

                                    <login-module code="RealmDirect" flag="required">

                                        <module-option name="password-stacking" value="useFirstPass"/>

                                    </login-module>

                                </authentication>

                            </security-domain>

                            <security-domain name="jboss-web-policy" cache-type="default">

                                <authorization>

                                    <policy-module code="Delegating" flag="required"/>

                                </authorization>

                            </security-domain>

                            <security-domain name="jboss-ejb-policy" cache-type="default">

                                <authorization>

                                    <policy-module code="Delegating" flag="required"/>

                                </authorization>

                            </security-domain>

                        </security-domains>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:threads:1.1"/>

                    <subsystem xmlns="urn:jboss:domain:transactions:1.2">

                        <core-environment>

                            <process-id>

                                <uuid/>

                            </process-id>

                        </core-environment>

                        <recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-status-manager"/>

                        <coordinator-environment default-timeout="300"/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:web:1.2" default-virtual-server="default-host" native="false">

                        <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>

                        <virtual-server name="default-host" enable-welcome-root="true">

                            <alias name="localhost"/>

                            <alias name="example.com"/>

                        </virtual-server>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:webservices:1.2">

                        <modify-wsdl-address>true</modify-wsdl-address>

                        <wsdl-host>${jboss.bind.address:127.0.0.1}</wsdl-host>

                        <endpoint-config name="Standard-Endpoint-Config"/>

                        <endpoint-config name="Recording-Endpoint-Config">

                            <pre-handler-chain name="recording-handlers" protocol-bindings="##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM">

                                <handler name="RecordingHandler" class="org.jboss.ws.common.invocation.RecordingServerHandler"/>

                            </pre-handler-chain>

                        </endpoint-config>

                        <client-config name="Standard-Client-Config"/>

                    </subsystem>

                    <subsystem xmlns="urn:jboss:domain:weld:1.0"/>

                </profile>

             

             

                <interfaces>

                    <interface name="management">

                        <inet-address value="${jboss.bind.address.management:127.0.0.1}"/>

                    </interface>

                    <interface name="public">

                        <inet-address value="${jboss.bind.address:127.0.0.1}"/>

                    </interface>

                    <interface name="unsecure">

                        <inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>

                    </interface>

                </interfaces>

             

             

                <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">

                    <socket-binding name="management-native" interface="management" port="${jboss.management.native.port:9999}"/>

                    <socket-binding name="management-http" interface="management" port="${jboss.management.http.port:9990}"/>

                    <socket-binding name="management-https" interface="management" port="${jboss.management.https.port:9443}"/>

                    <socket-binding name="ajp" port="8009"/>

                    <socket-binding name="http" port="8080"/>

                    <socket-binding name="https" port="8443"/>

                    <socket-binding name="remoting" port="4447"/>

                    <socket-binding name="txn-recovery-environment" port="4712"/>

                    <socket-binding name="txn-status-manager" port="4713"/>

                    <outbound-socket-binding name="mail-smtp">

                        <remote-destination host="localhost" port="25"/>

                    </outbound-socket-binding>

                </socket-binding-group>

             

             

            </server>

             

             

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) Prepared response is {"outcome" => undefined}

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BeanRecipe from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BeanRecipe not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BeanRecipe from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BeanRecipe not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe$1 from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe$1 not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe$1 from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe$1 not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintRepository from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintRepository not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintRepository from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintRepository not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintContainerImpl from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintContainerImpl not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintContainerImpl from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintContainerImpl not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.GenericType from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.GenericType not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.GenericType from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.GenericType not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 ERROR [org.apache.aries.blueprint.container.BlueprintContainerImpl] (Blueprint Extender: 2) Unable to start blueprint container for bundle Bundle2: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']

                      at org.apache.aries.blueprint.di.AbstractRecipe.doLoadType(AbstractRecipe.java:195)

                      at org.apache.aries.blueprint.di.AbstractRecipe.loadType(AbstractRecipe.java:161)

                      at org.apache.aries.blueprint.container.BeanRecipe.loadClass(BeanRecipe.java:245)

                      at org.apache.aries.blueprint.container.BeanRecipe.getType(BeanRecipe.java:891)

                      at org.apache.aries.blueprint.container.BeanRecipe.getInstance(BeanRecipe.java:319)

                      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:802)

                      at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:783)

                      at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)

                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]

                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]

                      at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)

                      at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)

                      at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)

                      at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:648)

                      at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:340)

                      at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:242)

                      at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)

                      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [rt.jar:1.6.0_35]

                      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [rt.jar:1.6.0_35]

                      at java.util.concurrent.FutureTask.run(FutureTask.java:138) [rt.jar:1.6.0_35]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [rt.jar:1.6.0_35]

                      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206) [rt.jar:1.6.0_35]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_35]

                      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_35]

                      at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_35]

            Caused by: java.lang.ClassNotFoundException: org.damiox.test.bundle2.HelloWorld from [Module "deployment.Bundle2.jar:main" from Service Module Loader]

                      at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.3.GA]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.3.GA]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.3.GA]

                      at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.3.GA]

                      at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:132) [jboss-modules.jar:1.1.3.GA]

                      at org.jboss.osgi.framework.internal.HostBundleRevision.loadClass(HostBundleRevision.java:121) [jbosgi-framework-core-2.0.1.Final.jar:2.0.1.Final]

                      at org.jboss.osgi.framework.internal.AbstractBundleState.loadClass(AbstractBundleState.java:444) [jbosgi-framework-core-2.0.1.Final.jar:2.0.1.Final]

                      at org.jboss.osgi.framework.internal.HostBundleState.loadClass(HostBundleState.java:102) [jbosgi-framework-core-2.0.1.Final.jar:2.0.1.Final]

                      at org.apache.aries.blueprint.container.BlueprintContainerImpl.loadClass(BlueprintContainerImpl.java:388)

                      at org.apache.aries.blueprint.container.BlueprintRepository.loadClass(BlueprintRepository.java:410)

                      at org.apache.aries.blueprint.container.GenericType.parse(GenericType.java:113)

                      at org.apache.aries.blueprint.di.AbstractRecipe.doLoadType(AbstractRecipe.java:168)

                      ... 24 more

             

             

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BeanRecipe from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BeanRecipe not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BeanRecipe from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BeanRecipe not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe$1 from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe$1 not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.di.AbstractRecipe$1 from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,411 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.di.AbstractRecipe$1 not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintRepository from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintRepository not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintRepository from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintRepository not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintContainerImpl from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintContainerImpl not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.BlueprintContainerImpl from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.BlueprintContainerImpl not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.GenericType from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.GenericType not found from Module "org.jboss.osgi.framework:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Finding class org.apache.aries.blueprint.container.GenericType from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 TRACE [org.jboss.modules] (Blueprint Extender: 2) Class org.apache.aries.blueprint.container.GenericType not found from Module "org.jboss.logmanager:main" from local module loader @54281d4b (roots: C:\jboss-as-7.2.0.Alpha1-SNAPSHOT\modules)

            11:30:31,427 DEBUG [org.apache.aries.blueprint.container.BlueprintEventDispatcher] (Blueprint Extender: 2) Sending blueprint container event BlueprintEvent[type=FAILURE, exception=Unable to load class org.damiox.test.bundle2.HelloWorld from recipe BeanRecipe[name='helloWorld']] for bundle Bundle2

            11:30:31,598 TRACE [org.xnio.safe-close] (DeploymentScanner-threads - 1) Closing resource java.io.FileOutputStream@7c3fb999

            11:30:31,614 TRACE [org.xnio.safe-close] (DeploymentScanner-threads - 1) Closing resource java.io.ByteArrayInputStream@3bb22b89

            11:30:31,708 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "Bundle2.jar"

            11:30:31,708 TRACE [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) Scan complete

            • 3. Re: Getting a ClassNotFoundException when starting my bundle
              thomas.diesler

              you can run

               

              jar -tf path-to-your-jar

               

              The class that you're trying to load should show up

              1 of 1 people found this helpful
              • 4. Re: Getting a ClassNotFoundException when starting my bundle
                damiox

                Hi Thomas,

                 

                I fixed the issue by using the following build.properties files in my Eclipse PDE configuration:

                 

                source.. = src/main/java/,src/main/resources/,src/test/java/

                bin.includes = META-INF/,OSGI-INF/,.

                 

                Thanks for your support,

                Damian Nardelli