Server Start nach Installation nicht möglich?


Startseite Foren Installation Server Start nach Installation nicht möglich?

Verschlagwortet: , ,

11 Beiträge anzeigen - 1 bis 11 (von insgesamt 11)
  • Autor
    Beiträge
  • #3748
    Porfavor
    Teilnehmer

    Hallo,

    jetzt habe ich mich doch einmal angemeldet, weil ich bei der Installation auf einem Windows Server nicht weiterkomme.

    Ich habe den Installer samt mysql durchlaufen und inbound port 8080 auf dem Server freigegeben. Außerdem habe ich die Zeilen aus der Anleitung angepasst (übrigens müsste die einmal aktualisiert werden, da weder die Einträge noch der Pfad so stimmen). Ich kann mich vom Client aber nicht einloggen. Wenn ich den Server starten will (start-server.bat), ergibt sich folgendes:

    
    C:\Program Files\j-lawyer-server>set JAVA_HOME=C:\Program Files\j-lawyer-server\jre
    
    C:\Program Files\j-lawyer-server>cd wildfly/bin
    
    C:\Program Files\j-lawyer-server\wildfly\bin>standalone -c standalone.xml -b 0.0.0.0
    Calling "C:\Program Files\j-lawyer-server\wildfly\bin\standalone.conf.bat"
    Setting JAVA property to "C:\Program Files\j-lawyer-server\jre\bin\java"
    ===============================================================================
    
      JBoss Bootstrap Environment
    
      JBOSS_HOME: "C:\Program Files\j-lawyer-server\wildfly"
    
      JAVA: "C:\Program Files\j-lawyer-server\jre\bin\java"
    
      JAVA_OPTS: "-Dprogram.name=standalone.bat -Xms256M -Xmx1024M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=384m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman "
    
    ===============================================================================
    
    23:25:43,970 INFO  [org.jboss.modules] (main) JBoss Modules version 1.9.0.Final
    23:25:44,408 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.5.Final
    23:25:44,423 INFO  [org.jboss.threads] (main) JBoss Threads version 2.3.3.Final
    23:25:44,595 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) starting
    23:25:45,830 INFO  [org.wildfly.security] (ServerService Thread Pool -- 27) ELY00001: WildFly Elytron version 1.8.0.Final
    23:25:46,611 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
    23:25:46,658 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 4) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
    23:25:46,689 WARN  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 20) WFLYMSGAMQ0101: Invalid value xa for transaction, legal values are [local, none, xa], default value is applied.
    23:25:46,736 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
    23:25:46,751 INFO  [org.xnio] (MSC service thread 1-3) XNIO version 3.6.5.Final
    23:25:46,814 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.6.5.Final
    23:25:46,892 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 42) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)
    23:25:46,908 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 42) WFLYJCA0005: Deploying non-JDBC-compliant driver class com.mysql.cj.jdbc.Driver (version 8.0)
    23:25:47,017 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 49) WFLYCLINF0001: Activating Infinispan subsystem.
    23:25:47,017 INFO  [org.jboss.as.connector] (MSC service thread 1-1) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.12.Final)
    23:25:47,017 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 51) WFLYRS0016: RESTEasy version 3.6.3.Final
    23:25:47,220 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2
    23:25:47,189 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0003: Undertow 2.0.19.Final starting
    23:25:47,158 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 72) WFLYWS0002: Activating WebServices Extension
    23:25:47,158 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 68) WFLYSEC0002: Activating Security Subsystem
    23:25:47,158 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 70) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.
    23:25:47,142 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 62) WFLYNAM0001: Activating Naming Subsystem
    23:25:47,142 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
    23:25:47,689 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) WFLYJCA0010: Unbound data source [java:/jlawyerdb]
    23:25:47,142 INFO  [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 61) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem
    23:25:47,126 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 59) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem
    23:25:47,048 INFO  [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 60) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem
    23:25:47,517 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
    23:25:47,439 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = mysql
    23:25:47,376 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 71) WFLYUT0014: Creating file handler for path 'C:\Program Files\j-lawyer-server\wildfly/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
    23:25:47,251 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 56) WFLYJSF0007: Activated the following JSF Implementations: [main]
    23:25:47,845 INFO  [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current PicketBox version=5.0.3.Final
    23:25:47,892 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
    23:25:47,908 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
    23:25:48,095 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 50) WFLYIO001: Worker 'default' has auto-configured to 6 core threads with 48 task threads based on your 3 available processors
    23:25:48,111 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 12 (per class), which is derived from the number of CPUs on this host.
    23:25:48,111 INFO  [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 48 (per class), which is derived from thread worker pool sizing.
    23:25:48,173 INFO  [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none
    23:25:48,189 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.
    23:25:48,221 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 5.0.8.Final
    23:25:48,251 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
    23:25:48,251 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service org.wildfly.undertow.listener.default: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.default: Address already in use: bind /132.168.1.222:8080
            at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:209)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
            at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
            at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
            at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
            at java.lang.Thread.run(Thread.java:748)
    
    23:25:48,298 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) WFLYDS0013: Started FileSystemDeploymentService for directory C:\Program Files\j-lawyer-server\wildfly\standalone\deployments
    23:25:48,298 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-6) WFLYDM0111: Keystore C:\Program Files\j-lawyer-server\wildfly\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
    23:25:48,408 INFO  [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0493: EJB subsystem suspension complete
    23:25:48,517 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service org.wildfly.management.http.extensible: org.jboss.msc.service.StartException in service org.wildfly.management.http.extensible: java.net.BindException: Address already in use: bind /132.168.1.222:9990
            at org.jboss.as.server.mgmt.UndertowHttpManagementService.start(UndertowHttpManagementService.java:349)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
            at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
            at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
            at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
            at java.lang.Thread.run(Thread.java:748)
    
    23:25:48,533 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service org.wildfly.undertow.listener.https: org.jboss.msc.service.StartException in service org.wildfly.undertow.listener.https: Address already in use: bind /132.168.1.222:8443
            at org.wildfly.extension.undertow.ListenerService.start(ListenerService.java:209)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
            at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
            at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
            at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
            at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
            at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
            at java.lang.Thread.run(Thread.java:748)
    
    23:25:48,580 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
    23:25:48,580 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) WFLYJCA0001: Bound data source [java:/jlawyerdb]
    23:25:48,595 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
        ("core-service" => "management"),
        ("management-interface" => "http-interface")
    ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.management.http.extensible" => "java.net.BindException: Address already in use: bind /132.168.1.222:9990"}}
    23:25:48,595 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
        ("subsystem" => "undertow"),
        ("server" => "default-server"),
        ("http-listener" => "default")
    ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.undertow.listener.default" => "Address already in use: bind /132.168.1.222:8080"}}
    23:25:48,595 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
        ("subsystem" => "undertow"),
        ("server" => "default-server"),
        ("https-listener" => "https")
    ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.undertow.listener.https" => "Address already in use: bind /132.168.1.222:8443"}}
    23:25:48,595 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
        ("subsystem" => "messaging-activemq"),
        ("server" => "default")
    ]) - failure description: {
        "WFLYCTL0412: Required services that are not installed:" => ["jboss.http-upgrade-registry.default"],
        "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.messaging-activemq.default is missing [jboss.http-upgrade-registry.default]"]
    }
    23:25:48,611 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
        ("core-service" => "management"),
        ("management-interface" => "http-interface")
    ]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.management.http.extensible" => "java.net.BindException: Address already in use: bind /132.168.1.222:9990"}}
    23:25:48,626 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default]
    23:25:48,642 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
    23:25:48,658 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:/jlawyerdb]
    23:25:48,689 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0019: Host default-host stopping
    23:25:48,689 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0019: Stopped Driver service with driver-name = mysql
    23:25:48,689 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = h2
    23:25:48,689 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0004: Undertow 2.0.19.Final stopping
    23:25:48,720 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
    23:25:48,751 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: WildFly Full 16.0.0.Final (WildFly Core 8.0.0.Final) stopped in 14ms
    Press any key to continue . . .

    http://server:8080 kann erreicht werden („Welcome to WildFly“).

    Wo könnte hier der Fehler liegen? Wie muss man „Address already in use: bind /132.168.1.222:9990“ verstehen? Läuft der Server schon (und warum ist dann ein Login nicht möglich?) oder wird der Port von etwas anderem genutzt?

    #3749
    j-lawyer.org
    Administrator

    Welche Einträge oder Pfade passen denn nicht in der Anleitung?

    #3750
    j-lawyer.org
    Administrator

    Alle Ports die der Server benötigt sind schon belegt. Wahrscheinlich wurde die Variante mit Dienst installiert und der Dienst läuft schon.

    Bitte mal den Dienst neu starten und nach 3min das Server.log per Mail schicken an die Adresse im Impressum.

    https://www.j-lawyer.org/?topic=wo-findet-man-die-fehlerprotokolle-des-j-lawyer-org-servers-und-clients

    • Diese Antwort wurde vor vor 3 Jahren, 9 Monaten von j-lawyer.org bearbeitet.
    #3752
    Porfavor
    Teilnehmer

    Hallo,

    vielen Dank für die Antwort. Da taucht allerdings schon das erste Problem auf. Der Dienst lässt sich nicht stoppen:

    „Windows could not stop the jlawyer.org-Server service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion.“

    Der Dienst hängt jetzt am Status „stopping“.

    Woran könnte das liegen?

    #3753
    j-lawyer.org
    Administrator

    Windows Task Manager öffnen und dort den Prozess „java.exe“ per Rechtsklick beenden. Dann die Diensteansicht aktualisieren, und der Dienst sollte gestoppt sein.

    Grüße,
    Jens
    (j-lawyer.org)

    #3755
    Porfavor
    Teilnehmer

    Ich habe die Datei per E-Mail gesendet.

    Folgende Zeile in der standalone-full.xml muss ja nicht angepasst werden, oder (steht nicht in der Anleitung), also nur

    <interfaces>
            <interface name="management">
                <inet-address value="meineIP"/>
            </interface>
            <interface name="public">
                <inet-address value="meineIP"/>
            </interface>
            <interface name="unsecure">
                <inet-address value="meineIP"/>
            </interface>
        </interfaces>

    ?

    #3756
    j-lawyer.org
    Administrator

    Die Konfiguration / der oben angegebene Abschnitt muss nicht angepasst werden.

    Danke für die server.log. Sie ist in der Tat voller Fehler – nach wie vor schaut es so aus als würde bereits ein Server laufen, oder es gibt eine andere Software, die die gleichen Netzwerkports belegt.

    Außerdem ist die MySQL-Datenbank zwar erreichbar, hat aber keine j-lawyer-Datenbank.

    Aus Effizienzgründen wäre hier eine Fernwartung das Mittel der Wahl.

    Beste Grüße,
    Jens
    (j-lawyer.org)

    #3758
    Porfavor
    Teilnehmer

    Da es sich um ein Produktivsystem und keine reine Testumgebung handelt, stellt sich erst einmal die Frage, wie das ablaufen würde. Des Weiteren möchte ich eigentlich auch nicht für etwas zahlen (ich nehme einmal an, dass das kostenpflichtig wäre), was ich ja gerade erst ausprobieren möchte.

    Kann man hier weitere Informationen bekommen?

    Gegebenenfalls muss ich eine neue VM aufsetzen und es dort probieren. Aus Ressourcengründen ist das jedoch auch nicht das Mittel der Wahl.

    #3759
    j-lawyer.org
    Administrator

    Ich supporte via AnyDesk: https://www.j-dimension.com/fernwartung/

    Das kann entweder direkt auf dem jeweiligen Gerät installiert werden, oder auf einem beliebigen anderen, von dem aus wir uns dann per RDP o.ä. auf die Zielumgebung einwählen.

    Kann man hier weitere Informationen bekommen?

    Wenn damit gemeint ist, ob das Thema per Forum weiterbehandelt werden kann: eher nicht. Das wäre eine Menge hin- und her um die Ursache zu ermitteln, die mich unterm Strich mehr Zeit kostet als es direkt zu anzuschauen und zu lösen.

    #3761
    Porfavor
    Teilnehmer

    Nein, ich meinte eher, was dann dann ggf. kosten würde. Und klar: Ich verstehe natürlich, wenn es hier nicht weitergehen kann.

    RDP möchte ich eigentlich nicht, da ich keine externen Ports freigeben und einen User mit sehr spezifischen Rechten einrichten möchte, wenn es nicht sein muss, von daher eher AnyDesk.

    #3762
    j-lawyer.org
    Administrator

    Ich habe mich per E-Mail gemeldet.

11 Beiträge anzeigen - 1 bis 11 (von insgesamt 11)
  • Du musst angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.