3 Replies Latest reply on Jul 24, 2016 4:30 AM by Abhijit Humbe

    Drools - deploying Jar file from one server to other

    Mohamed Safi Newbie

      Hi,

       

      I have created a Organizational Unit and Repository to create a project. I have successfully created a project with data objects and rules file in development server.  I have deployed the same jar into test environment. And I am able to fire the business rule by using REST API, but however, the business rules and data objects are not visible under that repository. Whether it is possible to achieve that?

        • 1. Re: Drools - deploying Jar file from one server to other
          Abhijit Humbe Master

          If you have deployed only kjar into test environment through 'Project Authoring'-->'Artifact Repository' then you cant see that project under repositories and its expected. If you want to migrate project between the environments then migrate "repositories" and ".niogit" directories between the installations.

          • 2. Re: Drools - deploying Jar file from one server to other
            Mohamed Safi Newbie

            Hi Abhijit,

             

            I have deployed drools rule engine in tomcat. I could not find ".niogit" in tomcat server. As per your information, i have migrated the "repositories" from development server to test server. But still could not view the project in test server.  I have attached the screenshots for better reference. The below screenshot is showing my repository and project, the same has to be displayed in test environment.

             

              1. Development server screenshot showing my repository and project

            dev workbench.png

             

             

             

             

             

              2. Test Server doesnt show my project and repository.

            test server - kie workbench.png

             

            Even after migrating the repository i cannot view that in Test Server. What i have to do to make it display in the test environment?

            • 3. Re: Drools - deploying Jar file from one server to other
              Abhijit Humbe Master

              Project source code is maintained in .niogit repository. With default configuration .niogit directory will be created under tomcat_home/bin directory(tomcat7/bin). "repository" directory contains kjar and required jar files.