You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Piotr Bzdyl <pi...@bzdyl.net> on 2007/12/21 09:13:48 UTC

[smix4] Exceptions during startup

Hi,

I am playing with Smix4 and I am getting several exceptions in the
log. Could someone tell me if these exceptions are errors and the
platform doesn't start correctly or it is some kind of warning? (see
attached file)

I had also a problem with starting SMix4:

bash-3.2$ ./bin/servicemix.bat
Unable to access jarfile c:\5\apache-servicemix-runtime-0.1-SNAPSHOT\bin\..\lib\
servicemix.jar

I had to fix bin/servicemix.bat:
from: "%JAVA%" %JAVA_OPTS% %OPTS%
-Dservicemix.home="%SERVICEMIX_HOME%"
-Dservicemix.base="%SERVICEMIX_BASE%" -jar
"%SERVICEMIX_HOME%\lib\servicemix.jar" %*

to: "%JAVA%" %JAVA_OPTS% %OPTS% -Dservicemix.home="%SERVICEMIX_HOME%"
-Dservicemix.base="%SERVICEMIX_BASE%" -jar
"%SERVICEMIX_HOME%\bin\servicemix.jar" %*

Best regards,
Piotr

Re: [smix4] Exceptions during startup

Posted by Piotr Bzdyl <pi...@bzdyl.net>.
After rebuilding I don't have these exceptions.

Thanks,
Piotr

On 12/21/07, Piotr Bzdyl <pi...@bzdyl.net> wrote:
> Hi again,
>
> > > I am playing with Smix4 and I am getting several exceptions in the
> > > log. Could someone tell me if these exceptions are errors and the
> > > platform doesn't start correctly or it is some kind of warning? (see
> > > attached file)
>
> What about above exceptions?
>
> Best regards,
> Piotr
>

Re: [smix4] Exceptions during startup

Posted by Piotr Bzdyl <pi...@bzdyl.net>.
Hi again,

> > I am playing with Smix4 and I am getting several exceptions in the
> > log. Could someone tell me if these exceptions are errors and the
> > platform doesn't start correctly or it is some kind of warning? (see
> > attached file)

What about above exceptions?

Best regards,
Piotr

Re: [smix4] Exceptions during startup

Posted by Guillaume Nodet <gn...@gmail.com>.
Thx, it should be fixed now.

On Dec 21, 2007 10:21 AM, Jeff Yu <je...@gmail.com> wrote:

> I've just checked out the smx4.0-runtime & build from scratch, it has the
> same minor issue as Piotr pointed out, simply fix the "lib\servicemix.jar"
> to "bin\servicemix.jar". (I also checked in linux version,
> servicemix.jarlocated in the lib folder). It is out-of-date for
> windows-bin.xml.
>
> After that, I can start them successfully without any error.
>
>
> On Dec 21, 2007 4:40 PM, Guillaume Nodet <gn...@gmail.com> wrote:
>
> > Hi Piotr !
> >
> > I guess the problem is that I'm mainly testing on Mac, but I'll give it
> a
> > try on WIndows.
> > Did you make sure you rebuild the runtime from scratch ? The
> > servicemix.jarhas recently been moved to the lib folder (it was
> > previously in the bin
> > folder).
> >
> > On Dec 21, 2007 9:13 AM, Piotr Bzdyl <pi...@bzdyl.net> wrote:
> >
> > > Hi,
> > >
> > > I am playing with Smix4 and I am getting several exceptions in the
> > > log. Could someone tell me if these exceptions are errors and the
> > > platform doesn't start correctly or it is some kind of warning? (see
> > > attached file)
> > >
> > > I had also a problem with starting SMix4:
> > >
> > > bash-3.2$ ./bin/servicemix.bat
> > > Unable to access jarfile c:\5\apache-
> > > servicemix-runtime-0.1-SNAPSHOT\bin\..\lib\
> > > servicemix.jar
> > >
> > > I had to fix bin/servicemix.bat:
> > > from: "%JAVA%" %JAVA_OPTS% %OPTS%
> > > -Dservicemix.home="%SERVICEMIX_HOME%"
> > > -Dservicemix.base="%SERVICEMIX_BASE%" -jar
> > > "%SERVICEMIX_HOME%\lib\servicemix.jar" %*
> > >
> > > to: "%JAVA%" %JAVA_OPTS% %OPTS% -Dservicemix.home="%SERVICEMIX_HOME%"
> > > -Dservicemix.base="%SERVICEMIX_BASE%" -jar
> > > "%SERVICEMIX_HOME%\bin\servicemix.jar" %*
> > >
> > > Best regards,
> > > Piotr
> > >
> >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> >
>
>
>
> --
> Thanks
> Jeff
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: [smix4] Exceptions during startup

Posted by Jeff Yu <je...@gmail.com>.
I've just checked out the smx4.0-runtime & build from scratch, it has the
same minor issue as Piotr pointed out, simply fix the "lib\servicemix.jar"
to "bin\servicemix.jar". (I also checked in linux version,
servicemix.jarlocated in the lib folder). It is out-of-date for
windows-bin.xml.

After that, I can start them successfully without any error.


On Dec 21, 2007 4:40 PM, Guillaume Nodet <gn...@gmail.com> wrote:

> Hi Piotr !
>
> I guess the problem is that I'm mainly testing on Mac, but I'll give it a
> try on WIndows.
> Did you make sure you rebuild the runtime from scratch ? The
> servicemix.jarhas recently been moved to the lib folder (it was
> previously in the bin
> folder).
>
> On Dec 21, 2007 9:13 AM, Piotr Bzdyl <pi...@bzdyl.net> wrote:
>
> > Hi,
> >
> > I am playing with Smix4 and I am getting several exceptions in the
> > log. Could someone tell me if these exceptions are errors and the
> > platform doesn't start correctly or it is some kind of warning? (see
> > attached file)
> >
> > I had also a problem with starting SMix4:
> >
> > bash-3.2$ ./bin/servicemix.bat
> > Unable to access jarfile c:\5\apache-
> > servicemix-runtime-0.1-SNAPSHOT\bin\..\lib\
> > servicemix.jar
> >
> > I had to fix bin/servicemix.bat:
> > from: "%JAVA%" %JAVA_OPTS% %OPTS%
> > -Dservicemix.home="%SERVICEMIX_HOME%"
> > -Dservicemix.base="%SERVICEMIX_BASE%" -jar
> > "%SERVICEMIX_HOME%\lib\servicemix.jar" %*
> >
> > to: "%JAVA%" %JAVA_OPTS% %OPTS% -Dservicemix.home="%SERVICEMIX_HOME%"
> > -Dservicemix.base="%SERVICEMIX_BASE%" -jar
> > "%SERVICEMIX_HOME%\bin\servicemix.jar" %*
> >
> > Best regards,
> > Piotr
> >
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
>



-- 
Thanks
Jeff

Re: [smix4] Exceptions during startup

Posted by Guillaume Nodet <gn...@gmail.com>.
Hi Piotr !

I guess the problem is that I'm mainly testing on Mac, but I'll give it a
try on WIndows.
Did you make sure you rebuild the runtime from scratch ? The
servicemix.jarhas recently been moved to the lib folder (it was
previously in the bin
folder).

On Dec 21, 2007 9:13 AM, Piotr Bzdyl <pi...@bzdyl.net> wrote:

> Hi,
>
> I am playing with Smix4 and I am getting several exceptions in the
> log. Could someone tell me if these exceptions are errors and the
> platform doesn't start correctly or it is some kind of warning? (see
> attached file)
>
> I had also a problem with starting SMix4:
>
> bash-3.2$ ./bin/servicemix.bat
> Unable to access jarfile c:\5\apache-
> servicemix-runtime-0.1-SNAPSHOT\bin\..\lib\
> servicemix.jar
>
> I had to fix bin/servicemix.bat:
> from: "%JAVA%" %JAVA_OPTS% %OPTS%
> -Dservicemix.home="%SERVICEMIX_HOME%"
> -Dservicemix.base="%SERVICEMIX_BASE%" -jar
> "%SERVICEMIX_HOME%\lib\servicemix.jar" %*
>
> to: "%JAVA%" %JAVA_OPTS% %OPTS% -Dservicemix.home="%SERVICEMIX_HOME%"
> -Dservicemix.base="%SERVICEMIX_BASE%" -jar
> "%SERVICEMIX_HOME%\bin\servicemix.jar" %*
>
> Best regards,
> Piotr
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/