在Netbeans中使用Glassfish 4.1.1运行我的Web应用程序时出现警告

时间:2018-05-23 22:09:35

标签: java netbeans glassfish

我尝试了很多我在这里或其他页面中找到的东西,但它不会为我工作......这是我在尝试运行我的网络应用时得到的警告(advertencias):

Launching GlassFish on Felix platform
may 23, 2018 7:04:28 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFORMACIÓN: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
may 23, 2018 7:04:28 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
ADVERTENCIA: Skipping entry  because it is not an absolute URI.
may 23, 2018 7:04:28 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
ADVERTENCIA: Skipping entry  because it is not an absolute URI.
may 23, 2018 7:04:28 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles
ADVERTENCIA: Can not start bundle file:/D:/Archivos%20de%20Programa/GlassFish_Server/glassfish/modules/core.jar because it is not contained in the list of installed bundles.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@a2572cb in service registry.
#!## LogManagerService.postConstruct : rootFolder=D:\Archivos de Programa\GlassFish_Server\glassfish
#!## LogManagerService.postConstruct : templateDir=D:\Archivos de Programa\GlassFish_Server\glassfish\lib\templates
#!## LogManagerService.postConstruct : src=D:\Archivos de Programa\GlassFish_Server\glassfish\lib\templates\logging.properties
#!## LogManagerService.postConstruct : dest=D:\Archivos de Programa\GlassFish_Server\glassfish\domains\domain1\config\logging.properties
Información:   Running GlassFish Version: GlassFish Server Open Source Edition  4.1.1  (build 1)
Información:   Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
Información:   Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Información:   Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Información:   Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Información:   Authorization Service has successfully initialized.
Información:   Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Información:   JTS5014: Recoverable JTS instance, serverId = [100]
Advertencia:   Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Información:   Grizzly Framework 2.3.23 started in: 20ms - bound to [/0.0.0.0:8080]
Advertencia:   Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Información:   Grizzly Framework 2.3.23 started in: 33ms - bound to [/0.0.0.0:8181]
Advertencia:   Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Información:   Grizzly Framework 2.3.23 started in: 8ms - bound to [/0.0.0.0:4848]
Información:   visiting unvisited references
Información:   Grizzly Framework 2.3.23 started in: 3ms - bound to [/0.0.0.0:3700]
Información:   Java security manager is disabled.
Información:   Entering Security Startup Service.
Información:   Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
Información:   Security Service(s) started successfully.
Información:   Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080
Información:   Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181
Información:   Created HTTP listener admin-listener on host/port 0.0.0.0:4848
Información:   Created virtual server server
Información:   Created virtual server __asadmin
Información:   Setting JAAS app name glassfish-web
Información:   Virtual server server loaded default web module 
Información:   visiting unvisited references
Información:   visiting unvisited references
Información:   Loading application [ProyectoTutorial] at [/ProyectoTuto]
Información:   Loading application ProyectoTutorial done in 1.962 ms
Información:   visiting unvisited references
Información:   visiting unvisited references
Información:   visiting unvisited references
Información:   Loading application [DLC_TPIntegrador2018] at [/DLC_TPIntegrador2018]
Información:   Loading application DLC_TPIntegrador2018 done in 174 ms
Información:   GlassFish Server Open Source Edition  4.1.1  (1) startup time : Felix (4.756ms), startup services(3.009ms), total(7.765ms)
Información:   Grizzly Framework 2.3.23 started in: 1ms - bound to [/0.0.0.0:7676]
Información:   JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://192.168.0.236:8686/jndi/rmi://192.168.0.236:8686/jmxrmi
Información:   Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@9255c05 as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@5bca7664.
Información:   HV000001: Hibernate Validator 5.1.2.Final
Advertencia:   Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Información:   Created HTTP listener http-listener-2 on host/port 0.0.0.0:8181
Información:   Grizzly Framework 2.3.23 started in: 5ms - bound to [/0.0.0.0:8181]
Advertencia:   Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn
Información:   Created HTTP listener http-listener-1 on host/port 0.0.0.0:8080
Información:   Grizzly Framework 2.3.23 started in: 4ms - bound to [/0.0.0.0:8080]

如果可能的话,请详细说明如何解决,我不确定我是否能够修复它,因为我做了#34;更正"是不是错了。

我和其他Uni伙伴一起做这个项目,有人告诉我们将一个.dll添加到javajdk的bin文件中...并且他还在根目录中添加了JDBC驱动程序的.jar。该项目。

提前感谢您的帮助!!

1 个答案:

答案 0 :(得分:0)

停止服务器。转到CMD提示窗口。输入netstat。显示正在使用的所有端口。然后键入“netstat -killall”以释放您的端口。然后运行服务器。