0 Replies Latest reply on Jan 5, 2007 11:16 AM by zlatko josic

    jboss 5.0.0 beta1 deeployment problem

    zlatko josic Newbie

      Hi,

      I have problem with deployment when I put scheduler-service.xml
      in last.deploy directory.

      If I remove last.deploy directory everything works fine.

      Errors I've got:


      16:24:14,483 ERROR [ReadOnlyAccessFilter] Failed to init ReadOnlyAccessFilter
      javax.management.InstanceNotFoundException: jboss:service=Naming is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527)
      at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:559)
      at org.jboss.invocation.http.servlet.ReadOnlyAccessFilter.init(ReadOnlyAccessFilter.java:72)
      at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:274)
      at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:396)
      at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
      at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
      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:589)
      at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
      at org.jboss.web.tomcat.tc6.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:129)
      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:355)
      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:88)
      at org.jboss.web.deployers.WebModule.start(WebModule.java:66)
      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:589)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      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:668)
      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:184)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
      at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
      at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190)
      at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
      at org.jboss.system.ServiceController.start(ServiceController.java:431)
      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:124)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:85)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44)
      at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53)
      at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
      at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440)
      at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246)
      at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401)
      at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340)
      at org.jboss.Main.boot(Main.java:210)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Thread.java:619)
      ...


      I also found:



      java.lang.StackOverflowError
      at org.apache.log4j.Category.isEnabledFor(Category.java:759)
      at org.jboss.logging.log4j.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:102)
      at org.jboss.logging.Logger.isTraceEnabled(Logger.java:150)
      at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:219)

      Thanks