![]() | ||||
| ||||||
| Kusu Kits Discuss Kusu Kits as such the Kusu scheduler (LAVA), cluster filesystems, compilers and tools, open source and commercial add-on applications here. |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
| |||
|
I am trying out the PMC Kit, but cannot get the Job Submission part to work yet. I get the following Exception when clicking on Manage Workload -> Submission -> Batch Jobs Code: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Unable to instantiate Action, listJobsAction, defined for 'listJobs' in namespace '/batch'Error creating bean with name 'listJobsAction' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Cannot resolve reference to bean 'batchServiceReal' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchServiceReal' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.platform.gui.batch.web.services.batch.BatchService com.platform.gui.batch.web.services.batch.BatchServiceFactory.getServiceReal() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) com.platform.gui.common.web.filter.BaseFilter.doFilter(BaseFilter.java:102) root cause Unable to instantiate Action, listJobsAction, defined for 'listJobs' in namespace '/batch'Error creating bean with name 'listJobsAction' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Cannot resolve reference to bean 'batchServiceReal' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchServiceReal' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.platform.gui.batch.web.services.batch.BatchService com.platform.gui.batch.web.services.batch.BatchServiceFactory.getServiceReal() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError - action - file:/usr/share/pmc/ocs/5.0/ocsgui/WEB-INF/classes/com/platform/gui/batch/web/action/batch_struts.xml:9:68 com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:294) com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:365) com.opensymphony.xwork2.DefaultActionInvocation.access$000(DefaultActionInvocation.java:38) com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:83) com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455) com.opensymphony.xwork2.DefaultActionInvocation.<init>(DefaultActionInvocation.java:74) com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:189) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494) org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) com.platform.gui.common.web.filter.BaseFilter.doFilter(BaseFilter.java:102) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs. Code: [fm@master usr]$ lsid Platform Lava 1.0, Oct 6 2008 Copyright 2007 Platform Computing Corporation My cluster name is lava My master name is master [fm@master usr]$ bsub sleep 10 Job <203> is submitted to default queue <normal>. [fm@master usr]$ bjobs JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME 203 fm PEND normal master sleep 10 Oct 9 11:02 [fm@master usr]$ bqueues QUEUE_NAME PRIO STATUS MAX JL/U JL/P JL/H NJOBS PEND RUN SUSP owners 43 Open:Active - 6 - - 0 0 0 0 priority 43 Open:Active - - - - 0 0 0 0 chkpnt_rerun_qu 40 Open:Active - - - - 0 0 0 0 short 35 Open:Active - - - - 0 0 0 0 normal 30 Open:Active - - - - 1 1 0 0 idle 20 Open:Active - - - - 0 0 0 0 Code: [fm@master usr]$ cat /etc/*-release Kusu "Kramat" 0.10 (build 3520) CentOS release 5.2 (Final) |
| |||
|
For what it is worth here the whole backtrace from /usr/share/pmc/2.0/tomcat/logs/catalina.out Code: Unable to instantiate Action, listJobsAction, defined for 'listJobs' in namespace '/batch'Error creating bean with name 'listJobsAction' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Cannot resolve reference to bean 'batchServiceReal' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchServiceReal' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.platform.gui.batch.web.services.batch.BatchService com.platform.gui.batch.web.services.batch.BatchServiceFactory.getServiceReal() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError - action - file:/usr/share/pmc/ocs/5.0/ocsgui/WEB-INF/classes/com/platform/gui/batch/web/action/batch_struts.xml:9:68
at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:294)
at com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:365)
at com.opensymphony.xwork2.DefaultActionInvocation.access$000(DefaultActionInvocation.java:38)
at com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:83)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.opensymphony.xwork2.DefaultActionInvocation.<init>(DefaultActionInvocation.java:74)
at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:189)
at org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:41)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:494)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.platform.gui.common.web.filter.BaseFilter.doFilter(BaseFilter.java:102)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'listJobsAction' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Cannot resolve reference to bean 'batchServiceReal' while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchServiceReal' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.platform.gui.batch.web.services.batch.BatchService com.platform.gui.batch.web.services.batch.BatchServiceFactory.getServiceReal() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1073)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:270)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:703)
at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:125)
at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:143)
at com.opensymphony.xwork2.ObjectFactory.buildAction(ObjectFactory.java:113)
at com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:275)
... 26 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchServiceReal' defined in ServletContext resource [/WEB-INF/classes/com/platform/gui/batch/web/action/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.platform.gui.batch.web.services.batch.BatchService com.platform.gui.batch.web.services.batch.BatchServiceFactory.getServiceReal() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:450)
at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:289)
at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)
at org.springframework.web.context.request.SessionScope.get(SessionScope.java:90)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:285)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
... 37 more
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.platform.gui.batch.web.services.batch.BatchService com.platform.gui.batch.web.services.batch.BatchServiceFactory.getServiceReal() throws java.lang.Exception] threw exception; nested exception is java.lang.NoClassDefFoundError
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:130)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:315)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:758)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:712)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386)
... 43 more
Caused by: java.lang.NoClassDefFoundError
at com.platform.gui.batch.web.services.batch.real.RealBatchServiceI.<init>(RealBatchServiceI.java:39)
at com.platform.gui.batch.web.services.batch.real.RealBatchService.<init>(RealBatchService.java:43)
at com.platform.gui.batch.web.services.batch.BatchServiceFactory.getServiceReal(BatchServiceFactory.java:19)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:118)
... 47 more
|
| |||
| yes i am using the OCS GUI Kit 5.1 (kit-OCS-GUI-5.1-6.noarch.iso)
|
| |||
| Quote:
This bug never hit me again since Quote:
|