Re: Problème création Web Ser vice sur un module EJB

ludo <[email protected]>
Newsgroups gmane.comp.java.netbeans.general.french
Message-ID <[email protected]>
Lorince T. wrote:
> Bonjour tlm
>
> Voici le contexte de mon problème. Je travaille sur NB5.0, je souhaite 
> créer un Web Service sur un
> module EJB, de mon projet Entreprise. J'effectue d'abort un test de 
> création de web service que je
> souhaite sur une application web existant et tout ce passe bien, je 
> teste le web service il fonctionne
> bien, jusque là pas de problème. Je crée un projet Entreprise avec un 
> module EJB, je compile et
> déploye jusque là tout va bien. Je crée maintenant un web service sur 
> mon module EJB, en suivant
> la même procédure que lors que la création du web service sur mon 
> application Web, lorsque
> je compile, tout se passe bien, mais lorsque je le déploye, j'ai un 
> echec et reçois le message d'erreur
> suivant :
>
> DEBUT
>
> pre-init:
> init-private:
> init-userdir:
> init-user:
> init-project:
> do-init:
> post-init:
> init-check:
> init-macrodef-javac:
> init-macrodef-nbjpda:
> init-macrodef-debug:
> init:
> deps-jar:
> deps-j2ee-archive:
> init:
> deps-jar:
> wscompile-init:
> IdentificationWS_wscompile:
> command line: wscompile "C:\Program 
> Files\Java\jdk1.6.0\jre\bin\java.exe" -classpath "C:\Program 
> Files\Java\jdk1.6.0\lib\tools.jar;C:\Sun\AppServer\lib\j2ee.jar;C:\Sun\AppServer\lib\saaj-api.jar;C:\Sun\AppServer\lib\saaj-impl.jar;C:\Sun\AppServer\lib\jaxrpc-api.jar;C:\Sun\AppServer\lib\jaxrpc-impl.jar;C:\Sun\AppServer\lib\appserv-ws.jar;D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\Packschool_EAR-ejb\build\ear-module" 
> com.sun.xml.rpc.tools.wscompile.Main -d 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\Packschool_EAR-ejb\build\generated\wsbinary 
> -define -features:documentliteral,strict,useonewayoperations -keep 
> -mapping 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\Packschool_EAR-ejb\build\ear-module\META-INF\IdentificationWS-mapping.xml 
> -nd 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\Packschool_EAR-ejb\build\ear-module\META-INF\wsdl 
> -s 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\Packschool_EAR-ejb\build\generated\wsservice 
> -verbose -Xprintstacktrace 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\Packschool_EAR-ejb\src\java\com\tawamba\packschool\ejb\ws\IdentificationWS-config.xml
> [creating model: IdentificationWS]
> [creating service: IdentificationWS]
> [creating port: com.tawamba.packschool.ejb.ws.IdentificationWSSEI]
> [creating operation: getIdAllUser]
> compile:
> library-inclusion-in-manifest:
> Building jar: 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\Packschool_EAR-ejb\dist\Packschool_EJB.jar
> dist-ear:
> pre-pre-compile:
> pre-compile:
> do-compile:
> Copying 1 file to 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\build
> post-compile:
> compile:
> pre-dist:
> do-dist-without-manifest:
> do-dist-with-manifest:
> Building jar: 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\dist\packschool_ear.ear
> post-dist:
> dist:
> run-deploy:
> Distributing 
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\dist\packschool_ear.ear 
> to [localhost:4848_server]
> Start registering the project's server resources
> Finished registering server resources
> deployment started : 0%
> Deploying application in domain failed; Fatal Error from EJB Compiler 
> -- jaxrpc compilation exception
> D:\Tawamba_Engineering\Projet\Packschool\Source\Entreprise\Packschool_EAR\nbproject\build-impl.xml:215: 
> Deployment error:
> The module has not been deployed.
> See the server log for details.

Regarde le server.log file dans (APPSERVERINSTALL)/domains/domain1/logs 
dir ou bien via NetBeans (ouptut console)
Ludo

> BUILD FAILED (total time: 15 seconds)
>
> FIN
>
> Malgré mon controle, je n'arrive pas à voir là ou il y a problème. Si 
> qlc peut m'éclairer sur cette erreur ou m'aider
> à résoudre mon problème se sera très sympa.
>
> Merci
> Lorince T
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.