Running MiServer V2 on multiple versions of Dyalog APL

MiServer is Dyalog's APL-based web development framework

Running MiServer V2 on multiple versions of Dyalog APL

Postby woody on Tue Jan 22, 2019 5:08 pm

Greetings.

I'm running MiServer (V2) with Dyalog APL (V15) on a Windows 2012-R2 server. It is working very well.

I ALSO installed Dyalog V17 on the server ... so now I have 2 versions of Dyalog APL (15 and 17).

Dyalog APL is installed per default under C:

MiServer is installed under C:\USERS\8016

MiServer WORKS as expected with V15 (the default version of Dyalog) if I simply DOUBLE CLICK on the mserver.dws workspace ... and then start MiServer application (per normal).

However, I can not seem to get MiServer to run correctly with the new Dyalog V17.

I have tried several configurations and combinations.

NOTE: I see the same problem if I try to RIGHT MOUSE click on mserver.dws and then select OPEN WITH DyalogAPL V15 (the default version that runs fine if I DOUBLE CLICK mserver.dws directly).

I am thinking there must be settings or configuration options that I need to update... or Windows PATH settings?

Why would the different ways of STARTING a Dyalog workspace cause MiServer v2 to run with different configurations ?

Here's what I see on the MiServer DyalogAPL CONSOLE when I try to RUN AS DyalogAPL V17

Note that MiServer STARTS normally ... but the first HTTP GET throws the error messages and crashes the instance.

Dyalog APL/W-64 Version 17.0.34605
Serial No : 500769
Unicode Edition
Tue Jan 22 17:05:45 2019
C:\Users\8023\MiServerSystemV23_JMB\mserver.dws saved Thu Mar 15 01:22:50 2018
Web server 'SRV00000000' started on port 8023
Root folder: C:\Users\8023\MiServerSystemV23_JMB\Intro\
MiServer for "Intro" started on port: 8023
Error Logging System
Unable to create error log file

C:\Users\8023\MiServerSystemV23_JMB\Intro\DrA\20190122_DemoServer_HandleRequest_0115_0006

Local Error
DOMAIN ERROR
MakeFile[26] Info ⎕FAPPEND TN

VALUE ERROR
HandleRequest[115] res.Bytes←startsize length

DOMAIN ERROR
Error[5] :ElseIf (no<1000)∨no>10000

Web server 'SRV00000000' stopped
Woodley Butler
Automatonics, Inc.
"Find your head in the APL Cloud"
http://www.APLcloud.com
User avatar
woody
 
Posts: 144
Joined: Tue Dec 28, 2010 12:54 am
Location: Atlanta, Georgia USA

Re: Running MiServer V2 on multiple versions of Dyalog APL

Postby Vince|Dyalog on Fri Feb 08, 2019 1:14 pm

Hi Woody,

Sorry for the delay in replying to your post.

I have downloaded MiServer 2.1.1 dated 12 Oct 2018 from our GitHub area.

I can right click on the mserver.dws workspace and choose Open with Dyalog 17.0 Unicode 64-bit and it works for me.

Dyalog APL/W-64 Version 17.0.35133
Unicode Edition
Fri Feb 8 13:07:50 2019
E:\cust\mis2\MiServer-2.1.1.12oct18\mserver.dws saved Fri Oct 12 19:39:42 2018
Start 'Intro' ⍝ Run the MiServer v2.1 sample site

Could you zip up your MiServer 2 directories and send them me at Dyalog Support please, so I can try out your program?

Regards,

Vince
Vince|Dyalog
 
Posts: 412
Joined: Wed Oct 01, 2008 9:39 am

Re: Running MiServer V2 on multiple versions of Dyalog APL

Postby woody on Sat Feb 09, 2019 10:50 pm

Vince,

Good news.

I downloaded the current MiServer 2.1.1 from GitHub ...

and the problem went away....

Thanks for the help!

//W
Woodley Butler
Automatonics, Inc.
"Find your head in the APL Cloud"
http://www.APLcloud.com
User avatar
woody
 
Posts: 144
Joined: Tue Dec 28, 2010 12:54 am
Location: Atlanta, Georgia USA


Return to MiServer

Who is online

Users browsing this forum: No registered users and 1 guest