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 85498 - deployment failed after switching AM servers.
Summary: deployment failed after switching AM servers.
Status: RESOLVED DUPLICATE of bug 84932
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 23:59 UTC by _ hlu
Modified: 2006-09-26 00:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
appserver log file (1.07 MB, text/plain)
2006-09-22 00:00 UTC, _ hlu
Details
ide log file (32.37 KB, text/plain)
2006-09-25 22:22 UTC, _ hlu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hlu 2006-09-21 23:59:45 UTC
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.
Comment 1 _ hlu 2006-09-22 00:00:12 UTC
Created attachment 34351 [details]
appserver log file
Comment 2 _ hlu 2006-09-25 22:17:40 UTC
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)
Comment 3 _ hlu 2006-09-25 22:21:17 UTC
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)
Comment 4 _ hlu 2006-09-25 22:22:26 UTC
Created attachment 34474 [details]
ide log file
Comment 5 Srividhya Narayanan 2006-09-25 22:25:34 UTC
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.
Comment 6 Srividhya Narayanan 2006-09-25 22:54:06 UTC
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.
Comment 7 _ ludo 2006-09-26 00:59:05 UTC
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 ***