Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
9 replies
Subscribers
7 subscribers
Views
3851 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I'm trying to run the auto deployment script using Deployment Automation Man
senthilkumark
over 9 years ago
I'm trying to run the auto deployment script using Deployment Automation Manager-1.0.3 in Unix through command line. Can somene help me how to set up a service User Id in appian ?
OriginalPostID-158853
OriginalPostID-158853
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 9 years ago
I think this means a user in Appian that will be used as the service account for the deployment. Here are the steps
forum.appian.com/.../User_Management.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
senthilkumark
over 9 years ago
Hi Eduardo .. I'm already a user with System Admin privileges .. But am not able to run the deployment script
Error we see:
2015-07-27 20:02:06,175 [main] ERROR com.appiancorp.ps.plugins.deploymentautomation.remote.DoRemoteDeployment - java.text.ParseException: A JSONObject must begin with '{' at character 1 of <HTML><HEAD><TITLE></TITLE></HEAD><BODY onLoad="document.AUTOSUBMIT.submit();">This page is used to hold your data while you are being authorized for your request.<BR><BR>You will be forwarded to continue the authorization process. If this does not happen automatically, please click the Continue button below.<FORM NAME="AUTOSUBMIT" METHOD="POST" ENCTYPE="application/x-www-form-urlencoded" ACTION="
winsso-dev.sm.XXXXXXXXXXXXXXXXXXX.com:443/.../authenticationselector.asp
TYPE="HIDDEN" NAME="SMPostPreserve" VALUE="GwWsE0SY1MTIWvw0kCPmz/yP6m5zO0i3kaDcmUzLhYB6yQFtH/i8WMEYiXcbTnrgTPjj+sUlnK0JcUK53WylMyeVSXQJxty3oCuA8vdASX/wsr57Qc8GBtSuv3U5QBAgahbYzhbO1qywjxG60De6W9LkXI501xClpgJL0IwSJLZGJXPWptVO3myM4RqSfy7lQ29lfJyZiU60eQiwDudzOXyHHGYSDRwhnbon/erLJ0DCvDZdMI89bf15UZjMjN5SKa11xTilR7w3VwBZokVLNPZGE2h42I/s"><INPUT TYPE="SUBMIT" VALUE="Continue"></FORM></BODY></HTML>
I have masked the server name with "XXXXXXXXXXXXXXXXXXX"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
How are you doing the deployment? Via browser or via script? Do you have an active session before running it? It seems this has to do with the fact that you have Siteminder enabled
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
senthilkumark
over 9 years ago
Yes am using script and siteminder is enabled . Any idea what is the next solution here ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Can you try without Siteminder or making sure that you have an active session when trying? I am almost positive it's related to the authentication.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
senthilkumark
over 9 years ago
Do I need to try using
1) application server JVM http port [OR]
2) application server JVM https port [OR]
3) web server port
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
senthilkumark
over 9 years ago
I tried using application server JVM http port and I see below error
APP_HOME: /hosting/products/appian7.6_cit01/DeploymentAutomationManager/clientscript
2015-07-29 20:07:15,286 - java.lang.IllegalStateException: The deployment post request was not successful. Response is:<!DOCTYPE html>
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
I was actually thinking of completely disabling Siteminder. Hitting a different URL will still trigger the Siteminder filter. Almost positive the response is an HTML page saying "Unauthorized".
My suggestion was to rename the spring-*override*.xml to .bak and restart the app server then try again
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
I confirmed that you need to whitelist /suite/plugins/servlet/deploymentautomation so that Siteminder doesn't require authentication for it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel