Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
243 views
in Technique[技术] by (71.8m points)

java - glassfish server status error: Context path from ServletContext: differs from path from bundle: /|#]

i tried to start glassfish from Netbeans, after I insert user and password, but a message error pop up from netbeans:

Authorization failed while checking glassfish server status. Please provide valid administration credential

I'am sure, and I have checked many times, that my credential are right. I think that this trouble is related to last line of the following server log output; in the last line there is written:

Context path from ServletContext: differs from path from bundle: /|#]

Here the entire output log by glassfish:

> 
> Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=192m;
> support was removed in 8.0 Launching GlassFish on Felix platform
> INFORMAZIONI: Create bundle provisioner class = class
> com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
> AVVERTENZA: Skipping entry  because it is not an absolute URI.
> AVVERTENZA: Skipping entry  because it is not an absolute URI.
> Registered
> com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@e9ac86
> in service registry.
> #!## LogManagerService.postConstruct : rootFolder=C:UserspaoloDownloadsjava_ee_sdk-8u1glassfish5glassfish
> #!## LogManagerService.postConstruct : templateDir=C:UserspaoloDownloadsjava_ee_sdk-8u1glassfish5glassfishlibemplates
> #!## LogManagerService.postConstruct : src=C:UserspaoloDownloadsjava_ee_sdk-8u1glassfish5glassfishlibemplateslogging.properties
> #!## LogManagerService.postConstruct : dest=C:UserspaoloDownloadsjava_ee_sdk-8u1glassfish5glassfishdomainsdomain1configlogging.properties
> Running GlassFish Version: GlassFish Server Open Source Edition  5.0.1
> (build 5)|#]   Server log file is using Formatter class:
> com.sun.enterprise.server.logging.ODLLogFormatter|#]   Realm
> [admin-realm] of classtype
> [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully
> created.|#]   Realm [file] of classtype
> [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully
> created.|#]   Realm [certificate] of classtype
> [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm]
> successfully created.|#]   Registered
> org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
> persistence-type = replicated in BackingStoreFactoryRegistry|#]  
> Authorization Service has successfully initialized.|#]   Grizzly
> Framework 2.4.3 started in: 61ms - bound to [/0.0.0.0:8080]|#]  
> Grizzly Framework 2.4.3 started in: 2ms - bound to [/0.0.0.0:8181]|#] 
> Grizzly Framework 2.4.3 started in: 3ms - bound to [/0.0.0.0:4848]|#] 
> Grizzly Framework 2.4.3 started in: 3ms - bound to [/0.0.0.0:3700]|#] 
> GlassFish Server Open Source Edition  5.0.1  (5) startup time : Felix
> (7.780ms), startup services(1.268ms), total(9.048ms)|#]   JTS5014:
> Recoverable JTS instance, serverId = [100]|#]   Grizzly Framework
> 2.4.3 started in: 2ms - bound to [/0.0.0.0:7676]|#]   Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@160bcdf
> as OSGi service registration:
> org.apache.felix.framework.ServiceRegistrationImpl@1558294.|#]  
> JMXStartupService has started JMXConnector on JMXService URL
> service:jmx:rmi://DESKTOP-9JQG083:8686/jndi/rmi://DESKTOP-9JQG083:8686/jmxrmi|#]
> Skipping registration of inhabitant for service reference
> [org.osgi.service.cm.ManagedService] as the service object could not
> be obtained.|#]   Skipping registration of inhabitant for service
> reference [org.osgi.service.metatype.MetaTypeProvider] as the service
> object could not be obtained.|#]   HV000001: Hibernate Validator
> 6.0.10.Final|#]   Grizzly Framework 2.4.3 started in: 3ms - bound to [/0.0.0.0:8080]|#]   Grizzly Framework 2.4.3 started in: 3ms - bound
> to [/0.0.0.0:8181]|#]   visiting unvisited references|#]   Created
> HTTP listener http-listener-1 on host/port 0.0.0.0:8080|#]   Created
> HTTP listener http-listener-2 on host/port 0.0.0.0:8181|#]   Created
> HTTP listener admin-listener on host/port 0.0.0.0:4848|#]   Created
> virtual server server|#]   Created virtual server __asadmin|#]  
> Setting JAAS app name glassfish-web|#]   Virtual server server loaded
> default web module |#]   Java security manager is disabled.|#]  
> Entering Security Startup Service.|#]   Loading policy provider
> com.sun.enterprise.security.provider.PolicyWrapper.|#]   Security
> Service(s) started successfully.|#]   visiting unvisited references|#]
> visiting unvisited references|#]   visiting unvisited references|#]  
> Listening to REST requests at context: /management/domain.|#]  
> Initializing Mojarra 2.3.2 ( 20170627-2139
> e63598abf2ed2bb1a24674f308a734e0dce18a72) for context ''|#]   Loading
> application [__admingui] at [/]|#]   Loading application __admingui
> done in 7.938 ms|#]   Context path from ServletContext:  differs from
> path from bundle: /|#]

Any hint?

question from:https://stackoverflow.com/questions/65647333/glassfish-server-status-error-context-path-from-servletcontext-differs-from-pa

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...