DevTest VSE is not communicating with portal after sp2hf21 hotfix installed
search cancel

DevTest VSE is not communicating with portal after sp2hf21 hotfix installed

book

Article ID: 268510

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Portal not loading VSE's. 

Error log from portal:

2023-06-22T16:33:33,491Z (12:33) [main] DEBUG org.elasticsearch.script       - [Scarlet Scarab] failed to load lucene expressions

java.lang.ClassNotFoundException: com.atlassian.elasticsearch.lucene.expressions.Expression

                at java.net.URLClassLoader.findClass(URLClassLoader.java:387) ~[?:1.8.0_352]

                at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_352]

                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) ~[?:1.8.0_352]

                at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_352]

                at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:538) ~[jetty-all-9.4.50.v20221201-uber.jar:9.4.50.v20221201]

                at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_352]

                at org.elasticsearch.script.ScriptModule.configure(ScriptModule.java:108) ~[elasticsearch-1.7.0-atlassian-shaded-3.jar:?]

                at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60) ~[elasticsearch-1.7.0-atlassian-shaded-3.jar:?]

                at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:204) ~[elasticsearch-1.7.0-atlassian-shaded-3.jar:?]

                at org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:85) ~[elasticsearch-1.7.0-atlassian-shaded-3.jar:?]

                at org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130) ~[elasticsearch-1.7.0-atlassian-shaded-3.jar:?]

Environment

Release : 10.7.2 sp2hf21

Cause

Identified that, the Distributed environment was not in sync with the patched Sp2Hf21 environment . If you have a VSE connecting to a Patched Registry,  then the Portal will throw  Retrofit  and Class Not Found errors. 

Resolution

Detach the VSE from the patched Registry.  

Install SP2 and HF 21  on all the VSE Servers  in the Distributed environment before connecting to a Registry.