Error applying upgrade essential_meta_model_6_5_to_6_7_update_pack.eup

Post Reply
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hello
I have had a working prototype multi-user installation of Essential AM Open Source on Linux Mint Debian Edition v3, which is now EOL.
I started with Essential v6.2 and have applied patches/upgrades to obtain v6.5.
This has been running for some time.

I recently moved the installation to a new system running Linux Mint 19.3 with the intention of moving it from Virtualbox on my desktop to our VMware Server infrastructure.

Components
Mariadb 10.1.44
Tomcat8
openjdk 11.0.6 2020-01-14
graphviz 2.40.1-2
Protege installed in /opt/Protege_3.5
EssentialAM installed in /opt/EssentialAM
Protege Server is running with the bundled Java 1.6

My process was
Use mysqldump to backup the database.
Use tar to backup the entire Protege folder.
Use tar to backup the entire EssentialAM folder.
Use tar to backup the entire Tomcat8 webapp/essential_viewer folder.
Copied the essential_viewer.war file from Tomcat webapps folder.
Copy these backup files to the new system.
Make sure that Mariadb was installed and the essentialdb database was recreated with the same user account per instructions.
Make sure that Tomcat was installed and running.
Use tar to unpack Protege to /opt/Protege_3.5
Use tar to unpack EssentialAM to /opt/EssentialAM
Deploy essential_viewer.war to Tomcat webapps folder.
Use tar to unpack essential_viewer on top of the deployed war file.

This process mostly worked well. Most difficult was Tomcat and Essential Viewer. Took a few interations to get things working again.
Humpty went back together by stopping Tomcat and then copying folders and files from the backup file essential_viewer.tar.gz except the META-INF folder.

I have been entering model data via a remote Protege & Essential client. Posting changes to Essential Viewer works fine.

Today I tried to apply the upgrade patch essential_meta_model_6_5_to_6_7_update_pack.eup and received an error.
Can you assist me with this issue?

Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: Essential Presentation Manager Meta-Model
Updates to extend meta-classes for defining templates and widgets in support of the Presentation Manager view
Exception in script when running line: 1623:

ResetAddAllowedClass(aNewSlot, "Widget_Theme_Style")


Script Exception:javax.script.ScriptException: Traceback (innermost last):
File "<unknown>", line 1, in ?
File "<unknown>", line 5, in ResetAddAllowedClass
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759
at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.convertException(Unknown Source)
at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.EventDispatchFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ChangeMonitorFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ImmutableNamesFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)

java.lang.RuntimeException: java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759
at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:292)
at com.sun.script.jython.JythonScriptEngine.eval(JythonScriptEngine.java:170)
at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at com.enterprise_architecture.essential.scripting.ScriptJob.execute(ScriptJob.java:268)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.processScript(EssentialScriptEngine.java:344)
at com.enterprise_architecture.essential.update.EssentialScriptEngine.execute(EssentialScriptEngine.java:201)
at com.enterprise_architecture.essential.update.EssentialUpdateTab$2.construct(EssentialUpdateTab.java:1049)
at com.enterprise_architecture.essential.update.SwingWorker$2.run(SwingWorker.java:110)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: Traceback (innermost last):
File "<unknown>", line 1, in ?
File "<unknown>", line 5, in ResetAddAllowedClass
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759
at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.convertException(Unknown Source)
at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.EventDispatchFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ChangeMonitorFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ImmutableNamesFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)

java.lang.RuntimeException: java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759

at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.Py.JavaError(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyMethod.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyInstance.invoke(Unknown Source)
at org.python.pycode._pyx482.ResetAddAllowedClass$1(<unknown>:5)
at org.python.pycode._pyx482.call_function(<unknown>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx5699.f$0(<unknown>:1)
at org.python.pycode._pyx5699.call_function(<unknown>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at com.sun.script.jython.JythonScriptEngine.evalCode(JythonScriptEngine.java:289)
... 8 more

javax.script.ScriptException: Traceback (innermost last):
File "<unknown>", line 1, in ?
File "<unknown>", line 5, in ResetAddAllowedClass
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759
at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.convertException(Unknown Source)
at edu.stanford.smi.protege.server.framestore.RemoteClientFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.EventDispatchFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ArgumentCheckingFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ChangeMonitorFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.FrameStoreAdapter.createCls(Unknown Source)
at edu.stanford.smi.protege.model.framestore.ImmutableNamesFrameStore.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at edu.stanford.smi.protege.model.DefaultKnowledgeBase.createCls(Unknown Source)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)

java.lang.RuntimeException: java.lang.RuntimeException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.InvalidClassException: org.python.core.PyObject; local class incompatible: stream classdesc serialVersionUID = -3356332325538160899, local class serialVersionUID = 8745889115762722759

Error: An error or exception occurred during the execution of the update script. See output for more information.
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hello.

So... After yesterday's failure to apply the 6.5_to_6.7 update I tried the 6.5_to_6.6.1 update. That was successful.
Today I tried the 6.5_to_6.7 update again. FAIL! Different error message.
I then went to the Updates site and downloaded a fresh copy of essential_meta_model_6_5_to_6_7_update_pack.eup.
I applied the update. Success!
I guess that there was something corrupt in my original download.
---
Applying pack: Common Functions
Pack of meta model and instance install functions
Applying pack: Essential Presentation Manager Meta-Model
Updates to extend meta-classes for defining templates and widgets in support of the Presentation Manager view
Completed the installation of the Essential CxO Presentation Manager Meta Model Update Pack.

Applying pack: Essential Application Dependencies Meta-Model
Updates to support fine grained definitions of information exchanged between applications
Completed the installation of the Essential Application Dependencies Meta Model Update Pack.

Applying pack: Essential Supplier and License Management Meta-Model
Updates to extend meta-classes for finer grained capture of Supplier and License Management
Completed the installation of the Essential Supplier and License Management Meta Model Update Pack.

Applying pack: Essential Ideation and Approvals Meta-Model
Updates to extend meta-classes for capture of Ideation and Approvals
Completed the installation of the Essential MM 6.7 Meta Model Pack.

Applying pack: Essential Risk Management Detail Meta-Model
Updates to extend meta-classes for Risk Management
Completed the installation of the Essential Risk Management Meta Model Update Pack.

Applying pack: Essential Application Interface Viewer instances
Updates to add Aplication Interface viewer configuration
Update completed successfully
------
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

OK.. I have successfully applied update packs v6.8 and v6.9.
My Essential Viewer is still reporting v6.5 and indicating "Updates are available."
I am also seeing that some of the views are missing graphics and they display errors indicating missing xsl file.
Do I download the newest master from github and appliy that or do I download the new WAR file and apply that?

Thanks.
John Nordien
[email protected]
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi,

We would strongly recommend using the WAR file from the website which is packaged to use as a web app.

The GitHub download is a ZIP which must be unzipped and repackaged to use in Tomcat so we wouldn't recommend that unless you know what you're doing there.

I'd recommend downloaded the 6.9 WAR file and adding that to you Tomcat. Bear in mind the WAR file is called essential_viewer_692.war and you will need to rename to essential_viewer.war if you're doing a replacement of the existing Viewer.

I'd suggest renaming your old Viewer then dropping in the new Viewer. Copy across any custom views from your "user" folder to the new Viewer.

https://www.enterprise-architecture.org/os_download.php

Cheers

Neil
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hello.
I have downloaded and deployed the new essential_viewer_6.9.2.war file but it will not start up.
Below is the CATALINA.OUT log file. How do I add the appropriate JAXB classes?

11-Jun-2020 11:44:41.534 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.39 (Ubuntu)
11-Jun-2020 11:44:41.535 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Sep 9 2019 19:47:51 UTC
11-Jun-2020 11:44:41.535 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.39.0
11-Jun-2020 11:44:41.535 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
11-Jun-2020 11:44:41.535 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 5.0.0-32-generic
11-Jun-2020 11:44:41.535 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
11-Jun-2020 11:44:41.535 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/lib/jvm/java-11-openjdk-amd64
11-Jun-2020 11:44:41.535 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 11.0.6+10-post-Ubuntu-1ubuntu118.04.1
11-Jun-2020 11:44:41.536 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Ubuntu
11-Jun-2020 11:44:41.536 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /var/lib/tomcat8
11-Jun-2020 11:44:41.536 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/share/tomcat8
11-Jun-2020 11:44:41.536 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
11-Jun-2020 11:44:41.536 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
11-Jun-2020 11:44:41.537 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
11-Jun-2020 11:44:41.537 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/var/lib/tomcat8/conf/logging.properties
11-Jun-2020 11:44:41.537 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
11-Jun-2020 11:44:41.537 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
11-Jun-2020 11:44:41.537 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseConcMarkSweepGC
11-Jun-2020 11:44:41.537 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
11-Jun-2020 11:44:41.537 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
11-Jun-2020 11:44:41.538 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
11-Jun-2020 11:44:41.538 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
11-Jun-2020 11:44:41.538 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/var/lib/tomcat8
11-Jun-2020 11:44:41.538 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/share/tomcat8
11-Jun-2020 11:44:41.538 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/tmp/tomcat8-tomcat8-tmp
11-Jun-2020 11:44:41.538 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
11-Jun-2020 11:44:42.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
11-Jun-2020 11:44:43.273 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
11-Jun-2020 11:44:43.386 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 11374 ms
11-Jun-2020 11:44:44.515 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
11-Jun-2020 11:44:44.516 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.39 (Ubuntu)
11-Jun-2020 11:44:44.870 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/host-manager.xml]
11-Jun-2020 11:44:53.820 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Jun-2020 11:44:54.831 WARNING [localhost-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [732] milliseconds.
11-Jun-2020 11:44:55.269 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor [/etc/tomcat8/Catalina/localhost/host-manager.xml] has finished in [10,391] ms
11-Jun-2020 11:44:55.272 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor [/etc/tomcat8/Catalina/localhost/manager.xml]
11-Jun-2020 11:44:56.558 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
11-Jun-2020 11:44:56.591 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor [/etc/tomcat8/Catalina/localhost/manager.xml] has finished in [1,319] ms
11-Jun-2020 11:44:57.196 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat8/webapps/essential_viewer_test.war]
11-Jun-2020 11:45:16.924 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/essential_viewer_test]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1852)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3061)
at java.base/java.lang.Class.getDeclaredFields(Class.java:2248)
at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110)
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:269)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:137)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:69)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:772)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5134)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 10 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
... 23 more
11-Jun-2020 11:45:16.929 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/var/lib/tomcat8/webapps/essential_viewer_test.war]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/essential_viewer_test]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:758)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1852)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
11-Jun-2020 11:45:16.930 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/var/lib/tomcat8/webapps/essential_viewer_test.war] has finished in [19,733] ms
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi,

It's possible that you have an problem WAR file. I do recall a packaging issue with the 6.9 release at some point which we resolved.

Can I suggest you try downloading again from the website?
https://www.enterprise-architecture.org/os_download.php

Neil
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Thanks Neil.
I downloaded the essential_viewer_610.war 30 mins ago and just deployed it. No Joy! }:-(
Still looks like missing JAXB classes.

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/essential_viewer_610]]
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Here is CATALINA.OUT for the deployment
------------
12-Jun-2020 08:04:11.339 INFO [http-nio-8080-exec-21] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/var/lib/tomcat8/webapps/essential_viewer_610.war]
12-Jun-2020 08:04:14.899 SEVERE [http-nio-8080-exec-21] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/essential_viewer_610]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1645)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at psiprobe.AbstractTomcatContainer.checkChanges(AbstractTomcatContainer.java:613)
at psiprobe.AbstractTomcatContainer.installWar(AbstractTomcatContainer.java:242)
at psiprobe.controllers.deploy.UploadWarController.handleRequestInternal(UploadWarController.java:142)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
at psiprobe.controllers.deploy.UploadWarController.handleRequest(UploadWarController.java:55)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at psiprobe.ProbeServlet.doDispatch(ProbeServlet.java:82)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:121)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at psiprobe.Tomcat85AgentValve.invoke(Tomcat85AgentValve.java:35)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at java.base/java.lang.Class.getDeclaredFields0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3061)
at java.base/java.lang.Class.getDeclaredFields(Class.java:2248)
at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110)
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:269)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:137)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:69)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:772)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5134)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 81 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1364)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1185)
... 94 more
12-Jun-2020 08:04:14.905 SEVERE [http-nio-8080-exec-21] org.apache.catalina.startup.HostConfig.deployWAR Error deploying web application archive [/var/lib/tomcat8/webapps/essential_viewer_610.war]
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/essential_viewer_610]]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:758)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1645)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
at java.management/com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809)
at java.management/com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at psiprobe.AbstractTomcatContainer.checkChanges(AbstractTomcatContainer.java:613)
at psiprobe.AbstractTomcatContainer.installWar(AbstractTomcatContainer.java:242)
at psiprobe.controllers.deploy.UploadWarController.handleRequestInternal(UploadWarController.java:142)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
at psiprobe.controllers.deploy.UploadWarController.handleRequest(UploadWarController.java:55)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at psiprobe.ProbeServlet.doDispatch(ProbeServlet.java:82)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:121)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at psiprobe.Tomcat85AgentValve.invoke(Tomcat85AgentValve.java:35)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
12-Jun-2020 08:04:14.906 INFO [http-nio-8080-exec-21] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/var/lib/tomcat8/webapps/essential_viewer_610.war] has finished in [3,568] ms
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hello

I was able to get the essential_viewer_610.war instance working.
With TOMCAT8 offline, I copied the 2 files jaxb-api.jar & jaxb-impl.jar from the original essential_viewer_62.war to the WEB-INF/lib folder of the deployed essential_viewer_610 instance.
I posted the Repository from my Protege client and things seem to be working.
I will be going through the views to see if everything is truely working and that all views I had working on older essential_viewer and working on the newer instance.

Now I am seeing the follwoing error every 1 second.
2020-06-12 08:34:47,520 | WARN | [Producer clientId=viewer-pass-thru.cf8c9ebf-da5b-424c-ae74-90093002ee3d] Connection to node -1 (localhost/127.0.0.1:9092) could not be established. Broker may not be available. | : | NetworkClient.java | 750

Please advise what to do about this WARNing in the logs.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi John,

Thanks for raising this. This is a bug and we have just pushed a point release for Viewer (v6.10.2) which address this as well as some minor issues for handling special characters in Views. You can either download the latest version or if you'd rather just address the log issue in the version you have, then you can edit the file passthru.properties (WEB-INF/classes/passthru.properties) and set "eip.kafka.enabled = false".

Alternatively, the latest release is available to download right now. https://www.enterprise-architecture.org/os_download.php

Regarding the JAXB error, I have just noticed you're running Java 11. Essential runs best on Java 8 which is fully supported until the end of 2020 with extended support until 2030. The new 6 monthly cadence of major Java version updates presents some challenges when it comes to recommending versions. We have some Java 11 LTS testing scheduled and we're hoping there's not too much to do there. This JAXB issue looks like a possible issue however it should be straightforward to resolve.

Thanks for providing such detailed notes, it helps a lot.

Neil
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Thanks Neil.
Have turned off Kafka. All quiet on the logging!

Everything seems to be working except the Application Reference Model. View comes up but displays no block diagram.
That 's enough for today.

Have a good weekend!

John.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi John,
Pretty sure you’ll find that fixed in 6.10.2 😁
Cheers,
Neil
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hi Neil,
I tried deploying Essential Viewer 6.10.2. No joy on the App Ref Model.
It is working with Essential Viewer 6.5 I have running.
Any other suggestions?

Cheers,
John.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Can you post a screenshot of the error
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hi Neil.
No error messages. Just no diagram.
Attached are 2 screenshots. Note the filenames.
You do not have the required permissions to view the files attached to this post.
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Here is 2nd screenshot
You do not have the required permissions to view the files attached to this post.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Thanks for these. Can I ask you to look in the browser console and let me know if there are any errors shown.

In Chrome you can get to the console by clicking on the Menu icon > More tools > Developer tools.
In Edge you can click F12

Thanks

Neil
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Browser console..
Using BRAVE browser...
You do not have the required permissions to view the files attached to this post.
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi John,

The footer of the penultimate screenshot suggests that you're still on 6.10.1. Has the v6.10.2 not deployed correctly for you or perhaps you need to changes the URL?

Cheers

Neil
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hi Neil
Fun stuff huh?
Browser Console AppRefModel-Essential-Viewer-6.10.2 (after update from Protege client).PNG
You do not have the required permissions to view the files attached to this post.
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Listing of the webapp folder for the context...

sudo ls -l /var/lib/tomcat8/webapps/essential_viewer_6102
total 6988
-rw-r----- 1 tomcat8 tomcat8 7797 Apr 29 10:15 android-chrome-192x192.png
-rw-r----- 1 tomcat8 tomcat8 23299 Apr 29 10:15 android-chrome-512x512.png
-rw-r----- 1 tomcat8 tomcat8 3064 Apr 29 10:15 apple-touch-icon.png
drwxr-x--- 4 tomcat8 tomcat8 4096 Jun 15 15:29 application
-rw-r----- 1 tomcat8 tomcat8 246 Apr 29 10:15 browserconfig.xml
drwxr-x--- 4 tomcat8 tomcat8 4096 Jun 15 15:29 business
-rw-r----- 1 tomcat8 tomcat8 6158 Apr 29 10:15 colour-guide.html
drwxr-x--- 4 tomcat8 tomcat8 4096 Jun 15 15:29 common
-rw-r----- 1 tomcat8 tomcat8 35147 Feb 23 2017 COPYING.txt
-rw-r----- 1 tomcat8 tomcat8 846 Apr 29 10:09 credits.txt
drwxr-x--- 2 tomcat8 tomcat8 4096 Jun 15 15:29 css
drwxr-x--- 3 tomcat8 tomcat8 4096 Jun 15 15:29 enterprise
-rw-r----- 1 tomcat8 tomcat8 14595 Jun 11 05:23 ess_editor.xsl
-rw-r----- 1 tomcat8 tomcat8 21157 Apr 29 10:28 essential_utilities.xsl
-rw-r----- 1 tomcat8 tomcat8 831 Apr 29 10:15 favicon-16x16.png
-rw-r----- 1 tomcat8 tomcat8 1171 Apr 29 10:15 favicon-32x32.png
-rw-r----- 1 tomcat8 tomcat8 15086 Apr 29 10:15 favicon.ico
drwxr-x--- 4 tomcat8 tomcat8 4096 Jun 15 15:29 fonts
drwxr-x--- 5 tomcat8 tomcat8 4096 Jun 15 15:29 graph_images
-rw-r----- 1 tomcat8 tomcat8 14096 Apr 29 10:28 home.xsl
drwxr-x--- 6 tomcat8 tomcat8 12288 Jun 15 15:29 images
drwxr-x--- 2 tomcat8 tomcat8 4096 Jun 15 15:29 information
drwxr-x--- 3 tomcat8 tomcat8 4096 Jun 15 15:29 integration
drwxr-x--- 43 tomcat8 tomcat8 4096 Jun 15 15:29 js
drwxr-x--- 3 tomcat8 tomcat8 4096 Jun 15 15:29 language
-rw-r----- 1 tomcat8 tomcat8 403 Apr 29 10:15 manifest.json
drwxr-x--- 2 tomcat8 tomcat8 4096 Jun 15 15:29 META-INF
-rw-r----- 1 tomcat8 tomcat8 4229 Apr 29 10:15 mstile-144x144.png
-rw-r----- 1 tomcat8 tomcat8 4445 Apr 29 10:15 mstile-150x150.png
-rw-r----- 1 tomcat8 tomcat8 5055 Apr 29 10:15 mstile-310x150.png
-rw-r----- 1 tomcat8 tomcat8 10725 Apr 29 10:15 mstile-310x310.png
-rw-r----- 1 tomcat8 tomcat8 2689 Apr 29 10:15 mstile-70x70.png
drwxr-x--- 2 tomcat8 tomcat8 4096 Jun 15 15:29 pdf
drwxr-x--- 3 tomcat8 tomcat8 4096 Jun 15 15:29 platform
-rw-r----- 1 tomcat8 tomcat8 3509 Apr 29 10:28 portal_redirect.xsl
drwxr-x--- 2 tomcat8 tomcat8 4096 Jun 15 15:29 protected
-rw-r----- 1 tomcat8 tomcat8 6791051 Jun 12 09:35 reportXML.xml
-rw-r----- 1 tomcat8 tomcat8 3263 Apr 29 10:15 safari-pinned-tab.svg
drwxr-x--- 3 tomcat8 tomcat8 4096 Jun 15 15:29 svg-widget-templates
drwxr-x--- 3 tomcat8 tomcat8 4096 Jun 15 15:29 technology
-rw-r----- 1 tomcat8 tomcat8 5845 Apr 29 10:28 uml_model.jsp
drwxr-x--- 2 tomcat8 tomcat8 4096 Jun 15 15:29 user
-rw-r----- 1 tomcat8 tomcat8 30928 Jun 11 05:23 view_library.xsl
drwxr-x--- 3 tomcat8 tomcat8 4096 Jun 15 15:29 view_manual
drwxr-x--- 2 tomcat8 tomcat8 4096 Jun 15 15:29 view_templates
drwxr-x--- 5 tomcat8 tomcat8 4096 Jun 15 15:29 WEB-INF
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hi Neil...

Missing folder ext in the webapp context??
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi John,

The ext folder should not be there in open-source. That's a bug but not one which would cause this issue.

Would you be willing to share a copy of your repository to allow us to diagnose the problem? If so, you may wish to sanitise any especially sensitive information before doing so. We will only use this repository for troubleshooting this issue and we will delete the repository once we have found a solution for this.

If you are happy to do this, then you can send a zipped copy of the repository to [email protected]

Thanks

Neil
User avatar
neil.walsh
Posts: 445
Joined: 16 Feb 2009, 13:45
Contact:

Hi John,

Thanks for sharing your repository. That helped identify the issue.

In a previous upgrade of Essential we replaced an older version of the Application Reference Model with a newer version (the older version can be found by editing the URL to show application/core_al_app_ref_model_v1.xsl). As part of this update the Taxonomy Terms which map the Capabilities were changed.

You need to map your root level capabilities (e.g. Systems Mgmt Services) to the new taxonomy terms (Shared, Management, Core, Foundation, Enabling)

center = Core, Foundation and Enabling (in that order down the middle)
left = Shared
right = Management
I also identified and resolved some issues with the view itself whilst looking at this. I've attached an updated XSL file which we'll roll into the 6.11 release.
core_al_app_ref_model.xsl


Let me know how you get on.

Cheers

Neil
You do not have the required permissions to view the files attached to this post.
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Thanks Neil.
Will remap the Application model.
Will also add the new xsl.
Also glad to assist with discovering a bug. :)
Was wondering if there was something wrong with my new server. Not a traditional install. More of a new server + restore combination. But is worked. Tomcat was the most tricky part.
Cheers.
John.
john.nordien
Posts: 56
Joined: 17 Sep 2019, 14:50
Location: Winnipeg, Manitoba, CANADA
Contact:

Hi Neil,
Adding the new taxonomy terms to the capabilities works. App Ref Model is displaying properly.
Better than for the Essential-Viewer v6.5.
Looks like I am away to the races now.
Thanks for all your help.
Post Reply