2 Replies Latest reply on Jun 24, 2005 12:47 PM by darranl

    Custom configuration problems

    metatom

      Hi all,

      In an attempt to learn more about the underlying JBoss and to get a more bespoke server i decide to start from stratch (copy of minimal config) and build up the services as i need them. But surprise surprise it has'nt all gone smoothly and am now staring at a long splurge of error meessages (sum of which appears below). Is there any Docs anywhere to help with this process, detailing the steps to go through when adding services (files required, class dependances, etc.) or can any1 spot the prob from the error mess below?

      Any thoughts/ideas/commiserations all welcome as usual

      Cheers

      Tom

      First bit of error

      11:41:34,364 ERROR [LocalJBossServerDomain] Initialization failed jboss.management.local:j2eeType=J2EEDomain,name=Manager
      RuntimeOperationsException: null Cause: java.lang.IllegalArgumentException: null object name
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:495)
      at org.jboss.mx.server.MBeanServerImpl.addNotificationListener(MBeanServerImpl.java:722)
      at org.jboss.management.j2ee.LocalJBossServerDomain.registerWithCurrentDeployers(LocalJBossServerDomain.java:695)
      at org.jboss.management.j2ee.LocalJBossServerDomain.createService(LocalJBossServerDomain.java:500)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:220)
      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:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)

      Then lots more, then this one

      11:41:34,379 WARN [ServiceController] Problem creating service jboss.management.local:j2eeType=J2EEDomain,name=Manager
      java.lang.IllegalArgumentException: null object name
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:495)
      at org.jboss.mx.server.MBeanServerImpl.addNotificationListener(MBeanServerImpl.java:722)
      at org.jboss.management.j2ee.LocalJBossServerDomain.registerWithCurrentDeployers(LocalJBossServerDomain.java:695)
      at org.jboss.management.j2ee.LocalJBossServerDomain.createService(LocalJBossServerDomain.java:500)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)

      O look theres even more!

      11:41:35,846 ERROR [MainDeployer] could not create deployment: file:/opt/jboss-4.0.2/server/meta/deploy/ejb-deployer.xml
      org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
      at org.jboss.system.ServiceController.install(ServiceController.java:202)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      This ones abit odd as i've go the jboss.jar that contains this class in my servers lib dir

      Caused by: java.lang.NoClassDefFoundError: org/jboss/verifier/BeanVerifier
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
      at java.lang.Class.getConstructor0(Class.java:1930)
      at java.lang.Class.getConstructor(Class.java:1027)