Home Forums Business Model BI Models Unable to Publish model

Viewing 5 reply threads
  • Author
    Posts
    • #391
      ashutoshashutosh
      Participant

      Hi All,

      I am unable to publish model. I have validated the project and there are no errors. I have added a new message and trying to test it. When I am trying to publish my model it doesnt do anything.

      Setps that I am following to publish:

      –> Click on Model Library
      –> Click on Publish

      when I click publish it starts doing something but after that it just gets still.

      I am attaching the screen shot for reference. I am not getting any warnings or error messages.

      Please let me know if am missing something or how can I check what issue is there.

      Regards,
      Ashutosh

      0
      Attachments:
      You must be logged in to view attached files.
    • #396
      Ed ShawEd Shaw
      Keymaster

      The fact that you aren’t getting warnings or error messages may be a good thing.

      Typically, publish is not a noisy process. Once you press Model Library/Publish… it should:

      1. take a bit of time doing some some validation

      2. display a File/Save dialog to confirm the location and filename (based on the settings of your publish and out folders from preferences – typically something like d:/work/out/publish).

      3. After pressing the Save button, there should be a status in the lower right corner of studio that says something like Publishing “Finance”: (35%)

      3b. if you are re-publishing the same version, you may be prompted to overwrite and existing file.

      4. If you look at the console view, you should see some output. What you are waiting for is for the status message in the right hand corner to disappear and for the console to output something like

      BUILD SUCCESSFUL
      Total time: 1 minute 20 seconds

      There is no dialog that says you are done. You can close the Model Library at any time and the process will continue until completed. To check that it succeeded look at the console output and you can also check for a new or updated jar file in your published folder.

      By the way, if you have added a new message and want to test it you likely do not need to publish your model. You can test it by running your server console.

      0
    • #398
      ashutoshashutosh
      Participant

      Thank you for the response Ed.

      There are some issues with the publishing of model. I followed, and I know the steps that you described above. As you described:

      Step 1 happens in my system but Step 2 never happens (i.e. giving a pop up for saving the file.) Can I check any internal logs as to why I am not getting the file save dialogue option?

      And About the message that I was trying to parse I figured it out. It was a problem with scheme code and now its working fine.

      I was getting the below error and that is the reason I thought maybe I have to publish the model with my new message (RBC_Client) which I created for test purpose. Now everything is fine except the publish part.

      Regards,
      Ashutosh

      0
    • #400
      Ed ShawEd Shaw
      Keymaster

      Asutosh,

      Glad you’ve solved your message metadata issue. I guess you had the wrong name or hadn’t restarted your running server so it wasn’t aware of the new metadata – yes?

      To see what’s going on with your publish, try looking at the following. In your workspace where you keep your models (mine is called “d:/work/models” – some people prefer a folder called “ws”) look for a folder called “.metadata”. In that folder you may find a file called “.log”. That fill may contain some helpful output. It is the log file that NexJ Studio uses to output warnings and errors.

      You can delete it and retry your publish if you want to eliminate any “old noise”. Otherwise, just look for the latest entries in the file and see what they say.

      0
      • #402
        ashutoshashutosh
        Participant

        Thanks Ed.

        I got the error message from the .log file.

        Now I am getting error in starting the minimum console and its not getting started. I will investigate on this and come back.

        Error from the log file:

        0
        • #404
          Ed ShawEd Shaw
          Keymaster

          This looks like a metadata issue – i.e. incorrect code in your project. Could you confirm where you are at with this. Are you still having difficulty publishing? Thanks.

          0
          • #406
            ashutoshashutosh
            Participant

            Today I created a new project with the latest code and everything works fine only I am thing is I am not able to publish the model. When I checked the logs in the dir, I am getting below error in it.

            How can we check what is not set in the environment as validating the project dont give any error.

            Error:

            Regards,
            Ashutosh

            0
    • #408
      ashutoshashutosh
      Participant

      Hi Ed,

      Still I am not able to publish the model. when I validate I don’t get any error in the studio.

      Even I cehcked the .log file for the validation but did not see any logs written when validation was happending.

      Screenshot attached for validtion.

      Regards,
      Ashutosh Singh

      0
    • #394
      Ed ShawEd Shaw
      Keymaster

      Ashutosh,

      It looks like your environment is missing a reference to CA Harvest. I think this is an Eclipse Plugin Library that is specific to the configuration of your customer environment. NexJ doesn’t ship or use Harvest. Can you check with your CA representative to determine what might be wrong?

      Thanks,

      Ed

      1
Viewing 5 reply threads
  • You must be logged in to reply to this topic.