Bug 1010469 - System sun.jdk module is missing path for sun/security/util
Summary: System sun.jdk module is missing path for sun/security/util
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Class Loading
Version: 6.1.1,6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER3
: EAP 6.2.0
Assignee: Tomaz Cerar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-20 20:32 UTC by Tomaz Cerar
Modified: 2013-12-15 16:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:55:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-29 0 Major Resolved System sun.jdk module is missing path for sun/security/util 2013-10-03 06:45:44 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.