GHTTPS Permission problem

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

Joerg

Posts: 32
Joined: Wed Dec 19, 2012 9:57 am

Post by Joerg » Wed Nov 27, 2013 6:38 am
Hello,
I try to send a secure mail with attached file from GAD project triggered by a upload event from GAService.
- A file is upload to a GAS user folder,
- a trigger is fired by upload event,
- the followed action calls a GAD project with GHTTPS package task (filename is parameter).

I've one user with execute rights for the GAD project and another user for the GAS webuser area. The GHTTPS ressource is created and tested successfully.

But script fails with '550 permission denied', have you any idea?

Kind regards
Joerg
Code: Select all
27.11.2013 11:14:59           INFO      Executing module 'Main'
27.11.2013 11:14:59           INFO      Executing task 'ghttps 1.0'
27.11.2013 11:14:59           INFO      Using HTTPS Service protocol version 2
27.11.2013 11:14:59           INFO      Executing sub-task 'sendPackage'
27.11.2013 11:14:59           ERROR     [8098 - ghttps] 550 Permission denied. 
27.11.2013 11:14:59           INFO      Finished project 'SECMAILLBW'
27.11.2013 11:14:59           ERROR     [8098 - ghttps] 550 Permission denied. 
                                        com.linoma.dpa.runtime.JobFailedException: [8098 - ghttps] 550 Permission denied. 
                                        	at com.linoma.dpa.runtime.Job.run(Unknown Source)
                                        	at com.linoma.dpa.runtime.Runtime.executeProject(Unknown Source)
                                        	at com.linoma.dpa.j2ee.forms.ConfigureProjectComponentForm.executeProject(Unknown Source)
                                        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                        	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                                        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                        	at java.lang.reflect.Method.invoke(Unknown Source)
                                        	at org.apache.el.parser.AstValue.invoke(AstValue.java:191)
                                        	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
                                        	at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
                                        	at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:78)
                                        	at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
                                        	at javax.faces.component.UICommand.broadcast(UICommand.java:143)
                                        	at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
                                        	at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:329)
                                        	at org.ajax4jsf.component.AjaxViewRoot.broadcastEventsForPhase(AjaxViewRoot.java:304)
                                        	at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:261)
                                        	at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:474)
                                        	at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
                                        	at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
                                        	at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
                                        	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)
                                        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                        	at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
                                        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                        	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
                                        	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
                                        	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
                                        	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
                                        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                        	at com.linoma.dpa.j2ee.IECompatibilityModeFilter.doFilter(Unknown Source)
                                        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                        	at com.linoma.dpa.security.SecurityFilter.doFilter(Unknown Source)
                                        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                                        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                        	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                                        	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                                        	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                                        	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
                                        	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                                        	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                                        	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
                                        	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
                                        	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
                                        	at java.lang.Thread.run(Unknown Source)
                                        Caused by: com.linoma.dpa.ExecutionException: [8098 - ghttps] 550 Permission denied. 
                                        	at com.linoma.dpa.ProjectUtilities.getExecutionException(Unknown Source)
                                        	at com.linoma.dpa.tasks.ghttps.SendPackageAction.execute(Unknown Source)
                                        	at com.linoma.dpa.tasks.ghttps.GHTTPSTask.execute(Unknown Source)
                                        	at com.linoma.dpa.ModuleV2.execute(Unknown Source)
                                        	at com.linoma.dpa.Project.execute(Unknown Source)
                                        	at com.linoma.dpa.runtime.Job.executeProject(Unknown Source)
                                        	... 49 more
                                        Caused by: com.linoma.ghttpsclient.GHTTPSException: 550 Permission denied.
                                        	at com.linoma.ghttpsclient.requests.GHTTPSRequest.handleResponse(GHTTPSRequest.java:372)
                                        	at com.linoma.ghttpsclient.requests.GHTTPSRequest.execute(GHTTPSRequest.java:255)
                                        	at com.linoma.ghttpsclient.GHTTPSClient.createPackageWithOptions(GHTTPSClient.java:1436)
                                        	... 54 more

Support_Rick

Support Specialist
Posts: 590
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Wed Nov 27, 2013 9:53 am
Joerg,

What the message below is telling you is that the connection is being made from GADirector to the GAServices (via the GHTTPS Task). The issue is most likely that the User being identified for the GAServices Resource connection (GHTTPS Resource) is not allowed to send Secure Mail.

From the "Web Users" in GAServices, check to make sure that the Web User being identified in this Resource has permissions to "Send Secure Mail". This is under the "Services and Groups" tab. Then, try your project again.

If this doesn't work, check the HTTPS job logs within GAServices for further details.

Let us know how this works!
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696

Joerg

Posts: 32
Joined: Wed Dec 19, 2012 9:57 am

Post by Joerg » Fri Nov 29, 2013 8:26 am
Hi Rick,

THX for the prompt reply.

It was the right and golden tip.

I overlooked that one, tiny thing 'checkbox' :-) for this user.
Thanks again!

Until next time!

Joerg
3 posts Page 1 of 1