Skip to main content

404 on / request

3 replies [Last post]
Anonymous

Hi,

When I open http://localhost:8080/ I get a 404

This only happens since a new installation of v3.
I looked at glassfish/domains/domain1/docroot and it contains an
index.html as with v2.1

What is different and how do I resolve this?

Thanks in advance

Regards,

Serge Fonville

--
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f92...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Martin Gainty

/domains/domain1/config/domain.xml would contain your domain application deployed as root e.g.

to verify at command line run the verify-domain-xml
asadmin verify-domain-xml

Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.

> From: serge.fonville@gmail.com
> Date: Sun, 27 Dec 2009 14:31:47 +0100
> To: users@glassfish.dev.java.net
> Subject: 404 on / request
>
> Hi,
>
> When I open http://localhost:8080/ I get a 404
>
> This only happens since a new installation of v3.
> I looked at glassfish/domains/domain1/docroot and it contains an
> index.html as with v2.1
>
> What is different and how do I resolve this?
>
> Thanks in advance
>
> Regards,
>
> Serge Fonville
>
> --
> http://www.sergefonville.nl
>
> Convince Google!!
> They need to support Adsense over SSL
> https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
> http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f92...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/
[att1.html]

Serge Fonville

Thanks for the replies.

I think I further determined where things went wrong.

I setup HTTPd to use AJP to proxy requests to sub directory to glassfish.

This works as expected.
Unfortunately a side effect seems to be that when I enter the URL
through HTTPd Glassfish does not recognize it and throws a 404

I was unable to find any logging that contains the 'error'

I suspect it has something to do with a setting in Glassfish, but I
have no idea where.

Thanks for all the help so far.

Regards,

Serge Fonville

--
http://www.sergefonville.nl

Convince Google!!
They need to support Adsense over SSL
https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f92...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Dominik Dorn

Have you tried to simply deploy an app to / ?

On Sun, Dec 27, 2009 at 2:31 PM, Serge Fonville wrote:

> Hi,
>
> When I open http://localhost:8080/ I get a 404
>
> This only happens since a new installation of v3.
> I looked at glassfish/domains/domain1/docroot and it contains an
> index.html as with v2.1
>
> What is different and how do I resolve this?
>
> Thanks in advance
>
> Regards,
>
> Serge Fonville
>
> --
> http://www.sergefonville.nl
>
> Convince Google!!
> They need to support Adsense over SSL
> https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=10528
>
> http://www.google.com/support/forum/p/AdSense/thread?tid=1884bc9310d9f92...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

--
Dominik Dorn
http://dominikdorn.com
[att1.html]