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

JDBC Java Discussion :

Plantage de la JVM suite a l'exécution


Sujet :

JDBC Java

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Septembre 2007
    Messages
    96
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Côte d'Or (Bourgogne)

    Informations forums :
    Inscription : Septembre 2007
    Messages : 96
    Points : 104
    Points
    104
    Par défaut Plantage de la JVM suite a l'exécution
    D'après le débugage, la jvm plante après la fin de la class. Le truc que je trouve bizzard c que les données de l'interrogation jdbcOdbc sont bien affiché. Merci de vos lumière

    Ce code ne plante pas a toute les exécutions mais ci un volume important de donnée est trouvé ca crash.


    Code de la servlet:

    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
     
    package cebfc.damg.exploit.tsm;
     
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.GregorianCalendar;
    import java.util.Vector;
     
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
     
    import cebfc.damg.Tools;
     
    public class Liste extends HttpServlet
    {
        private PrintWriter fluxSortie = null;
        private String dateCourante = null;
        public Vector<String> getTitres()
        {
            Vector<String> titre = new Vector<String>();
            titre.add ("Heure prevue");
            titre.add ("Heure reel");
            titre.add ("Planing");
            titre.add ("Serveur/Poste");
            titre.add ("Status");
            titre.add ("Resultat");
            titre.add ("Commentaire");
            return titre;    
        }
        public Vector<Vector<String>> getData ()
        {
            Vector<Vector<String>> colonne = new Vector<Vector<String>>();
            Connection connexionBaseTsm = Tools.connexionBase ("jdbc:odbc:TSM","sun.jdbc.odbc.JdbcOdbcDriver", "admin", "admin");
            Connection connexionBase = Tools.connexionBase ("jdbc:oracle:thin:@linuxibm:1521:BLIN","oracle.jdbc.OracleDriver", "expadm", "expadm");
            Statement ordreSQL = null;
            Statement ordreSQLTSM = null;
            ResultSet ensembleResultat = null;
            ResultSet ensembleResultatTSM = null;
            try
            {
                ordreSQL = connexionBase.createStatement (ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
            }
            catch (SQLException aSQLE)
            {
                System.out.println ("ordre sql1 aSQLE");
            }
            catch (NullPointerException aSQLE)
            {
                System.out.println ("ordre sql1 aNPE");
            }
     
            try
            { // flux de lecture
                ordreSQLTSM = connexionBaseTsm.createStatement (ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
            }
            catch (SQLException aSQLE)
            {
                System.out.println ("ordre sql2 aSQLE");
            }
            catch (NullPointerException aSQLE)
            {
                System.out.println ("ordre sql2 aNPE");
            }
            try
            {
                ensembleResultat = ordreSQL.executeQuery 
                (
                        "SELECT MAX(scheduled_start) a FROM tsm_events"
                );
            }
            catch (SQLException aSQLE)
            {
                System.out.println ("ordre exéc1 aSQL");
            }
     
            try
            {
                while (ensembleResultat.next ())
                {
                    try
                    {
                        ensembleResultatTSM = ordreSQLTSM.executeQuery
                        (
                                "Select scheduled_start,actual_start,schedule_name,node_name,status,result " +
                                "FROM events WHERE scheduled_start > '" + ensembleResultat.getString ("a") +"'"
                        );
                        this.dateCourante = ensembleResultat.getString ("a");
                    }
                    catch (SQLException aSQLE)
                    {
                        System.out.println ("ordre exec2 aSQLE");
                    }
                    catch (NullPointerException aSQLE)
                    {
                        Vector<String> vec = new Vector<String>();
                        vec.add (aSQLE.getMessage ());
                        vec.add (aSQLE.getStackTrace ().toString ());
                        colonne.add (vec);
                        return colonne;
                    }
                }
            }
            catch (SQLException aSQLE)
            {
                System.out.println ("ordre while1 aSQLE");
            }
     
            try
            {
                if(ensembleResultatTSM == null)
                {
                    return null;
                }
                while(ensembleResultatTSM.next ())
                {
                    Vector<String> ligne = new Vector<String>();
                    for (int i = 1; i < 7; i ++ )
                    {
                        if(ensembleResultatTSM.getString (i) == null)
                        {
                            ligne.add ("");
                        }
                        else
                        {
                            ligne.add (ensembleResultatTSM.getString (i));
                        }
                    }    
                    colonne.add (ligne);
                }
            }
            catch (SQLException aSQLE)
            {
                System.out.println ("erreur While2");
            }
                try
                {
                    ordreSQL.close ();
                    ensembleResultat.close ();
                    connexionBase.close ();
                }
                catch (SQLException aSQLE)
                {
                    System.out.println ("fermeture sql");
                }
            return colonne;
        }
        public void doGet (HttpServletRequest aRequête, HttpServletResponse aRéponse) throws ServletException, IOException
        {
            Vector<String> aTitre = this.getTitres ();
            Vector<Vector<String>> aColonne = this.getData ();
     
     
            aRéponse.setContentType("text/html");
            this.fluxSortie                            =    aRéponse.getWriter        ();
     
            //couleur
     
            String[] couleur = {"#ffffc0","#ffe0c0"};    
            int indiceCouleur = 0;
     
            Tools.MiseEnPageEntête (aRéponse);
            Tools.MiseEnPageNord (aRéponse);
     
     
            if(aColonne == null) //Ci a jour ..
            {
                Tools.pageErreur (aRéponse, aRequête, "BDD tsm_events vide.");
                Tools.MiseEnPageSud (aRéponse);
                return;
            }
            else if (aColonne.isEmpty ())
            {
     
                this.fluxSortie.println 
                (
                        "<form name = \"Valider\" action = \"DetailTSM\"  method = \"POST\"> \n" +
                        "    <table align=\"center\" id=\"tableauGeneral\" >\n" +
                        "    <tr id=\"tableautitre\"> \n" +
                        "        <td>Etats validé.</td> \n" +
                        "    <tr> \n" +
                        "    <tr> \n" +
                        "        <td><input align=\"center\" type=\"submit\" value=\"Détails\"></td> \n" +
                        "    </tr> \n" +
                        "    </table> \n" +
                        "</form> \n" 
                );
            }
            else
            {
                this.fluxSortie.println 
                (
                        "<form name = \"Valider\" action = \"ListeTSM\"  method = \"POST\"> \n" +
                        "<table align=\"center\" id=\"tableauGeneral\" >\n" +
                        "<tr> \n" 
                );    
    //            Construction du titre de menu            
                for (String element : aTitre)
                {
                    this.fluxSortie.println 
                    (
                        "    <td id=\"tableautitre\">" + element + "</td> \n"
                    );
                }    
                this.fluxSortie.println 
                (
                        "</tr> \n"
                );
     
    //            Construction du tableau de données
                int count = 1;
                for(Vector<String> element2 : aColonne)
                {
                    Vector<String> colonnes =  element2;
                    this.fluxSortie.println 
                    (
                            "<tr> \n" 
                    );
                    for(String iter : colonnes)
                    {            
                        this.fluxSortie.println 
                        (
                            "    <td bgcolor=\"" + couleur[indiceCouleur] + "\">" + iter + "</td> \n"
                        );
                    }
                    this.fluxSortie.println 
                    (
                            "<td><input type=\"text\" name=\"comment_" + count + "\"></td> \n" +
                            "</tr> \n"
                    );
                    count++;
                    if(indiceCouleur == 0) 
                    {
                        indiceCouleur = 1;
                        continue;
                    }
                    if(indiceCouleur == 1) 
                    {
                        indiceCouleur = 0;
                        continue;
                    }
                }
     
                this.fluxSortie.println
                (
                        "<tr > \n" +
                        "    <td colspan=\"7\"><input align=\"center\" type=\"submit\" value=\"Valider et Enregistrer\"</td> \n" +
                        "</tr> \n" +
                        "</table> \n" +
                        "</form> \n" 
                );
                this.fluxSortie.println 
                (
                        "<form name = \"Valider\" action = \"DetailTSM\"  method = \"POST\"> \n" +
                        "    <table align=\"center\" id=\"tableauGeneral\" >\n" +
                        "    <tr> \n" +
                        "        <td><input type=\"submit\" value=\"Details\"></td> \n" +
                        "    </tr> \n" +
                        "    </table> \n" +
                        "</form> \n" 
                );
            }
     
            Tools.MiseEnPageSud (aRéponse);
            aTitre.clear ();
            aColonne.clear ();
        }
     
        public void doPost(HttpServletRequest aRequête, HttpServletResponse aRéponse) throws ServletException, IOException
        {
            aRéponse.setContentType ("text/html");            // type de sortie
            this.fluxSortie = aRéponse.getWriter ();        // ouverture de flux d'écriture
     
            GregorianCalendar dateGreg = new GregorianCalendar(); 
            DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
            java.util.Date dateDate = dateGreg.getTime();
     
            String retour = dateFormat.format(dateDate);
            System.out.println("DATE " + dateCourante.substring (0, 10) + " simpleDatFormat " + retour);
     
            String adr_ip = aRequête.getRemoteAddr ();    
            Connection connexionBase = Tools.connexionBase ("jdbc:oracle:thin:@linuxibm:1521:BLIN","oracle.jdbc.OracleDriver", "expadm", "expadm");    
            Statement ordreSQL = null;
            try
            {
                ordreSQL = connexionBase.createStatement (ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
            }
            catch (SQLException aSQLE)
            {
                System.out.println ("ordre sql1 aSQLE");
            }
            catch (NullPointerException aSQLE)
            {
                System.out.println ("ordre sql1 aNPE");
            }        
            int i = 1;
            int count = 1;
            Vector<Vector<String>> colonnes = this.getData ();
            for(Vector<String> data : colonnes)
            {
                Vector<String> colonne = data;
                String[] valeurS = new String[7];
                for(String donnée : colonne)
                {
                    valeurS[i] = donnée;
                    i++;
                }
     
                try
                {
                    ordreSQL.executeQuery 
                    (
                            "INSERT INTO tsm_events (scheduled_start,actual_start,scheduel_name,node_name,status,result,commentaire,ip_validateur,date_validation) " +
                            "VALUES ('" + valeurS[1] + "','" + valeurS[2] + "','" + valeurS[3] + "','" + valeurS[4] + "','" + valeurS[5] + "','" + valeurS[6] + "','" + aRequête.getParameter ("comment_" + count) + "','" + adr_ip + "',to_char(sysdate,'DD/MM/YYYY'))"
                    );    
                }
                catch (SQLException aSQLE)
                {
                    System.out.println ("ordre exéc1 aSQL " + aSQLE.getMessage ());
                }        
                i = 1;
                count++;
            }
     
            if(!dateCourante.substring (0, 10).equals (retour))
            {
                try
                {
                    ordreSQL.executeQuery ("insert into tsm_detail (date_validation,adr_ip) values (sysdate,'" + adr_ip +"')  ");
                }
                catch (SQLException aSQLE)
                {
                    System.out.println ("ordre exéc2 aSQL " + aSQLE.getMessage ());
                }
            }
     
     
            Tools.MiseEnPageEntête (aRéponse);
            Tools.MiseEnPageNord (aRéponse);        
            this.fluxSortie.println 
            (
                    "<form name = \"Valider\" action = \"ListeTSM\"  method = \"GET\"> \n" +
                    "<table align=\"center\" id=\"tableauGeneral\" >\n" +
                    "<tr> \n" +
                    "    <td><h2>Base de Données Mise a Jours.</h2></td>" +
                    "<tr> \n" +
                    "    <td><input align=\"center\" type=\"submit\" value=\"Retour\"></td> \n" +
                    "</tr> \n" +
                    "</table> \n" +
                    "</form> \n" 
            );    
            Tools.MiseEnPageSud (aRéponse);        
        }
    }
    Code de rapport d'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
    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
     
    #
    # An unexpected error has been detected by Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1003cc30, pid=3780, tid=3852
    #
    # Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
    # Problematic frame:
    # C  0x1003cc30
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #
     
    ---------------  T H R E A D  ---------------
     
    Current thread (0x0bc7d800):  JavaThread "http-80-1" daemon [_thread_in_native, id=3852]
     
    siginfo: ExceptionCode=0xc0000005, reading address 0x1003cc30
     
    Registers:
    EAX=0x75ae8ced, EBX=0x0019df88, ECX=0x00000007, EDX=0x77be0f34
    ESP=0x0c6beebc, EBP=0x0c6beec4, ESI=0x0b66c140, EDI=0xf3807e52
    EIP=0x1003cc30, EFLAGS=0x00010246
     
    Top of Stack: (sp=0x0c6beebc)
    0x0c6beebc:   77da5115 01c7fa06 0c6beefc 75add7e0
    0x0c6beecc:   75ae8ced 00000844 00000103 00000103
    0x0c6beedc:   e794bc52 01c7fa06 ffffffff ffffffff
    0x0c6beeec:   00000000 0019df88 75ae8ced 77da50ed
    0x0c6beefc:   0c6bef78 75ad4c14 00000844 00000af0
    0x0c6bef0c:   01000002 00000006 b92c2df2 00000800
    0x0c6bef1c:   0b66c218 00000000 0c6befb0 00000001
    0x0c6bef2c:   00000000 00000020 1c24ed1c ed1c24ed 
     
    Instructions: (pc=0x1003cc30)
    0x1003cc20:   
    [error occurred during error reporting, step 100, id 0xc0000005]
     
    Stack: [0x0c670000,0x0c6c0000),  sp=0x0c6beebc,  free space=315k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  0x1003cc30
    C  [mswsock.dll+0xd7e0]
    C  [mswsock.dll+0x4c14]
    C  [WS2_32.dll+0x4b32]
    C  [net.dll+0x70a6]
    j  java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I+0
    j  java.net.SocketInputStream.read([BII)I+84
    j  org.apache.coyote.http11.InternalInputBuffer.fill()Z+59
    j  org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V+16
    j  org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+234
    j  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+374
    j  org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
     
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I+0
    j  java.net.SocketInputStream.read([BII)I+84
    j  org.apache.coyote.http11.InternalInputBuffer.fill()Z+59
    j  org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V+16
    j  org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+234
    j  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+374
    j  org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+41
    j  java.lang.Thread.run()V+11
    v  ~StubRoutines::call_stub
     
    ---------------  P R O C E S S  ---------------
     
    Java Threads: ( => current thread )
      0x0bcee000 JavaThread "http-80-2" daemon [_thread_in_native, id=4556]
    =>0x0bc7d800 JavaThread "http-80-1" daemon [_thread_in_native, id=3852]
      0x0bbe6400 JavaThread "TP-Monitor" daemon [_thread_blocked, id=2624]
      0x0bbe6000 JavaThread "TP-Processor4" daemon [_thread_in_native, id=5064]
      0x0bbe5800 JavaThread "TP-Processor3" daemon [_thread_blocked, id=4488]
      0x0bbe5400 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2544]
      0x0bbe4c00 JavaThread "TP-Processor1" daemon [_thread_blocked, id=5752]
      0x0bf0bc00 JavaThread "http-80-Acceptor-0" daemon [_thread_in_native, id=5228]
      0x0bec3000 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=6088]
      0x0110f000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4360]
      0x0110d400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3392]
      0x0110b800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=4244]
      0x01101400 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=3992]
      0x01100400 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=4428]
      0x010f3400 JavaThread "Attach Listener" daemon [_thread_blocked, id=5708]
      0x010f2c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3276]
      0x010e4800 JavaThread "Finalizer" daemon [_thread_blocked, id=6116]
      0x010d8800 JavaThread "Reference Handler" daemon [_thread_blocked, id=5264]
      0x011b7400 JavaThread "main" [_thread_in_native, id=1768]
     
    Other Threads:
      0x010d4c00 VMThread [id=2164]
      0x01110c00 WatcherThread [id=5740]
     
    VM state:not at safepoint (normal execution)
     
    VM Mutex/Monitor currently owned by a thread: None
     
    Heap
     def new generation   total 960K, used 240K [0x035e0000, 0x036e0000, 0x03ac0000)
      eden space 896K,  26% used [0x035e0000, 0x0361bf80, 0x036c0000)
      from space 64K,   0% used [0x036c0000, 0x036c0190, 0x036d0000)
      to   space 64K,   0% used [0x036d0000, 0x036d0000, 0x036e0000)
     tenured generation   total 6900K, used 4280K [0x03ac0000, 0x0417d000, 0x075e0000)
       the space 6900K,  62% used [0x03ac0000, 0x03eee168, 0x03eee200, 0x0417d000)
     compacting perm gen  total 12288K, used 11484K [0x075e0000, 0x081e0000, 0x0b5e0000)
       the space 12288K,  93% used [0x075e0000, 0x081172a8, 0x08117400, 0x081e0000)
    No shared spaces configured.
     
    Dynamic libraries:
    0x00400000 - 0x00423000     C:\Program Files\Java\jdk1.6.0\bin\javaw.exe
    0x77b80000 - 0x77c9e000     C:\Windows\system32\ntdll.dll
    0x77cb0000 - 0x77d88000     C:\Windows\system32\kernel32.dll
    0x77590000 - 0x7764f000     C:\Windows\system32\ADVAPI32.dll
    0x778d0000 - 0x77993000     C:\Windows\system32\RPCRT4.dll
    0x777a0000 - 0x7783e000     C:\Windows\system32\USER32.dll
    0x776a0000 - 0x776eb000     C:\Windows\system32\GDI32.dll
    0x77780000 - 0x7779e000     C:\Windows\system32\IMM32.DLL
    0x77460000 - 0x77527000     C:\Windows\system32\MSCTF.dll
    0x779a0000 - 0x77a4a000     C:\Windows\system32\msvcrt.dll
    0x771a0000 - 0x771a9000     C:\Windows\system32\LPK.DLL
    0x77060000 - 0x770dd000     C:\Windows\system32\USP10.dll
    0x7c340000 - 0x7c396000     C:\Program Files\Java\jdk1.6.0\jre\bin\msvcr71.dll
    0x6d7c0000 - 0x6da07000     C:\Program Files\Java\jdk1.6.0\jre\bin\client\jvm.dll
    0x74050000 - 0x74083000     C:\Windows\system32\WINMM.dll
    0x76440000 - 0x76584000     C:\Windows\system32\ole32.dll
    0x776f0000 - 0x7777c000     C:\Windows\system32\OLEAUT32.dll
    0x73dc0000 - 0x73df8000     C:\Windows\system32\OLEACC.dll
    0x76270000 - 0x7629c000     C:\Windows\system32\apphelp.dll
    0x6d310000 - 0x6d318000     C:\Program Files\Java\jdk1.6.0\jre\bin\hpi.dll
    0x76430000 - 0x76437000     C:\Windows\system32\PSAPI.DLL
    0x6d400000 - 0x6d429000     C:\Program Files\Java\jdk1.6.0\jre\bin\jdwp.dll
    0x6d6c0000 - 0x6d6c6000     C:\Program Files\Java\jdk1.6.0\jre\bin\npt.dll
    0x6d770000 - 0x6d77c000     C:\Program Files\Java\jdk1.6.0\jre\bin\verify.dll
    0x6d3b0000 - 0x6d3cf000     C:\Program Files\Java\jdk1.6.0\jre\bin\java.dll
    0x6d7b0000 - 0x6d7bf000     C:\Program Files\Java\jdk1.6.0\jre\bin\zip.dll
    0x6d280000 - 0x6d287000     C:\Program Files\Java\jdk1.6.0\jre\bin\dt_socket.dll
    0x77d90000 - 0x77dbd000     C:\Windows\system32\WS2_32.dll
    0x77ca0000 - 0x77ca6000     C:\Windows\system32\NSI.dll
    0x755d0000 - 0x755df000     C:\Windows\system32\NLAapi.dll
    0x75d40000 - 0x75d59000     C:\Windows\system32\IPHLPAPI.DLL
    0x75d00000 - 0x75d35000     C:\Windows\system32\dhcpcsvc.DLL
    0x75fd0000 - 0x75ffb000     C:\Windows\system32\DNSAPI.dll
    0x762d0000 - 0x762e4000     C:\Windows\system32\Secur32.dll
    0x75cf0000 - 0x75cf7000     C:\Windows\system32\WINNSI.DLL
    0x75cd0000 - 0x75cf0000     C:\Windows\system32\dhcpcsvc6.DLL
    0x75ad0000 - 0x75b0b000     C:\Windows\System32\mswsock.dll
    0x74580000 - 0x74588000     C:\Windows\System32\winrnr.dll
    0x77650000 - 0x77699000     C:\Windows\system32\WLDAP32.dll
    0x74570000 - 0x7457f000     C:\Windows\system32\napinsp.dll
    0x74530000 - 0x74542000     C:\Windows\system32\pnrpnsp.dll
    0x74590000 - 0x74596000     C:\Windows\system32\rasadhlp.dll
    0x756c0000 - 0x756c6000     C:\Windows\System32\wshtcpip.dll
    0x6d570000 - 0x6d583000     C:\Program Files\Java\jdk1.6.0\jre\bin\net.dll
    0x75b30000 - 0x75b36000     C:\Windows\System32\wship6.dll
    0x6d3f0000 - 0x6d3fd000     C:\Program Files\Java\jdk1.6.0\jre\bin\JdbcOdbc.dll
    0x6bcd0000 - 0x6bd35000     C:\Windows\system32\ODBC32.dll
    0x73fb0000 - 0x74036000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6000.16386_none_87e0cb09378714f1\COMCTL32.dll
    0x76590000 - 0x7705e000     C:\Windows\system32\SHELL32.dll
    0x77530000 - 0x77585000     C:\Windows\system32\SHLWAPI.dll
    0x770e0000 - 0x77154000     C:\Windows\system32\COMDLG32.dll
    0x751f0000 - 0x75384000     C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll
    0x6be80000 - 0x6beb8000     C:\Windows\system32\odbcint.dll
    0x77340000 - 0x7740f000     C:\Windows\system32\WININET.dll
    0x77160000 - 0x77163000     C:\Windows\system32\Normaliz.dll
    0x77410000 - 0x77455000     C:\Windows\system32\iertutil.dll
    0x75f60000 - 0x75fca000     C:\Windows\system32\NETAPI32.dll
    0x73d80000 - 0x73d9c000     C:\Windows\system32\odbccp32.dll
    0x75b40000 - 0x75b48000     C:\Windows\system32\VERSION.dll
    0x74200000 - 0x74247000     C:\Windows\system32\RASAPI32.dll
    0x741e0000 - 0x741f4000     C:\Windows\system32\rasman.dll
    0x74090000 - 0x740c1000     C:\Windows\system32\TAPI32.dll
    0x74550000 - 0x7455c000     C:\Windows\system32\rtutils.dll
    0x762f0000 - 0x7630e000     C:\Windows\system32\USERENV.dll
    0x75bd0000 - 0x75bd7000     C:\Windows\system32\credssp.dll
    0x75de0000 - 0x75ed1000     C:\Windows\system32\CRYPT32.dll
    0x75f20000 - 0x75f32000     C:\Windows\system32\MSASN1.dll
    0x757a0000 - 0x757e5000     C:\Windows\system32\schannel.dll
    0x71d90000 - 0x71d96000     C:\Windows\system32\sensapi.dll
     
    VM Arguments:
    jvm_args: -Dcatalina.home=C:\apache-tomcat-6.0.7 -Djava.endorsed.dirs=C:\apache-tomcat-6.0.7\common\endorsed -Dcatalina.base=C:\apache-tomcat-6.0.7 -Djava.io.tmpdir=C:\apache-tomcat-6.0.7\temp -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:58875
    java_command: org.apache.catalina.startup.Bootstrap -config C:\apache-tomcat-6.0.7\conf\server.xml start
    Launcher Type: SUN_STANDARD
     
    Environment Variables:
    JAVA_HOME=c:\Program Files\Java\jdk1.6.0
    CLASSPATH=.;C:\Program Files\Java\jre1.6.0_02\lib\ext\QTJava.zip
    PATH=C:\Program Files\PC Connectivity Solution\;C:\Perl\bin\;C:\oracle\product\10.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\Program Files\QuickTime\QTSystem\
    USERNAME=thierry
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 12, GenuineIntel
     
     
     
    ---------------  S Y S T E M  ---------------
     
    OS: Windows Vista Build 6000 
     
    CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse, sse2
     
    Memory: 4k page, physical 2094656k(1118164k free), swap 4194303k(3258060k free)
     
    vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310

  2. #2
    Membre régulier
    Profil pro
    Inscrit en
    Septembre 2007
    Messages
    96
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Côte d'Or (Bourgogne)

    Informations forums :
    Inscription : Septembre 2007
    Messages : 96
    Points : 104
    Points
    104
    Par défaut
    Pas de réponse???

  3. #3
    Membre confirmé Avatar de yjuliet
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Août 2006
    Messages
    362
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Seine et Marne (Île de France)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Août 2006
    Messages : 362
    Points : 460
    Points
    460
    Par défaut
    Plantage de la VM ??
    ça ne pourrait pas venir de l'OS, ou du moins de la JRE distribuée pour l'OS ? Pas mal de bugs sont déjà référencés ...
    Un coup d'oeil à la release notes te renseignera plus que moi ...

    http://java.sun.com/javase/6/webnote...l#windowsvista

  4. #4
    Expert éminent sénior
    Avatar de sinok
    Profil pro
    Inscrit en
    Août 2004
    Messages
    8 765
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Août 2004
    Messages : 8 765
    Points : 12 977
    Points
    12 977
    Par défaut
    9à t'arrive des fois de fermer ta connexion en dehors du moment ou tu prends des exceptions.... J'ai pas trop l'impression



    http://java.developpez.com/faq/jdbc/...tureConnection ou comment fermer correctement une connexion à un SGBD

  5. #5
    Membre confirmé Avatar de yjuliet
    Homme Profil pro
    Consultant en sécurité
    Inscrit en
    Août 2006
    Messages
    362
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Seine et Marne (Île de France)

    Informations professionnelles :
    Activité : Consultant en sécurité
    Secteur : High Tech - Produits et services télécom et Internet

    Informations forums :
    Inscription : Août 2006
    Messages : 362
    Points : 460
    Points
    460
    Par défaut
    Citation Envoyé par sinok Voir le message
    9à t'arrive des fois de fermer ta connexion en dehors du moment ou tu prends des exceptions.... J'ai pas trop l'impression



    http://java.developpez.com/faq/jdbc/...tureConnection ou comment fermer correctement une connexion à un SGBD
    Tu crois que trop de connexions non fermées pourraient faire planter la JVM ? J'aurais eu tendance à penser que ça aurait retourné une bonne vieille exception....
    N'y a-t-il pas d'ailleurs un mécanisme de fermeture automatique des connexions lors du passage du garbage collector (c'est vrai qu'en JDBC, chaque implémentation de driver peut ajouter ou pas ce genre de feature), ou bien les connexions restent-elles en état fantome ?

  6. #6
    Expert éminent sénior
    Avatar de sinok
    Profil pro
    Inscrit en
    Août 2004
    Messages
    8 765
    Détails du profil
    Informations personnelles :
    Âge : 44
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Août 2004
    Messages : 8 765
    Points : 12 977
    Points
    12 977
    Par défaut
    Citation Envoyé par yjuliet Voir le message
    Tu crois que trop de connexions non fermées pourraient faire planter la JVM ? J'aurais eu tendance à penser que ça aurait retourné une bonne vieille exception....
    N'y a-t-il pas d'ailleurs un mécanisme de fermeture automatique des connexions lors du passage du garbage collector (c'est vrai qu'en JDBC, chaque implémentation de driver peut ajouter ou pas ce genre de feature), ou bien les connexions restent-elles en état fantome ?
    EN fait pas du tout

    Ici le problème est posé par la socket ouverte sur HTTP. Ma&is bon, bien fermer ses connexions ne fait jamais de mal.

Discussions similaires

  1. Plantage, pas asser de ram aloué à l'exécutable.
    Par max_skel dans le forum Langage
    Réponses: 4
    Dernier message: 11/07/2013, 12h17
  2. Plantage général d'excel lors de l'exécution d'une macro
    Par Esmax666 dans le forum Macros et VBA Excel
    Réponses: 3
    Dernier message: 19/10/2009, 10h31
  3. [Modifier la taille de la JVM] en cours d'exécution
    Par brisco_505 dans le forum Collection et Stream
    Réponses: 3
    Dernier message: 26/06/2009, 15h07
  4. JDK 6 et eclipse : plantage de la JVM
    Par YeFFreY dans le forum RedHat / CentOS / Fedora
    Réponses: 2
    Dernier message: 03/07/2008, 09h40
  5. Plantage de la JVM
    Par animageo dans le forum Langage
    Réponses: 8
    Dernier message: 25/03/2008, 17h17

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