Bonjour Tout le monde. Je sollicite humblement votre aide.
Voila , je développe une Application qui fait appelle à une base de données SQLSERVER par l'intermédiaire d'une couche JPA. Je fais l'interface graphique en swing. J'utilise un EJB distant pour lancer les affichages des tables . Tout se passe bien pour le JPA. Mon problème se pose lorsque je veux déployer l'EJB distant sous Glassfish. Pourtant lorsque je lance glassfish, et que j'affiche la console d'administration, j'établis un pool de connexion et j'arrive à pinguer avec la base de données.
Voici l'erreur généré:
Voici l'arborescence de la librairies de mon EJB
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47 Exception while deploying the app [EJBGreenPc]|#] Exception during lifecycle processing java.lang.IllegalArgumentException: Specified library jar jakarta.jakartaee-api-10.0.0.jar does not exist: C:\Program%20Files\NetBeans-18\netbeans\enterprise\modules\ext\jakarta.jakartaee-api-10.0.0.jar at org.glassfish.deployment.common.DeploymentContextImpl.getAppLibs(DeploymentContextImpl.java:442) at com.sun.enterprise.v3.server.ApplicationLifecycle.getExternalLibraries(ApplicationLifecycle.java:669) at com.sun.enterprise.v3.server.ApplicationLifecycle.getDeployableTypes(ApplicationLifecycle.java:593) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:379) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:259) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:467) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:529) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:525) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/javax.security.auth.Subject.doAs(Subject.java:453) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:524) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:555) at com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:547) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/javax.security.auth.Subject.doAs(Subject.java:453) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1456) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1825) at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1701) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:510) at com.sun.enterprise.v3.admin.AdminAdapter.onMissingResource(AdminAdapter.java:200) at org.glassfish.grizzly.http.server.StaticHttpHandlerBase.service(StaticHttpHandlerBase.java:150) at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:453) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:145) at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:174) at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:153) at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:196) at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:88) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:246) at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:178) at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:118) at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:96) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:51) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:510) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:82) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:83) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:101) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:535) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:515) at java.base/java.lang.Thread.run(Thread.java:1623) |#] Exception while deploying the app [EJBGreenPc] : Specified library jar jakarta.jakartaee-api-10.0.0.jar does not exist: C:\Program%20Files\NetBeans-18\netbeans\enterprise\modules\ext\jakarta.jakartaee-api-10.0.0.jar|#]
Je vous remercie d'avance.
Partager