atom feed11 messages in org.apache.incubator.aries-userRe: Aries Hibernate JPA provider - Th...
FromSent OnAttachments
Moacir CardosoMar 7, 2012 8:38 am 
Emily JiangMar 7, 2012 1:45 pm 
Moacir CardosoMar 8, 2012 10:55 am 
Balázs ZsoldosMar 8, 2012 11:43 am 
Moacir CardosoMar 8, 2012 11:59 am 
Moacir CardosoMar 8, 2012 12:23 pm 
Balázs ZsoldosMar 8, 2012 4:35 pm 
Moacir CardosoMar 9, 2012 8:34 am.txt
charlie turlututuMar 25, 2012 3:24 am 
charlie turlututuMar 25, 2012 11:56 am 
charlie turlututuMar 26, 2012 1:32 pm 
Subject:Re: Aries Hibernate JPA provider - There are no providers available
From:Moacir Cardoso (moac@gmail.com)
Date:Mar 8, 2012 12:23:47 pm
List:org.apache.incubator.aries-user

I want to debug the aries.jpa.container package but the sources are not available. Link is broken :-( http://aries.apache.org/downloads/currentrelease.html

Where could I find the source package?

Moa

Thanks Balázs, seems to be interesting, will take a look on it.

Moa.

2012/3/8 Balázs Zsoldos <bala@everit.biz>:

Hi,

you may be interested the hibernate package we made. It works now however an additional adapter will be necessary to remove some exceptions concerning to the Proxy mechanism of Hibernate. It is located at https://repository.everit.biz/nexus/index.html#view-repositories;thirdparty~browsestorage~/org/hibernate/biz.everit.osgi.org.hibernate/3.6.8.Final/biz.everit.osgi.org.hibernate-3.6.8.Final.jar

Although there are some exceptions during initialization it works. The exceptions can be avoided by adding the org.hibernate.proxy Import-Package to your entity bundle.

Regards, Balazs Zsoldos Software Architect Mobile: +36-70/594-92-34

Everit Kft. https://www.everit.biz

On Thu, Mar 8, 2012 at 7:55 PM, Moacir Cardoso <moac@gmail.com> wrote:

Emily, thanks for the tip. I read the instructions and understood the general idea. Basically the trick is the activator. It basically register the provider as a service, then I can safely replace the activator with a blueprint service

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"  xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.1.0">

  <bean id="jpaProvider" class="org.hibernate.ejb.HibernatePersistence" />

   <service ref="jpaProvider" interface="javax.persistence.spi.PersistenceProvider">         <service-properties>                <entry key="javax.persistence.provider" value="org.hibernate.ejb.HibernatePersistence"/>         </service-properties>    </service>

</blueprint>

In Karaf webconsole services tab I can see the service: 458     [javax.persistence.spi.PersistenceProvider]             javax.persistence.provider org.hibernate.ejb.HibernatePersistence             osgi.service.blueprint.compname    jpaProvider             Using Bundles  org.apache.geronimo.specs.geronimo-jpa_2.0_spec (309)

Ok, now I have the hibernate provider registered as a service. The problem now is that when I try to start a package with the persistence.xml file in the META-INF dir, I get the following exception:

308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence descriptors: [META-INF/persistence.xml] in bundle br.teste.dao.aluno_1.0.0 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence units: [Persistence unit pu in bundle br.teste.dao.aluno_1.0.0] 308 - org.apache.aries.jpa.container - 0.3.0 | FrameworkEvent ERROR

java.lang.NullPointerException        at org.apache.aries.jpa.container.impl.PersistenceBundleManager$ProviderServiceComparator.compare(PersistenceBundleManager.java:575)[308:org.apache.aries.jpa.container:0.3.0]        at org.apache.aries.jpa.container.impl.PersistenceBundleManager$ProviderServiceComparator.compare(PersistenceBundleManager.java:572)[308:org.apache.aries.jpa.container:0.3.0]        at java.util.Collections.max(Collections.java:681)[:1.6.0_25]        at org.apache.aries.jpa.container.impl.PersistenceBundleManager.getBestProvider(PersistenceBundleManager.java:554)[308:org.apache.aries.jpa.container:0.3.0]        at org.apache.aries.jpa.container.impl.PersistenceBundleManager.getProviderServiceReference(PersistenceBundleManager.java:460)[308:org.apache.aries.jpa.container:0.3.0]        at org.apache.aries.jpa.container.impl.PersistenceBundleManager.setupManager(PersistenceBundleManager.java:360)[308:org.apache.aries.jpa.container:0.3.0]        at org.apache.aries.jpa.container.impl.PersistenceBundleManager.addingBundle(PersistenceBundleManager.java:148)[308:org.apache.aries.jpa.container:0.3.0]        at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:440)[karaf.jar:2.2.0-fuse-00-61]        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:2.2.0-fuse-00-61]        at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)[karaf.jar:2.2.0-fuse-00-61]        at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:413)[karaf.jar:2.2.0-fuse-00-61]        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3770)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]        at org.apache.felix.framework.Felix.installBundle(Felix.java:2656)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]        at org.apache.felix.framework.Felix.installBundle(Felix.java:2452)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]        at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:129)[org.apache.felix.framework-3.0.9-fuse-00-61.jar:]        at org.apache.karaf.shell.osgi.InstallBundle.install(InstallBundle.java:67)[14:org.apache.karaf.shell.osgi:2.2.0.fuse-00-61]        at org.apache.karaf.shell.osgi.InstallBundle.doExecute(InstallBundle.java:43)[14:org.apache.karaf.shell.osgi:2.2.0.fuse-00-61]        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at org.apache.karaf.shell.console.jline.Console.run(Console.java:240)[19:org.apache.karaf.shell.console:2.2.0.fuse-00-61]        at java.lang.Thread.run(Thread.java:662)[:1.6.0_25]

I looked into ProviderServiceComparator.compare class and realized that it tries to read the version of the bundle and occurs NullPointerExeception.

/**   * Sort the providers so that the highest version, highest ranked service is at the top   */  private static class ProviderServiceComparator implements Comparator<ServiceReference> {    public int compare(ServiceReference object1, ServiceReference object2)    {      Version v1 = object1.getBundle().getVersion();      Version v2 = object2.getBundle().getVersion();      int res = v1.compareTo(v2);      if (res == 0) {        Integer rank1 = (Integer) object1.getProperty(Constants.SERVICE_RANKING);        Integer rank2 = (Integer) object2.getProperty(Constants.SERVICE_RANKING);        if (rank1 != null && rank2 != null)          res = rank1.compareTo(rank2);      }      return res;    }  }

2012/3/7 Emily Jiang <emij@googlemail.com>

Hmm. Your error message is not quite readable.

The link, http://jaxenter.com/tutorial-using-jpa-in-an-osgi-environment-36661-3.html has the instructions about how to make Hibernate to work with Aries.

Regards Emily

On Wed, Mar 7, 2012 at 4:38 PM, Moacir Cardoso <moac@gmail.com> wrote:

Hello, I'm having problems trying to start a bundle using Aries JPA  Blueprint. I'm getting the following error.

13:02:45,711 | DEBUG | l Console Thread | container     | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence descriptors: [META-INF/persistence.xml] in bundle br.teste.dao.aluno_1.0.0 13:02:45,712 | DEBUG | l Console Thread | container     | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence units: [Persistence unit pu in bundle br.teste.dao.aluno_1.0.0] 13:02:45,712 | WARN  | l Console Thread | container     | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | There are no providers available. 13:02:45,713 | DEBUG | lixDispatchQueue | aluno     | ?                                   ? | 323 - br.teste.dao.aluno - 1.0.0 | BundleEvent INSTALLED 13:02:45,891 | DEBUG | nitor WriteCheck | InactivityMonitor     | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@14eefbf 10000 ms elapsed since last write check. 13:02:45,896 | DEBUG | nitor WriteCheck | InactivityMonitor     | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@80387a 10000 ms elapsed since last write check. 13:02:46,439 | DEBUG | heckpoint Worker | MessageDatabase     | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint started. 13:02:46,545 | DEBUG | heckpoint Worker | MessageDatabase     | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint done.

It seems that Hibernate Persistence Provider was not registered or is not visible.

I am using fuse 4.4.0.

Thanks

Moa

See the following detailed log

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

13:02:45,709 | DEBUG | l Console Thread | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Instantiating component blueprintBundleContext 13:02:45,711 | DEBUG | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence descriptors: [META-INF/persistence.xml] in bundle br.teste.dao.aluno_1.0.0 13:02:45,712 | DEBUG | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence units: [Persistence unit pu in bundle br.teste.dao.aluno_1.0.0] 13:02:45,712 | WARN  | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | There are no providers available. 13:02:45,713 | DEBUG | lixDispatchQueue | aluno    | ?                                   ? | 323 - br.teste.dao.aluno - 1.0.0 | BundleEvent INSTALLED 13:02:45,891 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@14eefbf 10000 ms elapsed since last write check. 13:02:45,896 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@80387a 10000 ms elapsed since last write check. 13:02:46,439 | DEBUG | heckpoint Worker | MessageDatabase    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint started. 13:02:46,545 | DEBUG | heckpoint Worker | MessageDatabase    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint done. 13:02:46,553 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@c155dd 10000 ms elapsed since last write check. 13:02:46,553 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@ec4789 10000 ms elapsed since last write check. 13:02:46,664 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@1ae6db3 10000 ms elapsed since last write check. 13:02:46,664 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@a433d8 10000 ms elapsed since last write check. 13:02:48,764 | DEBUG | l Console Thread | ServiceRecipe    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle org.apache.karaf.shell.console [19] and service registration org.apache.felix.framework.ServiceRegistrationImpl@13c5908 13:02:48,764 | DEBUG | l Console Thread | ServiceRecipe    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Method entry: getService, args org.apache.karaf.shell.console.commands.BlueprintCommand@1fd682c 13:02:48,765 | DEBUG | l Console Thread | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Instantiating component shell-54 13:02:48,765 | DEBUG | l Console Thread | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Instantiating component blueprintBundleContext 13:02:48,771 | DEBUG | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence units: [Persistence unit pu in bundle br.teste.dao.aluno_1.0.0] 13:02:48,771 | WARN  | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | There are no providers available. 13:02:48,771 | DEBUG | l Console Thread | Activator    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | checking bundle 323 13:02:48,772 | DEBUG | l Console Thread | Activator    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | The bundle does not import us: 323 13:02:48,772 | DEBUG | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence units: [Persistence unit pu in bundle br.teste.dao.aluno_1.0.0] 13:02:48,772 | WARN  | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | There are no providers available. 13:02:48,772 | DEBUG | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | Located Persistence units: [Persistence unit pu in bundle br.teste.dao.aluno_1.0.0] 13:02:48,772 | WARN  | l Console Thread | container    | ?                                   ? | 308 - org.apache.aries.jpa.container - 0.3.0 | There are no providers available. 13:02:48,772 | DEBUG | l Console Thread | BundleWatcher    | ?                                   ? | 165 - org.ops4j.pax.web.pax-web-extender-war - 1.0.3 | Scanning bundle [br.teste.dao.aluno] 13:02:48,772 | DEBUG | l Console Thread | Deployer    | ?                                   ? | 156 - org.apache.servicemix.jbi.deployer - 1.5.0.fuse-00-61 | Checking bundle: 'BR Teste :: Dao :: Aluno (br.teste.dao.aluno)' 13:02:48,772 | DEBUG | l Console Thread | Deployer    | ?                                   ? | 156 - org.apache.servicemix.jbi.deployer - 1.5.0.fuse-00-61 | Bundle 'BR Teste :: Dao :: Aluno (br.teste.dao.aluno)' does not contain any JBI descriptor. 13:02:48,772 | DEBUG | l Console Thread | Activator    | ?                                   ? | 83 - org.apache.camel.camel-core - 2.7.3.fuse-00-61 | Bundle started: br.teste.dao.aluno 13:02:48,772 | DEBUG | l Console Thread | ContextLoaderListener    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Scanning bundle [BR Teste :: Dao :: Aluno (br.teste.dao.aluno)] for configurations... 13:02:48,772 | DEBUG | l Console Thread | ContextLoaderListener    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Creating an application context for bundle [BR Teste :: Dao :: Aluno (br.teste.dao.aluno)] 13:02:48,772 | INFO  | l Console Thread | ultOsgiApplicationContextCreator | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [BR Teste :: Dao :: Aluno (br.teste.dao.aluno)] 13:02:48,773 | DEBUG | l Console Thread | ContextLoaderListener    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Asynchronous context creation for bundle [BR Teste :: Dao :: Aluno (br.teste.dao.aluno)] 13:02:48,773 | DEBUG | l Console Thread | ContextLoaderListener    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Setting globally defined wait-for-dependencies timeout value=300000 ms, for bundle [BR Teste :: Dao :: Aluno (br.teste.dao.aluno)] 13:02:48,773 | DEBUG | l Console Thread | BlueprintExtender    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Scanning bundle br.teste.dao.aluno for blueprint application 13:02:48,773 | DEBUG | l Console Thread | BlueprintExtender    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Found blueprint application in bundle br.teste.dao.aluno with paths: [bundle://323.0:0/OSGI-INF/blueprint/beans.xml] 13:02:48,773 | DEBUG | lixDispatchQueue | aluno    | ?                                   ? | 323 - br.teste.dao.aluno - 1.0.0 | BundleEvent RESOLVED 13:02:48,773 | DEBUG | lixDispatchQueue | aluno    | ?                                   ? | 323 - br.teste.dao.aluno - 1.0.0 | BundleEvent STARTED 13:02:48,774 | DEBUG | rint Extender: 3 | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Running blueprint container for bundle br.teste.dao.aluno in state Unknown 13:02:48,774 | DEBUG | rint Extender: 3 | BlueprintEventDispatcher    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Sending blueprint container event BlueprintEvent[type=CREATING] for bundle br.teste.dao.aluno 13:02:48,774 | DEBUG | nt Dispatcher: 1 | BlueprintListener    | ?                                   ? | 14 - org.apache.karaf.shell.osgi - 2.2.0.fuse-00-61 | Blueprint app state changed to Creating for bundle 323 13:02:48,774 | DEBUG | xtenderThread-64 | WaiterApplicationContextExecutor | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | Starting first stage of refresh for OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml) 13:02:48,774 | DEBUG | xtenderThread-64 | WaiterApplicationContextExecutor | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | Calling preRefresh on OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml) 13:02:48,774 | INFO  | xtenderThread-64 | OsgiBundleXmlApplicationContext  | ? ? | 70 - org.springframework.context - 3.0.5.RELEASE | Refreshing OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml): startup date [Wed Mar 07 13:02:48 BRT 2012]; root of context hierarchy 13:02:48,774 | INFO  | xtenderThread-64 | OsgiBundleXmlApplicationContext  | ? ? | 70 - org.springframework.context - 3.0.5.RELEASE | Application Context service already unpublished 13:02:48,775 | DEBUG | rint Extender: 3 | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Running blueprint container for bundle br.teste.dao.aluno in state WaitForNamespaceHandlers 13:02:48,775 | DEBUG | rint Extender: 3 | aries    | ?                                   ? | 307 - org.apache.aries.jpa.blueprint.aries - 0.3.0 | Creating blueprint injection metadata to inject the context pu into bean property entityManager 13:02:48,775 | DEBUG | rint Extender: 3 | aries    | ?                                   ? | 307 - org.apache.aries.jpa.blueprint.aries - 0.3.0 | Creating a managed persistence context definition for injection 13:02:48,776 | DEBUG | rint Extender: 3 | context    | ?                                   ? | 305 - org.apache.aries.jpa.container.context - 0.3.0 | Registering bundle br.teste.dao.aluno_1.0.0 as a client of persistence unit pu with properties {org.apache.aries.jpa.context.type=TRANSACTION}. 13:02:48,776 | DEBUG | rint Extender: 3 | context    | ?                                   ? | 305 - org.apache.aries.jpa.container.context - 0.3.0 | Registering bundle br.teste.dao.aluno_1.0.0 as a client of persistence unit pu with properties {org.apache.aries.jpa.context.type=TRANSACTION}. 13:02:48,776 | DEBUG | rint Extender: 3 | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Running blueprint container for bundle br.teste.dao.aluno in state Populated 13:02:48,776 | DEBUG | rint Extender: 3 | AbstractServiceReferenceRecipe   | ? ? | 10 - org.apache.aries.blueprint - 0.3.1 | Found initial references null for OSGi service

(&(&(org.apache.aries.jpa.proxy.factory=true)(osgi.unit.name=pu))(objectClass=javax.persistence.EntityManagerFactory)) 13:02:48,776 | DEBUG | rint Extender: 3 | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Tracking service references: [.component-2] 13:02:48,776 | DEBUG | rint Extender: 3 | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Running blueprint container for bundle br.teste.dao.aluno in state WaitForInitialReferences 13:02:48,776 | INFO  | rint Extender: 3 | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Bundle br.teste.dao.aluno is waiting for dependencies

[(&(&(org.apache.aries.jpa.proxy.factory=true)(osgi.unit.name=pu))(objectClass=javax.persistence.EntityManagerFactory))] 13:02:48,776 | DEBUG | rint Extender: 3 | BlueprintEventDispatcher    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Sending blueprint container event BlueprintEvent[type=GRACE_PERIOD,

dependencies=[(&(&(org.apache.aries.jpa.proxy.factory=true)(osgi.unit.name=pu))(objectClass=javax.persistence.EntityManagerFactory))]] for bundle br.teste.dao.aluno 13:02:48,776 | DEBUG | nt Dispatcher: 1 | BlueprintListener    | ?                                   ? | 14 - org.apache.karaf.shell.osgi - 2.2.0.fuse-00-61 | Blueprint app state changed to GracePeriod for bundle 323 13:02:49,090 | INFO  | xtenderThread-64 | XmlBeanDefinitionReader    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Loading XML bean definitions from URL [bundle://323.0:0/META-INF/spring/beans.xml] 13:02:49,091 | DEBUG | xtenderThread-64 | DefaultDocumentLoader    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Using JAXP provider [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl] 13:02:49,092 | DEBUG | xtenderThread-64 | PluggableSchemaResolver    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Loading schema mappings from [META-INF/spring.schemas] 13:02:49,092 | DEBUG | xtenderThread-64 | PluggableSchemaResolver    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Loaded schema mappings: {} 13:02:49,092 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Trying to resolving entity for null|http://www.springframework.org/schema/beans/spring-beans.xsd 13:02:49,092 | DEBUG | xtenderThread-64 | PluggableSchemaResolver    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Found XML schema [http://www.springframework.org/schema/beans/spring-beans.xsd] in classpath: org/springframework/beans/factory/xml/spring-beans-3.0.xsd 13:02:49,092 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | XML schema for null|http://www.springframework.org/schema/beans/spring-beans.xsd found inside Spring Beans (org.springframework.beans) 13:02:49,097 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Trying to resolving entity for null|http://www.springframework.org/schema/osgi/spring-osgi.xsd 13:02:49,097 | DEBUG | xtenderThread-64 | PluggableSchemaResolver    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Found XML schema [http://www.springframework.org/schema/osgi/spring-osgi.xsd] in classpath: org/springframework/osgi/config/spring-osgi-1.2.xsd 13:02:49,097 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | XML schema for null|http://www.springframework.org/schema/osgi/spring-osgi.xsd found inside spring-osgi-core (org.springframework.osgi.core) 13:02:49,100 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Trying to resolving entity for null|http://www.springframework.org/schema/tx/spring-tx-3.0.xsd 13:02:49,100 | DEBUG | xtenderThread-64 | PluggableSchemaResolver    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Found XML schema [http://www.springframework.org/schema/tx/spring-tx-3.0.xsd] in classpath: org/springframework/transaction/config/spring-tx-3.0.xsd 13:02:49,100 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | XML schema for null|http://www.springframework.org/schema/tx/spring-tx-3.0.xsd found inside Spring Transaction (org.springframework.transaction) 13:02:49,101 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Trying to resolving entity for null|http://www.springframework.org/schema/tool/spring-tool-3.0.xsd 13:02:49,101 | DEBUG | xtenderThread-64 | PluggableSchemaResolver    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Found XML schema [http://www.springframework.org/schema/tool/spring-tool-3.0.xsd] in classpath: org/springframework/beans/factory/xml/spring-tool-3.0.xsd 13:02:49,101 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | XML schema for null|http://www.springframework.org/schema/tool/spring-tool-3.0.xsd found inside Spring Beans (org.springframework.beans) 13:02:49,103 | DEBUG | xtenderThread-64 | aultBeanDefinitionDocumentReader | ? ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Loading bean definitions 13:02:49,103 | DEBUG | xtenderThread-64 | DefaultNamespaceHandlerResolver  | ? ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Loaded NamespaceHandler mappings: {} 13:02:49,103 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Trying to resolving namespace handler for http://www.springframework.org/schema/osgi 13:02:49,103 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Namespace handler for http://www.springframework.org/schema/osgi found inside spring-osgi-core (org.springframework.osgi.core) 13:02:49,103 | DEBUG | xtenderThread-64 | StaticLabeledEnumResolver    | ?                                   ? | 73 - org.springframework.core - 3.0.5.RELEASE | Not strongly caching class [org.springframework.osgi.service.importer.support.Cardinality] because it is not cache-safe 13:02:49,103 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Trying to resolving namespace handler for http://www.springframework.org/schema/tx 13:02:49,104 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Namespace handler for http://www.springframework.org/schema/tx found inside Spring Transaction (org.springframework.transaction) 13:02:49,104 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Trying to resolving namespace handler for http://www.springframework.org/schema/osgi 13:02:49,104 | DEBUG | xtenderThread-64 | NamespacePlugins    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Namespace handler for http://www.springframework.org/schema/osgi found inside spring-osgi-core (org.springframework.osgi.core) 13:02:49,105 | DEBUG | xtenderThread-64 | XmlBeanDefinitionReader    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Loaded 9 bean definitions from location pattern [osgibundle:/META-INF/spring/*.xml] 13:02:49,105 | DEBUG | xtenderThread-64 | OsgiBundleXmlApplicationContext  | ? ? | 70 - org.springframework.context - 3.0.5.RELEASE | Bean factory for OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml):

org.springframework.beans.factory.support.DefaultListableBeanFactory@145cac5: defining beans [txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,javaAssistClassLoader,jpaAdapter,alunoDao,alunoDaoService]; root of factory hierarchy 13:02:49,105 | DEBUG | xtenderThread-64 | OsgiBundleXmlApplicationContext  | ? ? | 70 - org.springframework.context - 3.0.5.RELEASE | Registering BundleContext as a bean named bundleContext 13:02:49,106 | DEBUG | xtenderThread-64 | WaiterApplicationContextExecutor | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | Pre-refresh completed; determining dependencies... 13:02:49,106 | DEBUG | xtenderThread-64 | DependencyServiceManager    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Discovered local dependency factories: [] 13:02:49,107 | DEBUG | xtenderThread-64 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean 'txManager' 13:02:49,107 | DEBUG | xtenderThread-64 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean 'txManager' 13:02:49,108 | DEBUG | xtenderThread-64 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean 'txManager' to allow for resolving potential circular references 13:02:49,108 | DEBUG | xtenderThread-64 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Invoking afterPropertiesSet() on bean with name 'txManager' 13:02:49,108 | DEBUG | xtenderThread-64 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Finished creating instance of bean 'txManager' 13:02:49,110 | DEBUG | xtenderThread-64 | DependencyServiceManager    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | 1 OSGi service dependencies, 0 unsatisfied (for beans []) in OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml) 13:02:49,110 | INFO  | xtenderThread-64 | WaiterApplicationContextExecutor | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml) 13:02:49,110 | DEBUG | xtenderThread-64 | WaiterApplicationContextExecutor | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | Starting stage two for OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml) 13:02:49,110 | DEBUG | xtenderThread-64 | WaiterApplicationContextExecutor | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | Cancelled dependency watchdog... 13:02:49,120 | DEBUG | xtenderThread-65 | WaiterApplicationContextExecutor | ? ? | 79 - org.springframework.osgi.extender - 1.2.1 | Completing refresh for OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml) 13:02:49,122 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean 'org.springframework.aop.config.internalAutoProxyCreator' 13:02:49,122 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean 'org.springframework.aop.config.internalAutoProxyCreator' 13:02:49,122 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean 'org.springframework.aop.config.internalAutoProxyCreator' to allow for resolving potential circular references 13:02:49,123 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Finished creating instance of bean 'org.springframework.aop.config.internalAutoProxyCreator' 13:02:49,123 | DEBUG | xtenderThread-65 | OsgiBundleXmlApplicationContext  | ? ? | 70 - org.springframework.context - 3.0.5.RELEASE | Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@b9cc11] 13:02:49,123 | DEBUG | xtenderThread-65 | OsgiBundleXmlApplicationContext  | ? ? | 70 - org.springframework.context - 3.0.5.RELEASE | Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default

[org.springframework.context.event.SimpleApplicationEventMulticaster@47283] 13:02:49,123 | INFO  | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@145cac5: defining beans [txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,javaAssistClassLoader,jpaAdapter,alunoDao,alunoDaoService]; root of factory hierarchy 13:02:49,123 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean 'txManager' 13:02:49,123 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean 'txManager' 13:02:49,123 | DEBUG | xtenderThread-65 | OsgiServiceProxyFactoryBean    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Creating a single service proxy ... 13:02:49,123 | DEBUG | xtenderThread-65 | JdkDynamicAopProxy    | ?                                   ? | 74 - org.springframework.aop - 3.0.5.RELEASE | Creating JDK dynamic proxy: target source is EmptyTargetSource: no target class, static 13:02:49,125 | DEBUG | xtenderThread-65 | ServiceDynamicInterceptor    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Adding OSGi mandatoryListeners for services matching

[(objectClass=org.springframework.transaction.PlatformTransactionManager)] 13:02:49,126 | DEBUG | xtenderThread-65 | ServiceDynamicInterceptor    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Service reference [[javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager]] bound to proxy 13:02:49,126 | DEBUG | xtenderThread-65 | OsgiServiceProxyFactoryBean    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Service reference [[javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager]] bound to proxy 13:02:49,126 | DEBUG | xtenderThread-65 | OsgiServiceBindingUtils    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Calling bind on

org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor$ServiceProviderTCCLListener@ff51f1 w/ reference [javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager] 13:02:49,127 | DEBUG | xtenderThread-65 | OsgiServiceBindingUtils    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Called bind on

org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor$ServiceProviderTCCLListener@ff51f1 w/ reference [javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager] 13:02:49,127 | DEBUG | xtenderThread-65 | ServiceDynamicInterceptor    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | 1..x cardinality - looking for service [(objectClass=org.springframework.transaction.PlatformTransactionManager)] at startup... 13:02:49,127 | INFO  | xtenderThread-65 | OsgiServiceProxyFactoryBean    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Looking for mandatory OSGi service dependency for bean [txManager] matching filter

(objectClass=org.springframework.transaction.PlatformTransactionManager) 13:02:49,127 | DEBUG | xtenderThread-65 | ServiceDynamicInterceptor    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Service retrieved org.apache.aries.transaction.GeronimoPlatformTransactionManager@1ebc96b 13:02:49,127 | INFO  | xtenderThread-65 | OsgiServiceProxyFactoryBean    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Found mandatory OSGi service for bean [txManager] 13:02:49,127 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor' 13:02:49,127 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean 'org.springframework.transaction.config.internalTransactionAdvisor' 13:02:49,127 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean 'org.springframework.transaction.config.internalTransactionAdvisor' to allow for resolving potential circular references 13:02:49,128 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean

'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' 13:02:49,128 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean

'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' 13:02:49,128 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean

'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' to allow for resolving potential circular references 13:02:49,128 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Finished creating instance of bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' 13:02:49,128 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Finished creating instance of bean 'org.springframework.transaction.config.internalTransactionAdvisor' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean 'org.springframework.aop.config.internalAutoProxyCreator' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean

'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean 'org.springframework.transaction.interceptor.TransactionInterceptor#0' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean 'org.springframework.transaction.interceptor.TransactionInterceptor#0' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean 'org.springframework.transaction.interceptor.TransactionInterceptor#0' to allow for resolving potential circular references 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean

'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Invoking afterPropertiesSet() on bean with name 'org.springframework.transaction.interceptor.TransactionInterceptor#0' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Finished creating instance of bean 'org.springframework.transaction.interceptor.TransactionInterceptor#0' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean 'javaAssistClassLoader' 13:02:49,129 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean 'javaAssistClassLoader' 13:02:49,130 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean 'javaAssistClassLoader' to allow for resolving potential circular references 13:02:49,130 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor' 13:02:49,130 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Finished creating instance of bean 'javaAssistClassLoader' 13:02:49,130 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean 'jpaAdapter' 13:02:49,130 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean 'jpaAdapter' 13:02:49,130 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean 'jpaAdapter' to allow for resolving potential circular references 13:02:49,130 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Returning cached instance of singleton bean 'org.springframework.transaction.config.internalTransactionAdvisor' 13:02:49,131 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Finished creating instance of bean 'jpaAdapter' 13:02:49,131 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating shared instance of singleton bean 'alunoDao' 13:02:49,131 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Creating instance of bean 'alunoDao' 13:02:49,131 | DEBUG | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Eagerly caching bean 'alunoDao' to allow for resolving potential circular references 13:02:49,131 | INFO  | xtenderThread-65 | DefaultListableBeanFactory    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Destroying singletons in

org.springframework.beans.factory.support.DefaultListableBeanFactory@145cac5: defining beans [txManager,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,javaAssistClassLoader,jpaAdapter,alunoDao,alunoDaoService]; root of factory hierarchy 13:02:49,131 | DEBUG | xtenderThread-65 | DisposableBeanAdapter    | ?                                   ? | 68 - org.springframework.beans - 3.0.5.RELEASE | Invoking destroy() on bean with name 'txManager' 13:02:49,131 | DEBUG | xtenderThread-65 | OsgiServiceBindingUtils    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Calling unbind on

org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor$ServiceProviderTCCLListener@ff51f1 w/ reference [javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager] 13:02:49,131 | DEBUG | xtenderThread-65 | OsgiServiceBindingUtils    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Called unbind on

org.springframework.osgi.service.importer.support.internal.aop.ServiceProviderTCCLInterceptor$ServiceProviderTCCLListener@ff51f1 w/ reference [javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager] 13:02:49,131 | DEBUG | xtenderThread-65 | ServiceDynamicInterceptor    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Service reference [[javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager]] was unregistered and unbound from the service proxy 13:02:49,131 | DEBUG | xtenderThread-65 | OsgiServiceProxyFactoryBean    | ?                                   ? | 76 - org.springframework.osgi.core - 1.2.1 | Service reference [[javax.transaction.TransactionManager, javax.transaction.TransactionSynchronizationRegistry, javax.transaction.UserTransaction, org.apache.geronimo.transaction.manager.RecoverableTransactionManager, org.springframework.transaction.PlatformTransactionManager]] was unregistered and unbound from the service proxy 13:02:49,132 | DEBUG | xtenderThread-65 | OsgiBundleXmlApplicationContext  | ? ? | 70 - org.springframework.context - 3.0.5.RELEASE | Post refresh error org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alunoDao' defined in URL [bundle://323.0:0/META-INF/spring/beans.xml]: Cannot resolve reference to bean 'jpaTemplate' while setting bean property 'jpaTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jpaTemplate' is defined        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[70:org.springframework.context:3.0.5.RELEASE]        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[79:org.springframework.osgi.extender:1.2.1]        at java.lang.Thread.run(Thread.java:662)[:1.6.0_25] Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jpaTemplate' is defined        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)[68:org.springframework.beans:3.0.5.RELEASE]        ... 17 more 13:02:49,132 | DEBUG | xtenderThread-65 | BlueprintListener    | ?                                   ? | 14 - org.apache.karaf.shell.osgi - 2.2.0.fuse-00-61 | Spring app state changed to Failed for bundle 323 13:02:49,132 | ERROR | xtenderThread-65 | ContextLoaderListener    | ?                                   ? | 79 - org.springframework.osgi.extender - 1.2.1 | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=br.teste.dao.aluno, config=osgibundle:/META-INF/spring/*.xml)) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alunoDao' defined in URL [bundle://323.0:0/META-INF/spring/beans.xml]: Cannot resolve reference to bean 'jpaTemplate' while setting bean property 'jpaTemplate'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jpaTemplate' is defined        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[70:org.springframework.context:3.0.5.RELEASE]        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[76:org.springframework.osgi.core:1.2.1]        at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[79:org.springframework.osgi.extender:1.2.1]        at java.lang.Thread.run(Thread.java:662)[:1.6.0_25] Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'jpaTemplate' is defined        at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:527)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1083)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:274)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[68:org.springframework.beans:3.0.5.RELEASE]        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)[68:org.springframework.beans:3.0.5.RELEASE]        ... 17 more 13:02:51,546 | DEBUG | heckpoint Worker | MessageDatabase    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint started. 13:02:51,651 | DEBUG | heckpoint Worker | MessageDatabase    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint done. 13:02:55,890 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@14eefbf 10000 ms elapsed since last write check. 13:02:55,890 | DEBUG | onitor ReadCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | 30000 ms elapsed since last read check. 13:02:55,896 | DEBUG | onitor ReadCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | 30000 ms elapsed since last read check. 13:02:55,897 | DEBUG | nitor WriteCheck | InactivityMonitor    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | org.apache.activemq.transport.InactivityMonitor$2@80387a 10001 ms elapsed since last write check. 13:02:56,152 | DEBUG | heckpoint Worker | MessageDatabase    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint started. 13:02:56,224 | DEBUG | heckpoint Worker | MessageDatabase    | ?                                   ? | 47 - org.apache.activemq.activemq-core - 5.5.0.fuse-00-61 | Checkpoint done. 13:02:56,540 | DEBUG | l Console Thread | ServiceRecipe    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle org.apache.karaf.shell.console [19] and service registration org.apache.felix.framework.ServiceRegistrationImpl@12f8d57 13:02:56,540 | DEBUG | l Console Thread | ServiceRecipe    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Method entry: getService, args org.apache.karaf.shell.console.commands.BlueprintCommand@1d3ddab 13:02:56,541 | DEBUG | l Console Thread | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint - 0.3.1 | Instantiating component shell-159 13:02:56,542 | DEBUG | l Console Thread | BlueprintContainerImpl    | ?                                   ? | 10 - org.apache.aries.blueprint -