[jboss-as7-dev] CallbackHandler class not found in org.jboss.as.controller-client

Ravan Naidoo rnaidoo at xebialabs.com
Fri Jul 20 08:45:11 EDT 2012


Hi,

I am trying to develop a python based management client module. My module has the following dependencies :

   <dependencies>
        <module name="javax.api"/>
	<module name="sun.jdk"/>
        <module name="org.jboss.as.cli"/>
        <module name="org.jboss.logmanager" services="import"/>
        <module name="org.jboss.as.controller-client"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.as.protocol"/>
        <module name="org.jboss.dmr"/>
        <module name="org.jboss.sasl"/>
        <module name="org.jboss.staxmapper"/>
    </dependencies> 


When I run my module I get the following error :

Caused by: java.lang.ClassNotFoundException: javax.security.auth.callback.CallbackHandler from [Module "org.jboss.as.controller-client:main" from local module loader @bd86fd3 (roots: /jboss-as-7.1.1.Final/modules,/custom/modules)]
	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
	... 37 more

The org.jboss.as.cli module has similar dependencies and does not encounter the same problem.

What am I doing wrong?

cheers,
Ravan





More information about the jboss-as7-dev mailing list