To answer your question that they can't influence each other, that is correct.  I can run each process independently from each other they work.  I can also run it as one process and it works properly.   When I run it in parallel it fails.   Might be due to that it is a tied terminal process, the privileges are different when spawning a job or window process when I use $ZF.      The zf was used to call window command functions.  

Thanks for your response.  

There is a main process that jobs off another process in parallel.

There is no communication/ synchronization between the processes.

Both run in the same namespace and the same main folder.

The process are different because there sub-folders are different SDIR_"DIRLIST.TXT" is located.

SDIR is different

The main processes spawn $zf(-1) and does  $ZF(-1)

When running in parallel.

The first process completes without any  issue.

The child process  the dir.txt file created from the dir is missing files and sub-folders.

Thanks Jenna for your help.  The sample URL  that I provided was example.  The only difference with the actual URL is that the local host is replaced with the actual server name.  The java client connects to cache web service through an internet connection.

 I am aware that the server needs to be configure to handle SSL which is new to me.  There is a lot of information in regards to how to set that up with the certificate.  I am not sure how to connect the URL to  SSL connection.  Unfortunately I have not found a simple example

to go by in try to set it up.  As for creating a web service, I was able to do that base on an example.

Thanks for your suggestion and help.  Sorry for not get back to you sooner.   I have applied the changes and I get the following error.  I am not sure whether  incoming mail server,  imap.aol.com, applies.  I did not see that being used in your code.

The following is a modified version of your code that I am testing.

ZDHS9 ;
 ; From Lifewire: Enter these SMTP settings to send outgoing email through to your AOL Mail account from any email program.
 ; Incoming Mail Server: imap.aol.com
 ; SMTP Outgoing Server Address: smtp.aol.com. Set the port to 587
 ; SMTP Username: "user@aol.com" (or @love.com, @games.com or @verizon.net)
 ; SMTP password. The password you use to log in to AOL Mail

 s x=$$SendMail("testmessage","dsterngast@aol.com","test") w !,x
 Do $System.Status.DisplayError(x)
    Write s.Error
 q
SendMail(Message,SendTo,Subject) ;send mail
 s s=##class(%Net.SMTP).%New()
 s auth=##class(%Net.Authenticator).%New() ; use default auth
 s auth.UserName="user@aol.com"  ;"dsterngast@aol.com" ;"user@aol.com" ; "dsterngast@aol.com"
 s auth.Password="?????????"
 s s.authenticator=auth
 s s.smtpserver="Smtp.aol.com" ;"imap.aol.com"  ;"imap.aol.com"              ;"Smtp.aol.com"
 s s.timezone="Local"
 s s.port=587 ;for secureserver
 s m=##class(%Net.MailMessage).%New()
 s m.Charset="iso-8859-1"   ;set m.Charset="iso-8859-1"
 s m.From="dsterngast@aol.com"
Send ;where to?
 d m.To.Insert(SendTo)
 ;subject
 s m.Subject = Subject
 d m.TextData.Write(Message)
 s status=s.Send(m)
 d m.%Close()
 d auth.%Close()
 q status