3 Replies Latest reply on May 4, 2006 12:00 PM by John Wooten

    JBoss Eclipse IDE tutorial failes to deploy

    Andrew Parr Newbie

      I followed the tutorial for the Eclipse Jboss IDE but get the following error
      when I deploy.
      Can anyone please help?
      13:22:31,174 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 23s:
      70ms
      13:25:11,405 INFO [EARDeployer] Init J2EE application: file:/C:/APPS/jboss-4.0.2/server/default/deploy/FiboApp.ear
      13:25:11,609 INFO [EjbModule] Deploying Fibo
      13:25:11,671 INFO [EJBDeployer] Deployed: file:/C:/APPS/jboss-4.0.2/server/default/tmp/deploy/tmp52739FiboApp.ear-conte
      nts/FiboEJB.jar
      13:25:11,718 INFO [TomcatDeployer] deploy, ctxPath=/>/fibo, warUrl=file:/C:/APPS/jboss-4.0.2/server/default/tmp/deploy/
      tmp52739FiboApp.ear-contents/FiboWeb-exp.war/
      13:25:11,827 INFO [STDOUT] java.io.FileNotFoundException: C:\APPS\jboss-4.0.2\server\default\work\jboss.web\localhost\>
      _fibo\tldCache.ser (The filename, directory name, or volume label syntax is incorrect)
      13:25:11,827 INFO [STDOUT] at java.io.FileOutputStream.open(Native Method)
      13:25:11,827 INFO [STDOUT] at java.io.FileOutputStream.(FileOutputStream.java:179)
      13:25:11,827 INFO [STDOUT] at java.io.FileOutputStream.(FileOutputStream.java:131)
      13:25:11,827 INFO [STDOUT] at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:315)
      13:25:11,827 INFO [STDOUT] at org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4193)
      13:25:11,827 INFO [STDOUT] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4049)
      13:25:11,827 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      13:25:11,827 INFO [STDOUT] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      13:25:11,827 INFO [STDOUT] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      13:25:11,827 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      13:25:11,827 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      13:25:11,827 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      13:25:11,827 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      13:25:11,827 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      13:25:11,827 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      13:25:11,827 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      13:25:11,827 INFO [STDOUT] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
      13:25:11,827 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      13:25:11,827 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      13:25:11,843 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      13:25:11,843 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      13:25:11,843 INFO [STDOUT] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      13:25:11,843 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:274
      )
      13:25:11,843 INFO [STDOUT] at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
      13:25:11,843 INFO [STDOUT] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
      13:25:11,843 INFO [STDOUT] at org.jboss.web.WebModule.startModule(WebModule.java:68)
      13:25:11,843 INFO [STDOUT] at org.jboss.web.WebModule.startService(WebModule.java:46)
      13:25:11,843 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)

      13:25:11,843 INFO [STDOUT] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:
      222)
      13:25:11,843 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      13:25:11,843 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      13:25:11,843 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      13:25:11,843 INFO [STDOUT] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
      13:25:11,843 INFO [STDOUT] at $Proxy0.start(Unknown Source)
      13:25:11,843 INFO [STDOUT] at org.jboss.system.ServiceController.start(ServiceController.java:418)
      13:25:11,843 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
      13:25:11,843 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      13:25:11,843 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      13:25:11,843 INFO [STDOUT] at $Proxy28.start(Unknown Source)
      13:25:11,843 INFO [STDOUT] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:394)
      13:25:11,843 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
      13:25:11,843 INFO [STDOUT] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:956)
      13:25:11,843 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
      13:25:11,843 INFO [STDOUT] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
      13:25:11,843 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
      13:25:11,843 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      13:25:11,843 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
      13:25:11,843 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      13:25:11,859 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInt
      erceptor.java:127)
      13:25:11,859 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      13:25:11,859 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      13:25:11,859 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      13:25:11,859 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      13:25:11,859 INFO [STDOUT] at $Proxy8.deploy(Unknown Source)
      13:25:11,859 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:32
      5)
      13:25:11,859 INFO [STDOUT] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)

      13:25:11,859 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractD
      eploymentScanner.java:204)
      13:25:11,859 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDep
      loymentScanner.java:215)
      13:25:11,859 INFO [STDOUT] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDepl
      oymentScanner.java:194)
      13:25:11,890 FATAL [JspServletOptions] The scratchDir you specified: C:\APPS\jboss-4.0.2\server\default\work\jboss.web\l
      ocalhost\>_fibo is unusable.
      13:25:11,937 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2
      13:25:11,937 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found
      13:25:11,937 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled
      13:25:11,999 INFO [EARDeployer] Started J2EE application: file:/C:/APPS/jboss-4.0.2/server/default/deploy/FiboApp.ear

        • 1. Re: JBoss Eclipse IDE tutorial failes to deploy
          Andrew Parr Newbie

          I'm going to answer my own question here:

          It turned out I have a double >> in my application.xml file.
          For some reason I had:
          <context-root>>/fibo</context-root>

          Not sure how that happened as I copied the code straight from the web tutorial pages, but I've just checked and it's correct in the tutorial.
          Oh well, it's working fine now.

          • 2. Re: JBoss Eclipse IDE tutorial failes to deploy
            kiran shashi Newbie

            the extra > seems be generated, so i guess there is an issue with the EAR 1.3 Deployment Descriptor plug-in.

            • 3. Re: JBoss Eclipse IDE tutorial failes to deploy
              John Wooten Newbie

              I could use some help in in a slightly different way. I created a simple work flow following the demo for a holiday request. I got it done, but there is no "deploy" tab as is shown in the demo. What steps do I go through to deploy the process? I'm using the latest 3.1.2 eclipse, I believe with the plugin that came in the jbpm-starters-kit-3.1. I can't start the server as there is no service.xml or such in the conf part of the server.

              BTW, I'm doing this on a Mac OS X 10.4.6. Most of the examples, scripts, etc. are built for Windows, but I've managed to get through most of that.

              Hints, help appreciated.

              John