警告:跳过条目,因为它不是绝对URI。 GlassFish在NetBeans中的应用 [英] WARNING: Skipping entry because it is not an absolute URI. GlassFish in NetBeans

查看:593
本文介绍了警告:跳过条目,因为它不是绝对URI。 GlassFish在NetBeans中的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我成功安装了GlassFish。但是,当我启动服务器时,我收到了以下两条警告消息:

警告:跳过条目,因为它不是绝对URI。



这是什么?

 在Felix平台上启动GlassFish 
Aug 09,2014 10:38:38 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO:创建bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi。 BundleProvisioner。
2014年8月9日下午10时38分38秒com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner $ DefaultCustomizer getLocations
警告:跳过条目,因为它不是绝对URI。
2014年8月9日下午10时38分38秒com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner $ DefaultCustomizer getLocations
警告:跳过条目,因为它不是绝对URI。
在服务注册表中注册了com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@162cf6a。
注册表信息::总库:1,总模块= 293
...


解决方案

您可以放心地忽略此警告。 $ b

> com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner 。这部分GlassFish将从模块文件夹中安装/注册GlassFish模块。它循环遍历一系列URI,即模块的文件路径。



如果一个URI不是绝对的,即它是相对的或者它没有方案组件,那么这个类记录这个警告。在这种情况下,URI不是绝对的,因为GlassFish可能使用GlassFish根目录的相对路径。


I successfully installed GlassFish. However, when I start a server, I get this two warning messages:

WARNING: Skipping entry because it is not an absolute URI.

What is that about ?

Launching GlassFish on Felix platform
Aug 09, 2014 10:38:38 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Aug 09, 2014 10:38:38 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry  because it is not an absolute URI.
Aug 09, 2014 10:38:38 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
WARNING: Skipping entry  because it is not an absolute URI.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@162cf6a in service registry.
Registry Info:: Total repositories: 1, Total modules = 293
...

解决方案

You can safely ignore this warning.

It comes from com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner. This part of GlassFish installs/registers the GlassFish modules from the modules folder. It loops through a list of URIs, i.e. the file paths of the modules.

If an URI is not absolute, i.e. it is relative or it has no scheme component, then this class logs this warning. In this case the URIs are not absolute because GlassFish probably uses the paths relative from the GlassFish root.

这篇关于警告:跳过条目,因为它不是绝对URI。 GlassFish在NetBeans中的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆