dev@glassfish.java.net

Re: [v3] Still having problems w/ deploy

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 01 Aug 2008 13:12:59 -0700

"localhost" in domain.xml didn't help me. I needed my host name as
"uphill.sfbay" to make it work. "asadmin deploy --host localhost" did make a
difference on the command line.

thanks,
-marina

Hong Zhang wrote:
> I just built my workspace about half an hour ago (I was using svn
> update; mvn clean; mvn -U install) and I found I could not deploy
> anything even with the workaround "--host localhost".
>
> ~/files/sun/glassfish/bin/asadmin deploy --host localhost hello1.war
> Status: 404
> Command deploy failed.
>
> I also tried to change all instances of the string
> "com.sun.aas.hostName" to "localhost" in domain.xml, did not help
> either. What else I should do to work around the problem?
>
> Thanks,
>
> - Hong
>
> Kedar Mhaswade wrote:
>
>>
>>
>> Lloyd Chambers wrote:
>>
>>> This suggestion needs some more context: how long will it be
>>> required? Is a fix in progress?
>>
>>
>> Yes. ETA: Monday.
>>
>>>
>>>
>>> On Jul 31, 2008, at 11:56 PM, Byron Nevins wrote:
>>>
>>>> change all instances of the string "com.sun.aas.hostName" to
>>>> "localhost" in domain.xml
>>>>
>>>>
>>>> Ken Paulsen wrote:
>>>>
>>>>>
>>>>> I thought it was resolved after re-rebuilding, however, it's not.
>>>>> The first deploy goes through fine and I can access the web app.
>>>>> However, when I try to deploy a 2nd web app, it now gives me a 404
>>>>> during the asadmin command:
>>>>>
>>>>> % asadmin deploy /glassfish/v3/admingui/war/target/admingui.war
>>>>> Command deploy executed successfully.
>>>>> % asadmin deploy /tmp/demo.war
>>>>> Status: 404
>>>>> Command deploy failed.
>>>>>
>>>>> If I do this in reverse order demo.war succeeds and admingui.war
>>>>> gives the 404/failed message.
>>>>>
>>>>> Ken
>>>>>
>>>>> Ken Paulsen wrote:
>>>>>
>>>>>>
>>>>>> I just checked out and built v3 (a couple hours ago). Server
>>>>>> starts up fine. Deployment of web apps go through fine (tried
>>>>>> admingui.war and demo.war). When I attempt to access them after
>>>>>> they're deployed, I get 404 w/ no errors in the log. Once on
>>>>>> demo.war and admingui.war I was able to access them after
>>>>>> stopping/starting the server... but I have not been able to
>>>>>> reproduce that.
>>>>>>
>>>>>> Is this a known problem? Here is what showed up in the server.log
>>>>>> when I did the deploy for these 2 apps (nothing showed up when
>>>>>> attempting to access the apps -- just 404):
>>>>>>
>>>>>> admingui.war: http://papernapkin.org/pastebin/view/2030/
>>>>>> demo.war: http://papernapkin.org/pastebin/view/2031/
>>>>>>
>>>>>>
>>>>>> Ken
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> --
>>>> Byron Nevins Work 408-276-4089, Home 650-359-1290, Cell 650-784-4123
>>>> - Sun Microsystems, Inc.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>