Question

Please get JBoss 4.0.2 (with MySql backend) up; without errors.

Asked by: natgross

Hi;
I have beem running on JBoss 4.0.1SP for a while, using MySql as the database (replaced all Hypersonic stuff) without problems. I decided to move to JBoss 4.0.2, and since I am not very well versed in JBoss (but not ignorant either) I simply coped MySql related files to the new (4.0.2) 'default'  deploy directory, edited some files to match those in the old structure, BUT it is not connecting to MySql (to build its own tables) and gives me two types of boot errors. One, relating to MySQl, and Two complains about duplicate modules. Here is what it reports on the terminal at startup.
==========================
[nat@oldserver bin]$ pwd
/usr/share/ez/prog/appServers/jboss-4.0.2/bin
[nat@oldserver bin]$ ./run.sh
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/share/ez/prog/appServers/jboss-4.0.2

  JAVA: /opt/jdk1.5.0_03/bin/java

  JAVA_OPTS: -server -Xms128m -Xmx256m -Dprogram.name=run.sh

  CLASSPATH: /usr/share/ez/prog/appServers/jboss-4.0.2/bin/run.jar:/opt/jdk1.5.0_03/lib/tools.jar

=========================================================================

16:05:57,864 INFO  [Server] Starting JBoss (MX MicroKernel)...
16:05:57,866 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
16:05:57,867 INFO  [Server] Home Dir: /usr/share/ez/prog/appServers/jboss-4.0.2
16:05:57,871 INFO  [Server] Home URL: file:/usr/share/ez/prog/appServers/jboss-4.0.2/
16:05:57,871 INFO  [Server] Library URL: file:/usr/share/ez/prog/appServers/jboss-4.0.2/lib/
16:05:57,873 INFO  [Server] Patch URL: null
16:05:57,878 INFO  [Server] Server Name: default
16:05:57,878 INFO  [Server] Server Home Dir: /usr/share/ez/prog/appServers/jboss-4.0.2/server/default
16:05:57,879 INFO  [Server] Server Home URL: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/
16:05:57,879 INFO  [Server] Server Data Dir: /usr/share/ez/prog/appServers/jboss-4.0.2/server/default/data
16:05:57,885 INFO  [Server] Server Temp Dir: /usr/share/ez/prog/appServers/jboss-4.0.2/server/default/tmp
16:05:57,885 INFO  [Server] Server Config URL: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/conf/
16:05:57,886 INFO  [Server] Server Library URL: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/lib/
16:05:57,886 INFO  [Server] Root Deployment Filename: jboss-service.xml
16:05:57,927 INFO  [Server] Starting General Purpose Architecture (GPA)...
16:05:58,706 INFO  [ServerInfo] Java version: 1.5.0_03,Sun Microsystems Inc.
16:05:58,706 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_03-b07,Sun Microsystems Inc.
16:05:58,707 INFO  [ServerInfo] OS-System: Linux 2.6.11-1.14_FC3,i386
16:06:00,322 INFO  [Server] Core system initialized
16:06:06,978 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
16:06:07,205 INFO  [WebService] Using RMI server codebase: http://oldserver.633.oneeasysystem.com:8083/
16:06:07,743 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
16:06:24,207 INFO  [Embedded] Catalina naming disabled
16:06:25,016 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
16:06:25,021 INFO  [Catalina] Initialization processed in 702 ms
16:06:25,026 INFO  [StandardService] Starting service jboss.web
16:06:25,035 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
16:06:25,105 INFO  [StandardHost] XML validation disabled
16:06:25,191 INFO  [Catalina] Server startup in 170 ms
16:06:25,456 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/
16:06:25,988 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
16:06:27,127 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/tmp/deploy/tmp63821jboss-ws4ee.war/
16:06:27,458 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
16:06:29,206 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
16:06:33,939 ERROR [MainDeployer] could not create deployment: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jms/mysql-jdbc2-service.xml
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq:service=DestinationManager
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
        at org.jboss.system.ServiceController.install(ServiceController.java:202)
        at sun.reflect.GeneratedMethodAccessor47.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: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:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor48.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:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
        at sun.reflect.GeneratedMethodAccessor2.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: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:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:418)
        at sun.reflect.GeneratedMethodAccessor9.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: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:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
        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:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
        at org.jboss.Main.boot(Main.java:195)
        at org.jboss.Main$1.run(Main.java:463)
        at java.lang.Thread.run(Thread.java:595)
16:06:34,576 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/
16:06:35,996 INFO  [MailService] Mail Service bound to java:/Mail
16:06:37,658 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar
16:06:38,056 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
16:06:38,522 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar
16:06:39,430 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
16:06:39,759 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
16:06:40,044 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/mail-ra.rar
16:06:41,908 INFO  [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
16:06:42,969 INFO  [A] Bound to JNDI name: queue/A
16:06:43,015 INFO  [B] Bound to JNDI name: queue/B
16:06:43,033 INFO  [C] Bound to JNDI name: queue/C
16:06:43,051 INFO  [D] Bound to JNDI name: queue/D
16:06:43,068 INFO  [ex] Bound to JNDI name: queue/ex
16:06:43,119 INFO  [testTopic] Bound to JNDI name: topic/testTopic
16:06:43,138 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
16:06:43,155 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
16:06:43,174 INFO  [testQueue] Bound to JNDI name: queue/testQueue
16:06:43,751 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
16:06:43,917 INFO  [DLQ] Bound to JNDI name: queue/DLQ
16:06:44,346 INFO  [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA'
16:06:44,702 ERROR [MainDeployer] could not create deployment: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/mysql-Default-ds.xml
org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=DefaultDS
        at org.jboss.system.ServiceCreator.install(ServiceCreator.java:70)
        at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:153)
        at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118)
        at org.jboss.system.ServiceController.install(ServiceController.java:202)
        at sun.reflect.GeneratedMethodAccessor47.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: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:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.install(Unknown Source)
        at org.jboss.deployment.SARDeployer.create(SARDeployer.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:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
        at $Proxy35.create(Unknown Source)
        at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:224)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor48.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:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy8.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
        at sun.reflect.GeneratedMethodAccessor2.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: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:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:418)
        at sun.reflect.GeneratedMethodAccessor9.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: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:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
        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:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
        at org.jboss.Main.boot(Main.java:195)
        at org.jboss.Main$1.run(Main.java:463)
        at java.lang.Thread.run(Thread.java:595)
16:06:45,200 INFO  [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS to JNDI name 'java:MySqlDS'
16:06:45,265 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jmx-console.war/
16:06:45,720 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@cb01b1b5 { url=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jms/mysql-jdbc2-service.xml }
  deployer: org.jboss.deployment.SARDeployer@1aed5f9
  status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.mq:service=DestinationManager
  state: FAILED
  watch: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jms/mysql-jdbc2-service.xml
  altDD: null
  lastDeployed: 1116878793891
  lastModified: 1116878793000
  mbeans:

org.jboss.deployment.DeploymentInfo@8e528fee { url=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/mysql-Default-ds.xml }
  deployer: org.jboss.deployment.XSLSubDeployer@df9095
  status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,name=DefaultDS
  state: FAILED
  watch: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/mysql-Default-ds.xml
  altDD: null
  lastDeployed: 1116878804458
  lastModified: 1116878804000
  mbeans:


16:06:46,146 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
16:06:46,407 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
16:06:46,440 INFO  [JkMain] Jk running ID=0 time=0/61  config=null
16:06:46,530 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 48s:603ms

========================================

Thank you much.
-nat

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-05-23 at 13:19:31ID21433968
Tags

already

,

registered

,

install

,

jboss

Topic

Java Programming Language

Participating Experts
1
Points
500
Comments
8

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Servlet,JNDI and JDBC
    Will somebody paste here a clear working code of Servlet integrated with JNDI and JDBC. I have a problem obtaining a connection from DataSource object and I wanna use RowSets. (A bit of explanation PLS!)
  2. JBoss throwing not bound exception
    I am trying to get a simple session bean running in JBoss 3.0. When my servlet attempts to loads the bean: public void init(ServletConfig config) throws ServletException { //Look up home interface try { System.out.println("Hello Servlet: attempting to ...
  3. JBoss db connection pooling runtime error
    Hi, I am using JBoss database connection pooling like everybody does, and like the documentation suggests, but... some threads in JBoss seem to close the connection that other threads are using, and it all crashes. Any suggestions? Thank you.
  4. JNDI and JBoss
    hi friend, How to configure JNDI. Well I am not having jboss.jcml on my system. Please give me proper details so that I can configure my JNDI in JBoss 4.0. thanks, Dinesh
  5. Configuring Jboss 4.0.4 for EJB3
    Hi friends, im trying to work a sample ejb3 on my jboss 4.0.4, but when i deploy i get the following error. Can any one help me =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.4.GA...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: TimYatesPosted on 2005-05-24 at 01:34:14ID: 14066412

Right...you have 2 things in the deploy directory that are called "Destination Manager"

You also have two datasources defined, both with the name "DefaultDS"

When you copied over the MySQL stuff, were you aiming to replace the Hypersonic stuff?

And if so, did you remove the Hypersonic stuff (just copy it out of the deploy directory for now, so it's easy to undo your changes)?

It doesn't look like you did, so JBoss is trying to do everything twice :-(

Tim

 

by: natgrossPosted on 2005-05-24 at 06:38:33ID: 14068121

>Right...you have 2 things in the deploy directory that are called "Destination Manager"
What's a "Destination Manager"?

>You also have two datasources defined, both with the name "DefaultDS"
Oh! Where are they defined?

>When you copied over the MySQL stuff, were you aiming to replace the Hypersonic stuff?
You bet. Yes.

> And if so, did you remove the Hypersonic stuff (just copy it out of the deploy directory for now, so it's easy to undo your changes)?
Not sure. May have missed doing this.

>It doesn't look like you did, so JBoss is trying to do everything twice :-(
Aha.

Thank you much. Will try everything this afternoon, and hopefully accept then.
-nat

 

by: TimYatesPosted on 2005-05-24 at 06:40:20ID: 14068141

Good luck with it :-)

Let me know how you get on, good or bad :-)

Tim

 

by: natgrossPosted on 2005-05-24 at 16:47:54ID: 14073673

Ok. Making good progress. I deleted the hypersonic stuff from deploy AND (after some research) the jms directories, and the original errors are gone. AND it IS connecting to mysql upon startup.

Here is the current copy of the terminal window. (Everything before this has no errors.)
Just 2 errors left:
1) Line: 19:29:07
2) Line: 19:29:31
Notice at the very bottom the root cause ( i think of problem 2).
Thank you much;
-nat

19:29:06,337 INFO  [StandardService] Starting service jboss.web
19:29:06,347 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.9
19:29:06,419 INFO  [StandardHost] XML validation disabled
19:29:06,509 INFO  [Catalina] Server startup in 178 ms
19:29:06,726 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/http-invoker.sar/invoker.war/
19:29:07,274 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
19:29:08,968 INFO  [TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/tmp/deploy/tmp31650jboss-ws4ee.war/
19:29:10,293 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jbossweb-tomcat55.sar/ROOT.war/
19:29:12,390 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
19:29:18,661 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/management/console-mgr.sar/web-console.war/
19:29:20,003 INFO  [MailService] Mail Service bound to java:/Mail
19:29:21,743 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-ha-local-jdbc.rar
19:29:22,996 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-ha-xa-jdbc.rar
19:29:23,761 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-local-jdbc.rar
19:29:24,636 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
19:29:26,386 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
19:29:26,874 INFO  [RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/mail-ra.rar
19:29:28,262 INFO  [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA'
19:29:29,495 INFO  [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS to JNDI name 'java:DefaultDS'
19:29:30,732 INFO  [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS to JNDI name 'java:MySqlDS'
19:29:30,819 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/usr/share/ez/prog/appServers/jboss-4.0.2/server/default/deploy/jmx-console.war/
19:29:31,809 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=Invoker
    jboss.web:service=WebServer

ObjectName: jboss.mq.destination:service=Topic,name=testTopic
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Queue,name=testQueue
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq.destination:service=Queue,name=A
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=B
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=C
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=D
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq.destination:service=Queue,name=ex
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager

ObjectName: jboss.mq:service=Invoker
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=TracingInterceptor
  Depends On Me:
    jboss.mq:service=InvocationLayer,type=HTTP
    jboss.mq:service=InvocationLayer,type=JVM
    jboss.mq:service=InvocationLayer,type=UIL2

ObjectName: jboss.mq:service=TracingInterceptor
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=SecurityManager
  Depends On Me:
    jboss.mq:service=Invoker

ObjectName: jboss.mq:service=SecurityManager
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
  Depends On Me:
    jboss.mq.destination:service=Topic,name=testTopic
    jboss.mq.destination:service=Topic,name=securedTopic
    jboss.mq.destination:service=Topic,name=testDurableTopic
    jboss.mq.destination:service=Queue,name=testQueue
    jboss.mq:service=TracingInterceptor
    jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq.destination:service=Queue,name=DLQ
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=DestinationManager
    jboss.mq:service=SecurityManager

ObjectName: jboss.mq:service=InvocationLayer,type=JVM
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=Invoker

ObjectName: jboss.mq:service=DestinationManager
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=MessageCache
    jboss.mq:service=PersistenceManager
    jboss.mq:service=StateManager
  Depends On Me:
    jboss.mq.destination:service=Topic,name=testTopic
    jboss.mq.destination:service=Topic,name=securedTopic
    jboss.mq.destination:service=Topic,name=testDurableTopic
    jboss.mq.destination:service=Queue,name=testQueue
    jboss.mq.destination:service=Queue,name=A
    jboss.mq.destination:service=Queue,name=B
    jboss.mq.destination:service=Queue,name=C
    jboss.mq.destination:service=Queue,name=D
    jboss.mq.destination:service=Queue,name=ex
    jboss.mq:service=SecurityManager
    jboss.mq.destination:service=Queue,name=DLQ

ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  State: CONFIGURED
  I Depend On:
    jboss.mq:service=Invoker

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.mq:service=StateManager
  State: NOTYETINSTALLED
  Depends On Me:
    jboss.mq:service=DestinationManager

 

by: TimYatesPosted on 2005-05-24 at 23:59:14ID: 14075099

It's the DestinationManager again...

Hmmm... I will have a look and see if I can spot it...

hang on...

Tim

 

by: TimYatesPosted on 2005-05-25 at 01:03:15ID: 14075322

Ok, the DestinationManager MBean is inside deploy/jms

There is hsqldb-jdbc2-service.xml (which I guess you will need to replace with something that points to  your MySQL instance,

jbossmq-destinations-service.xml which sets up all of the default JMS topics (and relies on the 1st file)

and jbossmq-service.xml which defines a couple of other things that rely on it too...

So it looks like you need to fix hsqldb-jdbc2-service.xml  so that it uses MySQL instead...and then *fingers crossed* everything else should work :-)

Tim

 

by: natgrossPosted on 2005-05-25 at 11:54:47ID: 14080397

> So it looks like you need to fix hsqldb-jdbc2-service.xml
This had been done in previuous step, if not I wouldn't get as far as I did, error free.

But here is the rub. There are TWO hsqldb*.xml files in ../deploy/jms.
In addition to the one you mentioned, I had simply deleted "hsqldb-jdbc-state-service.xml". It turns out that I should have renamed it to mysql-jdbc-state-service.xml. Note, that NO modifications within this file were necessary.

I am now left with but one error upon boot:
INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined.

However, my real issue has been resolved, if you can help with this as well its appreciated.
Thank you;
-nat

 

by: TimYatesPosted on 2005-05-25 at 13:53:04ID: 14081442

That isn't an error is it?  It's an information line ;-)

Glad you got it all working!!

Good luck with it all!

Tim

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...