[JBoss JIRA] (WFLY-7425) [GSS] (7.1.z) add per PU cache of the new temp classloader returned from PersistenceUnitMetadataImpl.getNewTempClassLoader()
by Stephen Fikes (JIRA)
Stephen Fikes created WFLY-7425:
-----------------------------------
Summary: [GSS] (7.1.z) add per PU cache of the new temp classloader returned from PersistenceUnitMetadataImpl.getNewTempClassLoader()
Key: WFLY-7425
URL: https://issues.jboss.org/browse/WFLY-7425
Project: WildFly
Issue Type: Enhancement
Components: JPA / Hibernate
Reporter: Stephen Fikes
Assignee: Scott Marlow
The new temporary classloader returned by the WildFly PersistenceUnitInfo.getNewTempClassLoader() is currently created on every call.
Ensure that the cached temp classloader reference is cleared after the PersistenceProvider.createContainerEntityManagerFactory() call returns.
Javadoc description from [http://docs.oracle.com/javaee/7/api/javax/persistence/spi/PersistenceUnit...]
{quote}
ClassLoader getNewTempClassLoader()
Return a new instance of a ClassLoader that the provider may use to temporarily load any classes, resources, or open URLs. The scope and classpath of this loader is exactly the same as that of the loader returned by getClassLoader(). None of the classes loaded by this class loader will be visible to application components. The provider may only use this ClassLoader within the scope of the PersistenceProvider.createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo, java.util.Map) call.
Returns:
temporary ClassLoader with same visibility as current loader
{quote}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
8 years, 2 months
[JBoss JIRA] (WFLY-7424) Singleton backup service cannot be overridden
by Paul Ferraro (JIRA)
Paul Ferraro created WFLY-7424:
----------------------------------
Summary: Singleton backup service cannot be overridden
Key: WFLY-7424
URL: https://issues.jboss.org/browse/WFLY-7424
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.0.0.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Fix For: 11.0.0.Alpha1
Currently, singleton services are started on the primary node only - no service is started on the backup nodes. We can generalize this use case by building a singleton service using 2 services: one to be started on the primary node, and the other to be installed on backup nodes. When a node is elected as the primary provider, we stop the backup service, and start the primary service. Conversely, when a primary node loses a re-election, it stops its primary service and starts its backup service.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
8 years, 2 months
[JBoss JIRA] (WFLY-6841) Add backup service support for singleton services
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-6841?page=com.atlassian.jira.plugin.... ]
Paul Ferraro updated WFLY-6841:
-------------------------------
Issue Type: Bug (was: Feature Request)
> Add backup service support for singleton services
> -------------------------------------------------
>
> Key: WFLY-6841
> URL: https://issues.jboss.org/browse/WFLY-6841
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.0.0.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Fix For: 11.0.0.Alpha1
>
>
> Currently, singleton services are started on the primary node only - no service is started on the backup nodes. We can generalize this use case by building a singleton service using 2 services: one to be started on the primary node, and the other to be installed on backup nodes. When a node is elected as the primary provider, we stop the backup service, and start the primary service. Conversely, when a primary node loses a re-election, it stops its primary service and starts its backup service.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
8 years, 2 months
[JBoss JIRA] (WFLY-6841) Singleton backup service cannot be overridden
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-6841?page=com.atlassian.jira.plugin.... ]
Paul Ferraro updated WFLY-6841:
-------------------------------
Summary: Singleton backup service cannot be overridden (was: Add backup service support for singleton services)
> Singleton backup service cannot be overridden
> ---------------------------------------------
>
> Key: WFLY-6841
> URL: https://issues.jboss.org/browse/WFLY-6841
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 10.0.0.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Fix For: 11.0.0.Alpha1
>
>
> Currently, singleton services are started on the primary node only - no service is started on the backup nodes. We can generalize this use case by building a singleton service using 2 services: one to be started on the primary node, and the other to be installed on backup nodes. When a node is elected as the primary provider, we stop the backup service, and start the primary service. Conversely, when a primary node loses a re-election, it stops its primary service and starts its backup service.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
8 years, 2 months
[JBoss JIRA] (WFLY-6841) Add backup service support for singleton services
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-6841?page=com.atlassian.jira.plugin.... ]
Paul Ferraro commented on WFLY-6841:
------------------------------------
Restating this jira as a bug, since apparently "Feature request" is too loaded.
> Add backup service support for singleton services
> -------------------------------------------------
>
> Key: WFLY-6841
> URL: https://issues.jboss.org/browse/WFLY-6841
> Project: WildFly
> Issue Type: Feature Request
> Components: Clustering
> Affects Versions: 10.0.0.Final
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Fix For: 11.0.0.Alpha1
>
>
> Currently, singleton services are started on the primary node only - no service is started on the backup nodes. We can generalize this use case by building a singleton service using 2 services: one to be started on the primary node, and the other to be installed on backup nodes. When a node is elected as the primary provider, we stop the backup service, and start the primary service. Conversely, when a primary node loses a re-election, it stops its primary service and starts its backup service.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
8 years, 2 months
[JBoss JIRA] (ELY-695) Is impossible remove whole Elytron subsystem when Elytron resource depends on another Elytron resource.
by Hynek Švábek (JIRA)
[ https://issues.jboss.org/browse/ELY-695?page=com.atlassian.jira.plugin.sy... ]
Hynek Švábek updated ELY-695:
-----------------------------
Description:
Is impossible remove whole Elytron subsystem by one command when Elytron resource depends on another Elytron resource.
*Scenario:*
* I have KeyStore in Elytron subsystem with CredentialStoreReference set to CredentialStore
* I want to delete whole Elytron subsystem
* I execute this CLI command */subsystem=elytron:remove()* and get error
{code}
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
Service org.wildfly.security.credential-store-client.credStore was depended upon by service org.wildfly.security.key-store.firefly",
"rolled-back" => true
}
{code}
*NOTES:*
* When I perform CLI command */subsystem=elytron:remove()* again as it passes.
* When I use for remove {allow-resource-service-restart=true} as /subsystem=elytron:remove(){allow-resource-service-restart=true} then result is successful.
was:
Is impossible remove whole Elytron subsystem by one command when Elytron resource depends on another Elytron resource.
*Scenario:*
* I have KeyStore in Elytron subsystem with CredentialStoreReference set to CredentialStore
* I want to delete whole Elytron subsystem
* I execute this CLI command */subsystem=elytron:remove()* and get error
{code}
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
Service org.wildfly.security.credential-store-client.credStore was depended upon by service org.wildfly.security.key-store.firefly",
"rolled-back" => true
}
{code}
> Is impossible remove whole Elytron subsystem when Elytron resource depends on another Elytron resource.
> -------------------------------------------------------------------------------------------------------
>
> Key: ELY-695
> URL: https://issues.jboss.org/browse/ELY-695
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Credential Store, KeyStores
> Reporter: Hynek Švábek
> Assignee: Darran Lofthouse
>
> Is impossible remove whole Elytron subsystem by one command when Elytron resource depends on another Elytron resource.
> *Scenario:*
> * I have KeyStore in Elytron subsystem with CredentialStoreReference set to CredentialStore
> * I want to delete whole Elytron subsystem
> * I execute this CLI command */subsystem=elytron:remove()* and get error
> {code}
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0171: Removing services has lead to unsatisfied dependencies:
> Service org.wildfly.security.credential-store-client.credStore was depended upon by service org.wildfly.security.key-store.firefly",
> "rolled-back" => true
> }
> {code}
> *NOTES:*
> * When I perform CLI command */subsystem=elytron:remove()* again as it passes.
> * When I use for remove {allow-resource-service-restart=true} as /subsystem=elytron:remove(){allow-resource-service-restart=true} then result is successful.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
8 years, 2 months