-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Hibernate+OSGI and mysql deployment on JBoss EAP 6.1 Alpha
PostPosted: Thu Apr 25, 2013 3:44 pm 
Newbie

Joined: Sun Dec 13, 2009 4:14 pm
Posts: 10
I am trying to deploy OSGI enabled bundled using hibernate on JBoass EAP 6.1 alpha but at the time of deployment I am seeing following error:

Quote:
Caused by: org.osgi.framework.BundleException: JBOSGI011254: Cannot start bundle: osgi-jpa:1.0.0.SNAPSHOT
at org.jboss.osgi.framework.internal.HostBundleState.startInternalNow(HostBundleState.java:302)
at org.jboss.osgi.framework.internal.HostBundleState.startInternal(HostBundleState.java:199)
at org.jboss.osgi.framework.internal.BundleManagerPlugin.startBundle(BundleManagerPlugin.java:406)
at org.jboss.as.osgi.deployment.BundleActivateProcessor$BundleActivateService.start(BundleActivateProcessor.java:128)
... 5 more
Caused by: java.lang.NullPointerException
at com.etipl.osgi.service.TestPersistenceSvcImpl.getEntityById(TestPersistenceSvcImpl.java:21)
at com.etipl.osgi.jpa.Activator.start(Activator.java:17)
at org.jboss.osgi.framework.internal.HostBundleState.startInternalNow(HostBundleState.java:276)
... 8 more

15:36:13,046 ERROR [org.jboss.as.server] (management-handler-thread - 4) JBAS015870: Deploy of deployment "osgi-jpa.jar" was rolled back with the following failure message:
{"JBAS014671: Failed services" => {"jboss.deployment.unit.\"osgi-jpa.jar\".Activate" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"osgi-jpa.jar\".Activate: JBAS011968: Cannot start bundle: osgi-jpa:1.0.0.SNAPSHOT
Caused by: org.osgi.framework.BundleException: JBOSGI011254: Cannot start bundle: osgi-jpa:1.0.0.SNAPSHOT
Caused by: java.lang.NullPointerException"}}


Top
 Profile  
 
 Post subject: Re: Hibernate+OSGI and mysql deployment on JBoss EAP 6.1 Alpha
PostPosted: Thu Apr 25, 2013 3:49 pm 
Newbie

Joined: Sun Dec 13, 2009 4:14 pm
Posts: 10
Actually the problem happens because of

Quote:
Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/MySqlDS


Top
 Profile  
 
 Post subject: Re: Hibernate+OSGI and mysql deployment on JBoss EAP 6.1 Alpha
PostPosted: Thu Apr 25, 2013 7:29 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
OSGi support is coming but not complete yet:
https://hibernate.atlassian.net/browse/HHH-7527

See also:
http://in.relation.to/Bloggers/InitialAttemptAtEnterpriseOSGiJPASupportCOMPLETE

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.