[jboss-as7-dev] EAR Deployed, but doesn't work

Andrig Miller anmiller at redhat.com
Tue Mar 22 16:37:39 EDT 2011



----- Original Message -----
> From: "Jason T. Greene" <jason.greene at redhat.com>
> To: "Andrig Miller" <anmiller at redhat.com>
> Cc: jboss-as7-dev at lists.jboss.org
> Sent: Tuesday, March 22, 2011 2:32:20 PM
> Subject: Re: [jboss-as7-dev] EAR Deployed, but doesn't work
> On 3/22/11 3:28 PM, Andrig Miller wrote:
> >
> >
> > ----- Original Message -----
> >> From: "Jason T. Greene"<jason.greene at redhat.com>
> >> To: jboss-as7-dev at lists.jboss.org
> >> Sent: Tuesday, March 22, 2011 2:21:31 PM
> >> Subject: Re: [jboss-as7-dev] EAR Deployed, but doesn't work
> >> On 3/22/11 3:16 PM, Andrig Miller wrote:
> >>> Okay, everyone. Now that I have my EAR deployed successfully, I
> >>> tried to
> >>> execute the application from my browser. It doesn't do anything
> >>> and
> >>> there is no error in the log.
> >>
> >> That's no good!
> >>
> >>> I'm hitting the application across the network with
> >>> http://192.168.1.22:8080/Order, were the IP is the address of my
> >>> server
> >>> where I'm running the app, and the /Order is the root context
> >>> defined
> >>> for the war in application.xml. It should return an HTML form.
> >>>
> >>> I changed in standalone.xml the IP address from 127.0.0.1 to
> >>> 192.168.1.22, thinking that would do the same thing as -b
> >>> 192.168.1.22
> >>> did on the old stuff. Curiously, I also don't really see anything
> >>> that
> >>> looks like JBoss Web in the file. I was expecting to see the stuff
> >>> that
> >>> used to be in server.xml, and META-INF/*beans.xml file for
> >>> configuring
> >>> it, but I don't really see anything.
> >>
> >> The IP address shouldn't matter right now because jbossweb is
> >> binding
> >> to
> >> 0.0.0.0 no matter what atm (yes that totally needs to be fixed, the
> >> http
> >> connector should be referring to the socket bindings section to get
> >> the ip)
> >>
> >>> I'm not really sure what to look at next, so any pointers in the
> >>> right
> >>> direction is greatly appreciated.
> >>
> >> So you just see a blank white page?
> >
> > Yes.
> >
> > I just found in the log that after the war is deployed it is on a
> > different web context than I configured through the application.xml:
> >
> > 13:59:16,027 INFO [org.jboss.web] (MSC service thread 1-13)
> > registering web context: /OrderManagerWeb
> > 13:59:16,028 INFO [org.jboss.as.server.deployment] (MSC service
> > thread 1-11) Completed deployment of "OrderManagerWeb.war" in 402 ms
> >
> > I defined it to be /Order.
> >
> > So, I just tried /OrderManagerWeb
> >
> > With that I get a 404, and resource /OrderManagerWeb/ not available.
> >
> > Is this because of the binding to address 0.0.0.0?
> >
> 
> I think that log message must be wrong, since the blank white page
> suggests you are getting a 200 back. Is there a way you can send us a
> copy of this deployment? We may need to debug what exactly is going on
> here.

Sure thing.  I have attached the latest EAR, and what I have in the standalone.xml file, along with the MySql module stuff in a zip file.

Andy

> 
> --
> Jason T. Greene
> JBoss, a division of Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: com.msql.tar.gz
Type: application/x-compressed-tar
Size: 786231 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110322/eb27d2f9/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OrderManagerApp.ear
Type: application/zip
Size: 100539 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110322/eb27d2f9/attachment.zip 


More information about the jboss-as7-dev mailing list