[JBoss-user] [Beginners Corner] - Shutdown of JBoss hangs
Hi, I am running 2 JBoss 4.0.4GA in a clustered environment (under linux), on a regular basis (not always) the JBoss instance will not shut down properly. The shutdown tends to hang in 1 of 2 places: 1.SchemaExport - This is where Hibernate tries to export the schema to the datasource as used by an .ear file. | 2.Currently the following one occurs far more oftenanonymous wrote : 08:49:02,993 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=hajdbc_test' from JNDI name 'java:hajdbc_test' | | I am thinking it is realted to the datasource being used, this is not a normal datasource but a HA-JDBC (virtual clustering) datasource, the datasource is as follows: | | | | | hajdbc_test | | jdbc:ha-jdbc:cluster2 | | net.sf.hajdbc.sql.Driver | | postgres | | | | | | | | | | The actual cluster configuration is held in a seperate .xml file, which a system property points to. | | Can anybody offer any advice on how to slove this problem, as i do not want to have to shutdown JBoss with the "kill -9" command. | | Thanks in advance, | | Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956084#3956084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956084 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Using a newer version of JGroups (2.2.9 or higher)
Hi, A database driver i am trying to use (ha-jdbc) requires a version of JGroups 2.2.9 or higher, because it needs to use the JmxConfigurator. I am still trying to figure out the best way to do this, so far i have currently tried the following: 1.Putting the jgroups.jar file that ships with the driver (2.2.9.1) in the /lib directory, leaving the current one in there at the same time does not work, and replacing the current one also does not work. | 2.Just adding the Jmx branch of the 2.2.9.1 jar to the current jgroups also does not work, because it needs a loadClass method in the Util class. | 3.Tried just replacing the Util.class with the one contained in the 2.2.9.1 jar, this a few exceptions of this sort: | anonymous wrote : 2006-07-03 13:37:28,322 DEBUG [org.jboss.ejb3.cache.tree.PassivationTreeCache] Initialization failed jboss.cache:service=EJB3SFSBClusteredCache | | ChannelException: unable to setup the protocol stack | | at org.jgroups.JChannel.(JChannel.java:217) | | at org.jgroups.JChannel.(JChannel.java:189) | | at org.jboss.cache.TreeCache._createService(TreeCache.java:1220) | | at org.jboss.cache.TreeCache.createService(TreeCache.java:1175) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) | | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) | | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | | at $Proxy0.create(Unknown Source) | | at org.jboss.system.ServiceController.create(ServiceController.java:330) | | at org.jboss.system.ServiceController.create(ServiceController.java:273) | | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | | at $Proxy4.create(Unknown Source) | | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258) | | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | | 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:659) | | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | | at $Proxy6.deploy(Unknown Source) | | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.jav
[JBoss-user] [Beginners Corner] - Re: System properties
I have managed to solve my problem now. I viewed a friend's install of JBoss 4.0.4GA and saw that he had the .jar files i needed, this is because he installed it with the "all" option whereas i installed it with the EJB3.0 Clustered option. The varia libs are not included with the EJB3.0 Clustered option !! Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952677#3952677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952677 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - System properties
hi, I have jsut started to use JBoss (4.0.4) and now need to be able to set a system property. Form what i have managed to find out i need to create a properties-service.xml file in the /deploy directory of the server. I have done this, plese see below | | | | | ha-jdbc.configuration=/conf/ha-jdbc.xml | | | | But this causes the following exception anonymous wrote : 13:20:58,897 ERROR [MainDeployer] Could not create deployment: file:/usr/local/jboss-4.0.4.GA/server/default/deploy/properties-service.xml | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.varia.property.SystemPropertiesService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.varia.property.SystemPropertiesService) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 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:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.varia.property.SystemPropertiesService | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1204) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | ... 33 more | Having done a bit of research on the intern