TP08 Build Path pour un seul fichier

Modérateurs : graffion, jmdouin, agoncal, mlebihan

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 05 déc. 2017 17:51

Bonsoir,

Très étrange
Seulement sur la première ligne de la classe VerifyCreditCardServlet , à l'endroit de déclaration du package, eclipse me demande de configurer le build path pour ce fichier
Open the Java build path property page of project 'tp08'

Savez vous d'ou vient et comment corriger le problème qui ne concerne que cette page apparemment?

Merci beaucoup

PhilG
Messages : 21
Inscription : 12 nov. 2017 10:25

Re: TP08 Build Path pour un seul fichier

Message par PhilG » 06 déc. 2017 8:18

Essaye le truc pratique: Clean Project.

Dans Eclipse, va dans le menu Project puis va dans le menu clean.

Et clean project.

On ne sait jamais, des fois, c'est Eclipse qui déconne.

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

Re: TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 06 déc. 2017 15:43

Bonjour,

D'abord merci d'avoir pris le temps de me répondre
Oui j'ai déjà fait cette procédure plusieurs fois mais ca n'a pas marché...
Impossible de passer les tests sans cette classe...

graffion
Messages : 635
Inscription : 21 juin 2005 14:05

Re: TP08 Build Path pour un seul fichier

Message par graffion » 07 déc. 2017 17:05

Bonjour,

Le fichier VerifyCreditCardServlet étant fourni (au TP08) il ne devrait pas comporter d'erreurs!!

Clean project est effectivement très utile.

Si ça ne marche pas, il faut supprimer le projet dans Eclipse, supprimer les fichiers .classpath et .project à la racine (dans une fenêtre shell - ligne de commandes), puis recréer le projet dans Eclipse (par File->New -> Java project comme d'habitude).

Au pire on peut se passer d'Eclipse; de toute façon on doit construire le tout en ligne de commandes par ant build.
Si cette commande échoue aussi, ça devrait donner des indications.

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

Re: TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 10 déc. 2017 16:15

Bonjour,

J'ai importé la correction du projet et j'ai toujours la même erreur sur eclipse (!) dans la console même avec la correction

C'est à dire la premeière ligne surlignée en me demandant de reconstruire le buildpath dans le fichier Verify...

En plus appraramement il y a d'autres erreurs alors que j'ai bien importé toutes les librairies...Voici l'erreur monstrueuse qui m'est renvoyée après le ant build (après yaps-create-db et yaps-insert-data)



C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08>ant build
Buildfile: C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\build.xml

compile:

check:

yaps-prepare:
[echo] Setup the Yaps environment

yaps-compile:
[echo] Compile the YAPS classes
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\build.xml:214: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 90 source files to C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\classes\production
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:3: error: package org.dom4j does not exist
[javac] import org.dom4j.Document;
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:4: error: package org.dom4j does not exist
[javac] import org.dom4j.DocumentHelper;
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:5: error: package org.dom4j does not exist
[javac] import org.dom4j.Element;
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:45: error: cannot find symbol
[javac] public Document toXML() {
[javac] ^
[javac] symbol: class Document
[javac] location: class CreditCard
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\CreditCardService.java:6: error: package org.dom4j does not exist
[javac] import org.dom4j.Document;
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\CreditCardService.java:49: error: cannot find symbol
[javac] private static void analyseResponse(Document creditCardVerifiedXML) throws CheckException {
[javac] ^
[javac] symbol: class Document
[javac] location: class CreditCardService
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\HTTPSender.java:5: error: package org.dom4j does not exist
[javac] import org.dom4j.Document;
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\HTTPSender.java:6: error: package org.dom4j.io does not exist
[javac] import org.dom4j.io.SAXReader;
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\HTTPSender.java:38: error: cannot find symbol
[javac] public static Document send(Document creditCardXML) throws CheckException {
[javac] ^
[javac] symbol: class Document
[javac] location: class HTTPSender
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\HTTPSender.java:38: error: cannot find symbol
[javac] public static Document send(Document creditCardXML) throws CheckException {
[javac] ^
[javac] symbol: class Document
[javac] location: class HTTPSender
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:239: warning: [deprecation] show() in Window has been deprecated
[javac] new CreateOrderFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:244: warning: [deprecation] show() in Window has been deprecated
[javac] new ManageOrderFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:250: warning: [deprecation] show() in Window has been deprecated
[javac] new ManageCustomerFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:255: warning: [deprecation] show() in Window has been deprecated
[javac] new ManageCategoryFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:260: warning: [deprecation] show() in Window has been deprecated
[javac] new ManageProductFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:265: warning: [deprecation] show() in Window has been deprecated
[javac] new ManageItemFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:270: warning: [deprecation] show() in Window has been deprecated
[javac] new ListCustomerFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:275: warning: [deprecation] show() in Window has been deprecated
[javac] new ListCategoryFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:280: warning: [deprecation] show() in Window has been deprecated
[javac] new ListProductFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:285: warning: [deprecation] show() in Window has been deprecated
[javac] new ListItemFrame().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\Menu.java:297: warning: [deprecation] show() in Window has been deprecated
[javac] new Menu().show();
[javac] ^
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\client\ui\order\CreateOrderFrame.java:113: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] orderLinesDTO.add(orderLineDTO);
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:50: error: cannot find symbol
[javac] Document document = DocumentHelper.createDocument();
[javac] ^
[javac] symbol: class Document
[javac] location: class CreditCard
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:50: error: cannot find symbol
[javac] Document document = DocumentHelper.createDocument();
[javac] ^
[javac] symbol: variable DocumentHelper
[javac] location: class CreditCard
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:53: error: cannot find symbol
[javac] Element root = document.addElement(XML_CREDITCARD);
[javac] ^
[javac] symbol: class Element
[javac] location: class CreditCard
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\util\persistence\AbstractDataAccessObject.java:141: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] objects.add(transformResultset2DomainObject(resultSet));
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\item\ItemDAO.java:75: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] items.add(transformResultset2DomainObject(resultSet));
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\orderline\OrderLineDAO.java:73: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] orderLines.add(orderLine);
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\product\ProductDAO.java:75: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] products.add(transformResultset2DomainObject(resultSet));
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\catalog\CatalogService.java:441: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] categoriesDTO.add(transformCategory2DTO(category));
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\catalog\CatalogService.java:469: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] productsDTO.add(transformProduct2DTO(product));
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\catalog\CatalogService.java:498: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] itemsDTO.add(transformItem2DTO(item));
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\CreditCardService.java:38: error: cannot find symbol
[javac] Document creditCardVerifiedXML = HTTPSender.send(creditCard.toXML());
[javac] ^
[javac] symbol: class Document
[javac] location: class CreditCardService
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\HTTPSender.java:42: error: cannot find symbol
[javac] Document creditCardVerifiedXML = null;
[javac] ^
[javac] symbol: class Document
[javac] location: class HTTPSender
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\HTTPSender.java:60: error: cannot find symbol
[javac] SAXReader reader = new SAXReader();
[javac] ^
[javac] symbol: class SAXReader
[javac] location: class HTTPSender
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\creditcard\HTTPSender.java:60: error: cannot find symbol
[javac] SAXReader reader = new SAXReader();
[javac] ^
[javac] symbol: class SAXReader
[javac] location: class HTTPSender
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\customer\CustomerService.java:194: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] customersDTO.add(transformCustomer2DTO(customer));
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\order\OrderService.java:95: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] orderLines.add(orderLine);
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\service\order\OrderService.java:182: warning: [unchecked] unchecked call to add(E) as a member of the raw type Collection
[javac] orderLinesDTO.add(orderLineDTO);
[javac] ^
[javac] where E is a type-variable:
[javac] E extends Object declared in interface Collection
[javac] 17 errors
[javac] 22 warnings

BUILD FAILED
C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\build.xml:206: The following error occurred while executing this line:
C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\build.xml:214: Compile failed; see the compiler error output for details.

Total time: 1 second

C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08>

graffion
Messages : 635
Inscription : 21 juin 2005 14:05

Re: TP08 Build Path pour un seul fichier

Message par graffion » 11 déc. 2017 12:37

Bonjour,

Un problème de CLASSPATH semble clair

Code : Tout sélectionner

[javac] C:\Users\ruddy\workspace\SourceCompletDeLApplication_TP08\Yaps\src\java\com\yaps\petstore\server\domain\CreditCard.java:3: error: package org.dom4j does not exist
Pour le résoudre il faut ajouter au CLASSPATH la librairie dom4j qui ne fait pas partie du JDK mais est requise depuis le TP07.

A défaut d'être présent aux séances de TD, il faut lire attentivement les énoncés ... notamment celui du TP07 en l'occurrence :
Pour installer Dom4j, il suffit de télécharger l'archive du produit... Rajouter ensuite dans le répertoire lib de votre projet la librairie dom4j.jar
Par ailleurs un contrôle de présence de cette librairie était fait par ant check au TP07.

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

Re: TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 11 déc. 2017 17:53

Bonjour, oui merci beaucoup je l'avais fait pour le tp07 mais je ne l'ai pas refait pour tp08 et celui-ci.

C'est un problème de réglé, merci.
Mais le problème du classpath n'est toujours pas résolu car les premières lignes de beaucoup de classes sous éclipse sont soulignées en rouge en me demandant de refaire le buidpath en me disant.

J'ai fait des captures d'écran,
Voici le lien: https://drive.google.com/drive/folders/ ... kwOmeYEhB2

Pour l'instant savez vous comment lever cette erreur sous le junit:


com.yaps.petstore.common.exception.CheckException: Invalid Card
at com.yaps.petstore.server.service.creditcard.HTTPSender.send(HTTPSender.java:64)
at com.yaps.petstore.server.service.creditcard.CreditCardService.verifyCreditCard(CreditCardService.java:38)
at com.yaps.petstore.server.service.customer.CustomerService.createCustomer(CustomerService.java:60)
at com.yaps.petstore.server.service.CustomerServiceTest.createCustomer(CustomerServiceTest.java:423)
at com.yaps.petstore.server.service.CustomerServiceTest.testServiceCreateCustomer(CustomerServiceTest.java:108)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

graffion
Messages : 635
Inscription : 21 juin 2005 14:05

Re: TP08 Build Path pour un seul fichier

Message par graffion » 11 déc. 2017 18:48

"ant check" en ligne de commande vérifie la présence des jar spécifiques requis.
Ceux ci sont ajoutés au CLASSPATH dans le fichier build.xml grâce aux lignes suivantes :

Code : Tout sélectionner

   <!-- =================================================================== -->
    <!-- Classes et Jars utiliser pour compiler et tester l'application      -->
    <!-- =================================================================== -->
    <path id="classpath">
        <pathelement location="${junit.jar}"/>
        <pathelement location="${mysql.jar}"/>
        <pathelement location="${servlet-api.jar}"/>
        <pathelement location="${jsp-api.jar}"/>
        <pathelement location="${dom4j.jar}"/>
        <pathelement location="${jaxen.jar}"/>
	<!-- httpunit jars -->
        <pathelement location="${httpunit.jar}"/>
        <pathelement location="${js.jar}"/>
        <pathelement location="${nekohtml.jar}"/>
        <pathelement location="${xercesImpl.jar}"/>
        <pathelement location="${xmlParserAPIs.jar}"/>
    </path>
Il faut donc ajouter chacun de ces jar au build path de votre projet dans votre IDE (dans Eclipse utiliser Project->Properties -> Java Build Path -> ... Add external jars).

Par ailleurs, certains tests (comme VerifyCreditCardServletTest ou les tests web) sont des tests d'intégration (ou de recette) qui requièrent que nos applications web (petstore et barkbank) soient déployées et accessibles sur le port 8080 ... donc que Tomcat ait été démarré.

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

Re: TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 12 déc. 2017 16:49

Bonjour,
Oui en fait, puisque le buildpath ne reconnait pas plusieurs fichiers j'avais une erreur qui empêchait le build, mais que eclipse ne mettait pas en évidence dans la marche
Il n'y a pas de manque au sujet des jars, tout était bien installé
Est-ce que j'utilise un mauvais IDE? J'ai vu sur certains forums que c'était à l'origine de problèmes de ce type...

J'avais bien lancé tomcat en le déployant depuis le dossier part startup.bat et .sh
Wamp tourne aussi
create db, insert data, build et deploy pareil

Merci pour votre aide précieuse concernant les erreurs ci-desssous

En fait j'ai toujours cette même erreur qui empêche la validation des tests (je vous la recopie ci-dessous)


Testcase: testDelegateUpdateCustomer took 0,006 sec
[junit] Caused an ERROR
[junit] Invalid Card
[junit] com.yaps.petstore.common.exception.CheckException: Invalid Card
[junit] at com.yaps.petstore.server.service.creditcard.HTTPSender.send(Unknown Source)
[junit] at com.yaps.petstore.server.service.creditcard.CreditCardService.verifyCreditCard(Unknown Source)
[junit] at com.yaps.petstore.server.service.customer.CustomerService.createCustomer(Unknown Source)
[junit] at com.yaps.petstore.common.delegate.CustomerDelegate.createCustomer(Unknown Source)
[junit] at com.yaps.petstore.common.delegate.CustomerDelegateTest.createCustomer(Unknown Source)
[junit] at com.yaps.petstore.common.delegate.CustomerDelegateTest.testDelegateUpdateCustomer(Unknown Source)
[junit]



Ainsi que des erreurs qui font que je ne vois pas de résultat depuis mon navigateur...

Voici deux d'entre elles, caractéristiques:

Testcase: testWebCheckPages took 0,009 sec
[junit] FAILED
[junit] Root http://localhost:8080/petstore hasn't been found
[junit] junit.framework.AssertionFailedError: Root http://localhost:8080/petstore hasn't been found
[junit] at com.yaps.petstore.web.WebTest.testWebCheckPages(Unknown Source)
[junit]
[junit] Testcase: testServletCreateCustomerWithInvalidValues took 0,004 sec
[junit] Testcase: testServletCreateCustomer took 0,017 sec
[junit] Caused an ERROR
[junit] Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/createcustomer.jsp]
[junit] com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/createcustomer.jsp]
[junit] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:575)
[junit] at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464)
[junit] at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139)
[junit] at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:102)
[junit] at com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
[junit] at com.yaps.petstore.web.servlet.CreateCustomerServletTest.createCustomer(Unknown Source)
[junit] at com.yaps.petstore.web.servlet.CreateCustomerServletTest.testServletCreateCustomer(Unknown Source)

[junit] Testcase: testWebVisualiseCatalog took 0,006 sec
[junit] Caused an ERROR
[junit] Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/index.jsp]
[junit] com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/index.jsp]
[junit] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:575)
[junit] at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464)
[junit] at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139)
[junit] at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:102)
[junit] at com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
[junit] at com.yaps.petstore.web.VisualiseCatalogTest.testWebVisualiseCatalog(Unknown Source)
[junit]
[junit] Testcase: testBarkBankVerifyValidCreditCard took 0,005 sec
[junit] Caused an ERROR
[junit] Error on HTTP request: 404 Introuvable [http://localhost:8080/barkbank/creditca ... ditCard%3E]
[junit] com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Introuvable [http://localhost:8080/barkbank/creditca ... ditCard%3E]
[junit] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:575)
[junit] at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464)
[junit] at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139)
[junit] at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:102)
[junit] at com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
[junit] at com.barkbank.verifier.VerifyCreditCardServletTest.sendToServletAndGetStatus(Unknown Source)
[junit] at com.barkbank.verifier.VerifyCreditCardServletTest.testBarkBankVerifyValidCreditCard(Unknown Source)
[junit]

graffion
Messages : 635
Inscription : 21 juin 2005 14:05

Re: TP08 Build Path pour un seul fichier

Message par graffion » 12 déc. 2017 17:10

Laissez Eclipse de coté pendant un moment et assurez vous que le corrigé du TP08 fourni passe tous les tests.
Pour cela saisir les commandes suivantes dans une fenêtre de commandes (cmd ou xterm).

Code : Tout sélectionner

mkdir TP08.cor
cd TP08.cor
unzip SourcesFournis_TP08.zip
unzip SourceCompletDeLApplication_TP08.zip 
ant check
ant build 
 sh ../cleanTomcat.sh 
 ant deploy
 ant yaps-create-db  yaps-insert-data
Démarrez TOMCAT dans une autre fenêtre par le script startUp
(Vérifiez dans un navigateur que le site http://localhost:8080/petstore fonctionne.
( ... certains tests (comme VerifyCreditCardServletTest ou les tests web) sont des tests d'intégration (ou de recette) qui requièrent que nos applications web (petstore et barkbank) soient déployées et accessibles sur le port 8080 ... donc que Tomcat ait été démarré.)
Lancer les tests

Code : Tout sélectionner

ant yaps-test

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

Re: TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 13 déc. 2017 15:51

Bonjour, le dossier TP08.cor a été crée,

Les commandes unzip ne marchent aps j'ai donc mis les deux zip dans TP08.cor et je les ai dézippé au même endroit manuellement,

J'ai ouvert une cmd et je me suis mis dans le dossier TP08.cor.
J'ai lancé dans le cmd ceci:

set JAVA_HOME=C:\Applications\java\jdk1.8.0_101
set JRE_HOME=C:\Applications\java\jdk1.8.0_101\jre
set TOMCAT_HOME=C:\Applications\apache-tomcat-7.0.82
set CATALINA_HOME=%TOMCAT_HOME%
set ANT_HOME=C:\Applications\java\apache-ant-1.9.4
set JUNIT_HOME=C:\Applications\java\junit4.4
set MYSQL_HOME=C:\Applications\mysql
set HTTPUNIT_HOME=C:\Applications\httpunit-1.6.2
set DOM4J_HOME=C:\Applications\dom4j-1.6.1


PATH "%JRE_HOME%\bin";"%JAVA_HOME%\bin";%TOMCAT_HOME%\bin;%ANT_HOME%\bin;%PATH%

set CLASSPATH=.;%JUNIT_HOME%\junit-4.4.jar
set CLASSPATH=.;%DOM4J_HOME%\dom4j-1.6.1.jar



Je me suis mis dans SourceCompletDeLApplication_TP08, j'ai fait ant check, tout va bien
ant build ne marche pas, voici l'erreur:

C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08>
C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08>ant build
Buildfile: C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml

compile:

check:

yaps-prepare:
[echo] Setup the Yaps environment

yaps-compile:
[echo] Compile the YAPS classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:214: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[echo] Compile the YAPS test classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:222: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

check:

barkbank-prepare:
[echo] Setup the BarkBank environment

barkbank-compile:
[echo] Compile the YAPS classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:241: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

build:

check:

yaps-prepare:
[echo] Setup the Yaps environment

yaps-compile:
[echo] Compile the YAPS classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:214: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[echo] Compile the YAPS test classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:222: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

yaps-rmic:
[echo] Creates RMI stubs and skeletons

yaps-build-common-jar:
[echo] Creates the PetStore Customer jar

yaps-build-client-jar:
[echo] Creates the PetStore Client Application

yaps-build-server-jar:
[echo] Creates the PetStore Server Application

yaps-war:
[echo] Creates the PetStore Web Application

BUILD FAILED
C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:251: The following error occurred while executing this line:
C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:290: C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\lib does not exist.

Total time: 1 second

C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08>


Merci encore pour votre aide

graffion
Messages : 635
Inscription : 21 juin 2005 14:05

Re: TP08 Build Path pour un seul fichier

Message par graffion » 13 déc. 2017 16:19

Le message d'erreur :

Code : Tout sélectionner

BUILD FAILED
C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:251: The following error occurred while executing this line:
C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:290: C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\lib does not exist.
signale qu'un répertoire lib n'existe pas.

Il faut le créer et y mettre dom4j.jar et jaxen.jar (téléchargeables sur http://java.cnam.fr/iagl/logiciel.html) ... comme déjà précisé plus haut dans ce fil : http://deptmedia.cnam.fr/phpBB3/viewtop ... 880#p37035

(Aux TP 9 et 10, on y devra ajouter aussi un répertoire jstl:
$ find lib -type f
lib/dom4j.jar
lib/jaxen.jar
lib/jstl/jstl.jar
lib/jstl/standard.jar
)

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

Re: TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 13 déc. 2017 16:50

Ah pardon je pensais que c'était déjà dans le corrigé
Voila tout est fait, le serveur tourne bien (j'ai fermé tous ce qui bloquait le port 80 et relancé startup sur la console a part).

sur localhost:8080 j'ai bien la page de tomcat qui s'affiche.
Par contre, sur localhost:8080/ petstore c'est erreur 404

De plus j'ai les erreurs suivantes pour les tests

[junit] Testcase: testServiceFindAllItemsForAmazonParrot took 0,006 sec
[junit] Caused an ERROR
[junit] null
[junit] com.yaps.petstore.common.exception.ObjectNotFoundException
[junit] at com.yaps.petstore.server.util.persistence.AbstractDataAccessObject.select(Unknown Source)
[junit] at com.yaps.petstore.server.util.persistence.AbstractDataAccessObject.findByPrimaryKey(Unknown Source)
[junit] at com.yaps.petstore.server.service.catalog.CatalogService.findProduct(Unknown Source)
[junit] at com.yaps.petstore.server.service.CatalogServiceTest.findProduct(Unknown Source)
[junit] at com.yaps.petstore.server.service.CatalogServiceTest.testServiceFindAllItemsForAmazonParrot(Unknown Source)
[junit]



Testcase: testWebCheckServlets took 0,025 sec
[junit] FAILED
[junit] The CreateCustomerServlet hasn't been found
[junit] junit.framework.AssertionFailedError: The CreateCustomerServlet hasn't been found
[junit] at com.yaps.petstore.web.WebTest.testWebCheckServlets(Unknown Source)
[junit]
[junit] Testcase: testWebCheckPages took 0,01 sec
[junit] FAILED
[junit] Root http://localhost:8080/petstore hasn't been found
[junit] junit.framework.AssertionFailedError: Root http://localhost:8080/petstore hasn't been found
[junit] at com.yaps.petstore.web.WebTest.testWebCheckPages(Unknown Source)
[junit]
[junit] Testcase: testServletCreateCustomer took 0,009 sec
[junit] Caused an ERROR
[junit] Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/createcustomer.jsp]
[junit] com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/createcustomer.jsp]
[junit] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:575)
[junit] at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464)
[junit] at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139)
[junit] at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:102)
[junit] at com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
[junit] at com.yaps.petstore.web.servlet.CreateCustomerServletTest.createCustomer(Unknown Source)
[junit] at com.yaps.petstore.web.servlet.CreateCustomerServletTest.testServletCreateCustomer(Unknown Source)
[junit]
[junit] Testcase: testServletCreateCustomerWithInvalidValues took 0,003 sec
[junit] Testcase: testWebVisualiseCatalog took 0,004 sec
[junit] Caused an ERROR
[junit] Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/index.jsp]
[junit] com.meterware.httpunit.HttpNotFoundException: Error on HTTP request: 404 Introuvable [http://localhost:8080/petstore/index.jsp]
[junit] at com.meterware.httpunit.WebClient.validateHeaders(WebClient.java:575)
[junit] at com.meterware.httpunit.WebClient.updateClient(WebClient.java:464)
[junit] at com.meterware.httpunit.WebWindow.updateWindow(WebWindow.java:139)
[junit] at com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:130)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:121)
[junit] at com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:102)
[junit] at com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
[junit] at com.yaps.petstore.web.VisualiseCatalogTest.testWebVisualiseCatalog(Unknown Source)
[junit]

graffion
Messages : 635
Inscription : 21 juin 2005 14:05

Re: TP08 Build Path pour un seul fichier

Message par graffion » 13 déc. 2017 17:36

Quel est l'output de

Code : Tout sélectionner

ant deploy
?

Ruddy Reisberg
Messages : 41
Inscription : 01 nov. 2016 16:13

Re: TP08 Build Path pour un seul fichier

Message par Ruddy Reisberg » 13 déc. 2017 19:03

ant deploy est


C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08>ant deploy
Buildfile: C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml

deploy:

check:

barkbank-prepare:
[echo] Setup the BarkBank environment

barkbank-compile:
[echo] Compile the YAPS classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:241: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

barkbank-war:
[echo] Creates the BarkBank Web Application

barkbank-deploy:

check:

yaps-prepare:
[echo] Setup the Yaps environment

yaps-compile:
[echo] Compile the YAPS classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:214: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[echo] Compile the YAPS test classes
[javac] C:\Users\ruddy\Desktop\TP08.cor\SourceCompletDeLApplication_TP08\build.xml:222: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

yaps-war:
[echo] Creates the PetStore Web Application

yaps-deploy:

BUILD SUCCESSFUL
Total time: 0 seconds




Et voici la trace du startup si cela peut aider:

dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Server version: Apache Tomcat/7.0.82
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Server built: Sep 29 2017 12:23:15 UTC
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Server number: 7.0.82.0
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: OS Name: Windows 10
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: OS Version: 10.0
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Architecture: amd64
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Java Home: C:\Applications\java\jdk1.8.0_101\jre
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: JVM Version: 1.8.0_101-b13
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: JVM Vendor: Oracle Corporation
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: CATALINA_BASE: C:\Applications\apache-tomcat-7.0.82
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: CATALINA_HOME: C:\Applications\apache-tomcat-7.0.82
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Command line argument: -Djava.util.logging.config.file=C:\Applications\apache-tomcat-7.0.82\conf\logging.properties
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Command line argument: -Djava.endorsed.dirs=C:\Applications\apache-tomcat-7.0.82\endorsed
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Command line argument: -Dcatalina.base=C:\Applications\apache-tomcat-7.0.82
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Command line argument: -Dcatalina.home=C:\Applications\apache-tomcat-7.0.82
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Command line argument: -Djava.io.tmpdir=C:\Applications\apache-tomcat-7.0.82\temp
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFOS: Loaded APR based Apache Tomcat Native library 1.2.14 using APR version 1.6.2.
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFOS: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
dÚc. 13, 2017 6:00:47 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFOS: OpenSSL successfully initialized (OpenSSL 1.0.2l 25 May 2017)
dÚc. 13, 2017 6:00:48 PM org.apache.coyote.AbstractProtocol init
INFOS: Initializing ProtocolHandler ["http-apr-8080"]
dÚc. 13, 2017 6:00:48 PM org.apache.coyote.AbstractProtocol init
INFOS: Initializing ProtocolHandler ["ajp-apr-8009"]
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.Catalina load
INFOS: Initialization processed in 1067 ms
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.core.StandardService startInternal
INFOS: DÚmarrage du service Catalina
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.core.StandardEngine startInternal
INFOS: Starting Servlet Engine: Apache Tomcat/7.0.82
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFOS: DÚploiement de l'archive C:\Applications\apache-tomcat-7.0.82\webapps\barkbank.war de l'application web
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFOS: Deployment of web application archive C:\Applications\apache-tomcat-7.0.82\webapps\barkbank.war has finished in 449 ms
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFOS: DÚploiement de l'archive C:\Applications\apache-tomcat-7.0.82\webapps\hellops.war de l'application web
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFOS: Deployment of web application archive C:\Applications\apache-tomcat-7.0.82\webapps\hellops.war has finished in 102 ms
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFOS: DÚploiement de l'archive C:\Applications\apache-tomcat-7.0.82\webapps\petstore.war de l'application web
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFOS: Deployment of web application archive C:\Applications\apache-tomcat-7.0.82\webapps\petstore.war has finished in 82 ms
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: DÚploiement du rÚpertoire C:\Applications\apache-tomcat-7.0.82\webapps\docs de l'application web
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: Deployment of web application directory C:\Applications\apache-tomcat-7.0.82\webapps\docs has finished in 83 ms
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: DÚploiement du rÚpertoire C:\Applications\apache-tomcat-7.0.82\webapps\examples de l'application web
dÚc. 13, 2017 6:00:48 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: Deployment of web application directory C:\Applications\apache-tomcat-7.0.82\webapps\examples has finished in 237 ms
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: DÚploiement du rÚpertoire C:\Applications\apache-tomcat-7.0.82\webapps\host-manager de l'application web
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: Deployment of web application directory C:\Applications\apache-tomcat-7.0.82\webapps\host-manager has finished in 136 ms
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: DÚploiement du rÚpertoire C:\Applications\apache-tomcat-7.0.82\webapps\manager de l'application web
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: Deployment of web application directory C:\Applications\apache-tomcat-7.0.82\webapps\manager has finished in 95 ms
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: DÚploiement du rÚpertoire C:\Applications\apache-tomcat-7.0.82\webapps\ROOT de l'application web
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.TldConfig execute
INFOS: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.HostConfig deployDirectory
INFOS: Deployment of web application directory C:\Applications\apache-tomcat-7.0.82\webapps\ROOT has finished in 73 ms
dÚc. 13, 2017 6:00:49 PM org.apache.coyote.AbstractProtocol start
INFOS: Starting ProtocolHandler ["http-apr-8080"]
dÚc. 13, 2017 6:00:49 PM org.apache.coyote.AbstractProtocol start
INFOS: Starting ProtocolHandler ["ajp-apr-8009"]
dÚc. 13, 2017 6:00:49 PM org.apache.catalina.startup.Catalina start
INFOS: Server startup in 1325 ms

Répondre

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 1 invité