[jboss-user] [EJB/JBoss] - Error while calling Backing Bean

mala do-not-reply at jboss.com
Wed Apr 4 02:47:47 EDT 2007


Hi,

I am getting the below error while trying to call a action method in backing bean.

2007-04-04 11:36:44,861 INFO  [STDOUT] ********  Call to getLoadDataType  **********
2007-04-04 11:36:44,876 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 809791, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1aba308{ url=null ,addedOrder=0}
2007-04-04 11:36:44,876 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 809791, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 15c693a{ url=null ,addedOrder=0}
2007-04-04 11:36:44,876 INFO  [STDOUT] ****************************************
2007-04-04 11:36:44,876 ERROR [STDERR] javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/nielsenmedia/edsload/workflow/backing/LoadDataBean
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:102)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:211)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at $Proxy98.getLoadDataType(Unknown Source)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.nielsenmedia.edsload.workflow.backing.LoadDataBean.getDataTypevalues(Unknown Source)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:585)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:400)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:71)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.faces.component.UIData.getValue(UIData.java:527)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.faces.component.UIData.getDataModel(UIData.java:848)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.faces.component.UIData.getRowCount(UIData.java:271)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:124)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:600)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:537)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:55)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.jsp.test_jsp._jspx_meth_h_dataTable_0(test_jsp.java:161)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.jsp.test_jsp._jspx_meth_f_view_0(test_jsp.java:107)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.jsp.test_jsp._jspService(test_jsp.java:72)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2007-04-04 11:36:44,876 ERROR [STDERR] 	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at java.lang.Thread.run(Thread.java:595)
2007-04-04 11:36:44,892 ERROR [STDERR] Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/nielsenmedia/edsload/workflow/backing/LoadDataBean
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:46)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
2007-04-04 11:36:44,892 ERROR [STDERR] 	... 77 more
2007-04-04 11:36:44,892 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: com/nielsenmedia/edsload/workflow/backing/LoadDataBean
2007-04-04 11:36:44,892 ERROR [STDERR] 	at com.nielsenmedia.edsload.workflow.dao.LoadDataBeanDAO.getLoadData(Unknown Source)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at com.nielsenmedia.edsload.workflow.business.slsb.ProcessResourceManagerSLSB.getLoadDataType(Unknown Source)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at java.lang.reflect.Method.invoke(Method.java:585)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
2007-04-04 11:36:44,892 ERROR [STDERR] 	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
2007-04-04 11:36:44,892 ERROR [STDERR] 	... 84 more
2007-04-04 11:36:44,892 INFO  [STDOUT] ****************************************
LoadDataBean.java

public String getDataTypevalues()
{	
String dataValue = null;

		try{
			System.out.println("****** getDataTypevalues *******");
			dataValue = loPManager.getLoadDataType("1", "2");
		}
		catch(Exception e){
			System.out.println("****************************************");
			e.printStackTrace();
			System.out.println("****************************************");
		}
		return dataValue; 
		
	}


ProcessResourceManagerSLSB.java
.
.
public String getLoadDataType(String dataTypeId, String tableId)
{
System.out.println("********  Call to getLoadDataType  **********");
LoadDataDAO dao = EDSDAOFactory.getDAOFactory().loadDataType();
LoadDataBean loadBean = dao.getLoadData(dataTypeId, tableId);
return loadBean.getDataTypeName();
}
..

Kindly help me in resloving this problem.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034405#4034405

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034405



More information about the jboss-user mailing list