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

Glassfish et Payara Java Discussion :

Impossible de créer un nouveau pool de connexion JDBC


Sujet :

Glassfish et Payara Java

  1. #1
    Membre averti
    Homme Profil pro
    responsable programme (electronique)
    Inscrit en
    Janvier 2015
    Messages
    27
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 55
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : responsable programme (electronique)
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Janvier 2015
    Messages : 27
    Par défaut Impossible de créer un nouveau pool de connexion JDBC
    Bonjour,

    Je n'arrive pas à créer un pool de connexion JDBC sous glassfish 4.
    J'ai tout réinstallé mais rien n'y fait.
    J'obtient le message suivant:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
     
    HTTP Status 500 - Internal Server Error
    type Exception report
    messageInternal Server Error
    descriptionThe server encountered an internal error that prevented it from fulfilling this request.
    exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
    note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.1.1 logs.
    GlassFish Server Open Source Edition 4.1.1
    Le log du server 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
     
    [2016-03-05T21:39:45.762+0100] [] [INFO] [NCLS-GFLAUNCHER-00005] [javax.enterprise.launcher] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1457210385762] [levelValue: 800] [[
      JVM invocation command line:
    C:\Program Files\Java\jre7\bin\java.exe
    -cp
    C:/glassfish4/glassfish/modules/glassfish.jar
    -XX:+UnlockDiagnosticVMOptions
    -XX:MaxPermSize=192m
    -XX:NewRatio=2
    -Xmx512m
    -client
    -javaagent:C:/glassfish4/glassfish/lib/monitor/flashlight-agent.jar
    -Dfelix.fileinstall.disableConfigSave=false
    -Djavax.net.ssl.keyStore=C:\glassfish4\glassfish\domains\domain1/config/keystore.jks
    -Djava.awt.headless=true
    -Dcom.ctc.wstx.returnNullForDefaultNamespace=true
    -Dfelix.fileinstall.poll=5000
    -Djava.endorsed.dirs=C:\glassfish4\glassfish/modules/endorsed;C:\glassfish4\glassfish/lib/endorsed
    -Dfelix.fileinstall.bundles.startTransient=true
    -Djavax.net.ssl.trustStore=C:\glassfish4\glassfish\domains\domain1/config/cacerts.jks
    -Djavax.xml.accessExternalSchema=all
    -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as
    -Djava.security.auth.login.config=C:\glassfish4\glassfish\domains\domain1/config/login.conf
    -DANTLR_USE_DIRECT_CLASS_LOADING=true
    -Dgosh.args=--nointeractive
    -Dosgi.shell.telnet.maxconn=1
    -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
    -Dfelix.fileinstall.dir=C:\glassfish4\glassfish/modules/autostart/
    -Dosgi.shell.telnet.port=6666
    -Djava.security.policy=C:\glassfish4\glassfish\domains\domain1/config/server.policy
    -Dfelix.fileinstall.log.level=2
    -Dcom.sun.aas.instanceRoot=C:\glassfish4\glassfish\domains\domain1
    -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
    -Dosgi.shell.telnet.ip=127.0.0.1
    -Dcom.sun.aas.installRoot=C:\glassfish4\glassfish
    -Djava.ext.dirs=C:\Program Files\Java\jre7/lib/ext;C:\Program Files\Java\jre7/jre/lib/ext;C:\glassfish4\glassfish\domains\domain1/lib/ext
    -Dfelix.fileinstall.bundles.new.start=true
    -Dorg.glassfish.additionalOSGiBundlesToStart=org.apache.felix.shell,org.apache.felix.gogo.runtime,org.apache.felix.gogo.shell,org.apache.felix.gogo.command,org.apache.felix.shell.remote,org.apache.felix.fileinstall
    -Djdk.corba.allowOutputStreamSubclass=true
    -Djava.library.path=C:/glassfish4/glassfish/lib;C:/Windows/System32;C:/Windows/Sun/Java/bin;C:/Windows;C:/Program Files (x86)/Intel/TXE Components/TCS;C:/Program Files/Intel/TXE Components/TCS;C:/Windows/System32/wbem;C:/Windows/System32/WindowsPowerShell/v1.0;C:/Program Files (x86)/Acer/abFiles;C:/Program Files/MySQL/MySQL Enterprise Backup 3.12;C:/Program Files (x86)/MySQL/MySQL Utilities;C:/Program Files (x86)/MySQL/MySQL Utilities/Doctrine extensions for PHP;C:/glassfish4/glassfish/bin
    com.sun.enterprise.glassfish.bootstrap.ASMain
    -domainname
    domain1
    -asadmin-args
    --host,,,localhost,,,--port,,,4848,,,--secure=false,,,--terse=false,,,--echo=false,,,--interactive=true,,,start-domain,,,--verbose=false,,,--watchdog=false,,,--debug=false,,,--domaindir,,,C:\glassfish4\glassfish\domains,,,domain1
    -instancename
    server
    -verbose
    false
    -debug
    false
    -asadmin-classpath
    C:/glassfish4/glassfish/lib/client/appserver-cli.jar
    -asadmin-classname
    com.sun.enterprise.admin.cli.AdminMain
    -upgrade
    false
    -type
    DAS
    -domaindir
    C:/glassfish4/glassfish/domains/domain1
    -read-stdin
    true]]
     
    [2016-03-05T21:40:07.979+0100] [glassfish 4.1] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1457210406010] [timeMillis: 1457210407979] [levelValue: 800] [[
      Running GlassFish Version: GlassFish Server Open Source Edition  4.1.1  (build 1)]]
     
    [2016-03-05T21:40:07.979+0100] [glassfish 4.1] [INFO] [NCLS-LOGGING-00010] [javax.enterprise.logging] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1457210406010] [timeMillis: 1457210407979] [levelValue: 800] [[
      Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter]]
     
    [2016-03-05T21:40:09.557+0100] [glassfish 4.1] [WARNING] [NCLS-MON-00504] [javax.enterprise.system.tools.monitor] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210409557] [levelValue: 900] [[
      Encountered exception during agent attach]]
     
    [2016-03-05T21:40:10.417+0100] [glassfish 4.1] [INFO] [] [org.glassfish.ha.store.spi.BackingStoreFactoryRegistry] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210410417] [levelValue: 800] [[
      Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry]]
     
    [2016-03-05T21:40:11.948+0100] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.monitor] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210411948] [levelValue: 800] [[
      Successfully got INSTRUMENTATION: sun.instrument.InstrumentationImpl@707dbcdb]]
     
    [2016-03-05T21:40:12.462+0100] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210412462] [levelValue: 800] [[
      Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
     
    [2016-03-05T21:40:12.493+0100] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210412493] [levelValue: 800] [[
      Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.]]
     
    [2016-03-05T21:40:12.509+0100] [glassfish 4.1] [INFO] [NCLS-SECURITY-01115] [javax.enterprise.system.core.security] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210412509] [levelValue: 800] [[
      Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.]]
     
    [2016-03-05T21:40:13.259+0100] [glassfish 4.1] [INFO] [SEC-SVCS-00100] [javax.enterprise.security.services] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210413259] [levelValue: 800] [[
      Authorization Service has successfully initialized.]]
     
    [2016-03-05T21:40:13.525+0100] [glassfish 4.1] [WARNING] [] [org.glassfish.grizzly.config.Utils] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1457210406089] [timeMillis: 1457210413525] [levelValue: 900] [[
      Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn]]
     
    [2016-03-05T21:40:13.978+0100] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1457210406089] [timeMillis: 1457210413978] [levelValue: 800] [[
      Grizzly Framework 2.3.23 started in: 344ms - bound to [/0.0.0.0:8080]]]
     
    [2016-03-05T21:40:14.134+0100] [glassfish 4.1] [WARNING] [] [org.glassfish.grizzly.config.Utils] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1457210406089] [timeMillis: 1457210414134] [levelValue: 900] [[
      Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn]]
     
    [2016-03-05T21:40:14.259+0100] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1457210406089] [timeMillis: 1457210414259] [levelValue: 800] [[
      Grizzly Framework 2.3.23 started in: 109ms - bound to [/0.0.0.0:8181]]]
     
    [2016-03-05T21:40:14.306+0100] [glassfish 4.1] [WARNING] [] [org.glassfish.grizzly.config.Utils] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1457210406089] [timeMillis: 1457210414306] [levelValue: 900] [[
      Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn]]
     
    [2016-03-05T21:40:14.400+0100] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=17 _ThreadName=RunLevelControllerThread-1457210406089] [timeMillis: 1457210414400] [levelValue: 800] [[
      Grizzly Framework 2.3.23 started in: 63ms - bound to [/0.0.0.0:4848]]]
     
    [2016-03-05T21:40:14.712+0100] [glassfish 4.1] [INFO] [NCLS-CORE-00087] [javax.enterprise.system.core] [tid: _ThreadID=16 _ThreadName=RunLevelControllerThread-1457210406010] [timeMillis: 1457210414712] [levelValue: 800] [[
      Grizzly Framework 2.3.23 started in: 0ms - bound to [/0.0.0.0:3700]]]
     
    [2016-03-05T21:40:14.712+0100] [glassfish 4.1] [INFO] [NCLS-CORE-00017] [javax.enterprise.system.core] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1457210414712] [levelValue: 800] [[
      GlassFish Server Open Source Edition  4.1.1  (1) startup time : Felix (13�412ms), startup services(8�780ms), total(22�192ms)]]
     
    [2016-03-05T21:40:17.056+0100] [glassfish 4.1] [INFO] [NCLS-JMX-00026] [javax.enterprise.system.jmx] [tid: _ThreadID=53 _ThreadName=Thread-12] [timeMillis: 1457210417056] [levelValue: 800] [[
      Binding RMI port to single IP address = localhost, port 8686]]
     
    [2016-03-05T21:40:20.687+0100] [glassfish 4.1] [INFO] [NCLS-JMX-00005] [javax.enterprise.system.jmx] [tid: _ThreadID=53 _ThreadName=Thread-12] [timeMillis: 1457210420687] [levelValue: 800] [[
      JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi]]
     
    [2016-03-05T21:40:20.733+0100] [glassfish 4.1] [INFO] [jts.startup_msg] [javax.enterprise.system.core.transaction.com.sun.jts.CosTransactions] [tid: _ThreadID=15 _ThreadName=RunLevelControllerThread-1457210405995] [timeMillis: 1457210420733] [levelValue: 800] [[
      JTS5014: Recoverable JTS instance, serverId = [100]]]
     
    [2016-03-05T21:40:43.511+0100] [glassfish 4.1] [INFO] [] [org.hibernate.validator.internal.util.Version] [tid: _ThreadID=46 _ThreadName=admin-listener(3)] [timeMillis: 1457210443511] [levelValue: 800] [[
      HV000001: Hibernate Validator 5.1.2.Final]]
     
    [2016-03-05T21:40:49.007+0100] [glassfish 4.1] [INFO] [NCLS-REST-00001] [javax.enterprise.admin.rest] [tid: _ThreadID=46 _ThreadName=admin-listener(3)] [timeMillis: 1457210449007] [levelValue: 800] [[
      Listening to REST requests at context: /management/domain.]]
     
    [2016-03-05T21:40:51.545+0100] [glassfish 4.1] [INFO] [NCLS-BOOTSTRAP-00027] [javax.enterprise.bootstrap] [tid: _ThreadID=1 _ThreadName=main] [timeMillis: 1457210451545] [levelValue: 800] [[
      Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@5f143010 as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@31b23495.]]
     
    [2016-03-05T21:41:00.392+0100] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210460392] [levelValue: 800] [[
      visiting unvisited references]]
     
    [2016-03-05T21:41:06.305+0100] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210466305] [levelValue: 800] [[
      Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080]]
     
    [2016-03-05T21:41:06.322+0100] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210466322] [levelValue: 800] [[
      Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181]]
     
    [2016-03-05T21:41:06.330+0100] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00198] [javax.enterprise.web] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210466330] [levelValue: 800] [[
      Created HTTP listener admin-listener on host/port 0.0.0.0:4848]]
     
    [2016-03-05T21:41:06.449+0100] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210466449] [levelValue: 800] [[
      Created virtual server server]]
     
    [2016-03-05T21:41:06.455+0100] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00200] [javax.enterprise.web] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210466455] [levelValue: 800] [[
      Created virtual server __asadmin]]
     
    [2016-03-05T21:41:08.920+0100] [glassfish 4.1] [INFO] [AS-WEB-CORE-00306] [javax.enterprise.web.core] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210468920] [levelValue: 800] [[
      Setting JAAS app name glassfish-web]]
     
    [2016-03-05T21:41:08.921+0100] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00201] [javax.enterprise.web] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210468921] [levelValue: 800] [[
      Virtual server server loaded default web module ]]
     
    [2016-03-05T21:41:11.779+0100] [glassfish 4.1] [INFO] [NCLS-SECURITY-01002] [javax.enterprise.system.core.security] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210471779] [levelValue: 800] [[
      Java security manager is disabled.]]
     
    [2016-03-05T21:41:11.780+0100] [glassfish 4.1] [INFO] [NCLS-SECURITY-01010] [javax.enterprise.system.core.security] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210471780] [levelValue: 800] [[
      Entering Security Startup Service.]]
     
    [2016-03-05T21:41:11.789+0100] [glassfish 4.1] [INFO] [NCLS-SECURITY-01143] [javax.enterprise.system.core.security] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210471789] [levelValue: 800] [[
      Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.]]
     
    [2016-03-05T21:41:12.183+0100] [glassfish 4.1] [INFO] [NCLS-SECURITY-01011] [javax.enterprise.system.core.security] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210472183] [levelValue: 800] [[
      Security Service(s) started successfully.]]
     
    [2016-03-05T21:41:14.649+0100] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210474649] [levelValue: 800] [[
      visiting unvisited references]]
     
    [2016-03-05T21:41:14.868+0100] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210474868] [levelValue: 800] [[
      visiting unvisited references]]
     
    [2016-03-05T21:41:14.883+0100] [glassfish 4.1] [INFO] [] [javax.enterprise.system.tools.deployment.common] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210474883] [levelValue: 800] [[
      visiting unvisited references]]
     
    [2016-03-05T21:41:25.109+0100] [glassfish 4.1] [INFO] [jsf.config.listener.version] [javax.enterprise.resource.webcontainer.jsf.config] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210485109] [levelValue: 800] [[
      Initialisation de Mojarra 2.2.12 ( 20150720-0848 https://svn.java.net/svn/mojarra~svn/tags/2.2.12@14885) pour le contexte ��]]
     
    [2016-03-05T21:41:31.227+0100] [glassfish 4.1] [INFO] [AS-WEB-GLUE-00172] [javax.enterprise.web] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210491227] [levelValue: 800] [[
      Loading application [__admingui] at [/]]]
     
    [2016-03-05T21:41:31.289+0100] [glassfish 4.1] [INFO] [NCLS-CORE-00022] [javax.enterprise.system.core] [tid: _ThreadID=68 _ThreadName=Thread-19] [timeMillis: 1457210491289] [levelValue: 800] [[
      Loading application __admingui done in 39883 ms]]
     
    [2016-03-05T21:41:45.423+0100] [glassfish 4.1] [WARNING] [] [javax.enterprise.system.container.web.com.sun.web.security] [tid: _ThreadID=48 _ThreadName=admin-listener(5)] [timeMillis: 1457210505423] [levelValue: 900] [[
      Context path from ServletContext:  differs from path from bundle: /]]
     
    [2016-03-05T21:41:58.752+0100] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID=47 _ThreadName=admin-listener(4)] [timeMillis: 1457210518752] [levelValue: 800] [[
      Redirecting to /index.jsf]]
     
    [2016-03-05T21:41:59.707+0100] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID=44 _ThreadName=admin-listener(1)] [timeMillis: 1457210519707] [levelValue: 800] [[
      Admin Console: Initializing Session Attributes...]]
     
    [2016-03-05T21:42:00.821+0100] [glassfish 4.1] [WARNING] [] [java.util.prefs] [tid: _ThreadID=44 _ThreadName=admin-listener(1)] [timeMillis: 1457210520821] [levelValue: 900] [[
      Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.]]
     
    [2016-03-05T21:42:54.781+0100] [glassfish 4.1] [INFO] [NCLS-REST-00001] [javax.enterprise.admin.rest] [tid: _ThreadID=48 _ThreadName=admin-listener(5)] [timeMillis: 1457210574781] [levelValue: 800] [[
      Listening to REST requests at context: /monitoring/domain.]]
     
    [2016-03-05T22:02:40.087+0100] [glassfish 4.1] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID=45 _ThreadName=admin-listener(2)] [timeMillis: 1457211760087] [levelValue: 800] [[
      Exception Occurred :null]]
     
    [2016-03-05T22:03:00.601+0100] [glassfish 4.1] [WARNING] [] [javax.enterprise.web] [tid: _ThreadID=45 _ThreadName=admin-listener(2)] [timeMillis: 1457211780601] [levelValue: 900] [[
      StandardWrapperValve[FacesServlet]: Servlet.service() for servlet FacesServlet threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
    	at org.apache.catalina.connector.Response.getWriter(Response.java:777)
    	at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:224)
    	at com.sun.faces.context.ExternalContextImpl.getResponseOutputWriter(ExternalContextImpl.java:851)
    	at com.sun.faces.context.PartialViewContextImpl.createPartialResponseWriter(PartialViewContextImpl.java:504)
    	at com.sun.faces.context.PartialViewContextImpl.access$300(PartialViewContextImpl.java:79)
    	at com.sun.faces.context.PartialViewContextImpl$DelayedInitPartialResponseWriter.getWrapped(PartialViewContextImpl.java:642)
    	at javax.faces.context.PartialResponseWriter.startDocument(PartialResponseWriter.java:120)
    	at com.sun.faces.context.AjaxExceptionHandlerImpl.handlePartialResponseError(AjaxExceptionHandlerImpl.java:202)
    	at com.sun.faces.context.AjaxExceptionHandlerImpl.handle(AjaxExceptionHandlerImpl.java:127)
    	at javax.faces.context.ExceptionHandlerWrapper.handle(ExceptionHandlerWrapper.java:100)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
    	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    	at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:233)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160)
    	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734)
    	at org.apache.catalina.core.StandardPipeline.doChainInvoke(StandardPipeline.java:678)
    	at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174)
    	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:416)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:283)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
    	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
    	at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:206)
    	at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:180)
    	at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
    	at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:283)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:132)
    	at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:111)
    	at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
    	at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:536)
    	at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
    	at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
    	at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
    	at java.lang.Thread.run(Unknown Source)
    ]]
    Si quelqu'un a quelque chose à me proposer?

  2. #2
    Modérateur
    Avatar de Alkhan
    Homme Profil pro
    ingénieur full stack
    Inscrit en
    Octobre 2006
    Messages
    1 232
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : ingénieur full stack

    Informations forums :
    Inscription : Octobre 2006
    Messages : 1 232
    Par défaut
    bonjour,

    Je ne vois pas ce qui te fais penser a un problème lié a jdbc !
    Je pencherais plutôt à la vue du message pour un problème de stream que tu ne ferme pas.
    Aurais tu dans ton code un getOutputStream() sur HttpServletResponse ou quelque chose du genre ?
    Il n'y a pas de problème, il n'y a que des solutions.
    Cependant, comme le disaient les shadoks, s'il n'y a pas de solution, c'est qu'il n'y a pas de problème.
    Si toutefois le problème persiste, la seule solution restante est de changer le périphérique qui se trouve entre la chaise et l'écran

    Mes Articles : Mon premier article est sur le language D
    N'oubliez pas de consulter les FAQ Java et les cours et tutoriels Java

  3. #3
    Membre averti
    Homme Profil pro
    responsable programme (electronique)
    Inscrit en
    Janvier 2015
    Messages
    27
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 55
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : responsable programme (electronique)
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Janvier 2015
    Messages : 27
    Par défaut
    Bonjour,

    Le problème ne peut pas venir du code: rien ne tourne.
    Mon problème arrive lors de la configuration du pool de connexion.

    Description:
    Je démarre mon serveur par la commande asadmin strat-domain
    dans un navigateur (Chrome) je démarre Localhost:4848
    Dans l'onglet JDBC Connection Pools je fais New:

    Pool Name: ess
    Resource Type: javax.sql.DataSource
    Database Driver Vendor: MySql

    Puis sur Next

    C'est alors que le message d'erreur arrive.

    J'ai réinstallé GlassFish 4.1.1 et ma JDK 8u74 le tout en version X86.
    Je suis sous Windows 10
    Je pense que c'est un problème de config quelque part mais ou?

  4. #4
    Membre émérite

    Homme Profil pro
    Senior Développeur JEE
    Inscrit en
    Avril 2002
    Messages
    795
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 50
    Localisation : Belgique

    Informations professionnelles :
    Activité : Senior Développeur JEE
    Secteur : Finance

    Informations forums :
    Inscription : Avril 2002
    Messages : 795
    Par défaut
    Bonjour,

    ce n'est pas un problème de config, c'est tout simplement un bug dans Glassfish.

    https://java.net/jira/browse/GLASSFISH-21314

  5. #5
    Modérateur
    Avatar de Alkhan
    Homme Profil pro
    ingénieur full stack
    Inscrit en
    Octobre 2006
    Messages
    1 232
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : ingénieur full stack

    Informations forums :
    Inscription : Octobre 2006
    Messages : 1 232
    Par défaut
    Ok, j'ai fait une recherche dans se sens et effectivement il y a un problème avec la 4.1.1, le problème est qu'il n'y a pas de correction sur la 4 !

    Donc tu a plusieurs possibilités :
    - tu passes sur une version antérieur
    - tu modifie directement les fichiers de configuration manuellement
    - tu passes sur une nightly de la version 5

    Edit : zut grillé par Stessy
    Il n'y a pas de problème, il n'y a que des solutions.
    Cependant, comme le disaient les shadoks, s'il n'y a pas de solution, c'est qu'il n'y a pas de problème.
    Si toutefois le problème persiste, la seule solution restante est de changer le périphérique qui se trouve entre la chaise et l'écran

    Mes Articles : Mon premier article est sur le language D
    N'oubliez pas de consulter les FAQ Java et les cours et tutoriels Java

  6. #6
    Membre averti
    Homme Profil pro
    responsable programme (electronique)
    Inscrit en
    Janvier 2015
    Messages
    27
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 55
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : responsable programme (electronique)
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Janvier 2015
    Messages : 27
    Par défaut
    Merci,

    Je suis passé sur la nightly de la version 5 et effectivement cela fonctionne.

    Merci beaucoup

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. impossible de créer un nouveau volume sur cle 32 Go
    Par byloute dans le forum Windows 7
    Réponses: 1
    Dernier message: 14/09/2011, 22h33
  2. NetBeans 6.9.1 - PHP/ZF - Impossible de créer un nouveau projet
    Par Jonathan.b dans le forum NetBeans Platform
    Réponses: 0
    Dernier message: 07/11/2010, 03h32
  3. Impossible de créer un nouveau projet sous VS 2008
    Par anaranjado dans le forum Visual C++
    Réponses: 2
    Dernier message: 26/02/2010, 18h35
  4. [TFS 2008] Impossible de créer un nouveau projet d'équipe
    Par CUCARACHA dans le forum Visual Studio
    Réponses: 4
    Dernier message: 15/12/2009, 00h08
  5. Impossible de créer un nouveau projet VB .Net
    Par soso78 dans le forum VB.NET
    Réponses: 1
    Dernier message: 09/08/2007, 00h56

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