[wildfly-dev] Deploying app on managed domain

Alexey Loubyansky alexey.loubyansky at redhat.com
Mon Jan 13 09:30:44 EST 2014


On 01/11/2014 10:54 AM, Arun Gupta wrote:
> I started bin/standalone.sh, deployed a WAR file (name is
> http-1.0-SNAPSHOT.war) with just one index.jsp. Accessing
> localhost:8080/http shows the expected results. Tried the same with
> bin/domain.sh but now localhost:8080/http is giving a 404.

How exactly did you deploy it?

> What are the port number of the servers started in this managed domain
> ? Is Ports +0 and +150 in admin console trying to display that
> information ? If yes, then that is not very intuitive and the exact
> value of the port should be displayed. If not, what are these values ?
> Should this app be accessible on localhost:8080 ?
>
> Tried enabling the app from admin console and got the error:
> Failed to enable http-1.0-SNAPSHOT.war.
>
> Unexpected HTTP response: 500
>
> Request
> {
>      "address" => [("deployment" => "http-1.0-SNAPSHOT.war")],
>      "operation" => "deploy"
> }
>
> Response
>
> Internal Server Error
> {
>      "outcome" => "failed",
>      "failure-description" => "JBAS014884: No operation named 'deploy'
> exists at address [(\"deployment\" => \"http-1.0-SNAPSHOT.war\")]",
>      "rolled-back" => true
> }
>
> Is this the correct way to deploy the app on managed domain ?

No, it has to be deployed on server groups.


Alexey

>
> Arun
>


More information about the wildfly-dev mailing list