Netbeans 8.2 не будет развертывать Maven-WebApp на сервере Glassfi sh 5.0 - PullRequest
0 голосов
/ 01 мая 2020

Я использую Netbeans 8.2, Glassfi sh 5.0.0 (пробовал 4.1.2 также Tomcat) и Maven-Archetypes с использованием JavaEE 8 (пробовал 7 также). Однако Glassfi sh не запустит страницу приветствия после успешной компиляции. В то время как я «по крайней мере» получил бы просто ошибку 404 при более ранней попытке, полная перестройка моей IDE и jdk, похоже, привела к тому, что Сервер даже не развернулся должным образом.

(...)
Launching GlassFish on Felix platform
Mai 01, 2020 6:24:42 PM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFORMATION: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@29e17f66 in service registry.
#!## LogManagerService.postConstruct : rootFolder=C:\Program Files\glassfish5\glassfish
#!## LogManagerService.postConstruct : templateDir=C:\Program Files\glassfish5\glassfish\lib\templates
#!## LogManagerService.postConstruct : src=C:\Program Files\glassfish5\glassfish\lib\templates\logging.properties
#!## LogManagerService.postConstruct : dest=C:\Users\C-cak\Dom2\config\logging.properties
Information:   Running GlassFish Version: GlassFish Server Open Source Edition  5.0  (build 25)
Information:   Server log file is using Formatter class: com.sun.enterprise.server.logging.ODLLogFormatter
Information:   Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Information:   Realm [file] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.
Information:   Realm [certificate] of classtype [com.sun.enterprise.security.auth.realm.certificate.CertificateRealm] successfully created.
Information:   Authorization Service has successfully initialized.
Information:   Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for persistence-type = replicated in BackingStoreFactoryRegistry
Information:   Grizzly Framework 2.4.1 started in: 17ms - bound to [/0.0.0.0:37799]
Information:   Grizzly Framework 2.4.1 started in: 2ms - bound to [/0.0.0.0:37800]
Information:   Grizzly Framework 2.4.1 started in: 2ms - bound to [/0.0.0.0:37767]
Information:   Grizzly Framework 2.4.1 started in: 1ms - bound to [/0.0.0.0:37756]
Information:   GlassFish Server Open Source Edition  5.0  (25) startup time : Felix (1.510ms), startup services(568ms), total(2.078ms)
Information:   JTS5014: Recoverable JTS instance, serverId = [100]
Information:   Grizzly Framework 2.4.1 started in: 1ms - bound to [/0.0.0.0:45395]
Information:   Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishImpl@3eee3e2b as OSGi service registration: org.apache.felix.framework.ServiceRegistrationImpl@54aca26f.
Information:   JMXStartupService has started JMXConnector on JMXService URL service:jmx:rmi://DESKTOP-60ANS9L.fritz.box:37805/jndi/rmi://DESKTOP-60ANS9L.fritz.box:37805/jmxrmi
Information:   HV000001: Hibernate Validator 6.0.2.Final
Information:   Grizzly Framework 2.4.1 started in: 1ms - bound to [/0.0.0.0:37800]
Information:   Grizzly Framework 2.4.1 started in: 1ms - bound to [/0.0.0.0:37799]
Information:   Grizzly Framework 2.4.1 started in: 1ms - bound to [/0.0.0.0:37800]
Information:   Grizzly Framework 2.4.1 started in: 2ms - bound to [/0.0.0.0:37799]

Последние несколько строк консоли вывод после успешной сборки:

Deploying on GlassFish Server
    profile mode: false
    debug mode: false
    force redeploy: true
In-place deployment at C:\Users\C-cak\Desktop\WebLister\target\WebLister-1.0-SNAPSHOT
GlassFish Server, deploy, null, false
...