You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by sameh <sa...@synoran.com> on 2007/07/03 19:44:05 UTC

Apache ServiceMix Web Application 3.1-incubating.war BEA Weblogic

I have a Service assembly that is working in the Standalone version of
Servicemix 3.1
I need to have servicemix run inside Weblogic so I downloaded Apache
ServiceMix Web Application 3.1-incubating.war and deployed to Weblogic (9.2)
When I try to install a component or deploy my service assembly I get:
Compilation of JSP File '/error.jsp' failed:
error.jsp:18:5: No tag library could be found with this URI. Possible causes
could be that the URI is incorrect, or that there were errors during parsing
of the .tld file.
<%@ taglib uri="WEB-INF/tags/sitemesh-page.tld" prefix="page" %>

Here is the exceptions resulting from trying to install the component:
servicemix-shared-3.1-incubating-installer.zip

<Jul 3, 2007 1:08:34 PM EDT> <Error> <HTTP> <BEA-101017>
<[weblogic.servlet.internal.WebAppServletContext@454e71 - appName:
'apache-servicemix-web-3', name: 'apache-servicemix-web-3.1-incubating.war',
context-path: '/apache-servicemix-web-3.1-incubating'] Root cause of
ServletException.
org.springframework.jmx.access.InvocationFailureException: JMX access
failed; nested exception is javax.management.MBeanException
        at
org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:309)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
        at $Proxy79.installComponent(Unknown Source)
        at
org.apache.servicemix.web.controller.InstallComponent.doSubmitAction(InstallComponent.java:51)
        Truncated. see log file for complete stacktrace
javax.management.MBeanException
        at
org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:332)
        at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        Truncated. see log file for complete stacktrace
java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
<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>installComponent</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>file:/tmp/smx-comp8600.zip</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<loc-token/>
<loc-message>JBI descriptor is not a component descriptor</loc-message>
<stack-trace><![CDATA[javax.jbi.management.DeploymentException: JBI
descriptor is not a component descriptor
        at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:278)
        at
org.apache.servicemix.jbi.framework.AdminCommandsService.installComponent(AdminCommandsService.java:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
        at
org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:318)
        at
com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
        at
com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
        at
org.springframework.jmx.access.MBeanClientInterceptor.invokeOperation(MBeanClientInterceptor.java:374)
        at
org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:305)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
        at $Proxy79.installComponent(Unknown Source)
        at
org.apache.servicemix.web.controller.InstallComponent.doSubmitAction(InstallComponent.java:51)
        at
org.springframework.web.servlet.mvc.SimpleFormController.onSubmit(SimpleFormController.java:442)
        at
org.springframework.web.servlet.mvc.SimpleFormController.onSubmit(SimpleFormController.java:408)
        at
org.springframework.web.servlet.mvc.SimpleFormController.onSubmit(SimpleFormController.java:380)
        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:45)
        at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)
        at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
        at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
        at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:360)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
        at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at
org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
        at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:26)
        at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
        at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
        at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
]]></stack-trace>
</exception-info>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
</jbi-task-result>
</jbi-task>

        at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121)
        at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
        at
org.apache.servicemix.jbi.framework.AdminCommandsService.installComponent(AdminCommandsService.java:69)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        Truncated. see log file for complete stacktrace
> 
<Jul 3, 2007 1:08:35 PM EDT> <Error> <HTTP> <BEA-101107>
<[weblogic.servlet.internal.WebAppServletContext@454e71 - appName:
'apache-servicemix-web-3', name: 'apache-servicemix-web-3.1-incubating.war',
context-path: '/apache-servicemix-web-3.1-incubating'] Problem occurred
while serving the error page.
javax.servlet.ServletException: Failed to compile JSP /error.jsp
error.jsp:18:5: No tag library could be found with this URI. Possible causes
could be that the URI is incorrect, or that there were errors during parsing
of the .tld file.
<%@ taglib uri="WEB-INF/tags/sitemesh-page.tld" prefix="page" %>
    ^----^

        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
        at
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
        at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:496)
        Truncated. see log file for complete stacktrace
> 

-- 
View this message in context: http://www.nabble.com/Apache-ServiceMix-Web-Application-3.1-incubating.war-BEA-Weblogic-tf4019895s12049.html#a11417303
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Apache ServiceMix Web Application 3.1-incubating.war BEA Weblogic

Posted by sameh <sa...@synoran.com>.
Here is the exceptions resulting from trying to install the component:
servicemix-shared-3.1-incubating-installer.zip 

So the page is Components
The artifact is servicemix-shared-3.1-incubating-installer.zip
I got the artifact out of the "components" directory in my standalone
version.



bsnyder wrote:
> 
> On 7/3/07, sameh <sa...@synoran.com> wrote:
>>
>> I have a Service assembly that is working in the Standalone version of
>> Servicemix 3.1
>> I need to have servicemix run inside Weblogic so I downloaded Apache
>> ServiceMix Web Application 3.1-incubating.war and deployed to Weblogic
>> (9.2)
>> When I try to install a component or deploy my service assembly I get:
>> Compilation of JSP File '/error.jsp' failed:
>> error.jsp:18:5: No tag library could be found with this URI. Possible
>> causes
>> could be that the URI is incorrect, or that there were errors during
>> parsing
>> of the .tld file.
>> <%@ taglib uri="WEB-INF/tags/sitemesh-page.tld" prefix="page" %>
>>
>> Here is the exceptions resulting from trying to install the component:
>> servicemix-shared-3.1-incubating-installer.zip
>>
>> <Jul 3, 2007 1:08:34 PM EDT> <Error> <HTTP> <BEA-101017>
>> <[weblogic.servlet.internal.WebAppServletContext@454e71 - appName:
>> 'apache-servicemix-web-3', name:
>> 'apache-servicemix-web-3.1-incubating.war',
>> context-path: '/apache-servicemix-web-3.1-incubating'] Root cause of
>> ServletException.
>> org.springframework.jmx.access.InvocationFailureException: JMX access
>> failed; nested exception is javax.management.MBeanException
>>         at
>> org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:309)
>>         at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
>>         at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
>>         at $Proxy79.installComponent(Unknown Source)
>>         at
>> org.apache.servicemix.web.controller.InstallComponent.doSubmitAction(InstallComponent.java:51)
>>         Truncated. see log file for complete stacktrace
>> javax.management.MBeanException
>>         at
>> org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:332)
>>         at
>> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>>         at
>> com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>>         at
>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>>         Truncated. see log file for complete stacktrace
>> java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
>> <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>installComponent</task-id>
>> <task-result>FAILED</task-result>
>> <message-type>ERROR</message-type>
>> <task-status-msg>
>> <msg-loc-info>
>> <loc-token/>
>> <loc-message>file:/tmp/smx-comp8600.zip</loc-message>
>> </msg-loc-info>
>> </task-status-msg>
>> <exception-info>
>> <nesting-level>1</nesting-level>
>> <loc-token/>
>> <loc-message>JBI descriptor is not a component descriptor</loc-message>
>> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: JBI
>> descriptor is not a component descriptor
> 
> When using the ServiceMix WAR file distribution you need to install
> JBI components and SAs using the web interface. JBI shared libraries
> must be installed first (i.e., servicemix-shared), followed by JBI
> components and then SAs. The error you're seeing occurs when trying to
> install the wrong component type using the wrong page in the web
> console. What kind of artifact are you trying to install and what page
> in the web console are 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/
> 
> 

-- 
View this message in context: http://www.nabble.com/Apache-ServiceMix-Web-Application-3.1-incubating.war-BEA-Weblogic-tf4019895s12049.html#a11445851
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Apache ServiceMix Web Application 3.1-incubating.war BEA Weblogic

Posted by Bruce Snyder <br...@gmail.com>.
On 7/3/07, sameh <sa...@synoran.com> wrote:
>
> I have a Service assembly that is working in the Standalone version of
> Servicemix 3.1
> I need to have servicemix run inside Weblogic so I downloaded Apache
> ServiceMix Web Application 3.1-incubating.war and deployed to Weblogic (9.2)
> When I try to install a component or deploy my service assembly I get:
> Compilation of JSP File '/error.jsp' failed:
> error.jsp:18:5: No tag library could be found with this URI. Possible causes
> could be that the URI is incorrect, or that there were errors during parsing
> of the .tld file.
> <%@ taglib uri="WEB-INF/tags/sitemesh-page.tld" prefix="page" %>
>
> Here is the exceptions resulting from trying to install the component:
> servicemix-shared-3.1-incubating-installer.zip
>
> <Jul 3, 2007 1:08:34 PM EDT> <Error> <HTTP> <BEA-101017>
> <[weblogic.servlet.internal.WebAppServletContext@454e71 - appName:
> 'apache-servicemix-web-3', name: 'apache-servicemix-web-3.1-incubating.war',
> context-path: '/apache-servicemix-web-3.1-incubating'] Root cause of
> ServletException.
> org.springframework.jmx.access.InvocationFailureException: JMX access
> failed; nested exception is javax.management.MBeanException
>         at
> org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:309)
>         at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
>         at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
>         at $Proxy79.installComponent(Unknown Source)
>         at
> org.apache.servicemix.web.controller.InstallComponent.doSubmitAction(InstallComponent.java:51)
>         Truncated. see log file for complete stacktrace
> javax.management.MBeanException
>         at
> org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:332)
>         at
> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>         at
> com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>         Truncated. see log file for complete stacktrace
> java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
> <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>installComponent</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> <task-status-msg>
> <msg-loc-info>
> <loc-token/>
> <loc-message>file:/tmp/smx-comp8600.zip</loc-message>
> </msg-loc-info>
> </task-status-msg>
> <exception-info>
> <nesting-level>1</nesting-level>
> <loc-token/>
> <loc-message>JBI descriptor is not a component descriptor</loc-message>
> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: JBI
> descriptor is not a component descriptor

When using the ServiceMix WAR file distribution you need to install
JBI components and SAs using the web interface. JBI shared libraries
must be installed first (i.e., servicemix-shared), followed by JBI
components and then SAs. The error you're seeing occurs when trying to
install the wrong component type using the wrong page in the web
console. What kind of artifact are you trying to install and what page
in the web console are 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/