users@glassfish.java.net

Re: HTTP 404: The requested resource () is not available. Any ideas?

From: HANDE CANORUÇ <handecanoruc_at_gmail.com>
Date: Fri, 1 Oct 2010 09:17:52 +0300

Your application is not successfully deployed to glassfish server and
therefore you are not able to monitor it.. Try to deploy your application
again.

/bin/asadmin deploy application-name

2010/9/30 <glassfish_at_javadesktop.org>

> Hi,
>
> I'm new to Glassfish and Java EE and I created a servlet that has to be
> accessed by a web page and a desktop application.
> I did the part involving the web page but I have problems solving the swing
> to servlet communication.
> I tried with URL request and it throws me this runtime exception:
>
> java.io.FileNotFoundException: http://localhost:8080/app/servlet
>
> When I try to reach the servlet from within the browser I get a standard
> Glassfish 404 message:
>
> HTTP Status 404 -
>
> type Status report
>
> message
>
> descriptionThe requested resource () is not available.
>
> When I run my servlet from netbeans everything works ok.
> Any ideas why this is happening?
> Thank you very much!
> [Message sent by forum member 'ariel_ro']
>
> http://forums.java.net/jive/thread.jspa?messageID=484059
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>