You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Gordon Dickens <gd...@anexinet.com> on 2007/07/17 21:57:10 UTC
ServiceMix 3.2 Console
Hello,
I built the ServiceMix current trunk version and I have the war file
"apache-servicemix-web-3.2-incubating-SNAPSHOT.war" generated. What is
the easiest/recommended way to deploy this web app?
Thanks,
Gordon Dickens
Re: ServiceMix 3.2 Console
Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Gordon Dickens <gd...@anexinet.com> wrote:
> Thanks so much for your help. I did not understand that the web app
> contained an instance of ServiceMix and thought it was a separate
> application.
No problem. I hope you got everything working.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
Re: ServiceMix 3.2 Console
Posted by Gordon Dickens <gd...@anexinet.com>.
Bruce Snyder wrote:
> On 7/18/07, Gordon Dickens <gd...@anexinet.com> wrote:
>
>
>> When I try to deploy a SA I get the following message:
>> org.springframework.jmx.access.InvocationFailureException:
>> JMX access failed; nested exception is javax.management.MBeanException
>> Caused by: javax.management.MBeanException
>> at
>> org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:331)
>> at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
>> Source)
>> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown
>> Source)
>> at
>> org.springframework.jmx.access.MBeanClientInterceptor.invokeOperation(MBeanClientInterceptor.java:371)
>> at
>> org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:302)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
>> at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>> at $Proxy1.deployServiceAssembly(Unknown Source)
>> at
>> org.apache.servicemix.web.controller.DeployServiceAssembly.onSubmit(DeployServiceAssembly.java:55)
>> at
>> org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
>> at
>> org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:250)
>> at
>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>> at
>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>> at
>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
>> at
>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
>> at
>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
>> at
>> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:440)
>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>> at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>> at
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>> at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
>> at
>> org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
>> at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>> at
>> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
>> at
>> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
>> at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
>> at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
>> at
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>> at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>> at
>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>> at
>> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
>> at
>> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
>> at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>> at org.mortbay.jetty.Server.handle(Server.java:313)
>> at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
>> at
>> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
>> at
>> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
>> at
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>> at
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
>> at
>> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
>> at
>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>> Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8"
>> standalone="no"?>
>> <jbi-task
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message"
>> version="1.0">
>> <jbi-task-result>
>> <frmwk-task-result>
>> <frmwk-task-result-details>
>> <task-result-details>
>> <task-id>deploy</task-id>
>> <task-result>FAILED</task-result>
>> <message-type>ERROR</message-type>
>> <task-status-msg>
>> <msg-loc-info>
>> <loc-token/>
>> <loc-message>Target component servicemix-lwcontainer for service unit
>> pojotest is not installed</loc-message>
>> </msg-loc-info>
>> </task-status-msg>
>> </task-result-details>
>> </frmwk-task-result-details>
>> </frmwk-task-result>
>> </jbi-task-result>
>> </jbi-task>
>>
>> It seems as though I am missing configuration settings "pointing" the web
>> app to my ServiceMix server installation.
>>
>
> Actually, there is no pointing the web app to a ServiceMix server
> installation - it's embedded in the WAR file. The error above clearly
> states the problem:
>
> <loc-message>Target component servicemix-lwcontainer for service unit
> pojotest is not installed</loc-message>
>
> You have not installed the servicemix-lwcontainer into ServiceMix.
> Evidently you are creating a lightweight component. Such components
> require the lightweight container (i.e., servicemix-lwcontainer) to be
> deployed. You need to do this before you deploy your SA.
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> .
>
>
Bruce,
Thanks so much for your help. I did not understand that the web app
contained an instance of ServiceMix and thought it was a separate
application.
Thanks,
Gordon Dickens
Re: ServiceMix 3.2 Console
Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Gordon Dickens <gd...@anexinet.com> wrote:
> When I try to deploy a SA I get the following message:
> org.springframework.jmx.access.InvocationFailureException:
> JMX access failed; nested exception is javax.management.MBeanException
> Caused by: javax.management.MBeanException
> at
> org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:331)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown
> Source)
> at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown
> Source)
> at
> org.springframework.jmx.access.MBeanClientInterceptor.invokeOperation(MBeanClientInterceptor.java:371)
> at
> org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:302)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> at $Proxy1.deployServiceAssembly(Unknown Source)
> at
> org.apache.servicemix.web.controller.DeployServiceAssembly.onSubmit(DeployServiceAssembly.java:55)
> at
> org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
> at
> org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:250)
> at
> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
> at
> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
> at
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
> at
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
> at
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
> at
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:440)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> at
> org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> at
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
> at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
> at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
> at org.mortbay.jetty.Server.handle(Server.java:313)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
> at
> org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
> at
> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> at
> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
> at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
> Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8"
> standalone="no"?>
> <jbi-task
> xmlns="http://java.sun.com/xml/ns/jbi/management-message"
> version="1.0">
> <jbi-task-result>
> <frmwk-task-result>
> <frmwk-task-result-details>
> <task-result-details>
> <task-id>deploy</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> <task-status-msg>
> <msg-loc-info>
> <loc-token/>
> <loc-message>Target component servicemix-lwcontainer for service unit
> pojotest is not installed</loc-message>
> </msg-loc-info>
> </task-status-msg>
> </task-result-details>
> </frmwk-task-result-details>
> </frmwk-task-result>
> </jbi-task-result>
> </jbi-task>
>
> It seems as though I am missing configuration settings "pointing" the web
> app to my ServiceMix server installation.
Actually, there is no pointing the web app to a ServiceMix server
installation - it's embedded in the WAR file. The error above clearly
states the problem:
<loc-message>Target component servicemix-lwcontainer for service unit
pojotest is not installed</loc-message>
You have not installed the servicemix-lwcontainer into ServiceMix.
Evidently you are creating a lightweight component. Such components
require the lightweight container (i.e., servicemix-lwcontainer) to be
deployed. You need to do this before you deploy your SA.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
Re: ServiceMix 3.2 Console
Posted by Gordon Dickens <gd...@anexinet.com>.
Gordon Dickens wrote:
> Bruce Snyder wrote:
>
>> On 7/18/07, Gordon Dickens <gd...@anexinet.com> wrote:
>>
>>
>>> Bruce Snyder wrote:
>>>
>>>
>>>> On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
>>>>
>>>>
>>>>
>>>>> Thanks Bruce,
>>>>>
>>>>> I had tried that with Jetty 6.1 and I get the pages but I do not see any of
>>>>> my ServiceMix details. What do I need to configure to point it to my
>>>>> ServiceMix instance?
>>>>>
>>>>>
>>>>>
>>>> I just did a wget of the WAR file from here:
>>>>
>>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/apache-servicemix-web/3.1.1-incubating/apache-servicemix-web-3.1.1-incubating.war
>>>>
>>>> Then I placed that WAR file into the Jetty webapps directory, started
>>>> up Jetty and visited this URL and I can see all the pages just fine:
>>>>
>>>> http://localhost:8080/apache-servicemix-web-3.1.1-incubating/
>>>>
>>>> Can you explain what steps you have performed? What web container and
>>>> version of are you using?
>>>>
>>>> Bruce
>>>> --
>>>> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>>>> );'
>>>>
>>>> Apache Geronimo - http://geronimo.apache.org/
>>>> Apache ActiveMQ - http://activemq.org/
>>>> Apache ServiceMix - http://servicemix.org/
>>>> Castor - http://castor.org/
>>>> .
>>>>
>>>>
>>>>
>>>>
>>> I should have mentioned that I am using the current trunk build of
>>> ServiceMix 3.2. And the current trunk build of Jetty 6.1.
>>>
>>> 1. I start the ServiceMix server
>>> 2. The war file is from
>>> "servicemix\distributions\apache-servicemix-web\target"
>>> 3. The war file is
>>> "apache-servicemix-web-3.2-incubating-SNAPSHOT.war" (built yesterday)
>>> 4. I dropped this file into my "jetty-6.1.0\webapps" folder and
>>> started the Jetty server with "java -jar start.jar"
>>>
>>>
>>> I can see the pages but there is no server data in them.
>>>
>>>
>> I'm not sure what you're referring to when you say server data, please
>> clarify this term.
>>
>> If you can see the pages, then Rabi's description is correct. The
>> ServiceMix WAR distribution does not have any components deployed by
>> default. You must use the web pages from the WAR to first deploy the
>> servicemix-shared library then deploy the servicemix components you
>> need and finally deploy your SAs. All of this deployment must take
>> place via the web pages provided by the WAR.
>>
>> Bruce
>> --
>> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>> );'
>>
>> Apache Geronimo - http://geronimo.apache.org/
>> Apache ActiveMQ - http://activemq.org/
>> Apache ServiceMix - http://servicemix.org/
>> Castor - http://castor.org/
>> .
>>
>>
>>
>
> The phrase "server data" refers to the applications and services
> deployed. I will try deploying my services via the web pages to see if
> that has any effect.
>
> Thanks,
> Gordon
> .
>
When I try to deploy a SA I get the following message:
org.springframework.jmx.access.InvocationFailureException: JMX access failed; nested exception is javax.management.MBeanException
Caused by: javax.management.MBeanException
at org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:331)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at org.springframework.jmx.access.MBeanClientInterceptor.invokeOperation(MBeanClientInterceptor.java:371)
at org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:302)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy1.deployServiceAssembly(Unknown Source)
at org.apache.servicemix.web.controller.DeployServiceAssembly.onSubmit(DeployServiceAssembly.java:55)
at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:267)
at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:250)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:440)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0">
<jbi-task-result>
<frmwk-task-result>
<frmwk-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Target component servicemix-lwcontainer for service unit pojotest is not installed</loc-message>
</msg-loc-info>
</task-status-msg>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
</jbi-task-result>
</jbi-task>
It seems as though I am missing configuration settings "pointing" the
web app to my ServiceMix server installation.
Thank you for your continued help.
Regards,
Gordon
Re: ServiceMix 3.2 Console
Posted by Gordon Dickens <gd...@anexinet.com>.
Bruce Snyder wrote:
> On 7/18/07, Gordon Dickens <gd...@anexinet.com> wrote:
>
>> Bruce Snyder wrote:
>>
>>> On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
>>>
>>>
>>>> Thanks Bruce,
>>>>
>>>> I had tried that with Jetty 6.1 and I get the pages but I do not see any of
>>>> my ServiceMix details. What do I need to configure to point it to my
>>>> ServiceMix instance?
>>>>
>>>>
>>> I just did a wget of the WAR file from here:
>>>
>>> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/apache-servicemix-web/3.1.1-incubating/apache-servicemix-web-3.1.1-incubating.war
>>>
>>> Then I placed that WAR file into the Jetty webapps directory, started
>>> up Jetty and visited this URL and I can see all the pages just fine:
>>>
>>> http://localhost:8080/apache-servicemix-web-3.1.1-incubating/
>>>
>>> Can you explain what steps you have performed? What web container and
>>> version of are you using?
>>>
>>> Bruce
>>> --
>>> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>>> );'
>>>
>>> Apache Geronimo - http://geronimo.apache.org/
>>> Apache ActiveMQ - http://activemq.org/
>>> Apache ServiceMix - http://servicemix.org/
>>> Castor - http://castor.org/
>>> .
>>>
>>>
>>>
>> I should have mentioned that I am using the current trunk build of
>> ServiceMix 3.2. And the current trunk build of Jetty 6.1.
>>
>> 1. I start the ServiceMix server
>> 2. The war file is from
>> "servicemix\distributions\apache-servicemix-web\target"
>> 3. The war file is
>> "apache-servicemix-web-3.2-incubating-SNAPSHOT.war" (built yesterday)
>> 4. I dropped this file into my "jetty-6.1.0\webapps" folder and
>> started the Jetty server with "java -jar start.jar"
>>
>>
>> I can see the pages but there is no server data in them.
>>
>
> I'm not sure what you're referring to when you say server data, please
> clarify this term.
>
> If you can see the pages, then Rabi's description is correct. The
> ServiceMix WAR distribution does not have any components deployed by
> default. You must use the web pages from the WAR to first deploy the
> servicemix-shared library then deploy the servicemix components you
> need and finally deploy your SAs. All of this deployment must take
> place via the web pages provided by the WAR.
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> .
>
>
The phrase "server data" refers to the applications and services
deployed. I will try deploying my services via the web pages to see if
that has any effect.
Thanks,
Gordon
Re: ServiceMix 3.2 Console
Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Gordon Dickens <gd...@anexinet.com> wrote:
>
>
> Bruce Snyder wrote:
> > On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
> >
> >> Thanks Bruce,
> >>
> >> I had tried that with Jetty 6.1 and I get the pages but I do not see any of
> >> my ServiceMix details. What do I need to configure to point it to my
> >> ServiceMix instance?
> >>
> >
> > I just did a wget of the WAR file from here:
> >
> > http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/apache-servicemix-web/3.1.1-incubating/apache-servicemix-web-3.1.1-incubating.war
> >
> > Then I placed that WAR file into the Jetty webapps directory, started
> > up Jetty and visited this URL and I can see all the pages just fine:
> >
> > http://localhost:8080/apache-servicemix-web-3.1.1-incubating/
> >
> > Can you explain what steps you have performed? What web container and
> > version of are you using?
> >
> > Bruce
> > --
> > perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> > );'
> >
> > Apache Geronimo - http://geronimo.apache.org/
> > Apache ActiveMQ - http://activemq.org/
> > Apache ServiceMix - http://servicemix.org/
> > Castor - http://castor.org/
> > .
> >
> >
>
> I should have mentioned that I am using the current trunk build of
> ServiceMix 3.2. And the current trunk build of Jetty 6.1.
>
> 1. I start the ServiceMix server
> 2. The war file is from
> "servicemix\distributions\apache-servicemix-web\target"
> 3. The war file is
> "apache-servicemix-web-3.2-incubating-SNAPSHOT.war" (built yesterday)
> 4. I dropped this file into my "jetty-6.1.0\webapps" folder and
> started the Jetty server with "java -jar start.jar"
>
>
> I can see the pages but there is no server data in them.
I'm not sure what you're referring to when you say server data, please
clarify this term.
If you can see the pages, then Rabi's description is correct. The
ServiceMix WAR distribution does not have any components deployed by
default. You must use the web pages from the WAR to first deploy the
servicemix-shared library then deploy the servicemix components you
need and finally deploy your SAs. All of this deployment must take
place via the web pages provided by the WAR.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
servicemix-jms component issue
Posted by huhu2006 <hu...@gmail.com>.
Hi all,
I got a error when the external client through the (soap over JMS)JMS BC to access BPEL service
(OdeBpleEngine deployed) in servicemix. The error message like " calling {http://sitelist.bpel.huhu.com}
BPEL_SITELIST.BPEL_SITELISTRequest(...)} was unroutable." but use Http BC was working fine.
The different btween MessageExchanges that Http BC and Jms BC created from the same soap message was
the "operation" property.
the correct operation(in this case) should be "process" (Http BC),but Jms BC set "BPEL_SITELISTRequest",
The debug message list below:
======[Use Http BC]=======
DEBUG - SedaQueue - org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@1515d5c
dequeued exchange:
InOut[
id: ID:csr-cti82mi4hre-1402-1184221637515-3:0
status: Active
role: provider
service: {http://sitelist.bpel.huhu.com}BPEL_SITELIST
endpoint: BPEL_SITELIST
operation: {http://sitelist.bpel.huhu.com}process
in:
<?xml version="1.0" encoding="UTF-8"?>
<BPEL_SITELISTRequest xmlns="http://sitelist.bpel.huhu.com"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<input>
<ns1:customerName xmlns:ns1="http://input.huhu.com">Merrill Lynch</ns1:customerName>
</input>
</BPEL_SITELISTRequest>
]
======[Use Jms BC]======
DEBUG - SedaQueue - org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1@8ffaf
dequeued exchange:
InOut[
id: ID:csr-cti82mi4hre-1402-1184221637515-4:0
status: Active
role: provider
service: {http://sitelist.bpel.huhu.com}BPEL_SITELIST
endpoint: BPEL_SITELIST
operation: {http://sitelist.bpel.huhu.com}BPEL_SITELISTRequest
in:
<?xml version="1.0" encoding="UTF-8"?>
<BPEL_SITELISTRequest xmlns="http://sitelist.bpel.huhu.com"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<input>
<ns1:customerName xmlns:ns1="http://input.huhu.com">Merrill Lynch</ns1:customerName>
</input>
</BPEL_SITELISTRequest>
]
DEBUG - DeliveryChannelImpl - Accepting ID:csr-cti82mi4hre-1402-1184221637515-4:0 in DeliveryChannel{OdeBpelE
ngine}
ERROR - OdeService - ODE MEX {MyRoleMex#327680 [Client ID:csr-cti82mi4hre-1402-1184221637515-4:0] ca
lling {http://sitelist.bpel.huhu.com}BPEL_SITELIST.BPEL_SITELISTRequest(...)} was unroutable.
====================
after code debug, I find where cause this issue. In JmsEndpoint overrideDefinition(...) method,
property "protected Definition definition (in Endpoint.java)" didn't set appropriately.
so, MultiplexingConsumerProcessor.java -> onMessage(message) -> toNMS(message, context)
-> soapHelper.onReceive(context) -> SoapHelper.java -> MessageExchange onReceive(context)
-> findOperation(context) return null and
{
// By default, use name of body element (i.e., RPC-style)
QName bodyName = context.getInMessage().getBodyName();
context.setProperty(Context.OPERATION, bodyName);
}
the error occure at findOperation(context)-> definition = endpoint.getDefinition() return null when the
JMS BC XBean config file was set : "...soap="true"... wsdlResource="repository/SP/BPEL_SITELIST.wsdl"..."
=====JmsEndpoint.java=====
protected void overrideDefinition(Definition def) {
Service svc = null;
Port port = null;
if (targetService != null && targetEndpoint != null) {
svc = def.getService(targetService);
port = (svc != null) ? svc.getPort(targetEndpoint) : null;
} else if (targetService != null) {
svc = def.getService(targetService);
if (svc != null) {
Iterator it = svc.getPorts().values().iterator();
port = (it.hasNext()) ? (Port) it.next() : null;
}
} else if (targetInterfaceName != null) {
Iterator it = def.getServices().values().iterator();
svc = it .hasNext() ? (Service) it.next() : null;
if (svc != null) {
it = svc.getPorts().values().iterator();
port = (it.hasNext()) ? (Port) it.next() : null;
}
} else {
svc = def.getService(service);
port = (svc != null) ? svc.getPort(endpoint) : null;
}
if (port != null) {
port.getExtensibilityElements().clear();
/*
if (isSoap()) {
SOAPAddress address = new SOAPAddressImpl();
address.setLocationURI(getLocationURI());
port.addExtensibilityElement(address);
def.addNamespace("soap", "http://schemas.xmlsoap.org/wsdl/soap/");
} else {
HTTPAddress address = new HTTPAddressImpl();
address.setLocationURI(getLocationURI());
port.addExtensibilityElement(address);
def.addNamespace("http", "http://schemas.xmlsoap.org/wsdl/http/");
}
*/
// TODO: add binding information
svc.getPorts().clear();
svc.addPort(port);
definition = def;
}
//Is there any consideration that set definition == null? add by huhu 20070718
if(isSoap()){
definition = def;
}
//end
}
Thanks,
-------------------------------------------------------
huhu2006@gmail.com 2007-07-19
^-^ you can call me hu hu!
I eager to learn, and eager more to share!
Re: ServiceMix 3.2 Console
Posted by Gordon Dickens <gd...@anexinet.com>.
Bruce Snyder wrote:
> On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
>
>> Thanks Bruce,
>>
>> I had tried that with Jetty 6.1 and I get the pages but I do not see any of
>> my ServiceMix details. What do I need to configure to point it to my
>> ServiceMix instance?
>>
>
> I just did a wget of the WAR file from here:
>
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/apache-servicemix-web/3.1.1-incubating/apache-servicemix-web-3.1.1-incubating.war
>
> Then I placed that WAR file into the Jetty webapps directory, started
> up Jetty and visited this URL and I can see all the pages just fine:
>
> http://localhost:8080/apache-servicemix-web-3.1.1-incubating/
>
> Can you explain what steps you have performed? What web container and
> version of are you using?
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> .
>
>
I should have mentioned that I am using the current trunk build of
ServiceMix 3.2. And the current trunk build of Jetty 6.1.
1. I start the ServiceMix server
2. The war file is from
"servicemix\distributions\apache-servicemix-web\target"
3. The war file is
"apache-servicemix-web-3.2-incubating-SNAPSHOT.war" (built yesterday)
4. I dropped this file into my "jetty-6.1.0\webapps" folder and
started the Jetty server with "java -jar start.jar"
I can see the pages but there is no server data in them.
Thanks,
Gordon
RE: ServiceMix 3.2 Console
Posted by ra...@wipro.com.
AFAIK, if you are using the servicemix web distribution
(http://people.apache.org/repo/m2-incubating-repository/org/apache/servi
cemix/apache-servicemix-web/3.1.1-incubating/apache-servicemix-web-3.1.1
-incubating.war), you have to install the shared libraries/components/SA
to the servicemix instance embeded in the servlet container. If you want
to use the web console to points to your servicemix standalone instance
you have deploy in your web/servlet container
http://people.apache.org/repo/m2-incubating-repository/org/apache/servic
emix/servicemix-web-console/3.1.1-incubating/http://people.apache.org/re
po/m2-incubating-repository/org/apache/servicemix/servicemix-web-console
/3.1.1-incubating/servicemix-web-console-3.1.1-incubating.war
I tried and it works fine...
I hope you are looking for this.
Regards,
Rabi Mishra,
http://rabisblog.blogspot.com/
c++; /* this makes c bigger but returns the old value */
-----Original Message-----
From: Bruce Snyder [mailto:bruce.snyder@gmail.com]
Sent: Wednesday, July 18, 2007 10:22 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: ServiceMix 3.2 Console
On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
>
> Thanks Bruce,
>
> I had tried that with Jetty 6.1 and I get the pages but I do not see
> any of my ServiceMix details. What do I need to configure to point it
> to my ServiceMix instance?
I just did a wget of the WAR file from here:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servic
emix/apache-servicemix-web/3.1.1-incubating/apache-servicemix-web-3.1.1-
incubating.war
Then I placed that WAR file into the Jetty webapps directory, started up
Jetty and visited this URL and I can see all the pages just fine:
http://localhost:8080/apache-servicemix-web-3.1.1-incubating/
Can you explain what steps you have performed? What web container and
version of are you using?
Bruce
--
perl -e 'print
unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/ Apache ActiveMQ -
http://activemq.org/ Apache ServiceMix - http://servicemix.org/ Castor -
http://castor.org/
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
Re: ServiceMix 3.2 Console
Posted by Bruce Snyder <br...@gmail.com>.
On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
>
> Thanks Bruce,
>
> I had tried that with Jetty 6.1 and I get the pages but I do not see any of
> my ServiceMix details. What do I need to configure to point it to my
> ServiceMix instance?
I just did a wget of the WAR file from here:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/apache-servicemix-web/3.1.1-incubating/apache-servicemix-web-3.1.1-incubating.war
Then I placed that WAR file into the Jetty webapps directory, started
up Jetty and visited this URL and I can see all the pages just fine:
http://localhost:8080/apache-servicemix-web-3.1.1-incubating/
Can you explain what steps you have performed? What web container and
version of are you using?
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/
Re: ServiceMix 3.2 Console
Posted by Gordon Dickens <gd...@anexinet.com>.
Thanks Bruce,
I had tried that with Jetty 6.1 and I get the pages but I do not see any
of my ServiceMix details. What do I need to configure to point it to my
ServiceMix instance?
Thanks,
Gordon
Bruce Snyder wrote:
> On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
>
>> Hello,
>>
>> I built the ServiceMix current trunk version and I have the war file
>> "apache-servicemix-web-3.2-incubating-SNAPSHOT.war" generated. What is
>> the easiest/recommended way to deploy this web app?
>>
>
> It's a normal WAR file. Just drop it in the webapps dir of Jetty or
> Tomcat and away you go.
>
> Bruce
> --
> perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> .
>
>
Re: ServiceMix 3.2 Console
Posted by Bruce Snyder <br...@gmail.com>.
On 7/17/07, Gordon Dickens <gd...@anexinet.com> wrote:
> Hello,
>
> I built the ServiceMix current trunk version and I have the war file
> "apache-servicemix-web-3.2-incubating-SNAPSHOT.war" generated. What is
> the easiest/recommended way to deploy this web app?
It's a normal WAR file. Just drop it in the webapps dir of Jetty or
Tomcat and away you go.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/