Issue:

After an upgrade to v3.1.1.0 you may receive an error where the Ephesoft license server has failed to start. You will not be able to login to Ephesoft or Run any batches.

Sample ERROR log:

 3.1.1.0 2014-06-05 14:44:10,656 INFO  main com.ephesoft.license.client.LicenseClient - Object connection failed: Switching License service to    
 another License server
 java.rmi.ConnectException: Service object is null as the license server of this client is not up or resposnding.
   at com.ephesoft.license.client.LicenseClient.verifyLicense(Unknown Source)
   at com.ephesoft.license.client.LicenseClient.verifyLicense(Unknown Source)
   at com.ephesoft.license.client.LicenseClient.getCpuCount(Unknown Source)
   at com.ephesoft.license.aspect.LicenseAspect.fetchAvailableCount(Unknown Source)
   at com.ephesoft.dcma.core.common.EphesoftLicenseAspectUtil.getAllowedCpuCount(EphesoftLicenseAspectUtil.java:47)
   at com.ephesoft.dcma.core.threadpool.ThreadPool.getAvailableCpuCount(ThreadPool.java:468)
   at com.ephesoft.dcma.core.threadpool.ThreadPool.getCorePoolSize(ThreadPool.java:195)
   at com.ephesoft.dcma.core.threadpool.ThreadPool.<init>(ThreadPool.java:139)
   at com.ephesoft.dcma.core.threadpool.ThreadPool.getInstance(ThreadPool.java:350)
   at com.ephesoft.dcma.twain.UploadServlet.<init>(UploadServlet.java:47)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
   at java.lang.Class.newInstance0(Class.java:372)
   at java.lang.Class.newInstance(Class.java:325)
   at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1116)
   at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
   at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Solution:

This particular error was related to DNS resolution and IPv6 addresses of the Ephesoft server. For some reason Windows Server OS (2008 R2 and 2012) have changed the default Network Prefix policies so IPv6 is default. To undo this you must go to the following Microsoft Site:

http://support.microsoft.com/kb/929852

 

Was this article helpful to you?

Walter Lee

Comments are closed.