Gordon Dickens wrote:
Bruce Snyder wrote:
On 7/18/07, Gordon Dickens <[EMAIL PROTECTED]> wrote:

Bruce Snyder wrote:

On 7/17/07, Gordon Dickens <[EMAIL PROTECTED]> 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)[EMAIL 
PROTECTED]&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)[EMAIL 
PROTECTED]&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

Reply via email to