servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Vanthienen <gert.vanthie...@skynet.be>
Subject Re: servicemix WSN - servicemix war - Startup error
Date Tue, 30 Sep 2008 20:39:52 GMT
L.S.,

Looks like the component is trying to look up the ConnectionFactory 
using JNDI.  Is this perhaps something you have to define first in 
JBoss, so it knows what ConnectionFactory to provide for a given name?

Regards,

Gert

bsolrac wrote:
> Hey All,
>
> Getting the following error when trying to start the servicemix-wsn2005
> component. Using service mix war version 3.1.2 on JBOSS 4.2.2
>
> error: Caused by: javax.naming.NameNotFoundException: env not bound
>
> stacktrace
>
> Caused by: 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>startComponent</task-id>
> <task-result>FAILED</task-result>
> <message-type>ERROR</message-type>
> <task-status-msg>
> <msg-loc-info>
> <loc-token/>
> <loc-message>servicemix-wsn2005</loc-message>
> </msg-loc-info>
> </task-status-msg>
> <exception-info>
> <nesting-level>1</nesting-level>
> <loc-token/>
> <loc-message>Error calling init</loc-message>
> <stack-trace><![CDATA[javax.jbi.JBIException: Error calling init
>
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:149)
>
> 	at
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
>
> 	at
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
>
> 	at
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
>
> 	at
> org.apache.servicemix.jbi.framework.AdminCommandsService.startComponent(AdminCommandsService.java:172)
>
> 	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 org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
>
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
>
> 	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 $Proxy57.startComponent(Unknown Source)
>
> 	at
> org.apache.servicemix.web.controller.ComponentLifeCycle.handleRequest(ComponentLifeCycle.java:57)
>
> 	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:710)
>
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 	at
> org.apache.servicemix.http.filter.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:27)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 	at
> org.apache.servicemix.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 	at
> com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
>
> 	at
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 	at
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
>
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>
> 	at
> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
>
> 	at
> org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
>
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>
> 	at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>
> 	at
> org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
>
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>
> 	at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
>
> 	at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>
> 	at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>
> 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
>
> 	at java.lang.Thread.run(Thread.java:595)
>
> Caused by: javax.naming.NameNotFoundException: env not bound
>
> 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
>
> 	at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
>
> 	at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
>
> 	at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
>
> 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
>
> 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
>
> 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
>
> 	at javax.naming.InitialContext.lookup(InitialContext.java:351)
>
> 	at
> org.apache.servicemix.wsn.component.WSNLifeCycle.lookupConnectionFactory(WSNLifeCycle.java:118)
>
> 	at
> org.apache.servicemix.wsn.component.WSNLifeCycle.doInit(WSNLifeCycle.java:63)
>
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:142)
>
> 	... 53 more
>
> ]]></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.startComponent(AdminCommandsService.java:176)
> 	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)
> 	... 43 more
>
>
>   


Mime
View raw message