users@glassfish.java.net

Re: Glassfish on a Mac

From: ludovic champenois <Ludovic.Champenois_at_Sun.COM>
Date: Wed, 30 Sep 2009 13:09:53 -0700

glassfish_at_javadesktop.org wrote:
> Hi there,
>
> I'm pretty new to Glassfish and java development and I'm trying to start. I have a programmer background.
>
> I got the latest Glassfish for a Mac off of http://download.java.net/glassfish/eclipse/ (the Glassfish Tools Bundle for Eclipse) and install it. MacOS is 10.5.8.
>
> I had a test 'Hello world' dynamic web project to work a few months back. Had to swing back to another language for awhile and now I come back, install the latest update on the Mac and now my simple "Hellow world" dynamic web project isn't work! I'm getting a 404 "resource not found" error when I try to run it off of the mac just to test. I'm running the v2.1 server on my local mac.
>
> My coworker had the same issue. He said all this happened when the apple java update got installed.
>
> is this a common problem?
no.
> How do I go about fixing this?
Check for this web app the web.xml file. It contains a list of "welcome"
files...Check inside your project if you have at least 1 of them.
If yes, check the project name as it is used as the default context
root... What is the url that fails with 404 (give entire path). Compare
this with your project name or the project property for the context root
of your web app.

Star the Admin gui to see if your web app is really deployed and at
which context root. I think there is a link there to see the top page of
your web app.

Ludo
> Re-installing the latest version of Glassfish didn't work. I re-install it yesterday and still getting the same error.
>
> Help! :(
>
> thanks.
> [Message sent by forum member 'meowmee' (tearsea88_at_yahoo.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=366351
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>