You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by mariana soffer <ma...@nektra.com> on 2008/05/27 20:06:05 UTC
ServiceMix, Eclipse and apache servicemix server
I have the following problem:
After installing all the required eclipse plug-ins effectively including
cimero and the servicemix on windows.
I select add new server (in the bottom tab called servers, next to the
console and properties), then I add the servicemix kind of server, a
pop-up appears where I need to enter the server details. I am stuck
here, I can not configure the servicemix server in this environment.
The error message says: Missing classpath entry \conf , I tried
changing everything but nothing seems to work, not even change the error
message.
Thank you very much for you time, I really appreciate it
Mariana Soffer
thank you very much for the help
Mariana
Re: ServiceMix, Eclipse and apache servicemix server
Posted by mattrpav <ma...@airband.com>.
Mariana-
You are welcome. Let us know how it goes.
Matt Pavlovich
--
View this message in context: http://www.nabble.com/ServiceMix%2C-Eclipse-and-apache-servicemix-server-tp17496480p17500513.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: ServiceMix, Eclipse and apache servicemix server
Posted by mariana soffer <ma...@nektra.com>.
mattrpav wrote:
> Mariana-
>
> This isn't exactly what you are looking for, but it might get you close
> enough--
>
> I've setup ServiceMix to run in Eclipse as a plain Java Application and it
> works well (debug, too!). You have to manually copy archives for
> deployment, but that is easy enough. Create a standard Java Project called
> "Servicemix" and unzip the ServiceMix runtime in that project so you have a
> folder structure that looks like
> workspace\ServiceMix\apache-servicemix-$version\. (In the example below, i
> use apache-servicemix-SNAPSHOT, so just replace that with the correct name
> for the version you have)
>
> Then you can use these settings to run ServiceMix as an Java Application:
>
> Run -> Open Run Dialog
>
> * Click on the 'New' button (the paper with the plus "+" in the top right
> corner)
>
> [(C) Main] Tab
> * Select Project 'ServiceMix'
> * Main class: org.codehaus.classworlds.Launcher
> * Check 'Include system libraries when searching for a main class'
>
> [(x)= Arguments] Tab
> * VM arguments:
> -server -Xms128M -Xmx512M
> -Dderby.system.home=${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/var
> -Dderby.storage.fileSyncTransactionLog=true -Dcom.sun.management.jmxremote
> -classpath
> .:${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/conf:${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/lib/classworlds-1.0.1.jar
> -Dclassworlds.conf=${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/conf/servicemix.conf
> -Dservicemix.home=${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT
>
> * Working directory:
> (x) Other: ${workspace}/ServiceMix/apache-servicemix-SNAPSHOT
>
> [v^ Classpath] Tab
> * Add 'User entries' for the folder
> 'ServiceMix/apache-servicemix-SNAPSHOT/conf'
> * Add 'User entries' for the jar
> 'ServiceMix/apache-servicemix-SNAPSHOT/lib/classworlds-1.0.1.jar
>
> [Common] Tab
> * Check [x] For Debug and Run favorites
> * [x] for Allocate Console
> * [x] for Launch in background
>
> Hope this helps.
>
> Matt Pavlovich
>
Hi matt I wanted to thank you, I really appreciate your help, it is cool
to share knowledge with other people. I am going to try this tomorrow
since today i can't, but I am really exited about that.
By the way if you ever have doubts about nlp, datamining, texmining, AI,
and that kind of stuff, do not hesitate in writting to me.
Best Regards
Mariana
Re: ServiceMix, Eclipse and apache servicemix server
Posted by mattrpav <ma...@airband.com>.
Mariana-
This isn't exactly what you are looking for, but it might get you close
enough--
I've setup ServiceMix to run in Eclipse as a plain Java Application and it
works well (debug, too!). You have to manually copy archives for
deployment, but that is easy enough. Create a standard Java Project called
"Servicemix" and unzip the ServiceMix runtime in that project so you have a
folder structure that looks like
workspace\ServiceMix\apache-servicemix-$version\. (In the example below, i
use apache-servicemix-SNAPSHOT, so just replace that with the correct name
for the version you have)
Then you can use these settings to run ServiceMix as an Java Application:
Run -> Open Run Dialog
* Click on the 'New' button (the paper with the plus "+" in the top right
corner)
[(C) Main] Tab
* Select Project 'ServiceMix'
* Main class: org.codehaus.classworlds.Launcher
* Check 'Include system libraries when searching for a main class'
[(x)= Arguments] Tab
* VM arguments:
-server -Xms128M -Xmx512M
-Dderby.system.home=${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/var
-Dderby.storage.fileSyncTransactionLog=true -Dcom.sun.management.jmxremote
-classpath
.:${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/conf:${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/lib/classworlds-1.0.1.jar
-Dclassworlds.conf=${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT/conf/servicemix.conf
-Dservicemix.home=${workspace_loc}/ServiceMix/apache-servicemix-3.2.2-SNAPSHOT
* Working directory:
(x) Other: ${workspace}/ServiceMix/apache-servicemix-SNAPSHOT
[v^ Classpath] Tab
* Add 'User entries' for the folder
'ServiceMix/apache-servicemix-SNAPSHOT/conf'
* Add 'User entries' for the jar
'ServiceMix/apache-servicemix-SNAPSHOT/lib/classworlds-1.0.1.jar
[Common] Tab
* Check [x] For Debug and Run favorites
* [x] for Allocate Console
* [x] for Launch in background
Hope this helps.
Matt Pavlovich
--
View this message in context: http://www.nabble.com/ServiceMix%2C-Eclipse-and-apache-servicemix-server-tp17496480p17499185.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.