Bug 1010469

Summary: System sun.jdk module is missing path for sun/security/util
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Tomaz Cerar <tcerar>
Component: Class LoadingAssignee: Tomaz Cerar <tcerar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1.1, 6.2.0CC: jcacek, jmartisk, myarboro
Target Milestone: ER3   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:55:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomaz Cerar 2013-09-20 20:32:30 UTC
/opt/JBoss/jboss-eap-6.1/modules/system/layers/base/sun/jdk/main

Is missing

<path name="sun/security/util"/>

Which caused problems signing certificates at runtime:

Caused by: java.lang.NoClassDefFoundError: sun/security/util/DerValue
at com.textura.cpms.certificate.security.provider.CPMSDBKeyStoreSPIImpl$KeyProtector.recover(CPMSDBKeyStoreSPIImpl.groovy:893) [asset-cpms-certificate-management-4.0.0-SNAPSHOT.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272) [groovy-all-2.1.5.jar:2.1.5]
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:64) [groovy-all-2.1.5.jar:2.1.5]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) [groovy-all-2.1.5.jar:2.1.5]
at com.textura.cpms.certificate.security.provider.CPMSDBKeyStoreSPIImpl.engineGetKey(CPMSDBKeyStoreSPIImpl.groovy:263) [asset-cpms-certificate-management-4.0.0-SNAPSHOT.jar:]
at java.security.KeyStore.getKey(KeyStore.java:792) [rt.jar:1.7.0_25]
at java_security_KeyStore$getKey.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) [groovy-all-2.1.5.jar:2.1.5]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) [groovy-all-2.1.5.jar:2.1.5]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) [groovy-all-2.1.5.jar:2.1.5]
at com.textura.cpms.service.app.facade.CertificateServiceImpl.createCertificateForUser(CertificateServiceImpl.groovy:76) [asset-service-provider-impl-4.0.0-SNAPSHOT.jar:]

I'm assuming that this was just an oversight by you guys and that you will add this in a future patch.

In the short term is there a work around w/o requiring us to modify the JBoss installation?

Comment 2 JBoss JIRA Server 2013-09-26 14:09:04 UTC
Tomaz Cerar <tomaz.cerar> updated the status of jira JBEAP-29 to Resolved

Comment 3 Jan Martiska 2013-10-02 08:39:34 UTC
Verified in 6.2.0.ER3.