Payara / GlashFish não inicia no NetBeans

Estou executando o Mac OS. Eu configurei o servidor Payara com o NetBeans. E quando eu tento executar o servidor, ele nunca mostra o ‘ponto’ verde que indica seu status online, em vez disso, ele mostra o ponto de ‘carregamento’ para sempre.

No entanto, posso acessá-lo em http: // localhost: 4848 , mas quando tento implantar um aplicativo no servidor, recebo este erro:

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) 

E o log completo do servidor

 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.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@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.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@7bca6fac as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@129fed45. 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 

Existe algum mecanismo de segurança que impeça isso no Mac OS?

Parece que o NetBeans não pode se conectar ao servidor Payara iniciado. Talvez seu problema seja semelhante a este com o Netbeans e o Tomcat em um Mac após algumas atualizações do sistema: https://discussions.apple.com/thread/7680039?start=0&tstart=0

Aqui está uma citação dessa página:

Etapa 1: Vá para Preferência do sistema> Rede> Selecione sua conexão Wi-Fi> Avançado> selecione a guia Proxies.

Lá, marque 3 opções 1) Descoberta automática de proxy 2) Configuração automática de proxy 3) proxy web (http)

Etapa 2: vá para NetBeans> Preferências> Geral> selecione Usar proxy do sistema> Atualizar> conexão de teste

Eu encontrei uma solução alternativa para mim:
Vá para NetBeans-> Preference-> escolheu No Proxy. Teste a conexão. deve sucesso, pressione Ok. Em seguida, limpe e execute o aplicativo.

Não há necessidade de alterar qualquer configuração de rede no mac.