[
https://issues.jboss.org/browse/AS7-2724?page=com.atlassian.jira.plugin.s...
]
Paul Gier commented on AS7-2724:
--------------------------------
Jaikiran, that change doesn't fix the issue for me. After signing all the jars, I
still get the conflicting signature errors.
Here is an example error message.
The only jar I can find this package in is:
modules/org/jboss/ironjacamar/api/main/ironjacamar-core-api-1.0.5.Final.jar
{noformat}
11:42:49,817 WARN [org.jboss.modules] (ServerService Thread Pool -- 38) Failed to define
class org.jboss.jca.core.spi.rar.NotFoundException in Module
"org.jboss.ironjacamar.api:main" from local module loader @4c4975 (roots:
/home/pgier/projects/jboss-as/build/target/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules):
java.lang.SecurityException: class
"org.jboss.jca.core.spi.rar.NotFoundException"'s signer information does not
match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:807) [:1.6.0_20]
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:488) [:1.6.0_20]
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:626) [:1.6.0_20]
at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [:1.6.0_20]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_20]
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:330)
[jboss-modules.jar:1.1.0.CR2]
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:411)
[jboss-modules.jar:1.1.0.CR2]
at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:260)
[jboss-modules.jar:1.1.0.CR2]
at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:73)
[jboss-modules.jar:1.1.0.CR2]
at org.jboss.modules.Module.loadModuleClass(Module.java:500)
[jboss-modules.jar:1.1.0.CR2]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:182)
[jboss-modules.jar:1.1.0.CR2]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:485)
[jboss-modules.jar:1.1.0.CR2]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:444)
[jboss-modules.jar:1.1.0.CR2]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:421)
[jboss-modules.jar:1.1.0.CR2]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:143)
[jboss-modules.jar:1.1.0.CR2]
at
org.jboss.as.connector.rarepository.RaRepositoryService.<init>(RaRepositoryService.java:52)
at
org.jboss.as.connector.deployers.RaDeploymentActivator.activateServices(RaDeploymentActivator.java:67)
at
org.jboss.as.connector.subsystems.jca.JcaSubsystemAdd.performBoottime(JcaSubsystemAdd.java:104)
at
org.jboss.as.controller.AbstractBoottimeAddStepHandler.performRuntime(AbstractBoottimeAddStepHandler.java:47)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.AbstractAddStepHandler$1.execute(AbstractAddStepHandler.java:50)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:327)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:221)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:157)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at
org.jboss.as.controller.ParallelBootOperationStepHandler$ParallelBootTask.run(ParallelBootOperationStepHandler.java:309)
[jboss-as-controller-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
[:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
[jboss-threads-2.0.0.GA.jar:2.0.0.GA]
{noformat}
SecurityExceptions when starting server with signed jars
--------------------------------------------------------
Key: AS7-2724
URL:
https://issues.jboss.org/browse/AS7-2724
Project: Application Server 7
Issue Type: Bug
Components: Class Loading
Reporter: Paul Gier
Assignee: David Lloyd
There seems to be a problem when loading signed modules which causes the classloader to
think that the same packages are loaded with two different signatures. The issue seems to
be sporadic and will not always throw the exception for the same classes. I verified that
there was only a single jar containing the specified packages for several instances of the
error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira