2016-07-08 8 views
0

Mein Wildfly 9-Server startet nicht, weil er auf einen Link zugreift, der nicht mehr existiert.So entfernen Sie die installierte App in Wildfly 9

Ich reparierte den Link, um auf den neuesten funktionierenden Link zu zeigen.

Mein Problem ist ... mein Wildfly-Server startet nicht und ich weiß nicht, wie ich die WAR-Datei ersetzen soll.

Ich wollte die installierte Anwendung IyotBihagay entfernen, so dass mein Wildfly-Server startet und ich kann erneut mit der korrigierten WSDL-Link erneut bereitstellen.

/var/log/wildfly/console.log

Caused by: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException. 

java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl 
java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl?wsdl 

    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:275) 
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:246) 
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:209) 
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:178) 
    at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:363) 
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:321) 
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:230) 
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:211) 
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:207) 
    at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:114) 
    at javax.xml.ws.Service.<init>(Service.java:57) [rt.jar:1.8.0_91] 
    at com.amadeus.xml.AmadeusWebServices.<init>(AmadeusWebServices.java:47) 
    at com.iyotbihagay.service.SaksakBilatServiceImpl.<init>(SaksakBilatServiceImpl.java:77) 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_91] 
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_91] 
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_91] 
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [rt.jar:1.8.0_91] 
    at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) 
    ... 24 more 

[0m[31m23:15:46,927 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("deployment" => "IyotBihagay.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./IyotBihagay" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./IyotBihagay: Failed to start service 
    Caused by: java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saksakBilatServiceImpl' defined in \"/content/IyotBihagay.war/WEB-INF/classes/com/iyotbihagay/service/SaksakBilatServiceImpl.class\": Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.iyotbihagay.service.SaksakBilatServiceImpl]: Constructor threw exception; nested exception is com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException. 

java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl 
java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl?wsdl 

    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'saksakBilatServiceImpl' defined in \"/content/IyotBihagay.war/WEB-INF/classes/com/iyotbihagay/service/SaksakBilatServiceImpl.class\": Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.iyotbihagay.service.SaksakBilatServiceImpl]: Constructor threw exception; nested exception is com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException. 

java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl 
java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl?wsdl 

    Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.iyotbihagay.service.SaksakBilatServiceImpl]: Constructor threw exception; nested exception is com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException. 

java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl 
java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl?wsdl 

    Caused by: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException. 

java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl 
java.io.FileNotFoundException: http://iyotbihagay.com/wsdl/saksak_bilat_consume.wsdl?wsdl 
"}} 
[0m[0m23:15:46,972 INFO [org.jboss.as.server] (Controller Boot Thread) JBAS018559: Deployed "IyotBihagay.war" (runtime-name : "IyotBihagay.war") 
[0m[0m23:15:46,973 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report 
JBAS014777: Services which failed to start:  service jboss.undertow.deployment.default-server.default-host./IyotBihagay: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./IyotBihagay: Failed to start service 

[0m[0m23:15:47,143 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://0.0.0.0:9990/management 
[0m[0m23:15:47,143 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://0.0.0.0:9990 
[0m[31m23:15:47,144 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.0.Final "Tweek" started (with errors) in 15362ms - Started 782 of 839 services (2 services failed or missing dependencies, 103 services are lazy, passive or on-demand) 
[0m 

Ich glaube, mein Wildfly oder als Stand-alone-Installation konfiguriert ist.

+0

Wenn Sie im Standalone-Modus arbeiten, können Sie ihn wahrscheinlich einfach aus der Liste der Bereitstellungen am Ende der Datei standalone.xml entfernen. – assylias

+1

Danke, das Entfernen der Bereitstellung [IyotBihagay] in den Bereitstellungsknoten von standalone-full.xml hat den Trick gemacht. Danke nochmal, Alter. –

Antwort

0

Es sieht so aus, als ob Sie Ihr Problem gelöst haben, aber für andere, die dies tun möchten.

In WildFly 9+ CLI hat eine offline CLI mode. Sie sollten dies verwenden können, um die Bereitstellung zu deimplementieren.

$JBOSS_HOME/bin/jboss-cli.sh 

Beispiel CLI-Befehle

embed-server 
undeploy IyotBihagay.war 
stop-embedded-server 

In Wildfly 9 Sie nur einen Standalone-Server verwenden können. In WildFly 10 würde das Gleiche auch für eine verwaltete Domäne mit dem Befehl embed-host-controller funktionieren.

+0

Nur um zu bemerken: es funktioniert möglicherweise nicht wirklich für das OP, die Protokollierung scheint anzuzeigen, dass er tatsächlich Wildfly 8.2.0 ausführt. – Gimby

+0

Guter Punkt. Das Thema sagte, WildFly 9 und ich habe die endgültige Log-Nachricht nicht genau genug angesehen. –

Verwandte Themen