This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Olá, tudo bem ? Estou com grande problema, estou fazendo um curso de Java EE no site DevMedia, porém ao configurar meu ambiente seguindo os passos dessa aula: http://www.devmedia.com.br/articles/viewaula.asp?idcomp=32671&topico=3901 ... não consigo de jeito nenhum configurar meu ambiente, baixei tudo certo, como mostrado no video mas quando vou iniciar o GlassFish ele aparece alguns erros, e no http://localhost:48481 também não consigo criar fazer a configuração JDBC Connection Pools, preciso de ajuda urgente. Segue Relatório de erros do Netbeans ao iniciar o GlassFish: Launching GlassFish on Felix platform jun 26, 2017 8:40:25 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner INFORMAÇÕES: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner. jun 26, 2017 8:40:26 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations ADVERTÊNCIA: Skipping entry because it is not an absolute URI. jun 26, 2017 8:40:26 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations ADVERTÊNCIA: Skipping entry because it is not an absolute URI. jun 26, 2017 8:41:03 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles ADVERTÊNCIA: Can not start bundle file:/C:/Program%20Files/glassfish-4.1.1/glassfish/modules/core.jar because it is not contained in the list of installed bundles. Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@793fd2a8 in service registry. !## LogManagerService.postConstruct : rootFolder=C:\Program Files\glassfish-4.1.1\glassfish !## LogManagerService.postConstruct : templateDir=C:\Program Files\glassfish-4.1.1\glassfish\lib\templates !## LogManagerService.postConstruct : src=C:\Program Files\glassfish-4.1.1\glassfish\lib\templates\logging.properties !## LogManagerService.postConstruct : dest=C:\Users\caiqu\AppData\Roaming\NetBeans\8.2\config\GF_4.1.1\domain1\config\logging.properties Informações: Running GlassFish Version: GlassFish Server Open Source Edition 4.1.1 (build 1) Informações: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter Informações: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Informações: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. Informações: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. Informações: HV000001: Hibernate Validator 5.1.2.Final Informações: Authorization Service has successfully initialized. Informações: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry Advertência: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn Informações: Grizzly Framework 2.3.23 started in: 477ms - bound to [/0.0.0.0:8080] Advertência: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn Informações: Grizzly Framework 2.3.23 started in: 148ms - bound to [/0.0.0.0:8181] Advertência: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn Informações: Grizzly Framework 2.3.23 started in: 468ms - bound to [/0.0.0.0:4848] Informações: Grizzly Framework 2.3.23 started in: 111ms - bound to [/0.0.0.0:3700] Informações: GlassFish Server Open Source Edition 4.1.1 (1) startup time : Felix (49.458ms), startup services(11.200ms), total(60.658ms) Informações: JTS5014: Recoverable JTS instance, serverId = [100] Advertência: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn Informações: Grizzly Framework 2.3.23 started in: 69ms - bound to [/0.0.0.0:8181] Informações: Grizzly Framework 2.3.23 started in: 138ms - bound to [/0.0.0.0:7676] Informações: JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://DESKTOP-6VA2EKF:8686/jndi/rmi://DESKTOP-6VA2EKF:8686/jmxrmi Informações: Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@2e7bf7b7 as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@568750b7. Advertência: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn Informações: Grizzly Framework 2.3.23 started in: 541ms - bound to [/0.0.0.0:8080] Advertência: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn Informações: Grizzly Framework 2.3.23 started in: 82ms - bound to [/0.0.0.0:8080] Advertência: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn Informações: Grizzly Framework 2.3.23 started in: 522ms - bound to [/0.0.0.0:8181] Informações: visiting unvisited references Informações: Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080 Informações: Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181 Informações: Created HTTP listener admin-listener on host/port 0.0.0.0:4848 Informações: Created virtual server server Informações: Created virtual server __asadmin Informações: Setting JAAS app name glassfish-web Informações: Virtual server server loaded default web module Informações: Java security manager is disabled. Informações: Entering Security Startup Service. Informações: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper. Informações: Security Service(s) started successfully. Informações: visiting unvisited references Informações: visiting unvisited references Informações: visiting unvisited references Informações: Listening to REST requests at context: /management/domain. Informações: Inicializando Mojarra 2.2.12 ( 20150720-0848 https://svn.java.net/svn/mojarra~svn/tags/2.2.12@14885) para o contexto '' Informações: Loading application [__admingui] at [/] Informações: Loading application __admingui done in 43.741 ms Advertência: Context path from ServletContext: differs from path from bundle: / Informações: Redirecting to /index.jsf Informações: Admin Console: Initializing Session Attributes... Advertência: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Advertência: Cannot create update center Image for C:\Program Files\glassfish-4.1.1; Update Center functionality will not be available in Admin Console Informações: Exception Occurred :null Advertência: 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(Thread.java:748) Fico no aguardo.