[jboss-dev-forums] [JBoss AS 7 Development] - sun/security packages to activate

Ufuk TÜL do-not-reply at jboss.com
Mon Aug 13 08:52:41 EDT 2012


Ufuk TÜL [https://community.jboss.org/people/darkrider] created the discussion

"sun/security packages to activate"

To view the discussion, visit: https://community.jboss.org/message/753325#753325

--------------------------------------------------------------
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.0.2.Final\modules\sun\jdk\main+*
altında *+module.xml+* dosyasında aşağıdaki satırlar eklenir.

*<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)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/753325#753325]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120813/b6da6e71/attachment.html 


More information about the jboss-dev-forums mailing list