[JBoss JIRA] Resolved: (JBAS-8668) All OSGi bundle install code paths must go through deployer chain
by Thomas Diesler (JIRA)
[ https://issues.jboss.org/browse/JBAS-8668?page=com.atlassian.jira.plugin.... ]
Thomas Diesler resolved JBAS-8668.
----------------------------------
Assignee: Thomas Diesler (was: Jason Greene)
Resolution: Done
Done
> All OSGi bundle install code paths must go through deployer chain
> -----------------------------------------------------------------
>
> Key: JBAS-8668
> URL: https://issues.jboss.org/browse/JBAS-8668
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: OSGi integration
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: 7.0.0.Alpha2
>
>
> There are multiple code paths paths that install a bundle
> Aries JMX install --> BundleContext.install()
> DeploymentChain --> DeployerService.deploy(Deployment)
> Bundle Hotdeploy --> DeployerService.deploy(Deployment)
> OSGi Console --> DeployerService.deploy(Deployment)
> BundleContext.install() -> BundleManager.install(Deployment)
> DeployerService.deploy(Deployment) --> BundleManager.install(Deployment)
> In AS7 all bundle install paths must go through the DeploymentChain
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBJPA-35) Hibernate logs warning for PersistenceUnitInfo.newTempClassLoader() == null, which it always is in EJB3
by Brad Maxwell (JIRA)
Hibernate logs warning for PersistenceUnitInfo.newTempClassLoader() == null, which it always is in EJB3
-------------------------------------------------------------------------------------------------------
Key: JBJPA-35
URL: https://issues.jboss.org/browse/JBJPA-35
Project: JBoss JPA
Issue Type: Bug
Components: mcint
Affects Versions: 1.0.0
Environment: JBoss Enterprise Application Platform 5.0.1
Reporter: Brad Maxwell
Assignee: Brad Maxwell
Fix For: 1.0.1
Looks like https://jira.jboss.org/browse/EJBTHREE-982 did not make it into JBoss 5
WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getN
ewTempClassLoader() is null.
Coming from org.hibernate.ejb.Ejb3Configuration
private void addXMLEntities(List<String> xmlFiles, PersistenceUnitInfo info, List<String> entities) {
//TODO handle inputstream related hbm files
ClassLoader newTempClassLoader = info.getNewTempClassLoader();
if (newTempClassLoader == null) {
log.warn( "Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null." );
return;
}
However, implementation of org.jboss.ejb3.entity.PersistenceUnitInfoImpl has:
public ClassLoader getNewTempClassLoader()
{
return null;
}
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months