users@glassfish.java.net

Re: Authentication failed with message http://localhost:4848/web1/remotejmx

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Feb 2007 09:55:00 PST

This means that while communicating with the "virtual server" corresponding to the
admin-listener remotely, you are getting a 403. This means you are providing incorrect
user-name/password. Or in other words, an incorrect user-name/password might be
sent to the domain.

I don't know exactly what has landed you in this situation, but following should work from within the NetBeans IDE:

- add a new Server Target to deploy to -- use localhost:4848.
- name it like "GlassFish Local" or something.
- provide the correct admin user and password. This is the same as the one you use
  to login to the admin console.
- retry deploying to this new target.

This works from admin console and not from within IDE. The reason lies in the inherent
differences between these two. Admin Console is a web application on the server side.
So, once you login, you are "there". In the NetBeans IDE or CLI case however, you are
"remote" and you have got to authenticate properly in the IDE, so that deployment
operation (or any other operation FTM) succeeds.

Hope that helps.

Regards,
Kedar
[Message sent by forum member 'km105526' (km105526)]

http://forums.java.net/jive/thread.jspa?messageID=204670