This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot start GlassFish with password | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Jiri Skrivanek <jskrivanek> |
Component: | GlassFish | Assignee: | TomasKraus |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mmirilovic, pjiricka |
Priority: | P1 | ||
Version: | 7.3.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 230317 |
Description
Jiri Skrivanek
2013-05-20 09:11:06 UTC
This was working before. I was testing this many times with older GlassFish builds. Looks like something has changed in new GlassFish. BTW, build 89 is the latest promoted GF 4 build. I installed GF 4 build 89 from http://javaweb.us.oracle.com/java/re/glassfish/4.0/promoted/b89/archive/bundles/latest-glassfish-unix.sh And see no problem with this. Maybe you did not update server password in server properties so plugin is unable to sen admin commands to server. No, I did not update server properties. As I wrote in description previously it used to prompt for username and password. It used to work with GF 3 which is responding with valid HTTP response 401 - unauthorized request. GF 4 broke HTTP handshake and returns HTTP response 200 (OK) with some message in it. Unfortunately current code is using java.net.Authenticator class to show those pop-up windows and I can't do anything with it except rewritting the whole layer myself. :( I'll try to find out some as-simple-as-possible solution for 7.3.1 to handle this situation. Checked into web-main: ---------------------- changeset: 253250:a218d5957ff4 summary: Bug 229981 - Cannot start GlassFish with password, simple fix for 7.3.1 We can't do more now. Just tell user what is going wrong. Changing property text won't cause any regression. I'm working on more complex solution for 7.4 but I'll push it later. Trunk only piece of fix in web-main: -------------------------------------------- changeset: 253252:a5b5fda41611 summary: #229981 - GF Tooling Library with auth result support in server status check code - trunk only fix Support in GF Tooling Library to add some username and password popup window into server starup code. It allows to detect authentication issue during server status checks. But it's too much complicated for 7.3.1. Integrated into 'main-golden', will be available in build *201305212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a5b5fda41611 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #229981 - GF Tooling Library with auth result support in server status check code - trunk only fix I tried NetBeans IDE Dev (Build 201305212300) and I can see the message from changeset #a218d5957ff4 when you try to start server and registered GlassFish domain is password protected. I agree to put it to release73 branch. I don't know what is purpose of changeset #a5b5fda41611 but I can't see any change in behaviour. Yes, #a5b5fda41611 changes nothing at this point. I have to implement 2nd part on netbeans side in 7.4 first. Pushed into release73 branch ---------------------------- changeset: 261753:637a376a33e1 branch: release73 summary: #229981 - Cannot start GlassFish with password, simple fix for 7.3.1 TODO: Implement more complex solution for 7.4 Integrated into 'releases', will be available in build *201305232200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/637a376a33e1 User: Tomas Kraus <TomasKraus@netbeans.org> Log: #229981 - Cannot start GlassFish with password, simple fix for 7.3.1 Simple fix verified in NetBeans IDE 7.3.1 (Build 201305232200). > TODO: Implement more complex solution for 7.4
Please open new bug for trunk integration and keep this one fixed, thanks in advance.
|