Essential Viewer not finding published reports

Post Reply
gantyala
Posts: 16
Joined: 22 Jun 2012, 20:33

Hello,

I have downloaded the sample ACME repository meta-model. Now, I am attempting to publish the reports from Protege. But I am not able to view the reports because the viewwe is not recognizing the URL "http://localhost:8080/essential_viewer/reportService".

Your help is appreciated fixing this issue!

The following information may help us in narrowing the problem:
1. The Essential Viewer Home Page URL is working fine "http://localhost:8080/essential_viewer/"

2. From Protege, the report published successfully. The message in the box displayed as "Success. Repository snapshot generated and sent". The published URL is "http://localhost:8080/essential_viewer/reportService"

3. The timestamp on the webapps/essential_viewer/reportXML shows the same timestamp as published report.

4. The URL "http://localhost:8080/essential_viewer/reportService" changing to "http://localhost:8080/essential_viewer/ ... badurl.xsl"

The content on the page shows as: "Essential Viewer Error Report
Unrecognised URL requested
You have requested a URL that could not be found in Essential Viewer. Please update any bookmarks that might have brought you here and follow this link to the Essential Viewer Homepage"


Thanks
Ramesh
User avatar
neil.walsh
Posts: 444
Joined: 16 Feb 2009, 13:45
Contact:

Hi Ramesh,

Two quick points. Although we publish to the "report service" at http://localhost:8080/essential_viewer/reportService the correct url for the viewer is simply http://localhost:8080/essential_viewer. From there you access the different views available via the dedicated homepage.

Unfortunately, the ACME demo repository you have downloaded is only compatible with v1.x of Essential and not with the latest 3.x viewer. We're preparing an upgrade script to support migration from previous versions to 3.x. This will be available soon. We're also preparing an updated demo which we also hope to share very soon.

If you want to explore 3.x Viewer right now, the best approach is to manually add some content to a 3.x repository and publish as normal.

Cheers

Neil
gantyala
Posts: 16
Joined: 22 Jun 2012, 20:33

Hi Neil,

Thanks for the help.

I re-installed the Viewer to have the fresh reportXML file.

Now, I can see all views but except the Support Views. Under the Support Views section, I am not able to see any view icons. Did I miss any thing?

Thanks
Ramesh
User avatar
neil.walsh
Posts: 444
Joined: 16 Feb 2009, 13:45
Contact:

Hi,

There are no views currently in the Support section. We've put this in place for future use. It sounds like you've restored everything back. It's also worth mentioning that you can restore to the default state by publishing from a v3 repository (even an empty one).

Cheers

Neil
gantyala
Posts: 16
Joined: 22 Jun 2012, 20:33

Thanks Neil

Now, I am planning to go for multi-user installation. But I ran into problem. As per the document, I am not finding the pre-configured instances - 'Essential AM Annotations' and 'Essential AM Repository' in the server meta-model. Am I missing something here?

Thanks
Ramesh
User avatar
neil.walsh
Posts: 444
Joined: 16 Feb 2009, 13:45
Contact:

Hi Ramesh,

A quick thought...

Did you install the Server Component when you did the Essential Install?

This installs the default Meta Project (metaproject.pprj) into the folder

{my protege instal}/examples/server

This file will have the starter instances which you can configure for your installation.

Let me know how you get on

Cheers

Neil
gantyala
Posts: 16
Joined: 22 Jun 2012, 20:33

Yes, I did install the server part too. I moved metaproject.pprj to my local folder and pointed protege to this location. But I didn't see the EAM Annotation and Repository instances.

Thanks
Ramesh
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

After you moved the metaproject.prrj (and .pins and .pont) files, you need to update the Protege Server to look in that new location for the metaproject.

By default it looks in the {PROTEGE INSTALL}/examples/server folder, which is why we install our updated version to that location.

To update the Protege Server, you need to edit the 'run_protege_server.bat' (run_protege_server.sh on Mac, Linux and Unix) file and change the setting:

Code: Select all

METAPROJECT=examples/server/metaproject.pprj
to

Code: Select all

METAPROJECT={YOUR NEW FOLDER}/metaproject.pprj
Jonathan
Essential Project Team
gantyala
Posts: 16
Joined: 22 Jun 2012, 20:33

Hello Jonathan,

I re-installed the Protege and EAM again in multi-user mode.

FYI, I installed the server components in Ubuntu (Linux).

As per the document, I pointed the METAPROJECT variable to the Essential metaproject.pprj folder. I also see your name 'Jonatathan Carter' instance in the class 'User'. However, I am not finding the instances EAM Annotation and Repository.

Please need your help to move forward. May be you can send the metaproject.* files to my email [email protected]

Thanks
Ramesh
gantyala
Posts: 16
Joined: 22 Jun 2012, 20:33

I can see the projects now after I reinstalling the EA.

Thanks
Ramesh
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Great.

Is everything working now?

Thanks

Jonathan
Essential Project Team
Post Reply