8 Replies Latest reply on Jul 9, 2006 1:05 PM by mohit309

    Amendments to the Build Deploy Doc

    jplenhart

      Hi,

      I wrote down my steps to build and deploy into a doc - not sure if this is something that can be used. I would be happy to reformat, once certain changes occur (e.g. database name changes or dependencies to outside frameworks).

      Anyway - here is a link.

      http://web.mac.com/jasonlenhart/iWeb/Site/Build_Deploy_JBoss_ESB.doc

      Thanks,

      Jason

        • 1. Re: Amendments to the Build Deploy Doc
          marklittle

          Thanks Jason. Once I get JIRA set up for you, you can do this yourself into the docs :-)

          • 2. Re: Amendments to the Build Deploy Doc

            Mark, re-assign Task JBESB-52 to Jason as it related to the same documentation/build steps he's fixing in his document.

            • 3. Re: Amendments to the Build Deploy Doc
              marklittle

              Will do. To an extent they depend on 51 too.

              • 4. Re: Amendments to the Build Deploy Doc
                jplenhart

                I revised some of the Build and Deploy Getting Started doc. I was thinking that all of the 'Background' and 'Design Highlights' may be more suited for a Developers Guide.

                What do you all think?

                • 5. Re: Amendments to the Build Deploy Doc
                  marklittle

                  Fine for now. I think the important thing at the moment is getting the text. We can sort out where it goes later. A developer's guide update is OK.

                  • 6. Re: Amendments to the Build Deploy Doc

                    I was able to sucessfully build and deploy the ESB EAR in JBoss App server and have configured the ESB to use MySql.
                    My next steps will be to test the App. Can someone help me create a sample test or guide me to build one.

                    Here is MySQL DDL Dump.

                    -- MySQL dump 10.10
                    --
                    -- Host: localhost Database: rosetta
                    -- ------------------------------------------------------
                    -- Server version 5.0.22-community-nt

                    /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
                    /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
                    /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
                    /*!40101 SET NAMES utf8 */;
                    /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
                    /*!40103 SET TIME_ZONE='+00:00' */;
                    /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
                    /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
                    /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
                    /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

                    --
                    -- Table structure for table `batches`
                    --

                    DROP TABLE IF EXISTS `batches`;
                    CREATE TABLE `batches` (
                    `batch_num` bigint(20) NOT NULL,
                    `seq` int(11) NOT NULL,
                    `data` text,
                    PRIMARY KEY (`batch_num`,`seq`)
                    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

                    --
                    -- Dumping data for table `batches`
                    --


                    /*!40000 ALTER TABLE `batches` DISABLE KEYS */;
                    LOCK TABLES `batches` WRITE;
                    UNLOCK TABLES;
                    /*!40000 ALTER TABLE `batches` ENABLE KEYS */;

                    --
                    -- Table structure for table `object_snap`
                    --

                    DROP TABLE IF EXISTS `object_snap`;
                    CREATE TABLE `object_snap` (
                    `uid` bigint(20) NOT NULL,
                    `stamp` bigint(20) default NULL,
                    `snap_type` text,
                    `object_uid` bigint(20) default NULL,
                    `batch_num` bigint(20) default NULL,
                    `xml_data` text,
                    PRIMARY KEY (`uid`),
                    KEY `ix1_object_snap` USING BTREE (`batch_num`,`uid`)
                    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

                    --
                    -- Dumping data for table `object_snap`
                    --


                    /*!40000 ALTER TABLE `object_snap` DISABLE KEYS */;
                    LOCK TABLES `object_snap` WRITE;
                    UNLOCK TABLES;
                    /*!40000 ALTER TABLE `object_snap` ENABLE KEYS */;

                    --
                    -- Table structure for table `people_index`
                    --

                    DROP TABLE IF EXISTS `people_index`;
                    CREATE TABLE `people_index` (
                    `uid` bigint(20) NOT NULL,
                    `stamp` bigint(20) default NULL,
                    `latest_snap_uid` bigint(20) default NULL,
                    `latest_snap_date` text,
                    `name` text,
                    `phone` text,
                    `address` text,
                    PRIMARY KEY (`uid`)
                    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

                    --
                    -- Dumping data for table `people_index`
                    --


                    /*!40000 ALTER TABLE `people_index` DISABLE KEYS */;
                    LOCK TABLES `people_index` WRITE;
                    UNLOCK TABLES;
                    /*!40000 ALTER TABLE `people_index` ENABLE KEYS */;

                    --
                    -- Table structure for table `uid_table`
                    --

                    DROP TABLE IF EXISTS `uid_table`;
                    CREATE TABLE `uid_table` (
                    `uid` int(11) NOT NULL,
                    `sequence_name` text NOT NULL,
                    `last_used_uid` bigint(20) NOT NULL,
                    PRIMARY KEY (`uid`),
                    UNIQUE KEY `ix1_uid_table` (`sequence_name`(767))
                    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;

                    --
                    -- Dumping data for table `uid_table`
                    --


                    /*!40000 ALTER TABLE `uid_table` DISABLE KEYS */;
                    LOCK TABLES `uid_table` WRITE;
                    INSERT INTO `uid_table` VALUES (1,'jbossEsb_objuid',10500000),(2,'jbossEsb_batchuid',251000);
                    UNLOCK TABLES;
                    /*!40000 ALTER TABLE `uid_table` ENABLE KEYS */;
                    /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

                    /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
                    /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
                    /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
                    /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
                    /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
                    /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
                    /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;


                    Thanks,
                    Mohit Keswani

                    • 7. Re: Amendments to the Build Deploy Doc

                      Mohit, what would you like to do for a test?

                      We are working on a more comprehensice test case which you will be able to test with soon.

                      • 8. Re: Amendments to the Build Deploy Doc

                        Daniel,

                        Do let me know when the test case is ready or how I can help to write them. I want to understand the architecture of Rosetta too. If possible do send me some write up on it.

                        Thanks,
                        Mohit