You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jpepalmero <co...@joathamperezexposito.es> on 2010/03/19 15:44:55 UTC

Create based ESB ServiceMix

Hello everyone. I build my own based ESB ServiceMix and my space no names. I
want to run in files of the service units xbeans my
http://servicemix.mycompany.org/http/1.0.
What we tried several ways but did not work. I have also tried to install
ServiceMix from svn, and neither achievement. :rules:
-- 
View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27950976.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Create based ESB ServiceMix

Posted by jpepalmero <co...@joathamperezexposito.es>.
Now I have the following error and I modified the maven plugin to version
3.2.3:

Internal error in the plugin manager getting plugin
'org.apache.servicemix.tooling:jbi-maven-plugin': Plugin
'org.apache.servicemix.tooling:jbi-maven-plugin:3.2.3' has an invalid
descripto


Gert Vanthienen wrote:
> 
> L.S.
> 
> So if you want to this for the 3.2.3 release, you best start with a
> copy of the code in the release tag.  From that code, alter the
> namespace as you've doing before and rebuild the component.  Once the
> component has been built, you should be able to remove the default
> HTTP component from the hotdeploy folder and add your custom component
> in there.
> 
> If the container starts fine at that point in time (with your version
> of the component instead of ours by default), try building a SU that
> uses the custom namespace and it should be able to access the
> namespace handler.  That should be the scenario in a nutshell, but
> feel free to let us know where/when you run into problems and what the
> exact exceptions/stacktraces are and we'll try to sort those out for
> you.
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 22 March 2010 11:45, jpepalmero <co...@joathamperezexposito.es>
> wrote:
>>
>>
>> Let's start at the beginning. I need to do two things:
>> 1) Building service units where xbean namespace is
>> http://servicemix.mycompany.org/http/1.0
>> 2) Have my ServiceMix functioning under the
>> http://servicemix.mycompany.org/http/1.0 namespace to load the previously
>> created service units.
>>
>> As it
>>
>>
>> Gert Vanthienen wrote:
>>>
>>> L.S.,
>>>
>>> If you're building a custom assembly for ServiceMix 3.2.3 I would
>>> recommend you to start with the code in
>>> http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3/
>>> (the ServiceMix 3.2.3 release tag) or in
>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/
>>> (the ServiceMix 3.2.x maintenance branch, which adds some bugfixes on
>>> top of 3.2.3).  The 2008.01 component you checked out is part of
>>> ServiceMix 3.3., where we separated the JBI components' build from the
>>> container build so it has some changes that are not necessary for
>>> ServiceMix 3.2.x
>>>
>>> Also, if you're experiencing problems at build time or deploy time
>>> with you, it would help if you could add the exact stacktrace you're
>>> seeing to the posts because that will help us troubleshoot the exact
>>> issue you're running into.
>>>
>>> Regards,
>>>
>>> Gert Vanthienen
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>> Blog: http://gertvanthienen.blogspot.com/
>>>
>>>
>>>
>>> On 22 March 2010 09:12, jpepalmero <co...@joathamperezexposito.es>
>>> wrote:
>>>>
>>>> Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
>>>> Exactly the tag ServiceMix-http-2008.01. Once done, modifications to
>>>> the
>>>> pom:
>>>> <version> 2008.01 </ version> by
>>>> <version> 3.2.3 </ version>
>>>> and
>>>> <configuration>
>>>>  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
>>>> </ configuration>
>>>>
>>>> This builds successfully, but when I create my service unit, tells me
>>>> they
>>>> are different versions.
>>>>
>>>> I misunderstood what you want to change.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Jean-Baptiste Onofré wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> if you want to change the components' namespace
>>>>> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the
>>>>> component code and change the POM on the XBean plugin configuration.
>>>>>
>>>>> For instance, to change the HTTP component namespace, you need:
>>>>> 1/ Check the HTTP source code:
>>>>> svn co
>>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk
>>>>> servicemix-http
>>>>>
>>>>> 2/ change the pom around the xbean plugin to set your namespace:
>>>>>        <plugin>
>>>>>          <groupId>org.apache.xbean</groupId>
>>>>>          <artifactId>maven-xbean-plugin</artifactId>
>>>>>          <executions>
>>>>>            <execution>
>>>>>              <goals>
>>>>>                <goal>mapping</goal>
>>>>>              </goals>
>>>>>              <configuration>
>>>>>
>>>>> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>>>>>              </configuration>
>>>>>            </execution>
>>>>>          </executions>
>>>>>        </plugin>
>>>>>
>>>>> 3/ rebuild the component:
>>>>> mvn clean install
>>>>>
>>>>> 4/ deploy your component by copying the installer zip file in the
>>>>> deploy
>>>>> or hotdeploy directory.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> jpepalmero wrote:
>>>>>> Hello everyone. I build my own based ESB ServiceMix and my space no
>>>>>> names. I
>>>>>> want to run in files of the service units xbeans my
>>>>>> http://servicemix.mycompany.org/http/1.0.
>>>>>> What we tried several ways but did not work. I have also tried to
>>>>>> install
>>>>>> ServiceMix from svn, and neither achievement. :rules:
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -----
>>> ---
>>> Gert Vanthienen
>>> http://gertvanthienen.blogspot.com
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27984601.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 

-- 
View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27986258.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Create based ESB ServiceMix

Posted by jpepalmero <co...@joathamperezexposito.es>.
He said the exclusions contained errors and when I run mvn clean install
I generated the following error:

INFO] Reactor Summary:
[INFO] 
[INFO] ServiceMix ........................................ SUCCESS [0.431s]
[INFO] Servicemix :: Build ............................... SUCCESS [4.107s]
[INFO] ServiceMix :: Parent .............................. SUCCESS [5.736s]
[INFO] ServiceMix :: Core ................................ SUCCESS [1.655s]
[INFO] ServiceMix :: JBI ................................. FAILURE [1.712s]
[INFO] ServiceMix :: Services ............................ SKIPPED
[INFO] ServiceMix :: Core ................................ SKIPPED
[INFO] ServiceMix :: Audit ............................... SKIPPED
[INFO] ServiceMix :: Common .............................. SKIPPED
[INFO] ServiceMix :: Common .............................. SKIPPED
[INFO] ServiceMix :: Components .......................... SKIPPED
[INFO] ServiceMix :: SOAP ................................ SKIPPED
[INFO] ServiceMix :: SOAP2 ............................... SKIPPED
[INFO] ServiceMix :: BeanFlow ............................ SKIPPED
[INFO] ServiceMix :: Tooling ............................. SKIPPED
[INFO] ServiceMix :: Maven2 Resource Plugin .............. SKIPPED
[INFO] ServiceMix :: Maven2 JBI Plugin ................... SKIPPED
[INFO] ServiceMix :: Maven2 XFire Plugin ................. SKIPPED
[INFO] ServiceMix :: Deployables ......................... SKIPPED
[INFO] ServiceMix :: Shared Libraries .................... SKIPPED
[INFO] ServiceMix :: Shared .............................. SKIPPED
[INFO] ServiceMix :: Shared Compat ....................... SKIPPED
[INFO] ServiceMix :: Service Engines ..................... SKIPPED
[INFO] ServiceMix :: Bean ................................ SKIPPED
[INFO] ServiceMix :: Binding Components .................. SKIPPED
[INFO] ServiceMix :: HTTP ................................ SKIPPED
[INFO] ServiceMix :: BPE ................................. SKIPPED
[INFO] ServiceMix :: Camel ............................... SKIPPED
[INFO] ServiceMix :: CXF Service Engine .................. SKIPPED
[INFO] ServiceMix :: Drools Service Engine ............... SKIPPED
[INFO] ServiceMix :: EIP ................................. SKIPPED
[INFO] ServiceMix :: JSR-181 Service Engine .............. SKIPPED
[INFO] ServiceMix :: Quartz .............................. SKIPPED
[INFO] ServiceMix :: Lightweight container Service Engine  SKIPPED
[INFO] ServiceMix :: OSWorkflow .......................... SKIPPED
[INFO] ServiceMix :: Saxon Service Engine ................ SKIPPED
[INFO] ServiceMix :: Scripting Service Engine ............ SKIPPED
[INFO] ServiceMix :: WS-Notification Service Engine ...... SKIPPED
[INFO] ServiceMix :: CXF ................................. SKIPPED
[INFO] ServiceMix :: File ................................ SKIPPED
[INFO] ServiceMix :: FTP ................................. SKIPPED
[INFO] ServiceMix :: JMS ................................. SKIPPED
[INFO] ServiceMix :: TrueZIP ............................. SKIPPED
[INFO] ServiceMix :: XMPP ................................ SKIPPED
[INFO] ServiceMix :: Archetypes .......................... SKIPPED
[INFO] ServiceMix :: Archetypes :: BindingComponent ...... SKIPPED
[INFO] ServiceMix :: Archetypes :: ServiceEngine ......... SKIPPED
[INFO] ServiceMix :: Archetypes :: ServiceUnit ........... SKIPPED
[INFO] ServiceMix :: Archetypes :: ServiceAssembly ....... SKIPPED
[INFO] ServiceMix :: Archetypes :: SharedLibrary ......... SKIPPED
[INFO] ServiceMix :: Archetypes :: FilePollerServiceUnit . SKIPPED
[INFO] ServiceMix :: Archetypes :: FileSenderServiceUnit . SKIPPED
[INFO] ServiceMix :: Archetypes :: FtpPollerServiceUnit .. SKIPPED
[INFO] ServiceMix :: Archetypes :: FtpSenderServiceUnit .. SKIPPED
[INFO] ServiceMix :: Archetypes :: HttpConsumerServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: HttpProviderServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: JmsConsumerServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: JmsProviderServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: Jsr181WsdlFirstServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: LWContainerServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: CamelServiceUnit ...... SKIPPED
[INFO] ServiceMix :: Archetypes :: EIPServiceUnit ........ SKIPPED
[INFO] ServiceMix :: Archetypes :: EmbeddedSimple ........ SKIPPED
[INFO] ServiceMix :: Archetypes :: ServiceMixODEServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: Jsr181AnnotatedServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: SaxonXQueryServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: SaxonXsltServiceUnit .. SKIPPED
[INFO] ServiceMix :: Archetypes :: BeanServiceUnit ....... SKIPPED
[INFO] ServiceMix :: Archetypes :: DroolsServiceUnit ..... SKIPPED
[INFO] ServiceMix :: Archetypes :: CxfBCServiceUnit ...... SKIPPED
[INFO] ServiceMix :: Archetypes :: CxfSEServiceUnit ...... SKIPPED
[INFO] ServiceMix :: Archetypes :: CxfSEWsdlFirstServiceUnit  SKIPPED
[INFO] ServiceMix :: Archetypes :: OSWorkflowServiceUnit . SKIPPED
[INFO] ServiceMix :: Archetypes :: ProjectRoot ........... SKIPPED
[INFO] ServiceMix :: Archetypes :: Catalog ............... SKIPPED
[INFO] ServiceMix :: Archetypes :: ITests ................ SKIPPED
[INFO] ServiceMix :: ITests .............................. SKIPPED
[INFO] ServiceMix :: Samples ............................. SKIPPED
[INFO] ServiceMix :: Samples :: WSDL first ............... SKIPPED
[INFO] ServiceMix :: Samples :: WSDL first :: JSR181 ..... SKIPPED
[INFO] ServiceMix :: Samples :: WSDL first :: HTTP ....... SKIPPED
[INFO] ServiceMix :: Samples :: WSDL first :: SA ......... SKIPPED
[INFO] ServiceMix :: Samples :: CXF WSDL first ........... SKIPPED
[INFO] ServiceMix :: Samples :: WSDL first :: CXF SE ..... SKIPPED
[INFO] ServiceMix :: Samples :: WSDL first :: CXF BC ..... SKIPPED
[INFO] ServiceMix :: Samples :: WSDL first :: SA ......... SKIPPED
[INFO] ServiceMix :: Samples :: Loan Broker .............. SKIPPED
[INFO] ServiceMix :: Samples :: Loan Broker :: Bean ...... SKIPPED
[INFO] ServiceMix :: Samples :: Loan Broker :: Drools .... SKIPPED
[INFO] ServiceMix :: Samples :: Loan Broker :: Ode ....... SKIPPED
[INFO] ServiceMix :: Samples :: Loan Broker :: JMS ....... SKIPPED
[INFO] ServiceMix :: Samples :: Loan Broker :: SA ........ SKIPPED
[INFO] ServiceMix :: Samples :: Bridge ................... SKIPPED
[INFO] ServiceMix :: Samples :: Bridge :: HTTP ........... SKIPPED
[INFO] ServiceMix :: Samples :: Bridge :: EIP ............ SKIPPED
[INFO] ServiceMix :: Samples :: Bridge :: XSLT ........... SKIPPED
[INFO] ServiceMix :: Samples :: Bridge :: JMS ............ SKIPPED
[INFO] ServiceMix :: Samples :: Bridge :: SA ............. SKIPPED
[INFO] ServiceMix :: Samples :: Web ...................... SKIPPED
[INFO] ServiceMix :: Samples :: Basic .................... SKIPPED
[INFO] ServiceMix :: Samples :: Camel .................... SKIPPED
[INFO] ServiceMix :: Samples :: Camel :: Simple SU ....... SKIPPED
[INFO] ServiceMix :: Samples :: Camel :: SA .............. SKIPPED
[INFO] ServiceMix :: Samples :: Camel :: SA :: iTest ..... SKIPPED
[INFO] ServiceMix :: Web Apps ............................ SKIPPED
[INFO] ServiceMix :: Console ............................. SKIPPED
[INFO] ServiceMix :: Web Console ......................... SKIPPED
[INFO] ServiceMix :: Platforms ........................... SKIPPED
[INFO] Servicemix :: Geronimo ............................ SKIPPED
[INFO] ServiceMix :: Geronimo :: ServiceMix service ...... SKIPPED
[INFO] ServiceMix :: Geronimo :: Deployer service ........ SKIPPED
[INFO] ServiceMix :: Geronimo :: ServiceMix plugin ....... SKIPPED
[INFO] ServiceMix :: Geronimo :: Deployer plugin ......... SKIPPED
[INFO] ServiceMix :: Assemblies .......................... SKIPPED
[INFO] Servicemix :: Distribution ........................ SKIPPED
[INFO] ServiceMix :: WebApp distribution ................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19.647s
[INFO] Finished at: Mon Mar 22 11:50:36 WET 2010
[INFO] Final Memory: 30M/53M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.5:checkstyle (validate)
on project servicemix-jbi: An error has occurred in Checkstyle report
generation. Failed during checkstyle configuration: cannot initialize module
TreeWalker - TreeWalker is not allowed as a parent of RegexpHeader -> [Help
1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 




Gert Vanthienen wrote:
> 
> L.S.
> 
> So if you want to this for the 3.2.3 release, you best start with a
> copy of the code in the release tag.  From that code, alter the
> namespace as you've doing before and rebuild the component.  Once the
> component has been built, you should be able to remove the default
> HTTP component from the hotdeploy folder and add your custom component
> in there.
> 
> If the container starts fine at that point in time (with your version
> of the component instead of ours by default), try building a SU that
> uses the custom namespace and it should be able to access the
> namespace handler.  That should be the scenario in a nutshell, but
> feel free to let us know where/when you run into problems and what the
> exact exceptions/stacktraces are and we'll try to sort those out for
> you.
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 22 March 2010 11:45, jpepalmero <co...@joathamperezexposito.es>
> wrote:
>>
>>
>> Let's start at the beginning. I need to do two things:
>> 1) Building service units where xbean namespace is
>> http://servicemix.mycompany.org/http/1.0
>> 2) Have my ServiceMix functioning under the
>> http://servicemix.mycompany.org/http/1.0 namespace to load the previously
>> created service units.
>>
>> As it
>>
>>
>> Gert Vanthienen wrote:
>>>
>>> L.S.,
>>>
>>> If you're building a custom assembly for ServiceMix 3.2.3 I would
>>> recommend you to start with the code in
>>> http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3/
>>> (the ServiceMix 3.2.3 release tag) or in
>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/
>>> (the ServiceMix 3.2.x maintenance branch, which adds some bugfixes on
>>> top of 3.2.3).  The 2008.01 component you checked out is part of
>>> ServiceMix 3.3., where we separated the JBI components' build from the
>>> container build so it has some changes that are not necessary for
>>> ServiceMix 3.2.x
>>>
>>> Also, if you're experiencing problems at build time or deploy time
>>> with you, it would help if you could add the exact stacktrace you're
>>> seeing to the posts because that will help us troubleshoot the exact
>>> issue you're running into.
>>>
>>> Regards,
>>>
>>> Gert Vanthienen
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>> Blog: http://gertvanthienen.blogspot.com/
>>>
>>>
>>>
>>> On 22 March 2010 09:12, jpepalmero <co...@joathamperezexposito.es>
>>> wrote:
>>>>
>>>> Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
>>>> Exactly the tag ServiceMix-http-2008.01. Once done, modifications to
>>>> the
>>>> pom:
>>>> <version> 2008.01 </ version> by
>>>> <version> 3.2.3 </ version>
>>>> and
>>>> <configuration>
>>>>  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
>>>> </ configuration>
>>>>
>>>> This builds successfully, but when I create my service unit, tells me
>>>> they
>>>> are different versions.
>>>>
>>>> I misunderstood what you want to change.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Jean-Baptiste Onofré wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> if you want to change the components' namespace
>>>>> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the
>>>>> component code and change the POM on the XBean plugin configuration.
>>>>>
>>>>> For instance, to change the HTTP component namespace, you need:
>>>>> 1/ Check the HTTP source code:
>>>>> svn co
>>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk
>>>>> servicemix-http
>>>>>
>>>>> 2/ change the pom around the xbean plugin to set your namespace:
>>>>>        <plugin>
>>>>>          <groupId>org.apache.xbean</groupId>
>>>>>          <artifactId>maven-xbean-plugin</artifactId>
>>>>>          <executions>
>>>>>            <execution>
>>>>>              <goals>
>>>>>                <goal>mapping</goal>
>>>>>              </goals>
>>>>>              <configuration>
>>>>>
>>>>> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>>>>>              </configuration>
>>>>>            </execution>
>>>>>          </executions>
>>>>>        </plugin>
>>>>>
>>>>> 3/ rebuild the component:
>>>>> mvn clean install
>>>>>
>>>>> 4/ deploy your component by copying the installer zip file in the
>>>>> deploy
>>>>> or hotdeploy directory.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> jpepalmero wrote:
>>>>>> Hello everyone. I build my own based ESB ServiceMix and my space no
>>>>>> names. I
>>>>>> want to run in files of the service units xbeans my
>>>>>> http://servicemix.mycompany.org/http/1.0.
>>>>>> What we tried several ways but did not work. I have also tried to
>>>>>> install
>>>>>> ServiceMix from svn, and neither achievement. :rules:
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -----
>>> ---
>>> Gert Vanthienen
>>> http://gertvanthienen.blogspot.com
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27984601.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 
:,(%-|
-- 
View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27985311.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Create based ESB ServiceMix

Posted by jpepalmero <co...@joathamperezexposito.es>.
I've downloaded ServiceMix from
http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3, and
I've fixed the errors of duplicate dependencies. But under these:


[WARNING] Invalid artifact metadata for
org.springframework:spring-context:jar:2.0.6, transitive dependencies (if
any) will not be available, enable debug logging for more details
[WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2,
transitive dependencies (if any) will not be available, enable debug logging
for more details
[WARNING] Invalid artifact metadata for
org.springframework:spring-beans:jar:2.0.6, transitive dependencies (if any)
will not be available, enable debug logging for more details
[WARNING] Invalid artifact metadata for
org.springframework:spring-core:jar:2.0.6, transitive dependencies (if any)
will not be available, enable debug logging for more details
[WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2,
transitive dependencies (if any) will not be available, enable debug logging
for more details
[WARNING] Invalid artifact metadata for
org.springframework:spring-context:jar:2.0.6, transitive dependencies (if
any) will not be available, enable debug logging for more details
[WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2,
transitive dependencies (if any) will not be available, enable debug logging
for more details
[WARNING] Invalid artifact metadata for
org.springframework:spring-beans:jar:2.0.6, transitive dependencies (if any)
will not be available, enable debug logging for more details
[WARNING] Invalid artifact metadata for
org.springframework:spring-core:jar:2.0.6, transitive dependencies (if any)
will not be available, enable debug logging for more details
[WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2,
transitive dependencies (if any) will not be available, enable debug logging
for more details
[WARNING] Invalid artifact metadata for
org.springframework:spring-context:jar:2.0.6, transitive dependencies (if
any) will not be available, enable debug logging for more details
[WARNING] Invalid artifact metadata for commons-pool:commons-pool:jar:1.2,
transitive dependencies (if any) will not be available, enable debug logging
for more details
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]   The project org.apache.servicemix:servicemix-soap:3.2.3
(/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap/pom.xml) has 1
error
[ERROR]     Malformed POM
/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap/pom.xml:
Unrecognised association: 'groupId' (position: START_TAG seen
...<exclusions>\n          <groupId>... @59:20)  @ 
(/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap/pom.xml) ->
[Help 2]
[ERROR]   The project org.apache.servicemix:servicemix-soap2:3.2.3
(/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap2/pom.xml) has 1
error
[ERROR]     Malformed POM
/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap2/pom.xml:
Unrecognised association: 'groupId' (position: START_TAG seen
...<exclusions>\n          <groupId>... @59:20)  @ 
(/home/dev/workspace/servicemix-3.2.3/common/servicemix-soap2/pom.xml) ->
[Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException

Also where should I change the value of the namespace.  Thanks



Gert Vanthienen wrote:
> 
> L.S.
> 
> So if you want to this for the 3.2.3 release, you best start with a
> copy of the code in the release tag.  From that code, alter the
> namespace as you've doing before and rebuild the component.  Once the
> component has been built, you should be able to remove the default
> HTTP component from the hotdeploy folder and add your custom component
> in there.
> 
> If the container starts fine at that point in time (with your version
> of the component instead of ours by default), try building a SU that
> uses the custom namespace and it should be able to access the
> namespace handler.  That should be the scenario in a nutshell, but
> feel free to let us know where/when you run into problems and what the
> exact exceptions/stacktraces are and we'll try to sort those out for
> you.
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 22 March 2010 11:45, jpepalmero <co...@joathamperezexposito.es>
> wrote:
>>
>>
>> Let's start at the beginning. I need to do two things:
>> 1) Building service units where xbean namespace is
>> http://servicemix.mycompany.org/http/1.0
>> 2) Have my ServiceMix functioning under the
>> http://servicemix.mycompany.org/http/1.0 namespace to load the previously
>> created service units.
>>
>> As it
>>
>>
>> Gert Vanthienen wrote:
>>>
>>> L.S.,
>>>
>>> If you're building a custom assembly for ServiceMix 3.2.3 I would
>>> recommend you to start with the code in
>>> http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3/
>>> (the ServiceMix 3.2.3 release tag) or in
>>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/
>>> (the ServiceMix 3.2.x maintenance branch, which adds some bugfixes on
>>> top of 3.2.3).  The 2008.01 component you checked out is part of
>>> ServiceMix 3.3., where we separated the JBI components' build from the
>>> container build so it has some changes that are not necessary for
>>> ServiceMix 3.2.x
>>>
>>> Also, if you're experiencing problems at build time or deploy time
>>> with you, it would help if you could add the exact stacktrace you're
>>> seeing to the posts because that will help us troubleshoot the exact
>>> issue you're running into.
>>>
>>> Regards,
>>>
>>> Gert Vanthienen
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>> Blog: http://gertvanthienen.blogspot.com/
>>>
>>>
>>>
>>> On 22 March 2010 09:12, jpepalmero <co...@joathamperezexposito.es>
>>> wrote:
>>>>
>>>> Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
>>>> Exactly the tag ServiceMix-http-2008.01. Once done, modifications to
>>>> the
>>>> pom:
>>>> <version> 2008.01 </ version> by
>>>> <version> 3.2.3 </ version>
>>>> and
>>>> <configuration>
>>>>  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
>>>> </ configuration>
>>>>
>>>> This builds successfully, but when I create my service unit, tells me
>>>> they
>>>> are different versions.
>>>>
>>>> I misunderstood what you want to change.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Jean-Baptiste Onofré wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> if you want to change the components' namespace
>>>>> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the
>>>>> component code and change the POM on the XBean plugin configuration.
>>>>>
>>>>> For instance, to change the HTTP component namespace, you need:
>>>>> 1/ Check the HTTP source code:
>>>>> svn co
>>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk
>>>>> servicemix-http
>>>>>
>>>>> 2/ change the pom around the xbean plugin to set your namespace:
>>>>>        <plugin>
>>>>>          <groupId>org.apache.xbean</groupId>
>>>>>          <artifactId>maven-xbean-plugin</artifactId>
>>>>>          <executions>
>>>>>            <execution>
>>>>>              <goals>
>>>>>                <goal>mapping</goal>
>>>>>              </goals>
>>>>>              <configuration>
>>>>>
>>>>> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>>>>>              </configuration>
>>>>>            </execution>
>>>>>          </executions>
>>>>>        </plugin>
>>>>>
>>>>> 3/ rebuild the component:
>>>>> mvn clean install
>>>>>
>>>>> 4/ deploy your component by copying the installer zip file in the
>>>>> deploy
>>>>> or hotdeploy directory.
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>> jpepalmero wrote:
>>>>>> Hello everyone. I build my own based ESB ServiceMix and my space no
>>>>>> names. I
>>>>>> want to run in files of the service units xbeans my
>>>>>> http://servicemix.mycompany.org/http/1.0.
>>>>>> What we tried several ways but did not work. I have also tried to
>>>>>> install
>>>>>> ServiceMix from svn, and neither achievement. :rules:
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -----
>>> ---
>>> Gert Vanthienen
>>> http://gertvanthienen.blogspot.com
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27984601.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 

-- 
View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27985028.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Create based ESB ServiceMix

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.

So if you want to this for the 3.2.3 release, you best start with a
copy of the code in the release tag.  From that code, alter the
namespace as you've doing before and rebuild the component.  Once the
component has been built, you should be able to remove the default
HTTP component from the hotdeploy folder and add your custom component
in there.

If the container starts fine at that point in time (with your version
of the component instead of ours by default), try building a SU that
uses the custom namespace and it should be able to access the
namespace handler.  That should be the scenario in a nutshell, but
feel free to let us know where/when you run into problems and what the
exact exceptions/stacktraces are and we'll try to sort those out for
you.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 22 March 2010 11:45, jpepalmero <co...@joathamperezexposito.es> wrote:
>
>
> Let's start at the beginning. I need to do two things:
> 1) Building service units where xbean namespace is
> http://servicemix.mycompany.org/http/1.0
> 2) Have my ServiceMix functioning under the
> http://servicemix.mycompany.org/http/1.0 namespace to load the previously
> created service units.
>
> As it
>
>
> Gert Vanthienen wrote:
>>
>> L.S.,
>>
>> If you're building a custom assembly for ServiceMix 3.2.3 I would
>> recommend you to start with the code in
>> http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3/
>> (the ServiceMix 3.2.3 release tag) or in
>> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/
>> (the ServiceMix 3.2.x maintenance branch, which adds some bugfixes on
>> top of 3.2.3).  The 2008.01 component you checked out is part of
>> ServiceMix 3.3., where we separated the JBI components' build from the
>> container build so it has some changes that are not necessary for
>> ServiceMix 3.2.x
>>
>> Also, if you're experiencing problems at build time or deploy time
>> with you, it would help if you could add the exact stacktrace you're
>> seeing to the posts because that will help us troubleshoot the exact
>> issue you're running into.
>>
>> Regards,
>>
>> Gert Vanthienen
>> ------------------------
>> Open Source SOA: http://fusesource.com
>> Blog: http://gertvanthienen.blogspot.com/
>>
>>
>>
>> On 22 March 2010 09:12, jpepalmero <co...@joathamperezexposito.es>
>> wrote:
>>>
>>> Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
>>> Exactly the tag ServiceMix-http-2008.01. Once done, modifications to the
>>> pom:
>>> <version> 2008.01 </ version> by
>>> <version> 3.2.3 </ version>
>>> and
>>> <configuration>
>>>  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
>>> </ configuration>
>>>
>>> This builds successfully, but when I create my service unit, tells me
>>> they
>>> are different versions.
>>>
>>> I misunderstood what you want to change.
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>
>>> Jean-Baptiste Onofré wrote:
>>>>
>>>> Hi,
>>>>
>>>> if you want to change the components' namespace
>>>> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the
>>>> component code and change the POM on the XBean plugin configuration.
>>>>
>>>> For instance, to change the HTTP component namespace, you need:
>>>> 1/ Check the HTTP source code:
>>>> svn co
>>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk
>>>> servicemix-http
>>>>
>>>> 2/ change the pom around the xbean plugin to set your namespace:
>>>>        <plugin>
>>>>          <groupId>org.apache.xbean</groupId>
>>>>          <artifactId>maven-xbean-plugin</artifactId>
>>>>          <executions>
>>>>            <execution>
>>>>              <goals>
>>>>                <goal>mapping</goal>
>>>>              </goals>
>>>>              <configuration>
>>>>
>>>> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>>>>              </configuration>
>>>>            </execution>
>>>>          </executions>
>>>>        </plugin>
>>>>
>>>> 3/ rebuild the component:
>>>> mvn clean install
>>>>
>>>> 4/ deploy your component by copying the installer zip file in the deploy
>>>> or hotdeploy directory.
>>>>
>>>> Regards
>>>> JB
>>>>
>>>> jpepalmero wrote:
>>>>> Hello everyone. I build my own based ESB ServiceMix and my space no
>>>>> names. I
>>>>> want to run in files of the service units xbeans my
>>>>> http://servicemix.mycompany.org/http/1.0.
>>>>> What we tried several ways but did not work. I have also tried to
>>>>> install
>>>>> ServiceMix from svn, and neither achievement. :rules:
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -----
>> ---
>> Gert Vanthienen
>> http://gertvanthienen.blogspot.com
>>
>
> --
> View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27984601.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: Create based ESB ServiceMix

Posted by jpepalmero <co...@joathamperezexposito.es>.

Let's start at the beginning. I need to do two things:
1) Building service units where xbean namespace is
http://servicemix.mycompany.org/http/1.0
2) Have my ServiceMix functioning under the
http://servicemix.mycompany.org/http/1.0 namespace to load the previously
created service units.

As it


Gert Vanthienen wrote:
> 
> L.S.,
> 
> If you're building a custom assembly for ServiceMix 3.2.3 I would
> recommend you to start with the code in
> http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3/
> (the ServiceMix 3.2.3 release tag) or in
> http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/
> (the ServiceMix 3.2.x maintenance branch, which adds some bugfixes on
> top of 3.2.3).  The 2008.01 component you checked out is part of
> ServiceMix 3.3., where we separated the JBI components' build from the
> container build so it has some changes that are not necessary for
> ServiceMix 3.2.x
> 
> Also, if you're experiencing problems at build time or deploy time
> with you, it would help if you could add the exact stacktrace you're
> seeing to the posts because that will help us troubleshoot the exact
> issue you're running into.
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 22 March 2010 09:12, jpepalmero <co...@joathamperezexposito.es>
> wrote:
>>
>> Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
>> Exactly the tag ServiceMix-http-2008.01. Once done, modifications to the
>> pom:
>> <version> 2008.01 </ version> by
>> <version> 3.2.3 </ version>
>> and
>> <configuration>
>>  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
>> </ configuration>
>>
>> This builds successfully, but when I create my service unit, tells me
>> they
>> are different versions.
>>
>> I misunderstood what you want to change.
>>
>> Thanks
>>
>>
>>
>>
>>
>> Jean-Baptiste Onofré wrote:
>>>
>>> Hi,
>>>
>>> if you want to change the components' namespace
>>> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the
>>> component code and change the POM on the XBean plugin configuration.
>>>
>>> For instance, to change the HTTP component namespace, you need:
>>> 1/ Check the HTTP source code:
>>> svn co
>>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk
>>> servicemix-http
>>>
>>> 2/ change the pom around the xbean plugin to set your namespace:
>>>        <plugin>
>>>          <groupId>org.apache.xbean</groupId>
>>>          <artifactId>maven-xbean-plugin</artifactId>
>>>          <executions>
>>>            <execution>
>>>              <goals>
>>>                <goal>mapping</goal>
>>>              </goals>
>>>              <configuration>
>>>
>>> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>>>              </configuration>
>>>            </execution>
>>>          </executions>
>>>        </plugin>
>>>
>>> 3/ rebuild the component:
>>> mvn clean install
>>>
>>> 4/ deploy your component by copying the installer zip file in the deploy
>>> or hotdeploy directory.
>>>
>>> Regards
>>> JB
>>>
>>> jpepalmero wrote:
>>>> Hello everyone. I build my own based ESB ServiceMix and my space no
>>>> names. I
>>>> want to run in files of the service units xbeans my
>>>> http://servicemix.mycompany.org/http/1.0.
>>>> What we tried several ways but did not work. I have also tried to
>>>> install
>>>> ServiceMix from svn, and neither achievement. :rules:
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 

-- 
View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27984601.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Create based ESB ServiceMix

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,

If you're building a custom assembly for ServiceMix 3.2.3 I would
recommend you to start with the code in
http://svn.apache.org/repos/asf/servicemix/smx3/tags/servicemix-3.2.3/
(the ServiceMix 3.2.3 release tag) or in
http://svn.apache.org/repos/asf/servicemix/smx3/branches/servicemix-3.2/
(the ServiceMix 3.2.x maintenance branch, which adds some bugfixes on
top of 3.2.3).  The 2008.01 component you checked out is part of
ServiceMix 3.3., where we separated the JBI components' build from the
container build so it has some changes that are not necessary for
ServiceMix 3.2.x

Also, if you're experiencing problems at build time or deploy time
with you, it would help if you could add the exact stacktrace you're
seeing to the posts because that will help us troubleshoot the exact
issue you're running into.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 22 March 2010 09:12, jpepalmero <co...@joathamperezexposito.es> wrote:
>
> Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
> Exactly the tag ServiceMix-http-2008.01. Once done, modifications to the
> pom:
> <version> 2008.01 </ version> by
> <version> 3.2.3 </ version>
> and
> <configuration>
>  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
> </ configuration>
>
> This builds successfully, but when I create my service unit, tells me they
> are different versions.
>
> I misunderstood what you want to change.
>
> Thanks
>
>
>
>
>
> Jean-Baptiste Onofré wrote:
>>
>> Hi,
>>
>> if you want to change the components' namespace
>> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the
>> component code and change the POM on the XBean plugin configuration.
>>
>> For instance, to change the HTTP component namespace, you need:
>> 1/ Check the HTTP source code:
>> svn co
>> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk
>> servicemix-http
>>
>> 2/ change the pom around the xbean plugin to set your namespace:
>>        <plugin>
>>          <groupId>org.apache.xbean</groupId>
>>          <artifactId>maven-xbean-plugin</artifactId>
>>          <executions>
>>            <execution>
>>              <goals>
>>                <goal>mapping</goal>
>>              </goals>
>>              <configuration>
>>
>> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>>              </configuration>
>>            </execution>
>>          </executions>
>>        </plugin>
>>
>> 3/ rebuild the component:
>> mvn clean install
>>
>> 4/ deploy your component by copying the installer zip file in the deploy
>> or hotdeploy directory.
>>
>> Regards
>> JB
>>
>> jpepalmero wrote:
>>> Hello everyone. I build my own based ESB ServiceMix and my space no
>>> names. I
>>> want to run in files of the service units xbeans my
>>> http://servicemix.mycompany.org/http/1.0.
>>> What we tried several ways but did not work. I have also tried to install
>>> ServiceMix from svn, and neither achievement. :rules:
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: Create based ESB ServiceMix

Posted by jpepalmero <co...@joathamperezexposito.es>.
Hi, I'm using version 3.2.3 of ServiceMix. I downloaded the code
http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk.
Exactly the tag ServiceMix-http-2008.01. Once done, modifications to the
pom:
<version> 2008.01 </ version> by
<version> 3.2.3 </ version>
and
<configuration>
  <namespace> http://servicemix.myspacename.org/http/1.0 </ namespace>
</ configuration>

This builds successfully, but when I create my service unit, tells me they
are different versions.

I misunderstood what you want to change.

Thanks 





Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> if you want to change the components' namespace 
> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the 
> component code and change the POM on the XBean plugin configuration.
> 
> For instance, to change the HTTP component namespace, you need:
> 1/ Check the HTTP source code:
> svn co 
> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk 
> servicemix-http
> 
> 2/ change the pom around the xbean plugin to set your namespace:
>        <plugin>
>          <groupId>org.apache.xbean</groupId>
>          <artifactId>maven-xbean-plugin</artifactId>
>          <executions>
>            <execution>
>              <goals>
>                <goal>mapping</goal>
>              </goals>
>              <configuration>
>  
> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>              </configuration>
>            </execution>
>          </executions>
>        </plugin>
> 
> 3/ rebuild the component:
> mvn clean install
> 
> 4/ deploy your component by copying the installer zip file in the deploy 
> or hotdeploy directory.
> 
> Regards
> JB
> 
> jpepalmero wrote:
>> Hello everyone. I build my own based ESB ServiceMix and my space no
>> names. I
>> want to run in files of the service units xbeans my
>> http://servicemix.mycompany.org/http/1.0.
>> What we tried several ways but did not work. I have also tried to install
>> ServiceMix from svn, and neither achievement. :rules:
> 
> 

-- 
View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983288.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Create based ESB ServiceMix

Posted by jpepalmero <co...@joathamperezexposito.es>.
Also, my problem also is with maven, and I try to generate the service unit
who are in the xbean namespace http://servicemix.mynamespace.org/http/1.0,
but I do not recognize errors as http://servicemix. mynamespace.org/http/1.0



Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> if you want to change the components' namespace 
> (http://servicemix.apache.org/http/1.0, etc), you need to checkout the 
> component code and change the POM on the XBean plugin configuration.
> 
> For instance, to change the HTTP component namespace, you need:
> 1/ Check the HTTP source code:
> svn co 
> http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk 
> servicemix-http
> 
> 2/ change the pom around the xbean plugin to set your namespace:
>        <plugin>
>          <groupId>org.apache.xbean</groupId>
>          <artifactId>maven-xbean-plugin</artifactId>
>          <executions>
>            <execution>
>              <goals>
>                <goal>mapping</goal>
>              </goals>
>              <configuration>
>  
> <namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
>              </configuration>
>            </execution>
>          </executions>
>        </plugin>
> 
> 3/ rebuild the component:
> mvn clean install
> 
> 4/ deploy your component by copying the installer zip file in the deploy 
> or hotdeploy directory.
> 
> Regards
> JB
> 
> jpepalmero wrote:
>> Hello everyone. I build my own based ESB ServiceMix and my space no
>> names. I
>> want to run in files of the service units xbeans my
>> http://servicemix.mycompany.org/http/1.0.
>> What we tried several ways but did not work. I have also tried to install
>> ServiceMix from svn, and neither achievement. :rules:
> 
> 

-- 
View this message in context: http://old.nabble.com/Create-based-ESB-ServiceMix-tp27950976p27983595.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Create based ESB ServiceMix

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,

if you want to change the components' namespace 
(http://servicemix.apache.org/http/1.0, etc), you need to checkout the 
component code and change the POM on the XBean plugin configuration.

For instance, to change the HTTP component namespace, you need:
1/ Check the HTTP source code:
svn co 
http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-http/trunk 
servicemix-http

2/ change the pom around the xbean plugin to set your namespace:
       <plugin>
         <groupId>org.apache.xbean</groupId>
         <artifactId>maven-xbean-plugin</artifactId>
         <executions>
           <execution>
             <goals>
               <goal>mapping</goal>
             </goals>
             <configuration>
 
<namespace>http://servicemix.yourcompany.com/http/1.0</namespace>
             </configuration>
           </execution>
         </executions>
       </plugin>

3/ rebuild the component:
mvn clean install

4/ deploy your component by copying the installer zip file in the deploy 
or hotdeploy directory.

Regards
JB

jpepalmero wrote:
> Hello everyone. I build my own based ESB ServiceMix and my space no names. I
> want to run in files of the service units xbeans my
> http://servicemix.mycompany.org/http/1.0.
> What we tried several ways but did not work. I have also tried to install
> ServiceMix from svn, and neither achievement. :rules: