I am not sure if aries needs to be activated in servicemix. I always use pure karaf and install the features I need.
Typically servicemix is behind some versions compared to pure karaf.

You can try to install the features and bundles I installed in my tutorial. If the features are not present you could compare the installed bundles. Have you tried to install your bundle in pure karaf?

One thing I saw in your persistence.xml. You define two persistence units. I never tried that. So it may be worth a try to only define one.

Christian

Am 08.02.2013 23:16, schrieb objectorange:
I changed the persistence.xml to reflect the 2.0 standard vs. 1.0
(http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"; version="2.0")
in the persistence tag and changed the openjpa.log Runtime to TRACE with the
resulting logs to be ignored based on an IBM post.

I'm just trying to figure out now why our component is waiting for
'namespace handlers' in the log snippet below. I don't see any aries
'features' in Karaf. Does aries need to be installed in ServiceMix? I
thought it was already installed and 'active'.

16:51:38,653 | DEBUG | lixDispatchQueue | rdbms                            |
220 - com.vediscovery.infrastructure.database.rdbms - 1.0 | BundleEvent
INSTALLED
16:51:39,248 | DEBUG | mix-4.4.2/deploy | Activator                        |
50 - org.apache.activemq.activemq-core - 5.5.1 | checking bundle 220
16:51:39,249 | DEBUG | mix-4.4.2/deploy | Activator                        |
50 - org.apache.activemq.activemq-core - 5.5.1 | The bundle does not import
us: 220
16:51:39,249 | DEBUG | mix-4.4.2/deploy | Activator                        |
169 - org.apache.servicemix.bundles.openjpa - 1.2.1.2 | found persistence
file at bundle://220.0:1/META-INF/persistence.xml
16:51:39,269 | DEBUG | mix-4.4.2/deploy | rdbms                            |
220 - com.vediscovery.infrastructure.database.rdbms - 1.0 | ServiceEvent
REGISTERED
16:51:39,269 | DEBUG | mix-4.4.2/deploy | rdbms                            |
220 - com.vediscovery.infrastructure.database.rdbms - 1.0 | ServiceEvent
REGISTERED
16:51:39,271 | DEBUG | lixDispatchQueue | rdbms                            |
220 - com.vediscovery.infrastructure.database.rdbms - 1.0 | BundleEvent
RESOLVED
16:51:39,271 | DEBUG | mix-4.4.2/deploy | Deployer                         |
195 - org.apache.servicemix.jbi.deployer - 1.5.0 | Checking bundle:
'VeDISCOVERY Infrastructure :: Database :: RDBMS
(com.vediscovery.infrastructure.database.rdbms)'
16:51:39,272 | DEBUG | mix-4.4.2/deploy | Deployer                         |
195 - org.apache.servicemix.jbi.deployer - 1.5.0 | Bundle 'VeDISCOVERY
Infrastructure :: Database :: RDBMS
(com.vediscovery.infrastructure.database.rdbms)' does not contain any JBI
descriptor.
16:51:39,272 | DEBUG | mix-4.4.2/deploy | BundleWatcher                    |
122 - org.ops4j.pax.web.pax-web-extender-war - 1.0.7 | Scanning bundle
[com.vediscovery.infrastructure.database.rdbms]
16:51:39,272 | DEBUG | mix-4.4.2/deploy | Activator                        |
91 - org.apache.camel.camel-core - 2.8.5 | Bundle started:
com.vediscovery.infrastructure.database.rdbms
16:51:39,273 | DEBUG | mix-4.4.2/deploy | ContextLoaderListener            |
76 - org.springframework.osgi.extender - 1.2.1 | Scanning bundle
[VeDISCOVERY Infrastructure :: Database :: RDBMS
(com.vediscovery.infrastructure.database.rdbms)] for configurations...
16:51:39,273 | DEBUG | mix-4.4.2/deploy | ContextLoaderListener            |
76 - org.springframework.osgi.extender - 1.2.1 | Creating an application
context for bundle [VeDISCOVERY Infrastructure :: Database :: RDBMS
(com.vediscovery.infrastructure.database.rdbms)]
16:51:39,273 | DEBUG | mix-4.4.2/deploy | ContextLoaderListener            |
76 - org.springframework.osgi.extender - 1.2.1 | No application context
created for bundle [VeDISCOVERY Infrastructure :: Database :: RDBMS
(com.vediscovery.infrastructure.database.rdbms)]
16:51:39,273 | DEBUG | mix-4.4.2/deploy | BlueprintExtender                |
10 - org.apache.aries.blueprint - 0.3.1 | Scanning bundle
com.vediscovery.infrastructure.database.rdbms for blueprint application
16:51:39,274 | DEBUG | mix-4.4.2/deploy | BlueprintExtender                |
10 - org.apache.aries.blueprint - 0.3.1 | Found blueprint application in
bundle com.vediscovery.infrastructure.database.rdbms with paths:
[bundle://220.0:0/OSGI-INF/blueprint/blueprint.xml]
16:51:39,274 | DEBUG | mix-4.4.2/deploy | geronimo-osgi-registry           |
83 - org.apache.geronimo.specs.geronimo-osgi-registry - 1.1 | Bundle
Considered for class providers:
com.vediscovery.infrastructure.database.rdbms
16:51:39,274 | DEBUG | rint Extender: 1 | BlueprintContainerImpl           |
10 - org.apache.aries.blueprint - 0.3.1 | Running blueprint container for
bundle com.vediscovery.infrastructure.database.rdbms in state Unknown
16:51:39,274 | DEBUG | mix-4.4.2/deploy | geronimo-osgi-registry           |
83 - org.apache.geronimo.specs.geronimo-osgi-registry - 1.1 | adding bundle
com.vediscovery.infrastructure.database.rdbms [220]
16:51:39,274 | DEBUG | rint Extender: 1 | BlueprintEventDispatcher         |
10 - org.apache.aries.blueprint - 0.3.1 | Sending blueprint container event
BlueprintEvent[type=CREATING] for bundle
com.vediscovery.infrastructure.database.rdbms
16:51:39,275 | DEBUG | lixDispatchQueue | rdbms                            |
220 - com.vediscovery.infrastructure.database.rdbms - 1.0 | BundleEvent
STARTED
16:51:39,275 | DEBUG | nt Dispatcher: 1 | BlueprintListener                |
19 - org.apache.karaf.shell.osgi - 2.2.4 | Blueprint app state changed to
Creating for bundle 220
16:51:39,279 | DEBUG | rint Extender: 1 | BlueprintContainerImpl           |
10 - org.apache.aries.blueprint - 0.3.1 | Running blueprint container for
bundle com.vediscovery.infrastructure.database.rdbms in state
WaitForNamespaceHandlers
16:51:39,280 | INFO  | rint Extender: 1 | BlueprintContainerImpl           |
10 - org.apache.aries.blueprint - 0.3.1 | Bundle
com.vediscovery.infrastructure.database.rdbms is waiting for namespace
handlers
16:51:39,280 | DEBUG | rint Extender: 1 | BlueprintEventDispatcher         |
10 - org.apache.aries.blueprint - 0.3.1 | Sending blueprint container event
BlueprintEvent[type=GRACE_PERIOD,
dependencies=[(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)(osgi.service.blueprint.namespace=http://camel.apache.org/schema/spring))]]
for bundle com.vediscovery.infrastructure.database.rdbms



--
View this message in context: 
http://servicemix.396122.n5.nabble.com/OSGi-JPA-tp5715741p5715798.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to