File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes jboss google and mail classloading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss google and mail classloading" Watch "jboss google and mail classloading" New topic

jboss google and mail classloading

Adrien Ruffie
Ranch Hand

Joined: Jan 14, 2009
Posts: 92
Hello all,

I have the following error, when I perform runt.bat into my jboss6/bin

09:02:42,966 WARN [ClassLoaderManager] Unexpected error during load of:com.sun.mail.smtp.SMTPTransport$NtlmAuthenticator: java.lang.IllegalAccessError: class com.sun.mail.smtp.SMTPTransport$NtlmAuthenticator cannot access its superclass com.sun.mail.smtp.SMTPTransport$Authenticator


09:02:34,111 WARN [ClassLoaderManager] Unexpected error during load$Impl$WriteThroughEntry: java.lang.IllegalAccessError: class$Impl$WriteThroughEntry cannot access its superclass

Anyone have an idea ?

Best regards,


Sachin Pachari
Ranch Hand

Joined: Jan 16, 2012
Posts: 56

hi Adrien,

Did you add the JBOSS_HOME variable at the Environment variables in system properties ?
I agree. Here's the link:
subject: jboss google and mail classloading
It's not a secret anymore!