TP 11 plein d'erreurs de compilation
Modérateurs : graffion, jmdouin, agoncal, mlebihan
-
- Messages : 55
- Inscription : 01 nov. 2016 16:13
TP 11 plein d'erreurs de compilation
Bonjour a l'éxecution de ant yaps-test: j'ai ce genre d'erreur dans le cmd glassfish
Caused by: java.lang.NullPointerException
at com.yaps.petstore.server.cart.ShoppingCartBean.getItems(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:205)
... 19 more
Et une énormément d'erreurs de ce genre dans le cmd normal: avec une en gras qui me choque beaucoup, car je ne vois cette ligne nulle part dans mon code
om.yaps.petstore.common.locator.ServiceLocator.getHome(Unknown Source)
[junit] at com.yaps.petstore.common.locator.ServiceLocator.getHome(Unknown Source)
[junit] Caused by: javax.naming.NamingException: Lookup failed for 'java:global/yapswtp11/CustomerSB!com.yaps.petstore.server.service.catalog.CatalogService' in 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 javax.naming.NameNotFoundException: CustomerSB!com.yaps.petstore.server.service.catalog.CatalogService not found]
[junit] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
[junit] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:438)
[junit] at javax.naming.InitialContext.lookup(InitialContext.java:417)
[junit] Caused by: javax.naming.NameNotFoundException: CustomerSB!com.yaps.petstore.server.service.catalog.CatalogService not found
[junit] at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:237)
[junit] at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:204)
[junit] at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:208)
[junit] at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:208)
[junit] at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:66)
[junit] at com.sun.enterprise.naming.impl.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:109)
[junit] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:143)
[junit] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:173)
[junit] at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatchToServant(ServerRequestDispatcherImpl.java:528)
[junit] at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:199)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1549)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:1425)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleInput(MessageMediatorImpl.java:930)
[junit] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:213)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:694)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.dispatch(MessageMediatorImpl.java:496)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.doWork(MessageMediatorImpl.java:2222)
[junit] at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
[junit] at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
[junit]
[junit] Testcase: testDelegateFindAllProductsForACategoryWithInvalidValues took 0,716
Caused by: java.lang.NullPointerException
at com.yaps.petstore.server.cart.ShoppingCartBean.getItems(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1081)
at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1153)
at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4786)
at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:656)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:608)
at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:52)
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:883)
at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:822)
at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:369)
at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:4758)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4746)
at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:205)
... 19 more
Et une énormément d'erreurs de ce genre dans le cmd normal: avec une en gras qui me choque beaucoup, car je ne vois cette ligne nulle part dans mon code
om.yaps.petstore.common.locator.ServiceLocator.getHome(Unknown Source)
[junit] at com.yaps.petstore.common.locator.ServiceLocator.getHome(Unknown Source)
[junit] Caused by: javax.naming.NamingException: Lookup failed for 'java:global/yapswtp11/CustomerSB!com.yaps.petstore.server.service.catalog.CatalogService' in 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 javax.naming.NameNotFoundException: CustomerSB!com.yaps.petstore.server.service.catalog.CatalogService not found]
[junit] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:491)
[junit] at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:438)
[junit] at javax.naming.InitialContext.lookup(InitialContext.java:417)
[junit] Caused by: javax.naming.NameNotFoundException: CustomerSB!com.yaps.petstore.server.service.catalog.CatalogService not found
[junit] at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:237)
[junit] at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:204)
[junit] at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:208)
[junit] at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:208)
[junit] at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:66)
[junit] at com.sun.enterprise.naming.impl.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:109)
[junit] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:143)
[junit] at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:173)
[junit] at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatchToServant(ServerRequestDispatcherImpl.java:528)
[junit] at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:199)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1549)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:1425)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleInput(MessageMediatorImpl.java:930)
[junit] at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:213)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:694)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.dispatch(MessageMediatorImpl.java:496)
[junit] at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.doWork(MessageMediatorImpl.java:2222)
[junit] at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:497)
[junit] at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:540)
[junit]
[junit] Testcase: testDelegateFindAllProductsForACategoryWithInvalidValues took 0,716
Re: TP 11 plein d'erreurs de compilation
L'ensemble doit être déployé sous Glassfish.
Les paramètres par défaut utilisés pour utiliser le JNDI de Glassfish sont dans appserv-rt.jar, à ajouter dans le Classpath.
Cordialement.
Les paramètres par défaut utilisés pour utiliser le JNDI de Glassfish sont dans appserv-rt.jar, à ajouter dans le Classpath.
Cordialement.
Re: TP 11 plein d'erreurs de compilation
De plus, il faut aussi tous les jars XUnit pour faire passer les tests.
Cordialement.
Cordialement.
-
- Messages : 55
- Inscription : 01 nov. 2016 16:13
Re: TP 11 plein d'erreurs de compilation
Bonjour,
Meric beaucoup pour ta réponse,
J'avais rajouté dans le fichier ant :
set GLASSFISH_HOME=C:\Applications\glassfish4\glassfish
PATH "%JRE_HOME%\bin";"%JAVA_HOME%\bin";%TOMCAT_HOME%\bin;%GLASSFISH_HOME%\bin;%ANT_HOME%\bin;%PATH%
set CLASSPATH=.;%GLASSFISH_HOME%/lib/gf-client.jar
set CLASSPATH=.;%GLASSFISH_HOME%/lib/jndi-properties.jar
set CLASSPATH=.;%GLASSFISH_HOME%/lib/javaee.jar
set CLASSPATH=.;%GLASSFISH_HOME%/lib/appserv-rt.jar
Ou sont déjà les XUnit.jars auxquels tu faisais allusion?
Merci par avance :)
Meric beaucoup pour ta réponse,
J'avais rajouté dans le fichier ant :
set GLASSFISH_HOME=C:\Applications\glassfish4\glassfish
PATH "%JRE_HOME%\bin";"%JAVA_HOME%\bin";%TOMCAT_HOME%\bin;%GLASSFISH_HOME%\bin;%ANT_HOME%\bin;%PATH%
set CLASSPATH=.;%GLASSFISH_HOME%/lib/gf-client.jar
set CLASSPATH=.;%GLASSFISH_HOME%/lib/jndi-properties.jar
set CLASSPATH=.;%GLASSFISH_HOME%/lib/javaee.jar
set CLASSPATH=.;%GLASSFISH_HOME%/lib/appserv-rt.jar
Ou sont déjà les XUnit.jars auxquels tu faisais allusion?
Merci par avance :)
-
- Messages : 55
- Inscription : 01 nov. 2016 16:13
Re: TP 11 plein d'erreurs de compilation
Bonjour à tous,
Maintenant c'est la meilleure!
1----Quand je fais ant yaps-test, le cmd est bloqué! Il reste sur la meme ligne me disant qu'il faut tourner le all-test mais ne renvoie rien du tout...
2----Et voici les erreurs que me donnent startserv
(En vous remerciant par avance)
[#|2018-01-01T16:19:49.191+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989191;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.197+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989197;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.212+0100|WARNING|glassfish 4.1|javax.enterprise.ejb.container|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989212;_LevelValue=900;_MessageID=AS-EJB-00003;|
[NRU-com.yaps.petstore.server.cart.ShoppingCartBean]: passivateEJB(), Exception caught ->|#]
[#|2018-01-01T16:19:49.214+0100|WARNING|glassfish 4.1|javax.enterprise.ejb.container|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989214;_LevelValue=900;_MessageID=AS-EJB-00003;|
[NRU-com.yaps.petstore.server.cart.ShoppingCartBean]: passivateEJB(), Exception caught ->|#]
[#|2018-01-01T16:19:49.215+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989215;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.220+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989220;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.233+0100|SEVERE|glassfish 4.1|javax.enterprise.web.util|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989233;_LevelValue=1000;|
The web application [/yapswtp11] created a ThreadLocal with key of type [org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader$1] (value [org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader$1@67d8d1bc]) and a value of type [org.glassfish.web.loader.WebappClassLoader] (value [WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.|#]
[#|2018-01-01T16:19:49.261+0100|INFO|glassfish 4.1||_ThreadID=20;_ThreadName=Thread-8;_TimeMillis=1514819989261;_LevelValue=800;|
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools = [GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool]|#]
Completed shutdown of Log manager service
[#|2018-01-01T16:19:49.264+0100|INFO|glas
Maintenant c'est la meilleure!
1----Quand je fais ant yaps-test, le cmd est bloqué! Il reste sur la meme ligne me disant qu'il faut tourner le all-test mais ne renvoie rien du tout...
2----Et voici les erreurs que me donnent startserv
(En vous remerciant par avance)
[#|2018-01-01T16:19:49.191+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989191;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.197+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989197;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.212+0100|WARNING|glassfish 4.1|javax.enterprise.ejb.container|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989212;_LevelValue=900;_MessageID=AS-EJB-00003;|
[NRU-com.yaps.petstore.server.cart.ShoppingCartBean]: passivateEJB(), Exception caught ->|#]
[#|2018-01-01T16:19:49.214+0100|WARNING|glassfish 4.1|javax.enterprise.ejb.container|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989214;_LevelValue=900;_MessageID=AS-EJB-00003;|
[NRU-com.yaps.petstore.server.cart.ShoppingCartBean]: passivateEJB(), Exception caught ->|#]
[#|2018-01-01T16:19:49.215+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989215;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.220+0100|SEVERE|glassfish 4.1|javax.enterprise.resource.corba|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989220;_LevelValue=1000;|
Exception during POARemoteRefFactory::destroy()
org.omg.CORBA.OBJ_ADAPTER: AVERTISSEMENT: 02310830: ReferenceFactoryManager destroy failed vmcid: OMG minor code: 830 completed: No
at com.sun.proxy.$Proxy186.rfmDestroyFailed(Unknown Source)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:574)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryImpl.destroy(ReferenceFactoryImpl.java:66)
at org.glassfish.enterprise.iiop.impl.POARemoteReferenceFactory.destroy(POARemoteReferenceFactory.java:555)
at com.sun.ejb.containers.BaseContainer.doContainerCleanup(BaseContainer.java:4412)
at com.sun.ejb.containers.BaseContainer.onShutdown(BaseContainer.java:4293)
at org.glassfish.ejb.startup.EjbApplication.stop(EjbApplication.java:299)
at org.glassfish.internal.data.EngineRef.stop(EngineRef.java:161)
at org.glassfish.internal.data.ModuleInfo.stop(ModuleInfo.java:324)
at org.glassfish.internal.data.ApplicationInfo.stop(ApplicationInfo.java:380)
at com.sun.enterprise.v3.server.ApplicationLifecycle.unload(ApplicationLifecycle.java:1059)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:2128)
at com.sun.enterprise.v3.server.ApplicationLifecycle.disable(ApplicationLifecycle.java:113)
at com.sun.enterprise.v3.server.ApplicationLoaderService.stopApplication(ApplicationLoaderService.java:496)
at com.sun.enterprise.v3.server.ApplicationLoaderService.preDestroy(ApplicationLoaderService.java:464)
at org.jvnet.hk2.internal.ClazzCreator.preDestroyMe(ClazzCreator.java:339)
at org.jvnet.hk2.internal.ClazzCreator.dispose(ClazzCreator.java:404)
at org.jvnet.hk2.internal.SystemDescriptor.dispose(SystemDescriptor.java:526)
at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.destroyOne(AsyncRunLevelContext.java:328)
at org.glassfish.hk2.runlevel.RunLevelContext.destroyOne(RunLevelContext.java:101)
at org.jvnet.hk2.internal.ServiceHandleImpl.destroy(ServiceHandleImpl.java:183)
at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$DownQueueRunner.run(CurrentTaskFuture.java:1270)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at com.sun.corba.ee.impl.orb.ORBImpl.isDuringDispatch(ORBImpl.java:1427)
at com.sun.corba.ee.impl.oa.poa.POAImpl.destroy(POAImpl.java:1130)
at com.sun.corba.ee.impl.oa.rfm.ReferenceFactoryManagerImpl.destroy(ReferenceFactoryManagerImpl.java:572)
... 23 more
|#]
[#|2018-01-01T16:19:49.233+0100|SEVERE|glassfish 4.1|javax.enterprise.web.util|_ThreadID=19;_ThreadName=RunLevelControllerThread-1514819980668;_TimeMillis=1514819989233;_LevelValue=1000;|
The web application [/yapswtp11] created a ThreadLocal with key of type [org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader$1] (value [org.glassfish.pfl.dynamic.codegen.impl.CurrentClassLoader$1@67d8d1bc]) and a value of type [org.glassfish.web.loader.WebappClassLoader] (value [WebappClassLoader (delegate=true; repositories=WEB-INF/classes/)]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.|#]
[#|2018-01-01T16:19:49.261+0100|INFO|glassfish 4.1||_ThreadID=20;_ThreadName=Thread-8;_TimeMillis=1514819989261;_LevelValue=800;|
JdbcRuntimeExtension, getAllSystemRAResourcesAndPools = [GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcResource, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool, GlassFishConfigBean.org.glassfish.jdbc.config.JdbcConnectionPool]|#]
Completed shutdown of Log manager service
[#|2018-01-01T16:19:49.264+0100|INFO|glas
Re: TP 11 plein d'erreurs de compilation
Pour être honnête, je fais les tests sous eclipse avant de faire l'ensemble des manips ant test et ant rend TP.
Ce qui m'a gêné, c'est qu'il faut déployer sous Glasfish avant de tester.
Or, ça m'a gêné pour trois raisons:
1) Ce n'est pas comme ça que je fais dans mon travail.
2) Deployer sur un GlassFish, c'est lourd, très lourd.
3) Si un des tests ne passe pas, impossible de debugger rapidement, j'ai plein de flux partout dans lesquelles on ne peut pas rentrer à coup de debugger.
Et j'ai eu plein de Test qui ne sont pas passé, pour des erreurs à la con...
Pour en revenir à ton problème, je pense que c'est un problème de déploiement.
Il faut demander à ant de déployer sur glasfish et de faire tourner.
Les manips sont:
1) ant clean.
2)ant build
3)ant deploy
Les war arrivent normalement dans le dossier glassfish\domains\domain1\autodeploy
Ensuite, il faut démarer le serveur Glasfish (avec l'exécutable glassfish\bin\startserv.bat).
Ensuite, tu peux lancer les tests.
Ce qui m'a gêné, c'est qu'il faut déployer sous Glasfish avant de tester.
Or, ça m'a gêné pour trois raisons:
1) Ce n'est pas comme ça que je fais dans mon travail.
2) Deployer sur un GlassFish, c'est lourd, très lourd.
3) Si un des tests ne passe pas, impossible de debugger rapidement, j'ai plein de flux partout dans lesquelles on ne peut pas rentrer à coup de debugger.
Et j'ai eu plein de Test qui ne sont pas passé, pour des erreurs à la con...
Pour en revenir à ton problème, je pense que c'est un problème de déploiement.
Il faut demander à ant de déployer sur glasfish et de faire tourner.
Les manips sont:
1) ant clean.
2)ant build
3)ant deploy
Les war arrivent normalement dans le dossier glassfish\domains\domain1\autodeploy
Ensuite, il faut démarer le serveur Glasfish (avec l'exécutable glassfish\bin\startserv.bat).
Ensuite, tu peux lancer les tests.
-
- Messages : 55
- Inscription : 01 nov. 2016 16:13
Re: TP 11 plein d'erreurs de compilation
Super merci je vais essayer de voir si c'est mieux sinon je ne pourrais rien rendre (vu qu'il bloque sur les ant yaps-test)!
Merci encore pour ton aide
Merci encore pour ton aide
-
- Messages : 55
- Inscription : 01 nov. 2016 16:13
Re: TP 11 plein d'erreurs de compilation
Bonjour j'ai essayé mais les tests ne veulent pas se lancer. Si quelqu'un a réussi à lever cet ennuyeux problème, ce serait super...
Le gros souci, c'est que pour le coup, impossible de générer des fichiers résultats, ni corrects ni incorrects...
Le gros souci, c'est que pour le coup, impossible de générer des fichiers résultats, ni corrects ni incorrects...
Re: TP 11 plein d'erreurs de compilation
Bonjour,
Lancer ant yaps-test n'est pas obligatoire/nécessaire pour lancer ant yaps-mark.
Il suffit qu'il n'y ait plus d'erreurs de compilation pour pouvoir exécuter ant yaps-mark.
Lancer ant yaps-test n'est pas obligatoire/nécessaire pour lancer ant yaps-mark.
Il suffit qu'il n'y ait plus d'erreurs de compilation pour pouvoir exécuter ant yaps-mark.
Qui est en ligne ?
Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité