0 Replies Latest reply on Aug 23, 2006 5:14 AM by shailesh bansal

    help me in jboss error

    shailesh bansal Newbie

      I am deploying a application in jboss4 server.
      I am using ant script from eclipse(3.2) IDE. I am
      also using myeclipse(5.0) plugin. I am starting
      server thru myeclipse plugin. I am using struts1.1,
      and mysql4.0 also.
      also. Getting some errors...

      ===================1st error==============================
      Velocity [info] Velocimacro : added new VM : #shippingAddress( ) : source =

      /WEB-INF/VM_global_library.vm
      13:18:04,812 ERROR [STDERR] com.elasticpath.commons.exception.EPSystemException: Failed in

      LuceneIndexBuilderBO - buildIndex:
      13:18:04,812 INFO [[/]] Velocity [info] Velocimacro : added new VM : #billingAddress( ) : source

      = /WEB-INF/VM_global_library.vm
      13:18:04,812 ERROR [STDERR] at

      com.elasticpath.business.domain.LuceneIndexBuilderBO.buildIndex(LuceneIndexBuilderBO.java:263)
      13:18:04,812 INFO [[/]] Velocity [info] Velocimacro : added new VM : #displayCut( diamondCut ) :

      source = /WEB-INF/VM_global_library.vm
      13:18:04,812 ERROR [STDERR] at

      com.elasticpath.business.action.IndexBuilderBA.execute(IndexBuilderBA.java:35)
      13:18:04,828 ERROR [STDERR] at

      com.elasticpath.business.action.AbstractBA.doExecute(AbstractBA.java:51)
      13:18:04,828 ERROR [STDERR] at

      com.elasticpath.web.struts.commons.IndexTask.run(IndexTask.java:26)
      13:18:04,828 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
      13:18:04,921 INFO [[/]] Velocity [info] ResourceManager : found /WEB-INF/VM_global_library.vm

      with loader org.apache.velocity.tools.view.servlet.WebappLoader
      13:18:04,921 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)
      13:18:04,921 INFO [[/]] Velocity [info] Velocimacro : VM library template macro registration

      complete.
      13:18:04,921 ERROR [STDERR] Caused by: java.io.FileNotFoundException:

      C:\jboss4\server\default\tmp\deploy\tmp4658angara-exp.war\WEB-INF\luceneIndex_temp_1156319284531\_2o

      4.fnm (The system cannot find the file specified)
      13:18:04,937 INFO [[/]] Velocity [info] Velocimacro : allowInline = true : VMs can be defined

      inline in templates
      13:18:04,937 ERROR [STDERR] at java.io.RandomAccessFile.open(Native Method)
      13:18:04,937 INFO [[/]] Velocity [info] Velocimacro : allowInlineToOverride = false : VMs

      defined inline may NOT replace previous VM definitions
      13:18:04,937 ERROR [STDERR] at java.io.RandomAccessFile.(RandomAccessFile.java:212)
      13:18:04,937 INFO [[/]] Velocity [info] Velocimacro : allowInlineLocal = false : VMs defined

      inline will be global in scope if allowed.
      13:18:04,937 ERROR [STDERR] at

      org.apache.lucene.store.FSIndexInput$Descriptor.(FSDirectory.java:425)
      13:18:04,937 INFO [[/]] Velocity [info] Velocimacro : messages on : VM system will output

      logging messages
      13:18:04,937 ERROR [STDERR] at org.apache.lucene.store.FSIndexInput.(FSDirectory.java:434)
      13:18:04,937 INFO [[/]] Velocity [info] Velocimacro : autoload off : VM system will not

      automatically reload global library macros
      13:18:04,937 ERROR [STDERR] at

      org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:324)
      13:18:04,937 INFO [[/]] Velocity [info] Velocimacro : initialization complete.
      13:18:04,937 ERROR [STDERR] at org.apache.lucene.index.FieldInfos.(FieldInfos.java:56)
      13:18:04,937 INFO [[/]] Velocity [info] Velocity successfully started.
      13:18:04,937 ERROR [STDERR] at

      org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:144)
      13:18:04,953 ERROR [STDERR] at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:129)
      13:18:04,953 ERROR [STDERR] at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:115)
      13:18:04,953 INFO [[/]] Velocity [info] ServletToolboxManager: Using config file

      '/WEB-INF/toolbox.xml'
      13:18:04,953 ERROR [STDERR] at

      org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:150)
      13:18:04,953 INFO [[/]] Velocity [debug] XMLToolboxManager: Loading toolbox...
      13:18:04,953 ERROR [STDERR] at org.apache.lucene.store.Lock$With.run(Lock.java:109)
      13:18:04,984 ERROR [STDERR] at org.apache.lucene.index.IndexReader.open(IndexReader.java:143)
      13:18:04,984 ERROR [STDERR] at org.apache.lucene.index.IndexReader.open(IndexReader.java:127)
      13:18:05,093 INFO [[/]] Velocity [debug] XMLToolboxManager: Toolbox loaded.
      13:18:05,093 ERROR [STDERR] at

      com.elasticpath.business.domain.LuceneIndexBuilderBO.buildIndex(LuceneIndexBuilderBO.java:133)
      13:18:05,093 INFO [[/]] Velocity [info] ServletToolboxManager: Toolbox setup complete.
      13:18:05,093 ERROR [STDERR] ... 5 more
      13:18:05,093 INFO [[/]] Velocity [info] VelocityViewServlet: Default content-type is: text/html;

      charset=UTF-8
      13:18:05,265 INFO [TilesPlugin] Factory already exists for module ''. The factory found is from

      module ''. No new creation.
      13:18:05,265 INFO [ValidatorPlugIn] Loading validation rules file from

      '/WEB-INF/validator-rules.xml'
      13:18:05,265 INFO [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
      13:18:10,234 ERROR [[/]] action_tmp: null
      ======================================2nd error ====================================

      java.lang.IllegalStateException: Timer already cancelled.
      at java.util.Timer.sched(Timer.java:354)
      at java.util.Timer.schedule(Timer.java:222)
      at com.elasticpath.web.struts.commons.IndexScheduler.start(IndexScheduler.java:28)
      at

      com.elasticpath.web.struts.plugin.LuceneIndexBuilderPlugin.init(LuceneIndexBuilderPlugin.java:45)
      at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:867)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:334)
      at javax.servlet.GenericServlet.init(GenericServlet.java:211)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      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.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
      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.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      =====================================3rd error ========================================
      13:18:10,250 INFO [[/]] Marking servlet action_tmp as unavailable
      13:18:10,250 ERROR [[/]] Servlet threw load() exception
      javax.servlet.UnavailableException
      at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:878)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:334)
      at javax.servlet.GenericServlet.init(GenericServlet.java:211)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      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.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
      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.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
      at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
      at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
      at org.jboss.web.WebModule.startModule(WebModule.java:83)
      at org.jboss.web.WebModule.startService(WebModule.java:61)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy30.start(Unknown Source)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
      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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at

      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:1

      42)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
      at

      org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
      at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
      at

      org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSup

      port.java:188)
      at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy31.start(Unknown Source)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at

      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:1

      42)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at

      org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanne

      r.java:263)
      at

      org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:3

      36)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755)
      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.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at

      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:1

      42)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:464)
      at java.lang.Thread.run(Thread.java:595)





      Is anybody know how to configure jboss, eclipse,
      myeclipse? And what may be the problems ?
      Anybody can help me ?