one thing is: I found there is no servicemix.bat in the
servicemix.zipdistribution, in the
$apache-servicemix\src\main\descriptors\windows-
bin.xml, it seems it is missing to include the bat file in the distribution.

Thanks
Jeff

On Nov 27, 2007 4:52 PM, Guillaume Nodet <[EMAIL PROTECTED]> wrote:

> Can you just run
>   bin/servicemix.sh
> or
>   bin/servicemix.bat
>
> instead of
>
>   bin/linux/servicemix.sh
> or
>   bin/win32/servicemix.bat
>
> I must admit I haven't tested them yet.  They come straight from the
> activemq distribution....
>
> On Nov 27, 2007 9:22 AM, Freeman Fang <[EMAIL PROTECTED]> wrote:
>
> > Hi Guillaume,
> >
> > You are correct, I just use "dos2unix" tool to convert servicemix.sh in
> > my kit, and I can run it.  But get the same error as Jeff saw, I update
> > code today.
> > Best Regards
> >
> > Freeman
> >
> >
> >
> > Guillaume Nodet wrote:
> > > Are you sure you have updated your sources recently ?
> > > It looks like the scripts from a few weeks ago.
> > >
> > > On Nov 27, 2007 8:29 AM, Jeff Yu <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >> well, tested it under linux (ubuntu), when I run the "./servicemix.sh
> > >> console", I get the same error with windows.
> > >>
> > >>
> > >> [EMAIL PROTECTED]:~/apache-servicemix-4.0/bin/linux$ ./servicemix.sh
> console
> > >> Running ServiceMix Server...
> > >> wrapper  | --> Wrapper Started as Console
> > >> wrapper  | Launching a JVM...
> > >> jvm 1    | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org
> > >> jvm 1    |
> > >> jvm 1    | WrapperSimpleApp: Unable to locate the class
> > >> org.apache.activemq.console.Main: java.lang.ClassNotFoundException:
> > >> org.apache.activemq.console.Main
> > >> jvm 1    |
> > >> jvm 1    | WrapperSimpleApp Usage:
> > >> jvm 1    |   java
> org.tanukisoftware.wrapper.WrapperSimpleApp{app_class}
> > >> [app_parameters]
> > >> jvm 1    |
> > >> jvm 1    | Where:
> > >> jvm 1    |   app_class:      The fully qualified class name of the
> > >> application to run.
> > >> jvm 1    |   app_parameters: The parameters that would normally be
> > passed
> > >> to
> > >> the
> > >> jvm 1    |                   application.
> > >> wrapper  | <-- Wrapper Stopped
> > >>
> > >>
> > >>
> > >> 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
> > >>
> > >>
> > >
> > >
> > >
> > >
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>



-- 
Best Regards
Jeff

Reply via email to