[TP11] ServiceLocatorExceptionincompréhensible

Modérateurs : graffion, jmdouin, agoncal, mlebihan

fazil
Messages : 31
Inscription : 09 oct. 2016 21:28

[TP11] ServiceLocatorExceptionincompréhensible

Message par fazil » 11 janv. 2017 19:50

Bonjour,

désolé de m'y prendre si tard mais pas eu le temps cette semaine.
J'ai lutté pour faire compiler le programme et la j'ai l'erreur suivante:

Jan 11, 2017 6:26:35 PM com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient
INFO: Cannot find javadb client jar file, derby jdbc driver will not be available by default.
......................................E.E.E.
E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E..E..E.E.E.E.E.
E.E.E.E.E.F.E.F.E.F.E.E.E.E.E.F.E.F.E.F.E.E.E.E.E.F.E.F.E.F.E.E.E.E.E..E..E.E.E.
E.E.E.E.E.E....F...E..E....
Time: 123.746
There were 80 errors:
1) testServiceDeleteUnknownCategory(com.yaps.petstore.server.service.CatalogServiceTest)java.rmi.RemoteException: Lookup exception; nested exception is:
com.yaps.petstore.common.locator.ServiceLocatorException: javax.naming.CommunicationException: Communication exception for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is java.rmi.NoSuchObjectException: CORBA INV_OBJREF 1330447539 No; nested exception is:
org.omg.CORBA.INV_OBJREF: ----------BEGIN server-side stack trace----------
org.omg.CORBA.INV_OBJREF: WARNING: 00511203: Class com.sun.proxy.$Proxy298 not exported, or else is actually a JRMP stub vmcid: OMG minor code: 1203 completed: No
at com.sun.proxy.$Proxy192.objectNotExported(Unknown Source)
at com.sun.corba.ee.impl.util.Utility.autoConnect(Utility.java:160)
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.writeAny(Util.java:324)
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$10.write(DynamicMethodMarshallerImpl.java:306)
at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.writeResult(DynamicMethodMarshallerImpl.java:488)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:177)
at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatchToServant(ServerRequestDispatcherImpl.java:528)
at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:199)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1549)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:1425)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleInput(MessageMediatorImpl.java:930)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:213)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:694)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.dispatch(MessageMediatorImpl.java:496)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.doWork(MessageMediatorImpl.java:2222)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)

----------END server-side stack trace---------- vmcid: OMG minor code: 1203 completed: No]
at com.yaps.petstore.server.service.CatalogServiceTest.getCatalogService(CatalogServiceTest.java:1085)
at com.yaps.petstore.server.service.CatalogServiceTest.findCategory(CatalogServiceTest.java:1094)
at com.yaps.petstore.server.service.CatalogServiceTest.testServiceDeleteUnknownCategory(CatalogServiceTest.java:262)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at AllTests.main(AllTests.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: com.yaps.petstore.common.locator.ServiceLocatorException: javax.naming.CommunicationException: Communication exception for SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl, java.naming.factory.url.pkgs=com.sun.enterprise.naming} [Root exception is java.rmi.NoSuchObjectException: CORBA INV_OBJREF 1330447539 No; nested exception is:
org.omg.CORBA.INV_OBJREF: ----------BEGIN server-side stack trace----------
org.omg.CORBA.INV_OBJREF: WARNING: 00511203: Class com.sun.proxy.$Proxy298 not exported, or else is actually a JRMP stub vmcid: OMG minor code: 1203 completed: No
at com.sun.proxy.$Proxy192.objectNotExported(Unknown Source)
at com.sun.corba.ee.impl.util.Utility.autoConnect(Utility.java:160)
at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.writeAny(Util.java:324)
Apparemment ca vient de ServiceLocator mais j'avoue être un peu perdu...

Répondre

Qui est en ligne ?

Utilisateurs parcourant ce forum : Google [Bot], Yahoo [Bot] et 1 invité