View previous topic :: View next topic |
Author |
Message |
penultimatefire
Joined: 02 Feb 2006 Posts: 1 Location: Rochester, NY
|
Posted: Wed Feb 15, 2006 12:05 pm Post subject: built on linux! path problems though... |
|
|
DSP is exciting. I wanted the NGWF(tm) (next great web framework) to be a D webserver/D servlet container combo with dynamic loading of servlets and whatnot and then I discovered that you had most of this going!
I checked out the SVN trunk this morning and built it on my ubuntu webserver. I had to make some changes--dsp/tags/all.d was referring to files that weren't there, and there was a Linux bug with the path handling in app.xml's <application> path attribute...the server is running now but when I go to localhost:8080/dspconf/index.dsp for example, I get a 500 internal server error and the following log message:
20228 ERROR mango.servlet.ServletContext - Internal error:\home\kevin\src\dsp\dspconf\ndex.dsp: No such file or directory
Don't know how Linux handles backslashes as path separators--it might not. But it also looks like the i is getting chopped off the URL filename...
So I'm going to poke around some more and see what I can do to make the path handling more platform agnostic. But just wanted to let you know that this looks like a fantastic project! |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Wed Feb 15, 2006 1:31 pm Post subject: |
|
|
Quote: | So I'm going to poke around some more and see what I can do to make the path handling more platform agnostic. But just wanted to let you know that this looks like a fantastic project! |
That's just awesome, and thanks for the compliments! At the time of my last commit (a good while ago), I was on the cusp of using more Mango components to get better portability. I'm excited to see that it ported as well as it did.
Although there are a few things you should be aware of with DSP if you weren't already in-the-know.
In short, I am 100? focused over on DDL so that DSP will behave as expected. The major hurdle is a disconnect between the typeinfo trees in the on-demand compiled portions (the .dsp files) and the server/dsp engine itself (take a look at the status log thread in the forum). DDL will address these problems, and several more to boot (take a look at the size of those .so files in the cache!).
From DDL, we will also get a better server platform to work on.
That having been said, it *does* work for small servlets and trival applications. Enjoy!
As for the current state of DSP: the current build is very windows centric so path problems in ports are going to crop up - there's likely more than what you've found so far. Please feel free to hack away on what's there but do keep in mind that it's going to undergo a near complete rebuild once DDL 1.0 is released. Because of that I'm not going to be integrating any patches for the codebase - but do feel free to post any critiques or suggestions here in the forums. I'll harvest those ideas when the time comes to build a superior product. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|