about ScriptEngineManager error

165 views
Skip to first unread message

Ying Jin

unread,
Feb 15, 2022, 11:15:15 AM2/15/22
to mozilla-rhino
Hello,

We had a JSF2.3 application with JDK 11 deployed on Weblogic Server 14, however, we found the error below happening over and over again in the log. The logging framework we used is Log4j 2.17.1. 

ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider org.mvel2.jsr223.MvelScriptEngineFactory not found

There is not much information related to this error online. The post below suggested this error is related to the Rhino project, but we don't know how to resolve this error.

Sent pull request that removes Rhino from list of javascript engines as we require JDK8+ which doesn't ship rhino anymore.

 David, last time I checked this, it does ignore failed ones, but still report them.

So loading scriptengine still work but you end up with ugly error message in log

Please help shed some lights on this issue.

Your help is much appreciated!

Jenny



Merten Schumann

unread,
Feb 22, 2022, 6:00:12 AM2/22/22
to mozill...@googlegroups.com

Hi,

 

this is not related to Rhino,

probably in your application jars there's a META-INF/services/javax.script.ScriptEngineFactory file referencing this mvel ScriptEngineFactory (which is not in the path then, obviously)

 

cu

   Merten

 

From: mozill...@googlegroups.com <mozill...@googlegroups.com> On Behalf Of Ying Jin
Sent: Tuesday, February 15, 2022 5:15 PM
To: mozilla-rhino <mozill...@googlegroups.com>
Subject: [mozilla-rhino] about ScriptEngineManager error

 

*** External email: Verify sender before opening attachments or links ***

 

--
You received this message because you are subscribed to the Google Groups "mozilla-rhino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-rhin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mozilla-rhino/d9443e9d-e09c-4f48-ab09-5a382adae4e9n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages