IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

JSF Java Discussion :

Extraire le clé primaire à partir d'une ligne d'un datatable


Sujet :

JSF Java

  1. #1
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut Extraire le clé primaire à partir d'une ligne d'un datatable
    Bonjour , je developpe une entreprise application JEE avec netbeans 6.7 ,JSF et MySQL representant une interface web aux clients qui leurs permettent de s'inscrire au premier temps et de login et modifier leurs comptes ultérieurement .


    Une de mes page est la page 'list' qui represente sous forme d'un datatable tout les clients avec un commandbutton delete et un command button edit devant chaque ligne .
    Mais ,maintenant je suis face à un probléme .Quand je clique sur le bouton 'delete' (ou edit ) pour supprimer cette ligne ca marche uniquement si j'ai laissé la session ouverte cad si j'ai pas cliqué sur le 'logout' précédemment .

    Si j'ai quitté la session en cliquant sur 'logout' ou si j'ai pas entré complétement à mon compte et je suis passé directement à la page 'list' , quand je clique sur le bouton , je trouve cet erreur :


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    type Rapport d'exception
     
     
    Message
     
    DescriptionLe serveur a rencontré une erreur interne () qui l'a empêché de remplir cette requête.
     
    Exception
     
    javax.servlet.ServletException: #{metier.update}: java.lang.NullPointerException
     
    Cause racine
     
    javax.faces.FacesException: #{metier.update}: java.lang.NullPointerException
     
    Cause racine
     
    javax.faces.el.EvaluationException: java.lang.NullPointerException
     
    Cause racine
     
    java.lang.NullPointerException
     
    note Les suivis de pile complets de l'exception et de ses causes principales sont disponibles dans les journaux Sun GlassFish Enterprise Server v2.1.
    Normalement ca vient du faite qu'il peut pas trouver le cle primaire 'login' de la ligne concernée .

    La methode 'delete' par exemple est la suivante :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    public String delete()
    {
        FacesContext context = FacesContext.getCurrentInstance();
     
    Map map = context.getExternalContext().getRequestParameterMap();
     login = (String) map.get("loginn");
     
        cf.remove(c);
     
        return "removed";
    }

    ou c est de type client et cf de type clientfacadelocale .

    Le code concernant le commandbutton est le suivant :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    <h:commandButton id="deleteclient"
                               value="Delete"
                               action="#{metier.delete}">
     
    <f:param name="loginn" value="#{item.login}"/>
               </h:commandButton>

    Une idée ? Merci.

  2. #2
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    Citation Envoyé par dalidali86 Voir le message


    Une idée ? Merci.
    Si on pouvait déjà avoir le stacktrace de l'exception, on saurais ce qui est null et comment réparer ça.

  3. #3
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Salut ,


    Bon j'ai pas travaillé avant avec stacktrace , j'ai trouvé cet exemple dans ce lien

    http://www.roseindia.net/java/java-g...e-string.shtml

    est c'est ca qui convient .


    Merci

  4. #4
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    tu fait simplement e.printStackTrace(), e étant ton exception. Et tu nous donne à la fois en entier ce que ca sort et le code qui concerne ce stacktrace.

  5. #5
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Jai essayé de le faire de cette maniére



    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    public String remove2() throws Exception
    {
     
        try
    {
      FacesContext context = FacesContext.getCurrentInstance();
     
    Map map = context.getExternalContext().getRequestParameterMap();
     login = (String) map.get("loginn");
     
       cf.remove(c);
     
    }
    catch (IOException e)
    {
     
      e.printStackTrace();
    }
    return null;
    }

    mais ca montre cet erreur :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    exception java.io.ioexception is never thrown in body of corresponding try statement
    devant la ligne


    c'est quoi qui est mal fait ?

  6. #6
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    de toutes facons ton exception est déjà mentionnée par JSF, donc elle doit déjà etre loggué quelque part. Quand à ton never thrown, c'est parce que IOException n'est pas une exception possible dans le code que t'as mentionné

  7. #7
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Salut ,

    y'a t'il donc pas une solution pour contourner ca ?

    Merci d'avance

  8. #8
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    ben commence pas nous donner les stacktrace, il doit être quelque part dans les logs du serveur.

  9. #9
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Salut ,

    désolé mais j'ai pas compris ce que tu veut dire par

    c'est parce que IOException n'est pas une exception possible dans le code que t'as mentionné .

    Merci

  10. #10
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    tu n'a aucun code suceptible de lancer une IOException, donc le try catch est non seulement inutile mais une erreur. De toutes facons, dans ton cas, on a pas besoin de ce try catch pour ta nullpointerexception, on a juste besoin d'avoir le stacktrace de l'exception et normalement, ton JSF ou ton conteneur l'a déjà loggué quelque part. Dans tomcat, par exemple, tu le trouvera dans "logs/catalina.out"

  11. #11
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Salut ,

    moi je travaille avec Glassfish . Ou je trouve donc le stcktrace ?
    Merci

  12. #12
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    d'après ce que je sais, glassfish utiliser un fichier "server.log" pour tout ce qui est System.out et System.err.

  13. #13
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Salut ,

    j'ai cherché j'ai trouvé ce fichier log appelé message dans le chemin C:\Users\NIDHAL\.netbeans\6.7\var\log

    Le contenu est le suivant



    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Interest.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@77a535, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@95776a
    SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@baaac5
    classLoader = org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$ParserClassLoader@ecc0f8, parent : org.netbeans.modules.web.jspparser.JspParserImpl$ExtClassLoader@95776a
    SharedSecrets.getJavaNetAccess()=java.net.URLClassLoader$7@baaac5
    ATTENTION [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Incorrect error badges detected, file=C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-war\src\java\metier\metier.java.
    ATTENTION [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Going to recompute root=C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-war\src\java, files in error=[file:/C:/Users/NIDHAL/Documents/NetBeansProjects/stage6/stage6-war/src/java/metier/metier.java].
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Enterprise application needs to be redeployed due to missing module
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Interest.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Client.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Incorrect error badges detected, file=C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-war\src\java\metier\metier.java.
    ATTENTION [org.netbeans.modules.java.source.tasklist.IncorrectErrorBadges]: Going to recompute root=C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-war\src\java, files in error=[file:/C:/Users/NIDHAL/Documents/NetBeansProjects/stage6/stage6-war/src/java/metier/metier.java].
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.lib.profiler.infolog]: >>> Profiler agent [port=0, id=-111]: STATE_INACTIVE
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Interest.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Client.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [global]
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:
     
     
    ** BEGIN NESTED EXCEPTION ** 
     
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
    MESSAGE: Communications link failure
     
    Last packet sent to the server was 99 ms ago.
     
    STACKTRACE:
     
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
     
    Last packet sent to the server was 99 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2985)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2871)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3414)
    	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
    	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
    	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
    	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
    	at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1383)
    	at com.mysql.jdbc.DatabaseMetaData.getUserName(DatabaseMetaData.java:6548)
    	at org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.<init>(SchemaElementImpl.java:104)
    	at org.netbeans.modules.j2ee.persistence.wizard.fromdb.DBSchemaManager$3.run(DBSchemaManager.java:156)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.invokeNextActionsOfSameKind(ProgressSupport.java:267)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.access$100(ProgressSupport.java:115)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker$1.run(ProgressSupport.java:156)
    	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
    	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
    	at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2431)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2882)
    	... 15 more
     
     
    ** END NESTED EXCEPTION **
     
     
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.Util.getInstance(Util.java:381)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
    	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
    	at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1098)
    	at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2380)
    	at com.mysql.jdbc.ConnectionImpl.createStatement(ConnectionImpl.java:2362)
    	at com.mysql.jdbc.DatabaseMetaData.getCatalogs(DatabaseMetaData.java:2023)
    [catch] at org.netbeans.lib.ddl.impl.DriverSpecification.setCatalog(DriverSpecification.java:96)
    	at org.netbeans.modules.dbschema.jdbcimpl.DDLBridge.<init>(DDLBridge.java:67)
    	at org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.initTables(SchemaElementImpl.java:235)
    	at org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.initTables(SchemaElementImpl.java:213)
    	at org.netbeans.modules.j2ee.persistence.wizard.fromdb.DBSchemaManager$3.run(DBSchemaManager.java:194)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.invokeNextActionsOfSameKind(ProgressSupport.java:267)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.access$100(ProgressSupport.java:115)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker$1.run(ProgressSupport.java:156)
    	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
    	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
     
    Last packet sent to the server was 99 ms ago.
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    	at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
    	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1074)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2985)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2871)
    	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3414)
    	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936)
    	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060)
    	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536)
    	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
    	at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1383)
    	at com.mysql.jdbc.DatabaseMetaData.getUserName(DatabaseMetaData.java:6548)
    	at org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl.<init>(SchemaElementImpl.java:104)
    	at org.netbeans.modules.j2ee.persistence.wizard.fromdb.DBSchemaManager$3.run(DBSchemaManager.java:156)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.invokeNextActionsOfSameKind(ProgressSupport.java:267)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker.access$100(ProgressSupport.java:115)
    	at org.netbeans.modules.j2ee.core.api.support.progress.ProgressSupport$ActionInvoker$1.run(ProgressSupport.java:156)
    	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
    	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
    Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
    	at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2431)
    	at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2882)
    	... 15 more
    Warning: use of system property netbeans.debug.exceptions in org.netbeans.modules.dbschema.jdbcimpl.SchemaElementImpl has been obsoleted in favor of java.util.logging.Logger
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Interest.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Client.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: On save deployment failed
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: On save deployment failed
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor]
    java.io.FileNotFoundException: FileObject C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\dist\gfdeploy\jstl.jar is not valid.
    	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getOutputStream(FileObj.java:89)
    	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getOutputStream(FileObj.java:84)
    	at org.openide.filesystems.FileObject.getOutputStream(FileObject.java:623)
    	at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor.zeroOutArchive(InitialServerFileDistributor.java:273)
    	at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor._distribute(InitialServerFileDistributor.java:191)
    Caused: java.lang.RuntimeException
    	at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor._distribute(InitialServerFileDistributor.java:215)
    [catch] at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor.distribute(InitialServerFileDistributor.java:121)
    	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.initialDistribute(TargetServer.java:248)
    	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:615)
    	at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:380)
    	at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:342)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    	at java.lang.Thread.run(Thread.java:619)
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    java.lang.NullPointerException
    	at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.getFileArchive(DirectoryDeploymentFacility.java:264)
    	at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:168)
    	at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:430)
    	at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:247)
    	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:616)
    	at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:380)
    	at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:342)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    	at java.lang.Thread.run(Thread.java:619)
    java.lang.IllegalStateException: cannot find FileArchive class...
    	at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
    	at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:430)
    	at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:247)
    	at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:616)
    	at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:380)
    	at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:342)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    	at java.lang.Thread.run(Thread.java:619)
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Interest.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    ATTENTION [org.netbeans.modules.java.source.parsing.JavacParser]: ClassPath identity changed for C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb\src\java\Ent\Client.java, class path owner: C:\Users\NIDHAL\Documents\NetBeansProjects\stage6\stage6-ejb (class org.netbeans.modules.j2ee.ejbjarproject.EjbJarProject)
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Enterprise application needs to be redeployed due to missing module
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [global]: DebuggerInfo cannot be found for: GlassFish v2.1
    INFO [org.netbeans.lib.profiler.infolog]: >>> Profiler agent [port=0, id=-111]: STATE_INACTIVE
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: Personal GlassFish v3 Prelude Domain
    INFO [org.netbeans.modules.j2ee.deployment.impl.ServerInstance]: DebuggerInfo cannot be found for: Apache Tomcat 6.0.18
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Adding a fold that is identical with another previously added fold from the same FoldManager is not allowed.
    Existing fold: code-block] E1 <11316,11350>, desc='{...}', hash=0x1e185c4, [11317, 11349] {11317, 11349}; FoldManager: org.netbeans.modules.java.editor.fold.JavaElementFoldManager@4eab5c
         New fold: code-block] E1 <11316,11350>, desc='{...}', hash=0xd437a3, [11317, 11349] {11317, 11349}; FoldManager: org.netbeans.modules.java.editor.fold.JavaElementFoldManager@4eab5c
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [com.sun.tools.javac.comp.Repair]: Repair.visitNewClass tree [new InterestFacadeLocal()] has null constructor symbol.
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
     
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [com.sun.tools.javac.comp.Repair]: Repair.visitNewClass tree [new InterestFacadeLocal()] has null constructor symbol.
    ATTENTION [com.sun.tools.javac.comp.Repair]: Repair.visitNewClass tree [new InterestFacadeLocal()] has null constructor symbol.
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [com.sun.tools.javac.comp.Repair]: Repair.visitNewClass tree [new InterestFacadeLocal()] has null constructor symbol.
    ATTENTION [com.sun.tools.javac.comp.Repair]: Repair.visitNewClass tree [new InterestFacadeLocal()] has null constructor symbol.
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    ATTENTION [glassfish-eecommon]: Deployment plan not supported in GlassfishConfiguration.save()
    Start registering the project's server resources
    Finished registering server resources
    moduleID=stage6
    INFO [org.netbeans.modules.j2ee.deployment.impl.TargetServer]: Cannot incrementally deploy to more than one target

  14. #14
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    ça ce sont les log de netbeans, ce qui nous intéresse, ce sont les logs de ton serveur glassfish. Souvent, quand tu lance dans un IDE ton conteneur J2EE, l'IDE s'arrange pour que les logs soient redirigés vers la console de l'IDE (en tout cas c'est le cas pour eclipse /tomcat). Regarde donc de ce coté là. Tu devrais y trouver des exception, dans lesquelle tu verra au minimum dans le stack des références à HttpServletRequest et à JSF (com.sun.jsf ou org.apache.myfaces suivant l'implémentation).

  15. #15
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    j'ai trouvé ca :


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    EJB5018 : Une exception a été renvoyée lors d'un appel ejb sur [ClientFacade].
    javax.ejb.EJBException
            at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3894)
            at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3794)
            at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3596)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
            at $Proxy83.remove(Unknown Source)
            at metier.metier.remove2(metier.java:426)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
            at javax.faces.component.UIData.broadcast(UIData.java:854)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.IllegalArgumentException: Object: null is not a known entity type.
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:244)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.merge(EntityManagerImpl.java:128)
            at com.sun.enterprise.util.EntityManagerWrapper.merge(EntityManagerWrapper.java:476)
            at Ent.ClientFacade.remove(ClientFacade.java:31)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
            at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
            at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
            at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
            ... 46 more
    javax.ejb.EJBException
    javax.faces.el.EvaluationException: javax.ejb.EJBException
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
            at javax.faces.component.UIData.broadcast(UIData.java:854)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: javax.ejb.EJBException
            at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3894)
            at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3794)
            at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3596)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
            at $Proxy83.remove(Unknown Source)
            at metier.metier.remove2(metier.java:426)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
            ... 36 more
    Caused by: java.lang.IllegalArgumentException: Object: null is not a known entity type.
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:244)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.merge(EntityManagerImpl.java:128)
            at com.sun.enterprise.util.EntityManagerWrapper.merge(EntityManagerWrapper.java:476)
            at Ent.ClientFacade.remove(ClientFacade.java:31)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
            at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
            at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
            at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
            ... 46 more
    #{metier.remove2}: javax.ejb.EJBException
    javax.faces.FacesException: #{metier.remove2}: javax.ejb.EJBException
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
            at javax.faces.component.UIData.broadcast(UIData.java:854)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBException
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            ... 35 more
    Caused by: javax.ejb.EJBException
            at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3894)
            at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3794)
            at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3596)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
            at $Proxy83.remove(Unknown Source)
            at metier.metier.remove2(metier.java:426)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
            ... 36 more
    Caused by: java.lang.IllegalArgumentException: Object: null is not a known entity type.
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:244)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.merge(EntityManagerImpl.java:128)
            at com.sun.enterprise.util.EntityManagerWrapper.merge(EntityManagerWrapper.java:476)
            at Ent.ClientFacade.remove(ClientFacade.java:31)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
            at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
            at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
            at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
            ... 46 more
    executePhase(INVOKE_APPLICATION 5,com.sun.faces.context.FacesContextImpl@b06735) threw exception
    javax.faces.FacesException: #{metier.remove2}: javax.ejb.EJBException
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: javax.faces.FacesException: #{metier.remove2}: javax.ejb.EJBException
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
            at javax.faces.component.UIData.broadcast(UIData.java:854)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
            ... 30 more
    Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBException
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            ... 35 more
    Caused by: javax.ejb.EJBException
            at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3894)
            at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3794)
            at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3596)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
            at $Proxy83.remove(Unknown Source)
            at metier.metier.remove2(metier.java:426)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
            ... 36 more
    Caused by: java.lang.IllegalArgumentException: Object: null is not a known entity type.
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:244)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.merge(EntityManagerImpl.java:128)
            at com.sun.enterprise.util.EntityManagerWrapper.merge(EntityManagerWrapper.java:476)
            at Ent.ClientFacade.remove(ClientFacade.java:31)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
            at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
            at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
            at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
            ... 46 more
    StandardWrapperValve[Faces Servlet]: PWC1406 : servlet.service() pour le servlet Faces Servlet a émis une exception.
    javax.faces.FacesException: #{metier.remove2}: javax.ejb.EJBException
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
            at javax.faces.component.UICommand.broadcast(UICommand.java:383)
            at javax.faces.component.UIData.broadcast(UIData.java:854)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBException
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
            ... 35 more
    Caused by: javax.ejb.EJBException
            at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:3894)
            at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3794)
            at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3596)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1379)
            at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1316)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:205)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
            at $Proxy83.remove(Unknown Source)
            at metier.metier.remove2(metier.java:426)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
            at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
            ... 36 more
    Caused by: java.lang.IllegalArgumentException: Object: null is not a known entity type.
            at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:244)
            at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.merge(EntityManagerImpl.java:128)
            at com.sun.enterprise.util.EntityManagerWrapper.merge(EntityManagerWrapper.java:476)
            at Ent.ClientFacade.remove(ClientFacade.java:31)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
            at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
            at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
            at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
            at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
            ... 46 more

  16. #16
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    Qui a-t-il a cette ligne?

    Ent.ClientFacade.remove(ClientFacade.java:31)

  17. #17
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Salut ,

    Normalement ca correspond à la ligne

    de la methode remove2


    ou cf est de type ClientFacadeLocal et c est de type Client .

  18. #18
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    t'as vérifié que c n'est pas null? Quand à la ligne elle est bien dans c.remove, mais je demande le code à cette ligne 31.

  19. #19
    Membre confirmé
    Inscrit en
    Février 2009
    Messages
    132
    Détails du profil
    Informations forums :
    Inscription : Février 2009
    Messages : 132
    Par défaut
    Exactement ,

    j'ai vérifier avec les System.out.println , j'ai trouvé que pour lui 'c' est null car 'login' encore est null pour lui . Le probleme maintenant est comment pouvoir récupérer le 'login' à partir de la ligne du datatble .

    Concernant le code à la ligne 31 , j'ai pas compris exactement ce que tu cherche , car la ligne 31 dans mon code n'a rien à voir avec ca .

    Merci

  20. #20
    Expert éminent
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 482
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 482
    Par défaut
    cette ligne 32 est la dernière de ton code qui manipule ton objet. C'est donc elle qui devrais s'assurer que c n'est pas null. En ce qui concerne ton problème, d'ou elle sort ta variable login? Quel est le lien entre ton login et c ?

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 3 123 DernièreDernière

Discussions similaires

  1. Créer de nouvelles colonnes à partir d'une ligne
    Par julien4 dans le forum Macros et VBA Excel
    Réponses: 11
    Dernier message: 10/10/2007, 12h33
  2. [VB.net 2005] Extraire un binary image à partir d'une base access
    Par WriteLN dans le forum Accès aux données
    Réponses: 1
    Dernier message: 29/01/2007, 09h23
  3. Comment extraire le mois à partir d'une date?
    Par toumoham dans le forum Paradox
    Réponses: 1
    Dernier message: 17/05/2006, 13h37
  4. lancer une mdb a partir d'une ligne de commande
    Par dpie dans le forum Access
    Réponses: 5
    Dernier message: 30/11/2004, 15h01
  5. Effacer le contenu d'un fichier a partir d'une ligne
    Par localhost dans le forum Linux
    Réponses: 3
    Dernier message: 04/04/2004, 04h47

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo