Page 1 of 1

Windows RUNPROJECT command

Posted: Mon Aug 15, 2011 10:53 am
by Aaustin
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?

Re: Windows RUNPROJECT command

Posted: Mon Aug 15, 2011 1:22 pm
by Support_Duane
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

Re: Windows RUNPROJECT command

Posted: Mon Aug 15, 2011 1:46 pm
by Aaustin
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)