2016-11-28 9 views
2

Mac OSを使用しています。 NetBeansでPayaraサーバーをセットアップしました。サーバーを稼働させようとすると、オンラインステータスを示す緑のドットが決して表示されず、「ロード」のドットが永久に表示されます。NetBeansでPayara/GlashFishが起動しない

しかし、私はhttp://localhost:4848にアクセスすることができますが、私はこのエラーを取得し、サーバーにアプリケーションを展開しようとすると:

GlassFish Server is running. 
Starting GlassFish Server 
Initial deploying slit-ee to /Users/christian/slit/slit-ee/dist/gfdeploy/slit-ee 
Completed initial distribution of slit-ee 
GlassFish Server, deploy, null, false 
/Users/christian/slit/slit-ee/nbproject/build-impl.xml:307: The module has not been deployed. 
See the server log for details. 
BUILD FAILED (total time: 22 seconds) 

とフルサーバーのログ

objc[1865]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/java (0x105e334c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x105efb4e0). One of the two will be used. Which one is undefined. 
Launching GlassFish on Felix platform 
nov 28, 2016 2:14:21 AM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner 
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner. 
Registered com.sun.e[email protected]18808234 in service registry. 
#!## LogManagerService.postConstruct : rootFolder=/Users/christian/opt/payara41/glassfish 
#!## LogManagerService.postConstruct : templateDir=/Users/christian/opt/payara41/glassfish/lib/templates 
#!## LogManagerService.postConstruct : src=/Users/christian/opt/payara41/glassfish/lib/templates/logging.properties 
#!## LogManagerService.postConstruct : dest=/Users/christian/opt/payara41/glassfish/domains/payaradomain/config/logging.properties 
Info: Running Payara Version: Payara Server 4.1.1.164 #badassfish (build 28) 
Info: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter 
Info: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry 
Info: Authorization Service has successfully initialized. 
Info: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
Info: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
Info: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. 
Info: Registered fish.payara.ha.hazelcast.store.HazelcastBackingStoreFactoryProxy for persistence-type = hazelcast in BackingStoreFactoryRegistry 
Info: Registered Hazelcast BackingStoreFactory with persistence-type = hazelcast 
Info: Grizzly Framework 2.3.28 started in: 47ms - bound to [/0.0.0.0:8080] 
Info: Grizzly Framework 2.3.28 started in: 1ms - bound to [/0.0.0.0:8181] 
Info: Grizzly Framework 2.3.28 started in: 2ms - bound to [/0.0.0.0:4848] 
Info: Grizzly Framework 2.3.28 started in: 1ms - bound to [/0.0.0.0:3700] 
Info: Payara Server 4.1.1.164 #badassfish (28) startup time : Felix (33 542ms), startup services(5 715ms), total(39 257ms) 
Info: Payara Notification Service Started with configuration: NotificationExecutionOptions{enabled=true, notifierConfigurationExecutionOptionsList={LOG=NotifierConfigurationExecutionOptions{notifierType=LOG, enabled=true}}} 
Info: Cleaning JarFileFactory Cache to prevent jar FD leaks 
Info: HV000001: Hibernate Validator 5.1.2.Final 
Info: Grizzly Framework 2.3.28 started in: 1ms - bound to [/0.0.0.0:7676] 
Info: Registered com.su[email protected]7bca6fac as OSGi service registration: [email protected] 
Info: /Users/christian/opt/payara41/glassfish/domains/payaradomain/autodeploy/bundles does not exist, please create it. 
Info: JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://192.168.0.183:8686/jndi/rmi://192.168.0.183:8686/jmxrmi 

がありますMac OSでこれを防ぐセキュリティメカニズム?

+0

これはNetBeansの設定でエラーが発生する可能性があると思います。私はあなたのログからあなたが 'payaradomain'を使っているのを見ることができます。 PayabyがNetbeansでそのドメインを開始するように設定されていることを確認できますか? Payaraが配布するファイルを受け取ったと言うログメッセージはありません。これは標準的な起動メッセージです。 – Mike

+0

両方ともテストしました..同じ結果を返します。 –

+0

'build-impl.xml'ファイルの307行目をチェックしてください。それはNetBeansで失敗しています。 – Mike

答えて

5

Netbeansが起動したPayara Serverに接続できないようです。たぶん、あなたの問題は、いくつかのシステムアップデート後のMac上でNetBeansとTomcatでこの1のようになります。ここではhttps://discussions.apple.com/thread/7680039?start=0&tstart=0

は、そのページからの引用です:

Step 1: Go to system preference >Network>Select your wifi connection>Advanced>select proxies tab.

There check 3 options 1) Auto proxy Discovery 2)Automatic Proxy configuration 3) web proxy(http)

Step 2: Go to Netbeans>preferences>General> select use system proxy> reload> test connection

+1

WOW、これを前に試してみましたが、うまくいきませんでした。私はそれをもう一度試してみることにしました。そして私は突然働きました。うーん、今日のヒーロー! –

+0

ありがとうございます。私はMacを持っていません。本当のヒーローは、apple.comに答えを投稿した人です。 – OndrejM

1

私は私のための代替解決策を見つけた:
Netbeans-> Preference-> No Proxyを選択します。 接続をテストします。成功する必要があります。その後、アプリケーションをクリーニングして実行します。

macのネットワーク設定を変更する必要はありません。

+0

この問題に関する別の答えをありがとう。私はそれを試しません..私は今のために働いているので:-) –

関連する問題