Another information.
When I try to run the precompiled version this error
happens when a message is send (example join the chat
demo) :
12:18:58,875 ERROR [Engine]
StandardWrapperValve[AjaxServlet]: Servlet.service()
for servlet AjaxServlet threw exception
java.lang.NoSuchMethodError:
javax.jms.ConnectionFactory.createConnection()Ljavax/jms/Connection;
at
org.apache.activemq.web.WebClient.getConnection(WebClient.java:217)
at
org.apache.activemq.web.WebClient.createSession(WebClient.java:283)
at
org.apache.activemq.web.WebClient.getSession(WebClient.java:210)
at
org.apache.activemq.web.MessageServletSupport.getDestination(MessageServletSupport.java:294)
at
org.apache.activemq.web.MessageListenerServlet.doPost(MessageListenerServlet.java:130)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:46)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
--- Andre Selton <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I try run the web demo using maven I have
> this
> error message :
> Any idea of how to fix this ?
>
> C:\java\activemq\example\activemq-web-demo>mvn
> jetty6:run
> [INFO] Scanning for projects...
> Downloading:
>
http://repo1.maven.org/maven2/incubator-activemq/activemq-parent/4.
> 0.1/activemq-parent-4.0.1.pom
> [WARNING] Unable to get resource from repository
> central (http://repo1.maven.org
> /maven2)
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: incubator-activemq
> ArtifactId: activemq-parent
> Version: 4.0.1
>
> Reason: Unable to download the artifact from any
> repository
>
> incubator-activemq:activemq-parent:pom:4.0.1
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
> --
> Andre Selton
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com