[
http://jira.codehaus.org/browse/MWAS-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=192710#action_192710
]
Ronald van de Kuil commented on MWAS-52:
----------------------------------------
Found it: this mojo uses the user element instead of username element.
My workaround is to include the following 2 elements in the configuration of
the plugin:
<user>wasadmin</user>
<username>wasadmin</username>
The WsAdminMojo should use username instead of user.
I currently do not know how to make this change.
> WsAdminMojo does not work on a secured connection.
> --------------------------------------------------
>
> Key: MWAS-52
> URL: http://jira.codehaus.org/browse/MWAS-52
> Project: Maven 2.x WebSphere 6 Plugin
> Issue Type: Bug
> Affects Versions: 1.1
> Environment: WAS 7.0 standalone server / Windows 32 bits.
> Reporter: Ronald van de Kuil
> Assignee: David J. M. Karlsen
> Attachments: pom.xml, secured_run.txt, unsecured_run.txt
>
>
> I ran the attached pom succesfully on an unsecured WAS 7.0 server.
> The POM runs a jython script, uninstalls an EAR, installs it again and runs
> the jython script again. This works on WAS 7.0.
> Once I secure the server the WsAdminMojo fails. The WsUninstallAppMojo and
> WsInstallAppMojo work.
> The jython script is not special at this moment yet: it prints "hello world"
> to the console.
> I have attached the following files:
> - secured_run.txt - a run on a secured connection;
> - unsecured_run.txt - a run on a unsecured connection;
> - pom.xml - my pom;
> I´d like to run the jython script on a secured server to modify application
> scoped resources. This will allow us to run a nightly build, deploy,
> configire and jmeter test from maven.
> I ran the pom in debug mode and I discovered that the user is null when it
> hits the WsAdminMojo. The other variables like password, host and so on are
> set.
> I will see what I can do to set the user in the WsAdminMojo.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email