Click to See Complete Forum and Search --> : Project: Tornado HTTP Server
klamath
01-19-2001, 07:13 PM
I hope you guys don't mind me announcing my latest Free Software project.
Tornado (http://sourceforge.net/projects/tornado) is a multi-threaded web server written in Java. It's released under the GPL, and is currently quite functional. There are lots of features that still need to be designed, but it's improving quite rapidly. I'd love it if anyone who's interested would download a copy of the source, and try it out (please report bugs! http://www.linuxnewbie.org/ubb/biggrin.gif).
If you know Java, I'd love your help. If you know XML (or want to learn), that would be even better - the configuration system is going to be redesigned to use XML. You don't need to be a programming wizard, by any means: I just learned the language a couple months ago.
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)
nanode
01-19-2001, 07:48 PM
dude, this looks cool.
I just DL and built on my work machine (don't tell my boss). ant built the classes - but I can't figure how to start it up.
I see that your main method is in Tornado.java - but java Tornado
Exception in thread "main" java.lang.NoClassDefFoundError: Tornado (wrong name:
tornado/Tornado)
I'm probably doing something lame.
Thanks
klamath
01-19-2001, 07:54 PM
You'll need to execute 'java tornado.Tornado'. http://www.linuxnewbie.org/ubb/biggrin.gif
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)
nanode
01-19-2001, 07:56 PM
I did try that - even put it in my classpath, but that shouldn't be necessary w/ jdk1.3 unless it's in a .jar
nanode
01-19-2001, 07:57 PM
Figured it out:
Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.Runt
imeException: Couldn't write to log files
at tornado.Logger.<init>(Logger.java:31)
at tornado.Tornado.<clinit>(Tornado.java:13)
I'll re-read the code and figure out howto config.
Thanks,
klamath
01-19-2001, 08:01 PM
A 'mkdir /tmp/tornado-logs' should do the trick (assuming you're on UNIX).
The log file paths are currently hardcoded in Configuration.java.
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)
wmHardRock
01-19-2001, 09:12 PM
Why Java? I heard that Java was slow and unstable
klamath
01-20-2001, 02:32 PM
Why Java?
It's portable, you can write threads in it easily, and I already know the language well. Besides, I'll need Java for University, so learning it well know will pay off.
I heard that Java was slow and unstable
Not really. I can't understand how a language can be unstable. And as for speed, it's quite fast once everything has been JIT'ed. And that only needs to be done once; from then on it's executing native code. And in the end, performance is not particularly important.
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)
nanode
01-20-2001, 09:10 PM
People fear what they do not understand.
Sterling
01-21-2001, 12:22 PM
Which explains a number of the US Government's wierder tech policies...
Anyway, I'll download this one the term's done and check it out. It sounds really cool. I'm not sure how much I'll be able to contribute, but I should be able to do something. http://www.linuxnewbie.org/ubb/smile.gif
------------------
-Sterling
"There is no Linuxnewbie.org cabal..."
nanode
01-22-2001, 10:48 AM
Klamath:
If you need any Swing eye candy, I'm your dude. Rollover Button Icons, multi-threaded progress bars... http://www.linuxnewbie.org/ubb/smile.gif
I'd expect you wouldn't need any of that crap, since this is a web server daemon. Your project looks more interesting than what I'm doing at work - too bad open source gigs don't pay so well http://www.linuxnewbie.org/ubb/frown.gif
Sterling
01-22-2001, 06:40 PM
Nanode - Do it in your Copious Spare Time (TM). http://www.linuxnewbie.org/ubb/wink.gif Seriously, I'd think that Swing and GUI design talents would be welcome in any project. If only because most programmers either suck at GUI design or hate all the bizarre work with wierd APIs it requires. (I'm in both of the above categories) I expect some kind of cleanly-written GUI config tool would be very helpful.
------------------
-Sterling
"There is no Linuxnewbie.org cabal..."
klamath
01-22-2001, 07:00 PM
If you need any Swing eye candy, I'm your dude.
Cool. Actually, once I figure out a good XML format, write the XML parsing code (SAX2, DOM2, or JDOM?), and actually get the configuration system finished, there will definately be room for a GUI config generator (kinda like fetchmailconf). So I'll keep your offer in mind - down the road a bit that's definately one thing that could be done.
I expect some kind of cleanly-written GUI config tool would be very helpful.
Exactly.
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)
madmanZ
01-30-2001, 12:18 AM
How easy is XML to learn?
is there any good online sites to check it out?
Sweede
01-30-2001, 12:51 AM
i;ve been looking at XML for about half a year now and still do not understand it past it being a data storage layer with no real quaility format (without plain HTML tags and a ton of style sheets).
as for java, i downloaded oracle8i, and ran the installer..
while it looks pretty, its java, and it took about an HOUR to install (900 megs) and crashed 3 times. the rest of the oracle interface is java, and just didnt work.
while my installation of Diablo2, which takes up 1.5 gigs, took about 10 minutes from a (3) CD ROM.
but, learning it for edu use isnt all a bad idea http://www.linuxnewbie.org/ubb/smile.gif
klamath
01-30-2001, 08:20 AM
XML is pretty easy. Actually, I've been talking with a guy who overhauled the config stuff and basically did all the XML stuff we'll need (!), so you don't even need to learn it if you don't want to. All you'll need to do is use a simple interface to the configuration info, and not worry about how the XML is parsed (yay! data encapsulation! http://www.linuxnewbie.org/ubb/biggrin.gif).
BTW, for those of you interested: I released 0.2.1 a while back which fixed a number of bugs. 0.3.0 is under development now, and will include lots of changes -- except I'm currently in the middle of exams so I can't get much done on it.
------------------
- Klamath
Get my GnuPG Key Here (http://klamath.dyndns.org/mykey.asc)
Looking for an open source project to contribute to? Check out the Tornado HTTP Server (http://sourceforge.net/projects/tornado)
nanode
01-30-2001, 11:06 AM
I'm also busy for the next 2-3 weeks. At the end of that time I'll either be promoted or laid off j/k
School projects were so much easier. If you followed instructions and your code ran, you passed. I don't remember a marketing dept. deciding that my college programming assignments didn't offer value to customers http://www.linuxnewbie.org/ubb/tongue.gif
Seriously, although most my talents might be focused on GUI, I know Java really well and probably code whatever, given enough time and info. A config editor sounds kinda fun. Let me know after a while.