Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/06/2011, à 20:07

infolami

installation de PKI (EJBCA)

bonjour ,
j'ai deja installé EJBCA avec JBoss et ça marche tres bien
je suis entraine de  reinstaller EJBCA 
mais cette fois  quand j'arrive a cette commande

# ant install

pour la creation de certificat SuperAdmin.p12
il m'affiche cette erreur

[java] org.ejbca.core.ejb.ServiceLocatorException: javax.naming.NameNotFoundException: AuthorizationSession not bound
     [java]     at org.ejbca.core.ejb.ServiceLocator.getObject(ServiceLocator.java:160)
     [java]     at org.ejbca.core.ejb.ServiceLocator.getRemoteHome(ServiceLocator.java:85)
     [java]     at org.ejbca.ui.cli.BaseCommand.getAuthorizationSession(BaseCommand.java:282)
     [java]     at org.ejbca.ui.cli.ca.BaseCaAdminCommand.initAuthorizationModule(BaseCaAdminCommand.java:160)
     [java]     at org.ejbca.ui.cli.ca.CaInitCommand.execute(CaInitCommand.java:202)
     [java]     at org.ejbca.ui.cli.EjbcaEjbCli.executeCommand(EjbcaEjbCli.java:117)
     [java]     at org.ejbca.ui.cli.EjbcaEjbCli.main(EjbcaEjbCli.java:79)
     [java] Caused by: javax.naming.NameNotFoundException: AuthorizationSession not bound
......
......
   [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
     [java]     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
     [java]     at javax.naming.InitialContext.lookup(InitialContext.java:409)
     [java]     at org.ejbca.core.ejb.ServiceLocator.getObject(ServiceLocator.java:158)
     [java]     ... 7 more
     [java] Java Result: 1

BUILD FAILED
/opt/ejbca4/build.xml:78: The following error occurred while executing this line:
/opt/ejbca4/bin/cli.xml:111: The following error occurred while executing this line:
/opt/ejbca4/bin/cli.xml:148: Batch generation failed!

svp adez moi ? ça fait une semaine que j'essye de faire ça
merci par avance

Hors ligne

#2 Le 20/06/2011, à 20:52

pode

Re : installation de PKI (EJBCA)

Aucune idée de comment s'intègre en détail EJBCA dans Jboss, mais en faisant une recherche dans google avec le message

org.ejbca.core.ejb.ServiceLocatorException: javax.naming.NameNotFoundException: AuthorizationSession not bound

on tombe sur EJBCA ant install error où on dit que ça peut venir d'un serveur Jboss non démarré, ou dont le démarrage a échoué.

Dernière modification par pode (Le 20/06/2011, à 20:53)

Hors ligne

#3 Le 20/06/2011, à 21:23

infolami

Re : installation de PKI (EJBCA)

merci pour la reponse pode smile;
j'ai demarré jboss par ces commandes

# cd $JBOSS_HOME/bin
# chmod +x run.sh
# ./run.sh
20:23:06,377 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 18s:724ms

sad

Hors ligne

#4 Le 11/09/2014, à 23:44

adrenaline2015

Re : installation de PKI (EJBCA)

Salut stp tu pourras m'aider pour l'installation de ejbca sous ubuntu 12

Hors ligne