Guillaume,
I can understand from your answer that I can not work now on trying to
deploy servicemix on my favourite J2EE app server.
Can you tell me if integrating SM into my app server is a lot of work ?
I know it depends on my app server but there is a list of stuff to do
you can perhaps give to let me evaluate the effort I will have to give...
Cheers,
Charles
Guillaume Nodet wrote:
The integration of ServiceMix in Geronimo will consist in a set of
gbeans which
you will be able to deploy in Geronimo. These gbeans will provide :
* a ServiceMix JBI container
* integration with geronimo hot deployer
* use Geronimo resources : transaction manager, work manager
We also hope to provide in the future other features:
* jms binding component linked to geronimo jms broker
* http binding component using geronimo web server
* portlets for managing ServiceMix
The exact packaging of ServiceMix integration is still to decide :
* a j2ee artifact : war, ear
* a geronimo car (configuration archive) : a geronimo plan is
available in servicemix-gplan
In any cases, the goal is to be able to install / deploy jbi artifacts
(components, service assemblies).
The tooling\servicemix-web has not been ported yet to m2 :(
Cheers,
Guillaume Nodet
Charles Souillard wrote:
Hi all,
I am trying to understand how SM is "integrated" in geronimo and what
functionnalities it gives.
First of all, when I read the doc on the web site, I can understand
that there is a SM web app which is deployed into the web container
of Geronimo. This allows to list SM MBeans and to launch a packaged
HelloWorld sample.
There is a paragraph called "Deploying Components on
servicemix-web.war" which is not really enthousiastic :
This section is on hold until the Jira issue: is fixed.
So my first question is :
What means integrated ?? !!
As we can't deploy any component on the web app, I don't understand
what is the add value to deploy SM in a web container...
There is another part on the web site dealing with SM integration in
JBoss. As it is said in the web page, web can deploy new components
in the web app. But when I browse SM source code I never found
something aboutthe JBoss deployer...
Is it in the JBoss project or is it deprecated since SM moved to
Geronimo ?
Nevertheless, I am interesting in deployng the SM web app on my J2EE
app server. To do such a thing I tried the commands line given :
maven war (mvn war) but I get an error. Perhaps you had not time to
move the web app to SM 3.0 ?
Can you help me ?
Here is the stacktrace :
mvn war
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: servicemix
ArtifactId: servicemix
Version: 2.1-SNAPSHOT
Reason: Unable to download the artifact from any repository
servicemix:servicemix:pom:2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: POM
'servicemix:servicemix' not found in repository: Unable to download
the artifact from any repository
servicemix:servicemix:pom:2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'servicemix:servicemix' not found in repository: Unable to download
the artifact from any repository
servicemix:servicemix:pom:2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:430)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:988)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:594)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:304)
at
org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:274)
at
org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
at
org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)
at
org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
... 11 more
Caused by:
org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository
servicemix:servicemix:pom:2.1-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:387)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException:
Unable to download the artifact from any repository
at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
... 20 more
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Jan 10 09:56:08 CET 2006
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------------------------
Thanks a lot
Charles