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 82447 - Deploy after switching AM servers throws exception
Summary: Deploy after switching AM servers throws exception
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Srividhya Narayanan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-11 02:55 UTC by Viktor Lapitski
Modified: 2006-09-22 21:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
appserver log file. (264.97 KB, text/plain)
2006-09-21 20:55 UTC, _ hlu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Viktor Lapitski 2006-08-11 02:55:08 UTC
Build 060810. Deploy after switching AM servers throws exception in the output
log (in both cases - client and server), though there isn't functional impact. 

com.iplanet.sso.SSOException:
AQIC5wM2LY4SfczwkCVEYKDXg93AepMDVgA4jM5uqtYTgBY=@AAJTSQACMDE=# Invalid session
ID.AQIC5wM2LY4SfczwkCVEYKDXg93AepMDVgA4jM5uqtYTgBY=@AAJTSQACMDE=#
        at
com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:178)
        at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
        at
com.sun.identity.authentication.AuthContext.getSSOToken(AuthContext.java:1001)
        at
com.sun.identity.security.SystemAppTokenProvider.getAppSSOToken(SystemAppTokenProvider.java:104)
        at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:231)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.identity.wss.provider.ProviderConfig.getAdminToken(ProviderConfig.java:553)
        at
com.sun.identity.wss.provider.ProviderConfig.getProvider(ProviderConfig.java:447)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.netbeans.modules.identity.profile.api.configurator.impl.dynamic.ProviderConfigImpl.getProviderConfig(ProviderConfigImpl.java:147)
        at
org.netbeans.modules.identity.profile.api.configurator.impl.dynamic.ProviderConfigImpl.<init>(ProviderConfigImpl.java:126)
        at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigFactory.newInstance(ProviderConfigFactory.java:26)
        at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.init(ProviderConfigurator.java:120)
        at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.getConfigurator(ProviderConfigurator.java:92)
        at
org.netbeans.modules.identity.ant.AMDeploy.deployWSCProviders(AMDeploy.java:119)
        at org.netbeans.modules.identity.ant.AMDeploy.execute(AMDeploy.java:89)
        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 1 _ hlu 2006-09-21 20:00:02 UTC
Tested with 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 2 _ hlu 2006-09-21 20:55:46 UTC
Created attachment 34339 [details]
appserver log file.
Comment 3 _ hlu 2006-09-21 23:39:18 UTC
Buile 20a:
deploy after switching local AM to remote AM:
Deploying wsp provider CalendarService
ServerProperties: jsqai6 (jsqai6:8080)
com.iplanet.sso.SSOException:
AQIC5wM2LY4Sfcy0CHnL5a375ubhwvHwqyOgnm6RRTaKiDw=@AAJTSQACMDE=# Invalid session
ID.AQIC5wM2LY4Sfcy0CHnL5a375ubhwvHwqyOgnm6RRTaKiDw=@AAJTSQACMDE=#
        at
com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:178)
        at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)
        at
com.sun.identity.authentication.AuthContext.getSSOToken(AuthContext.java:1052)
        at
com.sun.identity.security.SystemAppTokenProvider.getAppSSOToken(SystemAppTokenProvider.java:104)
        at com.sun.identity.security.AdminTokenAction.run(AdminTokenAction.java:231)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.identity.wss.provider.ProviderConfig.getAdminToken(ProviderConfig.java:553)
        at
com.sun.identity.wss.provider.ProviderConfig.getProvider(ProviderConfig.java:447)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.netbeans.modules.identity.profile.api.configurator.impl.dynamic.ProviderConfigImpl.getProviderConfig(ProviderConfigImpl.java:159)
        at
org.netbeans.modules.identity.profile.api.configurator.impl.dynamic.ProviderConfigImpl.<init>(ProviderConfigImpl.java:138)
        at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigFactory.newInstance(ProviderConfigFactory.java:39)
        at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.init(ProviderConfigurator.java:121)
        at
org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.getConfigurator(ProviderConfigurator.java:93)
        at
org.netbeans.modules.identity.ant.AMDeploy.deployWSPProviders(AMDeploy.java:165)
        at org.netbeans.modules.identity.ant.AMDeploy.execute(AMDeploy.java:102)
        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)
SERVICE_TYPE: urn:CalendarService
trustAuthConfig = com.sun.identity.wss.provider.plugins.DiscoveryAgent@c1609b
Registering provider with Discovery Service
run-deploy:
BUILD SUCCESSFUL (total time: 11 seconds)
Comment 4 _ hlu 2006-09-21 23:55:12 UTC
Change back to its original and lower it to its original priority. The
deployment failure problem will be filed as another defect.
Comment 5 Srividhya Narayanan 2006-09-22 21:35:15 UTC
This is a harmless error msg which doesnt prevent the eployment to go through.
The amserver keeps the session for the clientkSDK and tried to refreshes the
session everytime we call the ProviderConfig APIs. Its unable to refresh the
session and hence creates a new one for this to proceed. This exception is a
runtimeexception thrown from the AM server which should be handled on their side
because this is harmless anyway. I am filing a bugster issue 6474369 to track
this on accessmanager runtime. Closing the one in the IDE.