You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Mo Mal <ma...@gmail.com> on 2008/12/21 09:05:49 UTC

Running ServiceMIX Help needed.

Hi,I am new to ServiceMIX so please forgive my silly questions. I downloaded
the ServiceMIX zip file, and unzipped it. I added a HOME_JAVA to the path of
my WindowsXP, I also added the servicemix\bin to the path.
I also downloaded Maven 2.0.9 and setup the path to point to maven\bin.

I start servicemix by running the following command in command line
"servicemix" I checked the port 1099 and was listening on it. Everything
seems to be running perfectly. I even configured my router to open and
Send/Receive packets on 1099 to my machine. But when I run the example\basic
it doesn't run successfully. To run the basic example I did the following
command under the examples\basic "mvn jbi:embeddedServicemix" but this gave
me the following output:
===========================
12/21/2008  12:45 AM    <DIR>          .
12/21/2008  12:45 AM    <DIR>          ..
12/21/2008  12:45 AM    <DIR>          data
12/20/2008  11:44 PM    <DIR>          src
               0 File(s)              0 bytes
               4 Dir(s)  57,450,450,944 bytes free

.....................................\SeriveMIX\apache-servicemix
-3.3\apache-servicemix-3.3\examples\basic>mvn jbi:embeddedService
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jbi'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jbi-plugin' does not exist
or
no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Dec 21 01:14:16 CST 2008
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------

..........................My Documents\SeriveMIX\apache-servicemix
-3.3\apache-servicemix-3.3\examples\basic>
===========================

I also tried to run "servicemix servicemix.xml" from the examples/basic
folder from command propmt but got the following output
===========================

...........................................\My
Documents\SeriveMIX\apache-servicemix
-3.3\apache-servicemix-3.3\examples\basic>servicemix servicemix
Starting Apache ServiceMix ESB: 3.3

Loading Apache ServiceMix from file: servicemix
Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
IOExcept
ion parsing XML document from file [.....................................My
D
ocuments\SeriveMIX\apache-servicemix-3.3\apache-servicemix-3.3\examples\basic\se
rvicemix]; nested exception is java.io.FileNotFoundException: servicemix
(The sy
stem cannot find the file specified)
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
pars
ing XML document from file [...................................\My Documents
\SeriveMIX\apache-servicemix-3.3\apache-servicemix-3.3\examples\basic\servicemix
]; nested exception is java.io.FileNotFoundException: servicemix (The system
can
not find the file specified)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:349)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:310)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
        at
org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
        at
org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:113)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadB
eanDefinitions(FileSystemXmlApplicationContext.java:168)
        at
org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
        at
org.springframework.context.support.AbstractApplicationContext.obtain
FreshBeanFactory(AbstractApplicationContext.java:423)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:353)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>(FileSystemXmlApplicationContext.java:149)
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init
>(FileSystemXmlApplicationContext.java:100)
        at org.apache.servicemix.Main.main(Main.java:66)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
Caused by: java.io.FileNotFoundException: servicemix (The system cannot find
the
 file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at
org.springframework.core.io.FileSystemResource.getInputStream(FileSys
temResource.java:108)
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:336)
        ... 20 more
..............................My Documents\SeriveMIX\apache-servicemix
-3.3\apache-servicemix-3.3\examples\basic>
===========================
Any hints would be highly appreciated.

Mo