www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Mango Servlets

reply nix <nix_member pathlink.com> writes:
Hello, 

i have succesfully compiled  mango_beta_9-5 . 
(By mango 1.0 i can't find a make file) 

After that i changed the port Number from 80 to port 9000 in example/servlets 
and compiled servlets.d: 
dmd -c -version=linux  -version=UseShiftOperators example/servlets.d 
gcc -o servlets servlets.o libmango.a -lphobos -lpthread -lm 

When i start servlets, i get the following message: 
1146 ERROR mango.servlets.PingThread - IOException: Unable to connect socket: 
Connection refused 
1146 ERROR mango.servlets.PingThread - IOException: Unable to connect socket: 
Connection refused 

dmd 105 
Debian unstable 
Nov 30 2004
parent reply J C Calvarese <jcc7 cox.net> writes:
nix wrote:
 Hello, 
It'd probably be more effective to ask about this in the Mango forum: http://www.dsource.org/forums/viewforum.php?f=5
 
 i have succesfully compiled  mango_beta_9-5 . 
Kris and other Mango users would probably rather help with the most current version of Mango.
 (By mango 1.0 i can't find a make file) 
Is this the elusive Linux makefile? http://svn.dsource.org/svn/projects/mango/trunk/linux.make Perhaps it got left out of the package. -- Justin (a/k/a jcc7) http://jcc_7.tripod.com/d/
Dec 01 2004
next sibling parent kris <fu bar.org> writes:
J C Calvarese wrote:
 nix wrote:
 
 Hello, 
It'd probably be more effective to ask about this in the Mango forum: http://www.dsource.org/forums/viewforum.php?f=5
 i have succesfully compiled  mango_beta_9-5 . 
Kris and other Mango users would probably rather help with the most current version of Mango.
 (By mango 1.0 i can't find a make file) 
Is this the elusive Linux makefile? http://svn.dsource.org/svn/projects/mango/trunk/linux.make Perhaps it got left out of the package.
Thanks JCC; the makefile did indeed get left out, but it's in the 1.0a release on dsource.org (which also fixes the problems that surfaced via dmd 0.107). That particular error message originates from a background thread in the Servlets.d example. It means there was some kind of problem accessing a remote site (a certain well-known news-aggregator, I think). I'm on the road right now, so if you post over at dsource.org I'll follow up on Friday evening.
Dec 01 2004
prev sibling parent reply kris <fu bar.org> writes:
J C Calvarese wrote:
 nix wrote:
 
 Hello, 
It'd probably be more effective to ask about this in the Mango forum: http://www.dsource.org/forums/viewforum.php?f=5
 i have succesfully compiled  mango_beta_9-5 . 
Kris and other Mango users would probably rather help with the most current version of Mango.
 (By mango 1.0 i can't find a make file) 
Is this the elusive Linux makefile? http://svn.dsource.org/svn/projects/mango/trunk/linux.make Perhaps it got left out of the package.
Thanks JCC; the makefile did indeed get left out, but it's in the 1.0a release on dsource.org (which also fixes the problems that surfaced via dmd 0.107). That particular error message originates from a background thread in the Servlets.d example. It means there was some kind of problem accessing a remote site (a certain well-known news-aggregator, I think). I'm on the road right now, so if you post over at dsource.org I'll follow up on Friday evening.
Dec 01 2004
next sibling parent reply nix <nix_member pathlink.com> writes:
In article <com986$1q5f$2 digitaldaemon.com>, kris says... 
 
J C Calvarese wrote: 
 nix wrote: 
  
 Hello,  
It'd probably be more effective to ask about this in the Mango forum: http://www.dsource.org/forums/viewforum.php?f=5
 
 i have succesfully compiled  mango_beta_9-5 .  
Kris and other Mango users would probably rather help with the most current version of Mango.
 (By mango 1.0 i can't find a make file)  
Is this the elusive Linux makefile? http://svn.dsource.org/svn/projects/mango/trunk/linux.make Perhaps it got left out of the package.
Thanks JCC; the makefile did indeed get left out, but it's in the 1.0a release on dsource.org (which also fixes the problems that surfaced via dmd 0.107). That particular error message originates from a background thread in the Servlets.d example. It means there was some kind of problem accessing a remote site (a certain well-known news-aggregator, I think). I'm on the road right now, so if you post over at dsource.org I'll follow up on Friday evening.
OK, i try the next release with dmd 0.107 Thank you
Dec 01 2004
parent John Reimer <brk_6502 yahoo.com> writes:
On Thu, 02 Dec 2004 06:09:24 +0000, nix wrote:

 OK, i try the next release with dmd 0.107 
 
 Thank you
Actually, you will want download dmd 0.108 as well. 108 has fixed some things to remedy the mango break.
Dec 01 2004
prev sibling parent nix <nix_member pathlink.com> writes:
In article <com986$1q5f$2 digitaldaemon.com>, kris says... 
 
J C Calvarese wrote: 
 nix wrote: 
  
 Hello,  
It'd probably be more effective to ask about this in the Mango forum: http://www.dsource.org/forums/viewforum.php?f=5
 
 i have succesfully compiled  mango_beta_9-5 .  
Kris and other Mango users would probably rather help with the most current version of Mango.
 (By mango 1.0 i can't find a make file)  
Is this the elusive Linux makefile? http://svn.dsource.org/svn/projects/mango/trunk/linux.make Perhaps it got left out of the package.
Thanks JCC; the makefile did indeed get left out, but it's in the 1.0a release on dsource.org (which also fixes the problems that surfaced via dmd 0.107). That particular error message originates from a background thread in the Servlets.d example. It means there was some kind of problem accessing a remote site (a certain well-known news-aggregator, I think). I'm on the road right now, so if you post over at dsource.org I'll follow up on Friday evening.
Hello, i have found my mistake. I haven't start the HttpServer . Thank you.
Dec 02 2004