• United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

WebSphere Application Server - Deployment -> Check Application is Installed, is asking for user and password althought they are included

120000DJU6 gravatar image
Question by portega47  (100) | Jan 11 at 01:18 PM ucdurbancode deploy

Hi. I have created a process to deploy a war file into a WAS Server. I ask before if the app is isnstalled using the "WebSphere Application Server - Deployment -> Check Application is Installed" plugin.

This plugin has properties to include the user and password you want to use in the connection but in my case I want to use environment properties. This is not possible for password so user and pass has to be included as Additional Command Line Arguments

alt text

Doing this, the command has the parameters but they are not used and the process ask for the username and password again. Here you can find what is the command that the step is using. You can see that -user and -password are included

 ********************************************
 Running Check to see if jython was upgraded
 /opt/ibm/WebSphere/wp_profile/bin/wsadmin.sh -h jython
 Run Script : /opt/ibm/WebSphere/wp_profile/bin/wsadmin.sh -lang jython -conntype SOAP -host portal85.ibm.local -port 10033 -usejython21 true **-user wpsadmin -password wpsadmin** -f /opt/ibm-ucd/agent/var/work/JPetStore-APP/temp7693261801658980528.py
 WASX7209I: Connected to process "WebSphere_Portal" on node localhostNode using SOAP connector;  The type of process is: UnManagedProcess
 Checking for application JPetStore
 Application is not currently installed!

Could you help me?

Thanks in advance.

screenshot-from-2019-01-11-19-09-38.png (5.3 kB)

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

1 reply

  • Sort: 
120000DJU6 gravatar image
Accepted answer

Answer by portega47 (100) | Jan 17 at 07:46 AM

Hi.

I have found what was wrong. Additional command line arguments cannot be used with WebSphere Application Server - Deployment plugins for those properties that has to be included as properties. If you do that the python file overwrite the values included.

Besides that, I was doing this due to the idea you cannot use scoped properties for password field. That is not right so it is not necessary this approach.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

149 people are following this question.

Answers

Answers & comments

Related questions

Stopping redeployment using inventory Status 0 Answers

SMTP for UCDP 2 Answers

Error while running RQM plugin in UrbanCode 2 Answers

Unable to connect Jenkins to udeploy 1 Answer

Application property created in one component can no longer be instantiated in another component 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • DataPower
  • Decision Optimization
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges