简体   繁体   English

GlassFish 服务器 core.jar 未包含在已安装包的列表中

[英]GlassFish server core.jar is not contained in the list of the installed bundles

Launching GlassFish on Felix platform gru 05, 2016 2:02:02 PM在 Felix 平台 gru 上启动 GlassFish 2016 年 5 月 2 日下午 2:02:02

com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
gru 05, 2016 2:02:02 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
**WARNING: Skipping entry  because it is not an absolute URI.**
gru 05, 2016 2:02:02 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations
**WARNING: Skipping entry  because it is not an absolute URI.**
gru 05, 2016 2:02:11 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles

**WARNING: Can not start bundle file:/C:/Users/MyName/Desktop/Servers/glassfish4/glassfish/modules/core.jar because it is not contained in the list of installed bundles.**
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@294d3883 in service registry.

I can't run my project.我无法运行我的项目。 What already I did: - clear&build - tryed to change ports from 8080 to 9090 - closed connections in TCPView on localports - closed Java Binary process in task menager and still not working.我已经做了什么: - clear&build - 尝试将端口从 8080 更改为 9090 - 在本地端口上的 TCPView 中关闭连接 - 在任务管理器中关闭 Java 二进制进程,但仍然无法正常工作。

When i running project i got this:当我运行项目时,我得到了这个:

C:\Users\MyName\Desktop\Java Web Profile\MyProject\nbproject\build-impl.xml:1048: The module has not been deployed.
See the server log for details.
1047-1049 lines from build-impl.xml:

<target if="netbeans.home" name="-run-deploy-nb">
        <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
    </target>

Any ideas?有什么想法吗? :) :)

I found this solution/cause on another site, didn't resolve the issue for me but hopefully it can help you:我在另一个网站上找到了这个解决方案/原因,没有为我解决这个问题,但希望它可以帮助你:

Reasons: In mac OS Sierra ,the new update blocks the sites which uses system proxy settings, where localhost,127.0.0.1 all connections are blocked.原因:在 mac OS Sierra 中,新更新会阻止使用系统代理设置的站点,其中 localhost,127.0.0.1 所有连接都被阻止。

Solution: Step 1: Go to system preference >Network>Select your wifi connection>Advanced>select proxies tab.解决方案:第 1 步:转到系统偏好设置 > 网络 > 选择您的 wifi 连接 > 高级 > 选择代理选项卡。 There check 3 options 1) Auto proxy Discovery 2)Automatic Proxy configuration 3) web proxy(http)有检查 3 个选项 1) 自动代理发现 2) 自动代理配置 3) 网络代理 (http)

Step 2: Go to Netbeans>preferences>General> select use system proxy> reload> test connection You may get connection successful.第 2 步:转到 Netbeans>首选项>常规>选择使用系统代理>重新加载>测试连接您可能会连接成功。

If connection gets successful, Now Clean & build your Applications in netbeans and press run .如果连接成功,现在清理并在 netbeans 中构建您的应用程序,然后按 run 。 Hope it will work .希望它会起作用。 In my case it works.就我而言,它有效。

https://discussions.apple.com/message/30715103#message30715103 https://netbeans.org/bugzilla/show_bug.cgi?id=268076 https://discussions.apple.com/message/30715103#message30715103 https://netbeans.org/bugzilla/show_bug.cgi?id=268076

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM