2017-11-03 22 views
1

StackOverflowの質問でこのエラー "java.BindException"が検出されましたが、GlassFishで使用されているポート8080を保持しているPIDをkillしようとしましたが、何も変更されませんでした。また、GlassFish 4.1.1とGlassFish 4.1を再インストールしようとしました。 何もありません!GlassFishが動作しません。エラー:java.BindException

私はあなたにサーバーログを提供します。私が勉強に必要なことを教えてください。 私はGlassFish for Servletを使っています。私に

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0 

Launching GlassFish on Felix platform 

nov 03, 2017 3:33:36 PMcom.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner 

INFORMAZIONI: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner. 

nov 03, 2017 3:33:37 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations 

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

nov 03, 2017 3:33:37 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner$DefaultCustomizer getLocations 

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

nov 03, 2017 3:33:40 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner startBundles 

AVVERTENZA: Can not start bundle file:/Users/raffaelegiuliano/GlassFish_Server/glassfish/modules/core.jar because it is not contained in the list of installed bundles. 

Registered com.sun.e[email protected]6619302 in service registry. 

#!## LogManagerService.postConstruct : rootFolder=/Users/raffaelegiuliano/GlassFish_Server/glassfish 
#!## LogManagerService.postConstruct : templateDir=/Users/raffaelegiuliano/GlassFish_Server/glassfish/lib/templates 
#!## LogManagerService.postConstruct : src=/Users/raffaelegiuliano/GlassFish_Server/glassfish/lib/templates/logging.properties 
#!## LogManagerService.postConstruct : dest=/Users/raffaelegiuliano/GlassFish_Server/glassfish/domains/domain1/config/logging.properties 

Informazioni: Running GlassFish Version: GlassFish Server Open Source Edition 4.1.1 (build 1) 
Informazioni: Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter 
Informazioni: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
Informazioni: Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created. 
Informazioni: Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created. 

Informazioni: Authorization Service has successfully initialized. 

Informazioni: HV000001: Hibernate Validator 5.1.2.Final 

Informazioni: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry 

Avvertenza: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-1, realClassName=org.glassfish.grizzly.http2.Http2AddOn 

Avvertenza: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=http-listener-2, realClassName=org.glassfish.grizzly.http2.Http2AddOn 

Avvertenza: Instance could not be initialized. Class=interface org.glassfish.grizzly.http.server.AddOn, name=admin-listener, realClassName=org.glassfish.grizzly.http2.Http2AddOn 

Informazioni: GlassFish Server Open Source Edition 4.1.1 (1) startup time : Felix (39.140ms), startup services(2.144ms), total(41.284ms) 

Grave: Shutting down server due to startup exception 

java.net.BindException: Address already in use 
    at sun.nio.ch.Net.bind0(Native Method) 
    at sun.nio.ch.Net.bind(Net.java:433) 
    at sun.nio.ch.Net.bind(Net.java:425) 
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) 
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) 
    at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bindToChannelAndAddress(TCPNIOBindingHandler.java:131) 
    at org.glassfish.grizzly.nio.transport.TCPNIOBindingHandler.bind(TCPNIOBindingHandler.java:88) 
    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:248) 
    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:237) 
    at org.glassfish.grizzly.nio.transport.TCPNIOTransport.bind(TCPNIOTransport.java:86) 
    at org.glassfish.grizzly.config.GenericGrizzlyListener.start(GenericGrizzlyListener.java:184) 
    at com.sun.enterprise.v3.services.impl.GlassfishNetworkListener.start(GlassfishNetworkListener.java:109) 
    at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start0(GrizzlyProxy.java:267) 
    at com.sun.enterprise.v3.services.impl.GrizzlyProxy.start(GrizzlyProxy.java:241) 
    at com.sun.enterprise.v3.services.impl.GrizzlyService.createNetworkProxy(GrizzlyService.java:567) 
    at com.sun.enterprise.v3.services.impl.GrizzlyService.postConstruct(GrizzlyService.java:490) 
    at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:326) 
    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:374) 
    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:471) 
    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:228) 
    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85) 
    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2072) 
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:114) 
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:88) 
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1213) 
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1144) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
    at java.lang.Thread.run(Thread.java:745) 

Informazioni: Server shutdown initiated 
Informazioni: Registered com.su[email protected]270d43a7 as OSGi service registration: [email protected] 
Informazioni: Unregistered com.su[email protected]270d43a7 from service registry. 
Informazioni: FileMonitoring shutdown 
Completed shutdown of Log manager service 
Informazioni: Shutdown procedure finished 
+0

antoherポートを使用しようとしています。https://stackoverflow.com/questions/18045897/how-to-run-glassfish-4-on-port-80-instead-of-8080-root-access-is-not-問題。たとえば、8081です。 –

+0

これは、ホスト名のエラーが原因である可能性もあります。https://stackoverflow.com/a/34225025/212224 – Mike

答えて

0

それはので、多分それはポート8080 「PSの補助を試しに聴いている実行中のTomcatインスタンスである、いくつかのプロセスがすでにポート8080を聴いているようにあなたがGlassFishの死亡したと述べ聞こえます| grep 8080 "を実行してプロセスの詳細を確認します。

関連する問題