Hi, The best example to look at for a non-embedded example of using servicemix is the wsdl-first example. this will work with the commands I listed in my earlier response.
This example is not designed for an embedded deployment into a Servicemix container. Hope this helps. Cheers, Ashwin... juhasiltanen wrote: > > Hello > > Thank you for your fast reply, it really surprised me :-) > > I followed your instructions, but unfortunatelly it did not produce the > required result... > > I executed those commands while the servicemix server was up and the when > it was down. > > There is no similar activity on the log as there is when running the > sample within the embedded servicemix server. > > Here is the output for the maven command > > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'jbi'. > [INFO] > ------------------------------------------------------------------------ > [INFO] Building ServiceMix :: Samples :: Basic > [INFO] task-segment: [jbi:projectDeploy] > [INFO] > ------------------------------------------------------------------------ > Downloading: > http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom > Downloading: > http://svn.apache.org/repos/asf/servicemix/m2-repo//org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom > Downloading: > http://people.apache.org/repo/m2-incubating-repository/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom > Downloading: > http://repository.codehaus.org/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom > Downloading: > http://download.java.net/maven/1/org.apache.ws.security/poms/wss4j-1.5.2.pom > Downloading: > http://repo1.maven.org/maven2/org/apache/ws/security/wss4j/1.5.2/wss4j-1.5.2.pom > [INFO] [jbi:projectDeploy] > [INFO] ------------------ Deployment Analysis -------------------- > [INFO] ServiceMix :: Samples :: Basic has -1 child dependencies > [INFO] ----------------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 26 seconds > [INFO] Finished at: Tue Jan 20 14:50:29 EET 2009 > [INFO] Final Memory: 18M/36M > [INFO] > ------------------------------------------------------------------------ > > > Ashwin Karpe wrote: >> >> Hi, >> >> You should be able to do the following >> - In order to compile, you can run >> mvn clean install >> - In order to deploy to a server, you can run the following task >> mvn jbi:projectDeploy >> >> Hope this helps. >> >> Cheers, >> >> Ashwin... >> >> >> juhasiltanen wrote: >>> >>> The basic sample that is shipped with the ServiceMIX distribution is >>> executed using maven... >>> >>> mvn jbi:embeddedServicemix >>> >>> If I would use this sample as the base for my own application, how would >>> I convert it into a deployable ServiceMix package instead of this >>> embedded style of execution? >>> >> >> > > ----- --- Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence Progress Software Corporation 14 Oak Park Drive Bedford, MA 01730 --- +1-972-304-9084 (Office) +1-972-971-1700 (Mobile) ---- Blog: http://opensourceknowledge.blogspot.com/ -- View this message in context: http://www.nabble.com/Beginner---Basic-sample---How-to-run-as-deployable--tp21562020p21574408.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
