users@glassfish.java.net

Re: Glassfish v3 always responds with 400 Bad Request message

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Fri, 16 Jul 2010 11:08:55 +0200

Hi,

when you say you try to access http://localhost:8080/hello, do you use
a browser? Is there any HTTP proxy set?

WBR,
Alexey.

On Jul 16, 2010, at 8:16 , glassfish_at_javadesktop.org wrote:

> I'm trying to deploy a web application created using Eclipse in a
> local Glassfish server (version 3.0.1). Whenever I try to access it
> through my browser, I get a "400 Bad Request" message. I thought
> maybe something was wrong with my application, so I followed the
> steps here to deploy a sample application:
>
> http://docs.sun.com/app/docs/doc/821-1757/geyvr?l=en&a=view
>
> I'm doing everything exactly as the guide says, and although the
> hello.war application deploys correctly both through asadmin and the
> administration console, when I try to access it from http://localhost:8080/hello
> , I get the same "400 Bad Request" error. I'm doing all this on a
> fresh Glassfish v3 installation. I also tried with the 2.1.1
> version, and the same thing happens.
>
> What could be going wrong? Is there something I have to do after
> installing the server before I can deploy an application? Any help
> would be greatly appreciated.
> [Message sent by forum member 'zamuz']
>
> http://forums.java.net/jive/thread.jspa?messageID=477785
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>