Publishing a model

Post Reply
aschoijett
Posts: 26
Joined: 01 Jun 2018, 14:16

Hi,
I'm following the Essential documentation in https://enterprise-architecture.org/doc ... ntial-work, under Publish Your Model for Essential Open Source.


For some reason, if I try to call the model something different from "essential_viewer", (the .war that is in the Tomcat 9.0\webapps folder), the publishing process fails. The messages in Protege are below. See the last two lines:
Rendering repository...
Sending repository snapshot...
Checking for access...
Sending XML snapshot...
Failed to send snapshot to the Report Service :
Essential Viewer ReportService could not be found at this URL.
Am I missing something?

Also, the document above references an Essential Architecture Reporting tab
Unless I am very confused (keep in mind that I'm just starting to learn Essential) I think that the statement refers to the Protege front-end and also that the tab is actually called "Essential Viewer". If this is correct, then it may be worth updating the documentation for clarity.


Many thanks,

Alex
jmk
Posts: 137
Joined: 31 May 2012, 12:08
Location: France

Hi Alex,
when you write "if I try to call the model something different from "essential_viewer'"", is it that you try to change the name of the war of else are you trying to change the publication url in the publish tab of protégé?

Tip : The url you use for publication in the tab should be the (essential) webapp root url, which is the same as the name of the webapp if you did not change tomcat parameters ...
For ex:

http://localhost:8080/essential_viewer (the root of the webapp) <--> http://localhost:8080/essential_viewer (url in the publish tab)
http://localhost:8080/essviewer42 (the root of the webapp) <--> http://localhost:8080/essviewer42 (url in the publish tab)


Jean-Marie.
aschoijett
Posts: 26
Joined: 01 Jun 2018, 14:16

Thx for the response, but I don't think I formulated my question properly.

I don't seem to be able to have more than ONE environment, called essential_viewer.
The documentation leads me to believe that I could have more than one, either to keep separate Live and Test environments, or perhaps to keep different companies, or to try different capability models for the same company, or, or, or.

I'd assume that each of these can be accessed as a different URL. For example:
http://localhost:8080/contoso_live
http://localhost:8080/contoso_test
http://localhost:8080/contoso_test_bcm1
http://localhost:8080/contoso_test_bcm2
etc.


I know that I can keep multiple "projects" in Protege, but as I said in my original text, I can only publish them to one URL: essential_viewer.

How can I publish from Protege to different URLs?
Is there something I have to do in Tomcat first? If so, what exactly? (I can barely spell Tomcat.)

Many thanks!
JohnM
Posts: 478
Joined: 17 Feb 2009, 20:19

Hi Alex,

You can copy the baseline folder in your Tomcat webapps folder, so if you have essential_viewer, create a copy and name it essential_viewer_contose or whatever. You can have as many as you like

In Essential, open the Essential Viewer tab and change the path to the viewer you want to publish to, then publish
Screenshot 2022-04-12 at 22.05.35.png
Hope that helps

John
You do not have the required permissions to view the files attached to this post.
aschoijett
Posts: 26
Joined: 01 Jun 2018, 14:16

Perfect. That solved the problem.
Thank you!

Alex
Post Reply