0 Replies Latest reply on Jul 5, 2004 11:22 AM by Vitaliy Novikov

    JBoss minimal set (or number of services tunning)

    Vitaliy Novikov Newbie

      I want configure jboss (3.2.2) with minimal set of service: only ejbdeployer and
      ability of database use (in future).
      So, I copy to test directory (under server dir) all from minimal dir (test/lib/ directory hold all jars from default/lib) and modify jboss-service.xml and now it looks like:



      JBoss output:
      18:10:06,440 INFO [Server] Starting JBoss (MX MicroKernel)...
      18:10:06,444 INFO [Server] Release ID: JBoss [WonderLand] 3.2.2RC3 (build: CVSTag=JBoss_3_2_2_RC3 date=200308241317)
      18:10:06,444 INFO [Server] Home Dir: /usr/local/jboss3.2.2
      18:10:06,445 INFO [Server] Home URL: file:/usr/local/jboss3.2.2/
      18:10:06,445 INFO [Server] Library URL: file:/usr/local/jboss3.2.2/lib/
      18:10:06,447 INFO [Server] Patch URL: null
      18:10:06,447 INFO [Server] Server Name: test
      18:10:06,447 INFO [Server] Server Home Dir: /usr/local/jboss3.2.2/server/taxi
      18:10:06,448 INFO [Server] Server Home URL: file:/usr/local/jboss3.2.2/server/taxi/
      18:10:06,448 INFO [Server] Server Data Dir: /usr/local/jboss3.2.2/server/taxi/data
      18:10:06,449 INFO [Server] Server Temp Dir: /usr/local/jboss3.2.2/server/taxi/tmp
      18:10:06,449 INFO [Server] Server Config URL: file:/usr/local/jboss3.2.2/server/taxi/conf/
      18:10:06,449 INFO [Server] Server Library URL: file:/usr/local/jboss3.2.2/server/taxi/lib/
      18:10:06,455 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      18:10:06,461 INFO [Server] Starting General Purpose Architecture (GPA)...
      18:10:06,934 INFO [ServerInfo] Java version: 1.4.2_03,Sun Microsystems Inc.
      18:10:06,935 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_03-b02,Sun Microsystems Inc.
      18:10:06,935 INFO [ServerInfo] OS-System: Linux 2.4.7-10,i386
      18:10:07,114 INFO [ServiceController] Controller MBean online
      18:10:07,217 INFO [MainDeployer] Creating
      18:10:07,256 INFO [MainDeployer] Created
      18:10:07,257 INFO [MainDeployer] Starting
      18:10:07,258 INFO [MainDeployer] Started
      18:10:07,492 INFO [JARDeployer] Creating
      18:10:07,598 INFO [JARDeployer] Created
      18:10:07,603 INFO [JARDeployer] Starting
      18:10:07,604 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@1292d26
      18:10:07,604 INFO [JARDeployer] Started
      18:10:07,654 INFO [SARDeployer] Creating
      18:10:07,799 INFO [SARDeployer] Created
      18:10:07,800 INFO [SARDeployer] Starting
      18:10:07,801 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@14da8f4
      18:10:07,859 INFO [SARDeployer] Started
      18:10:07,860 INFO [Server] Core system initialized
      18:10:07,931 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss3.2.2/server/taxi/conf/jboss-service.xml
      18:10:12,420 INFO [LocalJBossServerDomain] Creating
      18:10:12,517 INFO [LocalJBossServerDomain] Created
      18:10:12,536 INFO [EJBDeployer] Creating
      18:10:12,685 INFO [EJBDeployer] Created
      18:10:12,689 INFO [LocalJBossServerDomain] Starting
      18:10:12,689 INFO [LocalJBossServerDomain] Started
      18:10:12,690 INFO [EJBDeployer] Starting
      18:10:12,751 ERROR [EJBDeployer] Starting failed
      javax.management.InstanceNotFoundException: null object name
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:340)
      at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:442)
      at org.jboss.ejb.EJBDeployer.startService(EJBDeployer.java:112)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:534)
      18:10:12,808 WARN [ServiceController] Problem starting service jboss.ejb:service=EJBDeployer
      javax.management.InstanceNotFoundException: null object name
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:340)
      at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:442)
      at org.jboss.ejb.EJBDeployer.startService(EJBDeployer.java:112)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:534)
      18:10:13,126 INFO [MainDeployer] Deployed package: file:/usr/local/jboss3.2.2/server/taxi/conf/jboss-service.xml
      18:10:13,128 ERROR [Server] Root deployment has missing dependencies; continuing
      Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.ejb:service=EJBDeployer
      state: FAILED
      I Depend On:
      Depends On Me: javax.management.InstanceNotFoundException: null object name]
      at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1129)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:534)
      18:10:13,182 INFO [Server] JBoss (MX MicroKernel) [3.2.2RC3 (build: CVSTag=JBoss_3_2_2_RC3 date=200308241317)] Started in 6s:721ms







      What I miss ? Instance of what object jboss could't find ?