Hi Steven, there are several examples explained at the homepage... and yes, I also had my problems in getting the first example started. But now it works. :-) I just can tell you what I did.. (1) get java 1.5.. make sure, that in your classpath is 1.5 (2) get ant... (3) get the latest servicemix binary (!) edition. thats it.... browse to your servicemix folder[SF] and open examples. Nearly every example (one in each folder) uses the same steps. (4-1) [SF]\bin\servicemix [SF]\examples\http...\servicemix.xml [SF] is your folder... you start servicemix and tell the engine where your configuration file is. Every example has its own. (4-2) now servicemix works but in most cases its very boring just to stare at the engine... ;-) therefore you should start the example. Instead of typing "java myexample.class" you will have to use the ant command. There is a makefile in every folder that compiles your java files to classfiles, that will be executed automatically. Just browse into the example folder where the makefile is located and type "ant."
Best practice: Once you started your first example...browse to the servicemix homepage, click examples, choose one of those and follow the instructions and the online documentation. Eric Steven schrieb:
Is there a "hello world" example out there for ServiceMix? Something that shows me in code how to work with ServiceMix. There's one for Mule and it was very helpful to me. I'm struggling with many errors - from simple start-up to every example thus far. I'm really bummed because the web docs seem pretty easy - yet I'm unable to get even one example to work (and I'm following the directions exactly). Unless the directions leave out needed steps, I fail to see how anyone can get it working. Why? Because I started with a fresh install of Java 1.4.2, installed ServiceMix, and it doesn't work on my system (for whatever reason). I'm sure it's a setup issue on my system, but I'm stuck on what it might be. Still, ServiceMix looks cool enough to continue the struggle.
-- Eric Düll Innovations GmbH http://www.innovations.de Ziegelei 7 [EMAIL PROTECTED] D-88090 Immenstaad Tel: 0 75 45 / 202-332
