I don't think I am doing this correctly. I am running Jboss-4.0.0. I cannot get this to work for one server. I do the following steps:
1. I create JBoss0 and JBoss1 under server 2. I then move, from the default server, lib, conf, and data. 3. I then go into the jboss-service.xml file in JBoss0 and I uncomment the ServiceBindingManager def: | <mbean code="org.jboss.services.binding.ServiceBindingManager" | name="jboss.system:service=ServiceBindingManager"> | <attribute name="ServerName">ports-01</attribute> | <attribute name="StoreURL">file:/c:/java_env/jboss-4.0.0/docs/examples/binding-manager/sample-bindings.xml</attribute> | <attribute name="StoreFactoryClassName"> | org.jboss.services.binding.XMLServicesStoreFactory | </attribute> | </mbean> | and use the ServerName of ports-01 from the sample-bindings.xml. Just in case I used absolute pathnames. 4. I then go into the JBoss0 and run the following: | c:/java_env/jboss-4.0.0/bin/run -c JBoss0 | and I get | 14:40:48,522 INFO [Server] Core system initialized | 14:40:50,913 ERROR [MainDeployer] could not create deployment: file:/C:/Java_Env | /jboss-4.0.0/server/JBoss0/conf/jboss-service.xml | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.s | ervices.binding.ServiceBindingManager; - nested throwable: (java.lang.ClassNotFo | undException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindi | ngManager) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java | :139) | at org.jboss.system.ServiceController.install(ServiceController.java:200 | ) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept | or.java:119) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM | BeanOperationInterceptor.java:131) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293) | at org.jboss.Main.boot(Main.java:151) | at org.jboss.Main$1.run(Main.java:405) | at java.lang.Thread.run(Thread.java:534) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jbos | s.services.binding.ServiceBindingManager | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl | assLoader.java:463) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL | oader.java:374) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java: | 1183) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java: | 269) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java: | 327) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura | tor.java:149) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java | :114) | ... 36 more | Failed to boot JBoss: | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.s | ervices.binding.ServiceBindingManager; - nested throwable: (java.lang.ClassNotFo | undException: No ClassLoaders found for: org.jboss.services.binding.ServiceBindi | ngManager) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java | :139) | at org.jboss.system.ServiceController.install(ServiceController.java:200 | ) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:208) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:693) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept | or.java:119) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM | BeanOperationInterceptor.java:131) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:396) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:293) | at org.jboss.Main.boot(Main.java:151) | at org.jboss.Main$1.run(Main.java:405) | at java.lang.Thread.run(Thread.java:534) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jbos | s.services.binding.ServiceBindingManager | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:198) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl | assLoader.java:463) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL | oader.java:374) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java: | 1183) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java: | 269) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java: | 327) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:125) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigura | tor.java:149) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java | :114) | ... 36 more | 14:40:51,444 INFO [Server] JBoss SHUTDOWN: Undeploying all packages | Shutting down | 14:40:51,444 INFO [Server] Shutdown complete | Shutdown complete | Halting VM | Press any key to continue . . . | C:\Java_Env\jboss-4.0.0\server\JBoss0>c:\java_env/jboss-4.0.0/bin/run -c JBoss0 | Ouch! Am I missing a step? default-ports, ports-01 and ports-02 are all defined in the docs/example/binding-manager/sample-bindings.xml I have tried all three servers and for grins I tried it with the deploy directory copied from the default server, just in case. (I assumed eventually I would need a deploy directory.) Thanks for the help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851674#3851674 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851674 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
