Windows RUNPROJECT command

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
3 posts Page 1 of 1

Aaustin

Posts: 2
Joined: Sat Aug 13, 2011 9:30 am

Post by Aaustin » Mon Aug 15, 2011 10:53 am
I'm trying to use the windows runproject command to execute a project on an AS400.
The command being used is;

C:\Users\aaustin>runproject –server “http://as400uat:8001/goanywhere” –user aaustin –password ******* -project “/Allen/TestEmail”

I’m getting the following message from the windows command prompt when I run the command.

gaclient.log (Access is denied)

The user and password values are the same ones that I use to log on to GoAnywhere through the browser.
The AS400 command RUNPROJECT runs with the same user ID and password without errors.

Any suggestions?

Support_Duane

Support Specialist
Posts: 66
Joined: Thu Mar 05, 2009 3:49 pm

Post by Support_Duane » Mon Aug 15, 2011 1:22 pm
Port 8001 is usually reserved for https so you would either need to specify - https://as400uat:8001/goanywhere or change the port to read - http://as400uat:8000/goanywhere

Aaustin

Posts: 2
Joined: Sat Aug 13, 2011 9:30 am

Post by Aaustin » Mon Aug 15, 2011 1:46 pm
I did discover that I should be using HTTPS in the paramter detail documentation - you may want to make a correction to the PDF instructuions in the examples 2, 3, and 4 at the bottom of document "user_guide.pdf"

Still no luck getting my project to run. Here is the full detail message shown in the com.exe window.

C:\Users\aaustin>runproject -server "https://as400uat:8001/goanywhere" -user aaustin -password ******** -project "/Allen/TestEmail"
caclient.log (Access is denied)
java.lang.NullPointerException
at com.linoma.gaclient.RunProject.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelagatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEnigine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
3 posts Page 1 of 1