4 Replies Latest reply on Jun 11, 2017 7:28 PM by juleshoueto

    BRMS Project disappear in business-central interface

    juleshoueto

      Hello all,

       

      I am facing a very strange situation. Today, we are not able to find the  projects that we build through business-central.

       

      When we click on "Authoring Menu" in the Business-central, the repositories  Menu is empty.

       

      -The only change that have been made on the server is allowing  the local git repository should be available through the network so that it should be cloned.

       

      <property name="org.kie.server.location" value="http://hostname:8080/kie-server/services/rest/server"/>

      <property name="org.kie.server.controller" value="http://hostname:8080/business-central/rest/controller"/>

       

      -The only error I have in server.log is  :

       

      ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-/172.17.0.20:8080-22) Exception thrown: null: org.uberfire.java.nio.file.NoSuchFileException

       

      Did you think that this error is related to it ? Or did you that it is related to my new configuration of the git repository ?

       

      Can anyone help me getting an explantion ? I still have all our projects in the .niogit folder.

       

      Thank you for helping

        • 1. Re: BRMS Project disappear in business-central interface
          juleshoueto

          More informations,

           

          Before updating the standalone.xml configuration,

           

          It was possible to get access to business-central page. We got this error :

          Service Unavailable

          The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

           

          And the only log that were there is :

          ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (http-/172.17.0.20:8080-22) Exception thrown: null: org.uberfire.java.nio.file.NoSuchFileException

           

          Thank you

          • 2. Re: BRMS Project disappear in business-central interface
            juleshoueto

            Hello all,

             

            I am now getting more answer for my problems.

             

            I created a brms.service file in /etc/systemd/system for starting brms on boot.

             

            When I launch brms service as root with systemctl start brms.service, BRMS started with no projects.

             

            So for now, i just disable BRMS from startup and launch it with manually with the standalone.sh script.

             

            But I am still investigating for understanding why did JBoss BRMS started without any project.

             

            Regards

            • 3. Re: BRMS Project disappear in business-central interface
              dmarrazzo

              Hi Jules,

              I think that your problem is down to how you start the BC.

              By default, BC use the current dir to store .niogit directory.

              If your startup script is launched from another dir you point to a new .niogit directory.

              The best practice is configure the niogit thru the system property:

               

              * org.uberfire.nio.git.dir: Location of the directory .niogit. Default: working directory

              • 4. Re: BRMS Project disappear in business-central interface
                juleshoueto

                Hello Danato,

                I configure the location fir the git directory org.uberfire.nio.git.dir  and every thing get fine.

                 

                Many thanks for your time and helping.