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.

Bug 85819 - Running on Glassfish fails occasionally
Summary: Running on Glassfish fails occasionally
Status: RESOLVED DUPLICATE of bug 84932
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 18:45 UTC by jfurmankiewicz
Modified: 2006-09-27 16:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log (162.88 KB, text/plain)
2006-09-26 18:45 UTC, jfurmankiewicz
Details
Glassfish log (205.04 KB, text/plain)
2006-09-26 18:47 UTC, jfurmankiewicz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jfurmankiewicz 2006-09-26 18:45:18 UTC
Here's a fairly unusual one.

After creating a brand new facelets project, deploy it in Glassfish, verify all
is running well.

Go to the template-client.xhtml file and change some little bit of text. Press
F6 to run...all should go fine, then return to NB and quickly press F6 again to run.

Every second or third time I would do this (e.g. when quickly editing a Facelets
page) I would get this error:

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
do-dist:
dist:
C:\Documents and Settings\bmojzf0\Facelets2\nbproject\build-impl.xml:460:
Deployment error:
Wrong Admin user name or password.
See the server log for details.
BUILD FAILED (total time: 0 seconds)

But if I run F6 again right after this error it would run it just fine.

Go back to edit the page, within 2-3 attempts of pressing F6 I would get this
error again, but if I press F6 after it, it runs fine again. It's as if there
was an issue deploying quickly one change after another (e.g. when you're
rapidly changing a page and previewing it in the browser and going back and forth).
Comment 1 jfurmankiewicz 2006-09-26 18:45:46 UTC
Created attachment 34532 [details]
Log
Comment 2 jfurmankiewicz 2006-09-26 18:47:24 UTC
Created attachment 34533 [details]
Glassfish log
Comment 3 Petr Pisl 2006-09-27 14:27:28 UTC
Nothing to do with Facelets support. I'm able to reproduce this behavior on
NetBeans 5.5 without the Facelets support. Just create a web module with
libraries (for example jsf) and try to run several times. Before running do a
small changes in the index.jsp file.

I'm able to reproduce this only on Windows XP and only if the registered
GlassFish doesn't have set password during registration ( in the properties).

Possible is connected with issue #84932. The exception from attached ide log is
the same, but the user name and password are good and the behavior is different.
Comment 4 jfurmankiewicz 2006-09-27 14:55:21 UTC
I understand. Feel free to close the defect or maybe report it internally to the
Glassfish team. Thank you for your help.
Comment 5 Petr Pisl 2006-09-27 15:16:20 UTC
This is problem of one module in NetBeans, so it is really relevan bug. 
Comment 6 Petr Blaha 2006-09-27 15:41:10 UTC
It seems as duplicate issue #84932.
Comment 7 _ ludo 2006-09-27 16:11:52 UTC
yes, same effect as 84932 with other input sequence

*** This issue has been marked as a duplicate of 84932 ***