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.
Build20060919: Steps: 1.Deployed CalendarClient and CalendarServer samples to local appserver and remote AM server. 2.Switched to local AM server. 3. Deployed CalendarServer;it was failed, but the second time was successful. 4. Deployed CalendarClient; it was failed. Tried a few times, all were failed with the following in output window: init: deps-module-jar: deps-ear-jar: deps-jar: wscompile-init: calendarService-client-wscompile: web-service-client-generate: library-inclusion-in-archive: library-inclusion-in-manifest: web-service-client-compile: compile: compile-jsps: Building jar: C:\Documents and Settings\HONG\CalendarClient3\CalendarClient3\dist\CalendarClient.war do-dist: dist: C:\Documents and Settings\HONG\CalendarClient3\CalendarClient3\nbproject\build-impl.xml:456: Deployment error: Wrong Admin user name or password. See the server log for details. BUILD FAILED (total time: 0 seconds) See the attached server log file.
Created attachment 34351 [details] appserver log file
I also see this exception in the ide log file: INFORMATIONAL *********** Exception occurred ************ at 2:13 PM on Sep 25, 2006 java.lang.RuntimeException: Wrong Admin user name or password. at org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentManager.ThrowExceptionIfSuspended(SunDeploymentManager.java:1013) at org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentManager.getAvailableModules(SunDeploymentManager.java:501) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.getAvailableTMIDsMap(TargetServer.java:298) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.processLastTargetModules(TargetServer.java:334) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.init(TargetServer.java:108) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:445) [catch] at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:106) at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:82) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
With a simple webapp without wss, I saw this error too. Below is the steps I did: Create a webapp. Deploy it. (it was OK) Deploy it again. (it was OK) Deploy it again.(deployment failed) message in the output window. Wrong Admin user name or password. See the server log for details. BUILD FAILED (total time: 0 seconds)
Created attachment 34474 [details] ide log file
Lowering the priority to P2 since the workaround is to deploy again. This bug appears to be random and the next few tries to deploy succeeds.
Reclassifying to serverplugin as this error seems to orignate from there. This error happens on basic web applications. So has nothing to do with Access Manager tooling on enterprise pack.
I believe this is the same as P2 http://www.netbeans.org/issues/show_bug.cgi?id=84932 *** This issue has been marked as a duplicate of 84932 ***