# Cannot login to engine manager, error 500

**URL:** <https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034>\
**Category:** Wowza Streaming Engine\
**Created:** [October 6, 2019, 1:38am UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034 "2019-10-06T01:38:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sobari\_Tanuwijaya](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Sobari\_Tanuwijaya](https://community.wowza.com/u/Sobari_Tanuwijaya)\
**Post date:** [October 6, 2019, 1:38am UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/1 "2019-10-06T01:38:14Z")

</div>

Hi,  
A few months a go, I upgrade Wowza to the latest version.

Everything was fine, until today when I try to login to the engine manager to set something.

After login, it gave me the message shown below.

As far as I can comprehend, the error caused by the lost of sunec.jar file.

The question is:

1. Why in the past (before upgrade or after the upgrade) I never got that error?

2. How can I get that file? I had checked that java-1.8.0-openjdk is already installed.

Thanks in advance for the help.

# Status Code: 500

Exception:  
Stacktrace:

```auto
java.lang.InternalError: java.io.FileNotFoundException: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.222.b10-0.el7_6.x86_64/jre/lib/ext/sunec.jar
	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1052)
	at sun.misc.URLClassPath.getResource(URLClassPath.java:249)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:215)
	at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
	at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
	at sun.security.jca.ProviderList.getProvider(ProviderList.java:233)
	at sun.security.jca.ProviderList.getService(ProviderList.java:331)
	at sun.security.jca.GetInstance.getInstance(GetInstance.java:157)
	at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
	at org.restlet.engine.ssl.DefaultSslContextFactory.createSslContext(DefaultSslContextFactory.java:369)
	at org.restlet.ext.httpclient.HttpClientHelper.configure(HttpClientHelper.java:284)
	at org.restlet.ext.httpclient.HttpClientHelper.start(HttpClientHelper.java:513)
	at org.restlet.Client.start(Client.java:186)
	at org.restlet.routing.Filter.start(Filter.java:274)
	at org.restlet.Restlet.handle(Restlet.java:315)
	at org.restlet.routing.Filter.handle(Filter.java:202)
	at org.restlet.resource.ClientResource.handle(ClientResource.java:1104)
	at org.restlet.resource.ClientResource.handleOutbound(ClientResource.java:1188)
	at org.restlet.resource.ClientResource.handle(ClientResource.java:1059)
	at org.restlet.resource.ClientResource.handle(ClientResource.java:1035)
	at org.restlet.resource.ClientResource.handle(ClientResource.java:937)
	at org.restlet.resource.ClientResource.get(ClientResource.java:645)
	at com.wowza.wms.rest.WMSClientResource.get(Unknown Source)
	at com.wowza.wms.rest.ConfigBase.getObjectFromREST(Unknown Source)
	at com.wowza.wms.rest.user.UserConfig.getObjectFromREST(Unknown Source)
	at com.wowza.wms.spring.WowzaAuthenticationProvider.authenticate(WowzaAuthenticationProvider.java:58)
	at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:156)
	at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174)
	at org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter.attemptAuthentication(UsernamePasswordAuthenticationFilter.java:94)
	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:195)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
	at net.winstone.core.FilterConfiguration.execute(FilterConfiguration.java:189)
	at net.winstone.core.SimpleRequestDispatcher.doFilter(SimpleRequestDispatcher.java:321)
	at com.wowza.wms.webapp.Utf8Filter.doFilter(Utf8Filter.java:30)
	at net.winstone.core.FilterConfiguration.execute(FilterConfiguration.java:189)
	at net.winstone.core.SimpleRequestDispatcher.doFilter(SimpleRequestDispatcher.java:321)
	at net.winstone.core.SimpleRequestDispatcher.forward(SimpleRequestDispatcher.java:288)
	at net.winstone.core.listener.RequestHandlerThread.processRequest(RequestHandlerThread.java:213)
	at net.winstone.core.listener.RequestHandlerThread.run(RequestHandlerThread.java:144)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at net.winstone.util.BoundedExecutorService$1.run(BoundedExecutorService.java:81)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.FileNotFoundException: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.222.b10-0.el7_6.x86_64/jre/lib/ext/sunec.jar
	at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:938)
	at sun.misc.URLClassPath$JarLoader.access$800(URLClassPath.java:801)
	at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:886)
	at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:879)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:878)
	at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1050)
	... 62 more

```

---

<div class="post-metadata">

**Author:** ![Sobari\_Tanuwijaya](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Sobari\_Tanuwijaya](https://community.wowza.com/u/Sobari_Tanuwijaya)\
**Post date:** [October 6, 2019, 10:49am UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/2 "2019-10-06T10:49:38Z")

</div>

Hi,  
It seems the version of java openjdk installed in my server is higher than what is looked for by wowza engine manager.

Wowza engine manager look for the sunec.jar within package:

java-1.8.0-openjdk-1.8.0.222. **b10-0.el7\_6**.x86\_64

while installed on my system is the java-1.8.0-openjdk-1.8.0.222. **b10-1.el7\_7**.x86\_64

so, is the solution just downgrade the java openjdk or wowza has other solution to solve this?

---

<div class="post-metadata">

**Author:** ![Sobari\_Tanuwijaya](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Sobari\_Tanuwijaya](https://community.wowza.com/u/Sobari_Tanuwijaya)\
**Post date:** [October 30, 2019, 11:53pm UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/3 "2019-10-30T23:53:16Z")

</div>

The solution seems quite simple, just restart the WowzaStreamingEngineManager.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 31, 2019, 3:58pm UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/4 "2019-10-31T15:58:57Z")

</div>

Right now, Engine uses Java 8, but will be releasing a new version in the next weeks that will support Java 9.

You CAN use a higher version of Java up to 11 and then you can configure it to make it backwards compatible with your current Engine server.

If you are having any issues at all, please submit a support ticket so we can make sure this is working properly for you. The engineers are more than happy to help.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [November 18, 2019, 10:30pm UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/6 "2019-11-18T22:30:53Z")

</div>

Making sure you saw that Engine now supports Java 9 in 4.7.8 @Sobari Tanuwijaya.

[https://www.wowza.com/docs/wowza-streaming-engine-4-7-8-release-notes](https://www.wowza.com/docs/wowza-streaming-engine-4-7-8-release-notes)

---

<div class="post-metadata">

**Author:** ![Sobari\_Tanuwijaya](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@Sobari\_Tanuwijaya](https://community.wowza.com/u/Sobari_Tanuwijaya)\
**Post date:** [November 19, 2019, 11:33pm UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/7 "2019-11-19T23:33:01Z")

</div>

Thank you Rose, yes I noticed it.

---

<div class="post-metadata">

**Author:** ![Peter\_Austin](https://avatars.discourse-cdn.com/v4/letter/p/e19adc/32.png) [@Peter\_Austin](https://community.wowza.com/u/Peter_Austin)\
**Post date:** [February 15, 2021, 4:45pm UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/8 "2021-02-15T16:45:11Z")

</div>

I have installed the latest version of WSE v4.8.9 which is working, see:[https://webcam.nl/waalstrand/](https://webcam.nl/waalstrand/)

However if I wish to login the WSE Manager I get the following error:

**org.restlet.resource.ResourceException: Server Error (500)** - The server encountered an unexpected condition which prevented it from fulfilling the request

How can I solve this login error use the WSE Manager again?

---

<div class="post-metadata">

**Author:** ![chris\_mirador](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/chris_mirador/32/671_2.png) [@chris\_mirador](https://community.wowza.com/u/chris_mirador)\
**Post date:** [February 24, 2021, 2:52am UTC](https://community.wowza.com/t/cannot-login-to-engine-manager-error-500/54034/9 "2021-02-24T02:52:25Z")

</div>

make backups of your VHost.xml, Server.xml and Application.xml if you have already setup one, then re-install your WSE v4.8.9. it happened to us and thats solves the issue. hope this helps.
