javax.security.auth.callback.UnsupportedCallbackException

cancel
Showing results for 
Search instead for 
Did you mean: 
jmmorales
Member II

javax.security.auth.callback.UnsupportedCallbackException

Estoy ejecutando el siguiente código de ejemplo en 2 entornos:

   public static void main(String[] args)
        throws Exception
    {
        // Start the session
        AuthenticationUtils.startSession(USERNAME, PASSWORD);
       
        try
        {  
            // Get the respoitory service
            RepositoryServiceSoapBindingStub repositoryService = WebServiceFactory.getRepositoryService();
           
            // Get array of stores available in the repository
            Store[] stores = repositoryService.getStores();
            if (stores == null)
            {
                // NOTE: empty array are returned as a null object, this is a issue with the generated web service code.
                System.out.println("There are no stores avilable in the repository.");
            }
            else
            {
                // Output the names of all the stores available in the repository
                System.out.println("The following stores are available in the repository:");
                for (Store store : stores)
                {
                    System.out.println(store.getScheme() + "://" + store.getAddress());
                }
            }
        }
        finally
        {
            // End the session
            AuthenticationUtils.endSession();
        }
    } 

En el entorno A:

JDK 1.6.0.17
Tomcat 5.5
Windows XP

Aqui se ejecuta sin ningún problema

En el entorno B:

JDK 1.6.0.17
JBoss 5.1
Red Hat 5 Linux

Aqui aparece la siguiente excepcion –> javax.security.auth.callback.UnsupportedCallbackException: Unrecognized Callback

¿Alguna idea?
1 Reply
rgamiz
Member II

Re: javax.security.auth.callback.UnsupportedCallbackException

Buenos días,

¿que versión de Alfresco estas utilizando?.

Si consultamos la wiki de Alfreso podemos ver que la compatibilidad de Alfresco con JBoss 5.1comenzo con la versión 3.2 Enterprise:

http://wiki.alfresco.com/wiki/Deploying_WAR_JBoss

Saludos,