2 Replies Latest reply on Dec 22, 2004 2:10 AM by mozheyko_d

    JBOSS & MySQL

    mozheyko_d

      Hello all.

      I have decided to use MySQL as datastore. Advise, please, subtleties of adjustment, types of tables, jdbc driver, version of MySQL (Whether it is necessary that MySQL supported transactions) etc.

      Thanks, Dmitry

        • 1. 3849385
          mozheyko_d

          Hello everybody,

          the last days i've installed the Eclipse and JBoss and tried to do the "JBoss-IDE 1.2.2 - Tutorial Guide"

          I installed
          - Eclipse 3.0
          - JBoss 3.2.5
          - JBoss 4.0.0RC
          last but not least
          - JBoss-IDE 1.3.30

          Anything in the Tutorial works fine, with some little changes who depends on the more actuall versions I use.
          With one exception...
          At the end I would deploy the tutorial to the JBoss i've configured and the I get the following exception:

          "16:23:32,940 INFO [EARDeployer] Init J2EE application: file:/C:/Peter/jboss-3.2.5/server/default/deploy/FiboApp.ear
          16:23:32,960 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Peter/jboss-3.2.5/server/default/deploy/FiboApp.ear
          org.jboss.deployment.DeploymentException: Invalid module content, must be one of: ejb, web, java, connector, service,
          at org.jboss.deployment.J2eeModuleMetaData.importXml(J2eeModuleMetaData.java:138)
          at org.jboss.deployment.J2eeModuleMetaData.(J2eeModuleMetaData.java:42)
          at org.jboss.deployment.J2eeApplicationMetaData.importXml(J2eeApplicationMetaData.java:123)
          at org.jboss.deployment.J2eeApplicationMetaData.(J2eeApplicationMetaData.java:45)
          at org.jboss.deployment.EARDeployer.init(EARDeployer.java:124)
          at org.jboss.deployment.MainDeployer.init(MainDeployer.java:700)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:635)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
          at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:324)
          at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy7.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)"

          I think i've forgotten one small thing and perhaps... anybody could tell me.

          Regards
          Peter

          • 2. Re: JBOSS & MySQL

            Moderated: Do you really anybody is going to answer this question?
            http://www.jboss.org/wiki/Wiki.jsp?page=JBossForums