-
Feature Request
-
Resolution: Done
-
Major
-
7.1.1.Final, 7.1.2.Final (EAP), 7.1.3.Final (EAP)
-
None
We need some packages to activate about sun/security packages. Otherwise we get java.lang.NoClassDefFoundError. We need "sun/security/pkcs" and "sun/security/x509" modules to activate.
Is it possible to add some required packages to JBoss 7 A.S. as default like the following.
jboss-as-web-7.1.1.Final\modules\sun\jdk\main\modules.xml
....
<path name="sun/security/pkcs"/>
<path name="sun/security/x509"/>
....
Here is the exception cause:
javax.servlet.ServletException: java.lang.NoClassDefFoundError: sun/security/pkcs/PKCS7
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115)
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
tr.gov.tubitak.bte.ebelgem.util.CustomCharacterEncodingFilter.doFilter(CustomCharacterEncodingFilter.java:38)
javax.servlet.ServletException: java.lang.NoClassDefFoundError: sun/security/x509/AlgorithmId
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilter.java:79)
org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:67)
com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:115)
org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
tr.gov.tubitak.bte.ebelgem.util.CustomCharacterEncodingFilter.doFilter(CustomCharacterEncodingFilter.java:38)