2016-07-08 61 views
0

Wildfly 9サーバーは、もはや存在しないリンクにアクセスしているため、起動しません。Wildfly 9にインストールされているアプリを削除する方法

私はリンクを最新の作業リンクを指すように修正しました。

私の問題は...私のwildflyサーバーが起動せず、WARファイルを置き換える方法がわかりません。

インストールされているアプリケーションIyotBihagayを削除して、Wildflyサーバーが起動し、修正されたwsdlリンクで再デプロイできるようにしました。

/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 

私は私のwildfly構成またはスタンドアロンとしてインストールされていると思います。

+0

スタンドアロンモードで実行している場合、おそらくstandalone.xmlファイルの最後にあるデプロイメントのリストから削除することができます。 – assylias

+1

おかげで、standalone-full.xmlのデプロイメントノードでデプロイメント[IyotBihagay]を削除することができました。もう一度ありがとう。 –

答えて

0

あなたの問題を解決したようですが、これをやりたいことがあるかもしれません。

WildFly 9+ CLIにはoffline CLI modeがあります。これを使用して、デプロイメントをアンデプロイすることができます。

$JBOSS_HOME/bin/jboss-cli.sh 

例CLIは、あなただけのスタンドアロンサーバーを使用することができますWildFly 9で

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

を指令します。 WildFly 10では、embed-host-controllerコマンドを使用する管理対象ドメインでも同じことができます。

+0

メモ:OPで実際に動作しない可能性がありますが、ロギングは実際にWildfly 8.2.0を実行しているようです。 – Gimby

+0

良い点。被験者はWildFly 9と言っていましたが、私は最後のログメッセージを十分に見ていませんでした。 –

関連する問題