Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1592 connectés 

  FORUM HardWare.fr
  Programmation
  Java

  urgent: problème d'exécution d'aun programme

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

urgent: problème d'exécution d'aun programme

n°2071719
msedirim
Posté le 22-04-2011 à 22:23:50  profilanswer
 

Bonjour,
 
J'ai deux problèmes dans une application de type "Entreprise Application" qui contient des parties portantes sur les EJBs, les servlets et le jsp :
 
1)
J'ai exécuté dans la partie EJB la classe client "CartClient" alors j'ai le message d'erreur suivant:
 
 

Citation :

"init:
deps-jar:
compile-single:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at tp4.CartClient.main(CartClient.java:22)
debug-single-main:
BUILD SUCCESSFUL (total time: 0 seconds)
"


 
2)
Même j'ai crée un nouveau projet le même problème reste de plus lorsque j'exécute tout le projet alors j'ai le message d'erreur suivant:
 

Citation :

"fpre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:
test-ejb.init:
test-ejb.deps-jar:
test-ejb.compile:
test-ejb.library-inclusion-in-manifest:
Building jar: C:\Documents and Settings\can\Mes documents\NetBeansProjects\test\test-ejb\dist\test-ejb.jar
test-ejb.dist-ear:
test-war.init:
test-war.deps-module-jar:
test-war.deps-ear-jar:
test-ejb.init:
test-ejb.deps-jar:
test-ejb.compile:
test-ejb.library-inclusion-in-manifest:
test-ejb.dist-ear:
test-war.deps-jar:
test-war.library-inclusion-in-archive:
test-war.library-inclusion-in-manifest:
Copying 1 file to C:\Documents and Settings\can\Mes documents\NetBeansProjects\test\build
test-war.compile:
test-war.compile-jsps:
test-war.do-ear-dist:
test-war.dist-ear:
pre-pre-compile:
pre-compile:
do-compile:
post-compile:
compile:
pre-dist:
do-dist-without-manifest:
do-dist-with-manifest:
Building jar: C:\Documents and Settings\can\Mes documents\NetBeansProjects\test\dist\test.ear
post-dist:
dist:
run-debug:
Server GlassFish Server 3 1 is stopping
GlassFish Server 3 1 was stopped.
Starting GlassFish Server 3 1
GlassFish Server 3 1 is running.
Initial deploying test to C:\Documents and Settings\can\Mes documents\NetBeansProjects\test\dist\gfdeploy\test
Completed initial distribution of test
Initializing...
deploy?path=C:\Documents and Settings\can\Mes documents\NetBeansProjects\test\dist\gfdeploy\test&name=test&force=true failed on GlassFish Server 3 1
C:\Documents and Settings\can\Mes documents\NetBeansProjects\test\nbproject\build-impl.xml:416: The module has not been deployed.
BUILD FAILED (total time: 22 seconds)
"


- Avez vous une idée pour corriger ces deux problèmes ?
 
- Y a il une configuration à faire dans un fichier par exemple dans un fichier xml ou autre ?
 
 
Merci en avance pour vos aides.

mood
Publicité
Posté le 22-04-2011 à 22:23:50  profilanswer
 

n°2074811
Nethacker
rule televisions, rule minds
Posté le 09-05-2011 à 16:57:17  profilanswer
 

Urgent et puis il faut revoir le titre aussi ...
 
Bien cordialement,


---------------
God is one, not 2 nor 3!

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  Java

  urgent: problème d'exécution d'aun programme

 

Sujets relatifs
Probleme boucles bashExécution d'un prog java sous Unix
Ajouter un programme java comme plugin dans un outil open sourceProblème ecriture/lecture carte SD
Menu positionnement différent sur IE et Firefox + Problème de bordureProbleme on mouse out et area
macro VBA sous excell 2000 probleme avec excell 2007Erreur d'éxecution '6' - Dépassement de capacité
Problème avec une requete GROUP BYProgramme pour isoler des images dans un fichier
Plus de sujets relatifs à : urgent: problème d'exécution d'aun programme


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR