I've found it is because you are extracting the servicemix.zip instead of the servicemix.tar.gz archive. so for the zip archive, it is using the dos lineEnding.... it is configured in the $apache-servicemix\src\main\descriptors\windows-bin.xml file.
Thanks Jeff On Nov 27, 2007 2:53 PM, Freeman Fang <[EMAIL PROTECTED]> wrote: > The linux version doesn't work as well, > try to run "./servicemix.sh" > get error per as below > : bad interpreter: No such file or directory > > Jeff Yu wrote: > > Hmm.. > > Compared the servicemix.bat to servicemix in the linux folder, it is > much > > less... seems not finished that bat file yet? > > > > > > On Nov 27, 2007 12:39 PM, Jeff Yu <[EMAIL PROTECTED]> wrote: > > > > > >> Hi, > >> > >> I am building the SMX 4.0 distribution, and when I run the " > servicemix.bat", > >> I got following error: > >> > >> STATUS | wrapper | 2007/11/27 11:12:58 | --> Wrapper Started as > Console > >> STATUS | wrapper | 2007/11/27 11:12:58 | Launching a JVM... > >> INFO | jvm 1 | 2007/11/27 11:12:59 | Wrapper (Version 3.2.0) > >> http://wrapper.tanukisoftware.org > >> INFO | jvm 1 | 2007/11/27 11:12:59 | > >> INFO | jvm 1 | 2007/11/27 11:12:59 | WrapperSimpleApp: Unable to > >> locate the class org.apache.activemq.console.Main: > >> java.lang.ClassNotFoundException: org.apache.activemq.console.Main > >> INFO | jvm 1 | 2007/11/27 11:12:59 | > >> INFO | jvm 1 | 2007/11/27 11:12:59 | WrapperSimpleApp Usage: > >> INFO | jvm 1 | 2007/11/27 11:12:59 | java > >> org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} > [app_parameters] > >> INFO | jvm 1 | 2007/11/27 11:12:59 | > >> INFO | jvm 1 | 2007/11/27 11:12:59 | Where: > >> INFO | jvm 1 | 2007/11/27 11:12:59 | app_class: The fully > >> qualified class name of the application to run. > >> INFO | jvm 1 | 2007/11/27 11:12:59 | app_parameters: The > parameters > >> that would normally be passed to the > >> INFO | jvm 1 | 2007/11/27 11:12:59 | > application. > >> STATUS | wrapper | 2007/11/27 11:13:01 | <-- Wrapper Stopped > >> > >> > >> > >> -- > >> Best Regards > >> Jeff > >> > > > > > > > > > > > -- Best Regards Jeff
