You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Garner, Shawn" <sh...@vangent.com> on 2007/03/28 18:49:17 UTC
jms
I want to setup a JMS queue in service mix and publish it for invocation
in Tomcat.
I've installed the shared library and the jms component but I am unsure
what to do next.
I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
trying to figure this out from documentation.
Can somebody give me some rough steps to configure and use?
Shawn
RE: jms
Posted by "Garner, Shawn" <sh...@vangent.com>.
Where do I put the xbean.xml and how do I register it or does it
auto-find/register it?
Shawn
-----Original Message-----
From: Adrian Co [mailto:aco@exist.com]
Sent: Wednesday, March 28, 2007 11:55 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: jms
You first create a jms consumer su to deploy in the jms bc
http://incubator.apache.org/servicemix/servicemix-jms.html
then create a service assembly to deploy the bc in servicemix.
the destination you configure in the service unit would be the jms
destination it will receive jms messages from. then configure the
service you would want to handle the message (i.e. jsr181 component, lw
component, etc.)
Hope this helps. :)
Garner, Shawn wrote:
> I want to setup a JMS queue in service mix and publish it for
invocation
> in Tomcat.
>
> I've installed the shared library and the jms component but I am
unsure
> what to do next.
>
> I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
> trying to figure this out from documentation.
>
>
>
> Can somebody give me some rough steps to configure and use?
>
>
>
> Shawn
>
>
>
>
>
> !DSPAM:507,460a9c9c309252002735277!
>
>
Re: jms + errors
Posted by Bruce Snyder <br...@gmail.com>.
On 3/30/07, Garner, Shawn <sh...@vangent.com> wrote:
> It was Service Mix 3.1 binary.
> Also I'm getting an ERROR starting ServiceMix 3.1:
> ERROR - LogTask - java.io.FileNotFoundException:
> conf\log4j.xml (The system cannot find the path specified)
The issue above with the log4j.xml file was fixed in the trunk after
the 3.1 release:
https://issues.apache.org/activemq/browse/SM-854
An easy workaround for this issue is to start ServiceMix from the root
directory instead of from within the bin/ directory.
> Also I'm getting this in when I click on view in the ServiceMix Console:
>
> Shawn
> HTTP Status 500 -
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> java.io.IOException: CreateProcess: dot -Tsvg "D:\apps\Tomcat
> 5.5\temp\smx_57617.dot" -o"D:\apps\Tomcat 5.5\temp\smx_57618.dot.svg"
> error=2
> java.lang.ProcessImpl.create(Native Method)
> java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
> java.lang.ProcessImpl.start(ProcessImpl.java:30)
> java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> java.lang.Runtime.exec(Runtime.java:591)
> java.lang.Runtime.exec(Runtime.java:429)
> java.lang.Runtime.exec(Runtime.java:326)
>
> org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.j
> ava:71)
>
> org.springframework.web.servlet.view.AbstractView.render(AbstractView.ja
> va:249)
>
> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServl
> et.java:1105)
>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
> ervlet.java:841)
>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
> rvlet.java:755)
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
> kServlet.java:396)
>
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
> java:350)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(Appli
> cationContextFilter.java:81)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
> java:118)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
> ava:52)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.20 logs.
> Apache Tomcat/5.5.20
I'm not quite sure about the issue above with the DotView dot file
generator. Is this functionality critical for your environment? I was
just able to reproduce this so I filed an issue on it here:
https://issues.apache.org/activemq/browse/SM-914
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: jms + errors
Posted by "Garner, Shawn" <sh...@vangent.com>.
It was Service Mix 3.1 binary.
________________________________
From: Bruce Snyder [mailto:bruce.snyder@gmail.com]
Sent: Fri 3/30/2007 5:43 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: jms + errors
On 3/30/07, Garner, Shawn <sh...@vangent.com> wrote:
> The first one was because I double clicked the batch file to start
> servicemix instead of doing it from the home directory down a directory.
> It created all new directories underneath the bin directory. This is
> why when I dropped my components in the install directory it didn't do
> anything.
>
> The second error with the current war that you can download for the
> servicemix console deployed on tomcat. I never figured out that error.
>
> Anyway we switched to just embedded ActiveMQ and have it working
> already.
>
> I wish servicemix was easier to figure out because I would have like to
> use it instead.
>
> Maybe I'll set it up at home for fun.
We can help you, but the questions below need to be answered:
> What version of ServiceMix are you using? Did you download a binary
> version or build it from source yourself? I see that the output
> mentions ServiceMix 3.1, but I'm wondering if you're not using the
> full 3.1 release because I believe that both of these errors were
> fixed in the full release of ServiceMix 3.1.
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: jms + errors
Posted by Bruce Snyder <br...@gmail.com>.
On 3/30/07, Garner, Shawn <sh...@vangent.com> wrote:
> The first one was because I double clicked the batch file to start
> servicemix instead of doing it from the home directory down a directory.
> It created all new directories underneath the bin directory. This is
> why when I dropped my components in the install directory it didn't do
> anything.
>
> The second error with the current war that you can download for the
> servicemix console deployed on tomcat. I never figured out that error.
>
> Anyway we switched to just embedded ActiveMQ and have it working
> already.
>
> I wish servicemix was easier to figure out because I would have like to
> use it instead.
>
> Maybe I'll set it up at home for fun.
We can help you, but the questions below need to be answered:
> What version of ServiceMix are you using? Did you download a binary
> version or build it from source yourself? I see that the output
> mentions ServiceMix 3.1, but I'm wondering if you're not using the
> full 3.1 release because I believe that both of these errors were
> fixed in the full release of ServiceMix 3.1.
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: jms + errors
Posted by "Garner, Shawn" <sh...@vangent.com>.
The first one was because I double clicked the batch file to start
servicemix instead of doing it from the home directory down a directory.
It created all new directories underneath the bin directory. This is
why when I dropped my components in the install directory it didn't do
anything.
The second error with the current war that you can download for the
servicemix console deployed on tomcat. I never figured out that error.
Anyway we switched to just embedded ActiveMQ and have it working
already.
I wish servicemix was easier to figure out because I would have like to
use it instead.
Maybe I'll set it up at home for fun.
Shawn
-----Original Message-----
From: Bruce Snyder [mailto:bruce.snyder@gmail.com]
Sent: Thursday, March 29, 2007 9:45 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: jms + errors
On 3/28/07, Garner, Shawn <sh...@vangent.com> wrote:
> Cool, thanks.
> I'll have to figure out what goes in all the attributes, I have no
idea
> at this point.
>
> Also I'm getting an ERROR starting ServiceMix 3.1:
> ERROR - LogTask -
java.io.FileNotFoundException:
> conf\log4j.xml (The system cannot find the path specified)
>
> Also I'm getting this in when I click on view in the ServiceMix
Console:
>
> Shawn
> HTTP Status 500 -
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> java.io.IOException: CreateProcess: dot -Tsvg "D:\apps\Tomcat
> 5.5\temp\smx_57617.dot" -o"D:\apps\Tomcat 5.5\temp\smx_57618.dot.svg"
> error=2
> java.lang.ProcessImpl.create(Native Method)
> java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
> java.lang.ProcessImpl.start(ProcessImpl.java:30)
> java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> java.lang.Runtime.exec(Runtime.java:591)
> java.lang.Runtime.exec(Runtime.java:429)
> java.lang.Runtime.exec(Runtime.java:326)
>
>
org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.j
> ava:71)
>
>
org.springframework.web.servlet.view.AbstractView.render(AbstractView.ja
> va:249)
>
>
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServl
> et.java:1105)
>
>
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
> ervlet.java:841)
>
>
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
> rvlet.java:755)
>
>
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
> kServlet.java:396)
>
>
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
> java:350)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(Appli
> cationContextFilter.java:81)
>
>
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
> java:118)
>
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
> ava:52)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.20 logs.
> Apache Tomcat/5.5.20
What version of ServiceMix are you using? Did you download a binary
version or build it from source yourself? I see that the output
mentions ServiceMix 3.1, but I'm wondering if you're not using the
full 3.1 release because I believe that both of these errors were
fixed in the full release of ServiceMix 3.1.
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: jms + errors
Posted by Bruce Snyder <br...@gmail.com>.
On 3/28/07, Garner, Shawn <sh...@vangent.com> wrote:
> Cool, thanks.
> I'll have to figure out what goes in all the attributes, I have no idea
> at this point.
>
> Also I'm getting an ERROR starting ServiceMix 3.1:
> ERROR - LogTask - java.io.FileNotFoundException:
> conf\log4j.xml (The system cannot find the path specified)
>
> Also I'm getting this in when I click on view in the ServiceMix Console:
>
> Shawn
> HTTP Status 500 -
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> java.io.IOException: CreateProcess: dot -Tsvg "D:\apps\Tomcat
> 5.5\temp\smx_57617.dot" -o"D:\apps\Tomcat 5.5\temp\smx_57618.dot.svg"
> error=2
> java.lang.ProcessImpl.create(Native Method)
> java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
> java.lang.ProcessImpl.start(ProcessImpl.java:30)
> java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> java.lang.Runtime.exec(Runtime.java:591)
> java.lang.Runtime.exec(Runtime.java:429)
> java.lang.Runtime.exec(Runtime.java:326)
>
> org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.j
> ava:71)
>
> org.springframework.web.servlet.view.AbstractView.render(AbstractView.ja
> va:249)
>
> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServl
> et.java:1105)
>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
> ervlet.java:841)
>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
> rvlet.java:755)
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
> kServlet.java:396)
>
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
> java:350)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(Appli
> cationContextFilter.java:81)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
> java:118)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
> ava:52)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.20 logs.
> Apache Tomcat/5.5.20
What version of ServiceMix are you using? Did you download a binary
version or build it from source yourself? I see that the output
mentions ServiceMix 3.1, but I'm wondering if you're not using the
full 3.1 release because I believe that both of these errors were
fixed in the full release of ServiceMix 3.1.
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: jms + errors
Posted by "Garner, Shawn" <sh...@vangent.com>.
Where are the instructions telling me to install the dot application and
what website do I get the dot application from?
Shawn
-----Original Message-----
From: Guillaume Nodet [mailto:gnodet@gmail.com]
Sent: Saturday, March 31, 2007 7:00 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: jms + errors
The dot executable which is used to render the diagrams
must be accesible in the path. I agree this need a bit more
explanation, but if you download it and set your PATH enviroment
variable correctly, it will work.
On 3/28/07, Garner, Shawn <sh...@vangent.com> wrote:
>
> Cool, thanks.
> I'll have to figure out what goes in all the attributes, I have no
idea
> at this point.
>
> Also I'm getting an ERROR starting ServiceMix 3.1:
> ERROR - LogTask -
java.io.FileNotFoundException:
> conf\log4j.xml (The system cannot find the path specified)
>
> Also I'm getting this in when I click on view in the ServiceMix
Console:
>
> Shawn
> HTTP Status 500 -
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> java.io.IOException: CreateProcess: dot -Tsvg "D:\apps\Tomcat
> 5.5\temp\smx_57617.dot" -o"D:\apps\Tomcat 5.5\temp\smx_57618.dot.svg"
> error=2
> java.lang.ProcessImpl.create(Native Method)
> java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
> java.lang.ProcessImpl.start(ProcessImpl.java:30)
> java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> java.lang.Runtime.exec(Runtime.java:591)
> java.lang.Runtime.exec(Runtime.java:429)
> java.lang.Runtime.exec(Runtime.java:326)
>
>
org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.j
> ava:71)
>
>
org.springframework.web.servlet.view.AbstractView.render(AbstractView.ja
> va:249)
>
>
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServl
> et.java:1105)
>
>
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
> ervlet.java:841)
>
>
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
> rvlet.java:755)
>
>
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
> kServlet.java:396)
>
>
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
> java:350)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(Appli
> cationContextFilter.java:81)
>
>
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
> java:118)
>
>
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
> ava:52)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.20 logs.
> Apache Tomcat/5.5.20
>
>
>
> -----Original Message-----
> From: Adrian Co [mailto:aco@exist.com]
> Sent: Wednesday, March 28, 2007 11:55 AM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: jms
>
> You first create a jms consumer su to deploy in the jms bc
> http://incubator.apache.org/servicemix/servicemix-jms.html
>
> then create a service assembly to deploy the bc in servicemix.
>
> the destination you configure in the service unit would be the jms
> destination it will receive jms messages from. then configure the
> service you would want to handle the message (i.e. jsr181 component,
lw
> component, etc.)
>
> Hope this helps. :)
>
> Garner, Shawn wrote:
> > I want to setup a JMS queue in service mix and publish it for
> invocation
> > in Tomcat.
> >
> > I've installed the shared library and the jms component but I am
> unsure
> > what to do next.
> >
> > I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
> > trying to figure this out from documentation.
> >
> >
> >
> > Can somebody give me some rough steps to configure and use?
> >
> >
> >
> > Shawn
> >
> >
> >
> >
> >
> > !DSPAM:507,460a9c9c309252002735277!
> >
> >
>
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/
Re: jms + errors
Posted by Guillaume Nodet <gn...@gmail.com>.
The dot executable which is used to render the diagrams
must be accesible in the path. I agree this need a bit more
explanation, but if you download it and set your PATH enviroment
variable correctly, it will work.
On 3/28/07, Garner, Shawn <sh...@vangent.com> wrote:
>
> Cool, thanks.
> I'll have to figure out what goes in all the attributes, I have no idea
> at this point.
>
> Also I'm getting an ERROR starting ServiceMix 3.1:
> ERROR - LogTask - java.io.FileNotFoundException:
> conf\log4j.xml (The system cannot find the path specified)
>
> Also I'm getting this in when I click on view in the ServiceMix Console:
>
> Shawn
> HTTP Status 500 -
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> java.io.IOException: CreateProcess: dot -Tsvg "D:\apps\Tomcat
> 5.5\temp\smx_57617.dot" -o"D:\apps\Tomcat 5.5\temp\smx_57618.dot.svg"
> error=2
> java.lang.ProcessImpl.create(Native Method)
> java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
> java.lang.ProcessImpl.start(ProcessImpl.java:30)
> java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
> java.lang.Runtime.exec(Runtime.java:591)
> java.lang.Runtime.exec(Runtime.java:429)
> java.lang.Runtime.exec(Runtime.java:326)
>
> org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.j
> ava:71)
>
> org.springframework.web.servlet.view.AbstractView.render(AbstractView.ja
> va:249)
>
> org.springframework.web.servlet.DispatcherServlet.render(DispatcherServl
> et.java:1105)
>
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
> ervlet.java:841)
>
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
> rvlet.java:755)
>
> org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
> kServlet.java:396)
>
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
> java:350)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(Appli
> cationContextFilter.java:81)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
> java:118)
>
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
> ava:52)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.20 logs.
> Apache Tomcat/5.5.20
>
>
>
> -----Original Message-----
> From: Adrian Co [mailto:aco@exist.com]
> Sent: Wednesday, March 28, 2007 11:55 AM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: jms
>
> You first create a jms consumer su to deploy in the jms bc
> http://incubator.apache.org/servicemix/servicemix-jms.html
>
> then create a service assembly to deploy the bc in servicemix.
>
> the destination you configure in the service unit would be the jms
> destination it will receive jms messages from. then configure the
> service you would want to handle the message (i.e. jsr181 component, lw
> component, etc.)
>
> Hope this helps. :)
>
> Garner, Shawn wrote:
> > I want to setup a JMS queue in service mix and publish it for
> invocation
> > in Tomcat.
> >
> > I've installed the shared library and the jms component but I am
> unsure
> > what to do next.
> >
> > I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
> > trying to figure this out from documentation.
> >
> >
> >
> > Can somebody give me some rough steps to configure and use?
> >
> >
> >
> > Shawn
> >
> >
> >
> >
> >
> > !DSPAM:507,460a9c9c309252002735277!
> >
> >
>
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/
RE: jms + errors
Posted by "Garner, Shawn" <sh...@vangent.com>.
Cool, thanks.
I'll have to figure out what goes in all the attributes, I have no idea
at this point.
Also I'm getting an ERROR starting ServiceMix 3.1:
ERROR - LogTask - java.io.FileNotFoundException:
conf\log4j.xml (The system cannot find the path specified)
Also I'm getting this in when I click on view in the ServiceMix Console:
Shawn
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
java.io.IOException: CreateProcess: dot -Tsvg "D:\apps\Tomcat
5.5\temp\smx_57617.dot" -o"D:\apps\Tomcat 5.5\temp\smx_57618.dot.svg"
error=2
java.lang.ProcessImpl.create(Native Method)
java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
java.lang.ProcessImpl.start(ProcessImpl.java:30)
java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
java.lang.Runtime.exec(Runtime.java:591)
java.lang.Runtime.exec(Runtime.java:429)
java.lang.Runtime.exec(Runtime.java:326)
org.apache.servicemix.web.view.DotView.renderMergedOutputModel(DotView.j
ava:71)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.ja
va:249)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServl
et.java:1105)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:841)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:755)
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:396)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
java:350)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(Appli
cationContextFilter.java:81)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.
java:118)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.j
ava:52)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.20 logs.
Apache Tomcat/5.5.20
-----Original Message-----
From: Adrian Co [mailto:aco@exist.com]
Sent: Wednesday, March 28, 2007 11:55 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: jms
You first create a jms consumer su to deploy in the jms bc
http://incubator.apache.org/servicemix/servicemix-jms.html
then create a service assembly to deploy the bc in servicemix.
the destination you configure in the service unit would be the jms
destination it will receive jms messages from. then configure the
service you would want to handle the message (i.e. jsr181 component, lw
component, etc.)
Hope this helps. :)
Garner, Shawn wrote:
> I want to setup a JMS queue in service mix and publish it for
invocation
> in Tomcat.
>
> I've installed the shared library and the jms component but I am
unsure
> what to do next.
>
> I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
> trying to figure this out from documentation.
>
>
>
> Can somebody give me some rough steps to configure and use?
>
>
>
> Shawn
>
>
>
>
>
> !DSPAM:507,460a9c9c309252002735277!
>
>
RE: jms
Posted by "Garner, Shawn" <sh...@vangent.com>.
Also it says this but I can't find this to configure via the ServiceMix
Console, is this not the JMX console?:
Several parameters can be configured using a JMX console.
Configuration
Name
Type
Description
Default
userName
String
UserName used to create a connection
password
String
Password used to create a connection
jndiInitialContextFactory
String
Default JNDI InitialContext factory
false
jndiProviderUrl
String
Default JNDI provider url
jndiName
String
Default JNDI name to lookup the JMS ConnectionFactory
-----Original Message-----
From: Adrian Co [mailto:aco@exist.com]
Sent: Wednesday, March 28, 2007 11:55 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: jms
You first create a jms consumer su to deploy in the jms bc
http://incubator.apache.org/servicemix/servicemix-jms.html
then create a service assembly to deploy the bc in servicemix.
the destination you configure in the service unit would be the jms
destination it will receive jms messages from. then configure the
service you would want to handle the message (i.e. jsr181 component, lw
component, etc.)
Hope this helps. :)
Garner, Shawn wrote:
> I want to setup a JMS queue in service mix and publish it for
invocation
> in Tomcat.
>
> I've installed the shared library and the jms component but I am
unsure
> what to do next.
>
> I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
> trying to figure this out from documentation.
>
>
>
> Can somebody give me some rough steps to configure and use?
>
>
>
> Shawn
>
>
>
>
>
> !DSPAM:507,460a9c9c309252002735277!
>
>
Re: jms
Posted by Bruce Snyder <br...@gmail.com>.
On 3/28/07, Bruce Snyder <br...@gmail.com> wrote:
> I've created a FAQ entry about creating a SU here:
>
> http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html
>
> But I haven't finished the FAQ entry about creating the SA yet.
I've now completed the FAQ entry about creating a SA here:
http://cwiki.apache.org/confluence/pages/viewpage.action?pageId=50299
For some reason it has not been exported as static HTML yet, hence the
wiki URL.
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: jms
Posted by Bruce Snyder <br...@gmail.com>.
On 3/28/07, Adrian Co <ac...@exist.com> wrote:
> I would start at the user guide:
>
> http://incubator.apache.org/servicemix/users-guide.html or
> maybe the tutorial: http://incubator.apache.org/servicemix/tutorials.html
>
> This might help: http://incubator.apache.org/servicemix/5-jbi.html
>
>
> Garner, Shawn wrote:
> > I've been looking at this for hours wondering what I'm suppose to do
> > here.
> > What is " jms consumer su" and how do I create one?
> > What is a "jms bc"?
> >
> The JMS Consumer Service Unit is an endpoint deployed in the JMS Binding
> Component. In a very loose sense, think of the JMS SU as a configured
> instance of the JMS BC.
>
> > I read this but it confuses me:
> > http://incubator.apache.org/servicemix/servicemix-jms.html
> >
> > How do you create a "service assembly" to deploy the bc in servicemix?
> >
>
> A Service Assembly is a collection of Service Units (like a war file).
> There's a maven archetype you can use for to create
> this.http://incubator.apache.org/servicemix/maven-jbi-plugin.html
> > How do you "then configure the
> > Service"?
> >
> > I'm not sure what is naming and what is actually referring to an object.
> > I also don't know what classes I am suppose to implement.
> >
> Most of the time its really configuring endpoints for different
> servicemix components. Though you could implement your application logic
> (pojos) and deploy them as either jsr181 components or lightweight
> components. In rare cases you might need to create your own service
> engine and/or binding components.
I've created a FAQ entry about creating a SU here:
http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html
But I haven't finished the FAQ entry about creating the SA yet.
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: jms
Posted by Adrian Co <ac...@exist.com>.
I would start at the user guide:
http://incubator.apache.org/servicemix/users-guide.html or
maybe the tutorial: http://incubator.apache.org/servicemix/tutorials.html
This might help: http://incubator.apache.org/servicemix/5-jbi.html
Garner, Shawn wrote:
> I've been looking at this for hours wondering what I'm suppose to do
> here.
> What is " jms consumer su" and how do I create one?
> What is a "jms bc"?
>
The JMS Consumer Service Unit is an endpoint deployed in the JMS Binding
Component. In a very loose sense, think of the JMS SU as a configured
instance of the JMS BC.
> I read this but it confuses me:
> http://incubator.apache.org/servicemix/servicemix-jms.html
>
> How do you create a "service assembly" to deploy the bc in servicemix?
>
A Service Assembly is a collection of Service Units (like a war file).
There's a maven archetype you can use for to create
this.http://incubator.apache.org/servicemix/maven-jbi-plugin.html
> How do you "then configure the
> Service"?
>
> I'm not sure what is naming and what is actually referring to an object.
> I also don't know what classes I am suppose to implement.
>
Most of the time its really configuring endpoints for different
servicemix components. Though you could implement your application logic
(pojos) and deploy them as either jsr181 components or lightweight
components. In rare cases you might need to create your own service
engine and/or binding components.
> I've been looking at the webapp example and it doesn't help me because I
> can't tell what it does.
>
> Can anybody help clarify this?
>
> Seems like I should be able to use the JMSTemplate to send a message
> asynchronously on a topic.
>
> How do I write a class to intercept the message? Then how do I
> configure it in spring to work with servicemix?
>
> I think I only need lightweight component sinse I'm already going to be
> sending the message from a class already declared in spring.
>
> Shawn
>
>
>
> -----Original Message-----
> From: Adrian Co [mailto:aco@exist.com]
> Sent: Wednesday, March 28, 2007 11:55 AM
> To: servicemix-users@geronimo.apache.org
> Subject: Re: jms
>
> You first create a jms consumer su to deploy in the jms bc
> http://incubator.apache.org/servicemix/servicemix-jms.html
>
> then create a service assembly to deploy the bc in servicemix.
>
>
> the destination you configure in the service unit would be the jms
> destination it will receive jms messages from. then configure the
> service you would want to handle the message (i.e. jsr181 component, lw
> component, etc.)
>
> Hope this helps. :)
>
> Garner, Shawn wrote:
>
>> I want to setup a JMS queue in service mix and publish it for
>>
> invocation
>
>> in Tomcat.
>>
>> I've installed the shared library and the jms component but I am
>>
> unsure
>
>> what to do next.
>>
>> I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
>> trying to figure this out from documentation.
>>
>>
>>
>> Can somebody give me some rough steps to configure and use?
>>
>>
>>
>> Shawn
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
> !DSPAM:507,460af08a277522068143078!
>
>
RE: jms
Posted by "Garner, Shawn" <sh...@vangent.com>.
I've been looking at this for hours wondering what I'm suppose to do
here.
What is " jms consumer su" and how do I create one?
What is a "jms bc"?
I read this but it confuses me:
http://incubator.apache.org/servicemix/servicemix-jms.html
How do you create a "service assembly" to deploy the bc in servicemix?
How do you "then configure the
Service"?
I'm not sure what is naming and what is actually referring to an object.
I also don't know what classes I am suppose to implement.
I've been looking at the webapp example and it doesn't help me because I
can't tell what it does.
Can anybody help clarify this?
Seems like I should be able to use the JMSTemplate to send a message
asynchronously on a topic.
How do I write a class to intercept the message? Then how do I
configure it in spring to work with servicemix?
I think I only need lightweight component sinse I'm already going to be
sending the message from a class already declared in spring.
Shawn
-----Original Message-----
From: Adrian Co [mailto:aco@exist.com]
Sent: Wednesday, March 28, 2007 11:55 AM
To: servicemix-users@geronimo.apache.org
Subject: Re: jms
You first create a jms consumer su to deploy in the jms bc
http://incubator.apache.org/servicemix/servicemix-jms.html
then create a service assembly to deploy the bc in servicemix.
the destination you configure in the service unit would be the jms
destination it will receive jms messages from. then configure the
service you would want to handle the message (i.e. jsr181 component, lw
component, etc.)
Hope this helps. :)
Garner, Shawn wrote:
> I want to setup a JMS queue in service mix and publish it for
invocation
> in Tomcat.
>
> I've installed the shared library and the jms component but I am
unsure
> what to do next.
>
> I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
> trying to figure this out from documentation.
>
>
>
> Can somebody give me some rough steps to configure and use?
>
>
>
> Shawn
>
>
>
>
>
> !DSPAM:507,460a9c9c309252002735277!
>
>
Re: jms
Posted by Adrian Co <ac...@exist.com>.
You first create a jms consumer su to deploy in the jms bc
http://incubator.apache.org/servicemix/servicemix-jms.html
then create a service assembly to deploy the bc in servicemix.
the destination you configure in the service unit would be the jms
destination it will receive jms messages from. then configure the
service you would want to handle the message (i.e. jsr181 component, lw
component, etc.)
Hope this helps. :)
Garner, Shawn wrote:
> I want to setup a JMS queue in service mix and publish it for invocation
> in Tomcat.
>
> I've installed the shared library and the jms component but I am unsure
> what to do next.
>
> I'm unfamiliar with ServiceMix, JMS, and ActiveMQ although I've been
> trying to figure this out from documentation.
>
>
>
> Can somebody give me some rough steps to configure and use?
>
>
>
> Shawn
>
>
>
>
>
> !DSPAM:507,460a9c9c309252002735277!
>
>