cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Method server fail to start with error Unable to read license file from license path location

YassineKz
14-Alexandrite

Method server fail to start with error Unable to read license file from license path location

Hello,

 

Please I need help, even with full permissions on Windchill folder the system is not able to read the license file. Below the full stack

 

2018-05-23 11:25:53,337 DEBUG [main] wt.licenseusage.licensing.PaidLicenseManager - Unable to read license file from license path location.
2018-05-23 11:25:53,368 FATAL [main] wt.method.server - MethodServerMain abort
java.lang.NoClassDefFoundError: com/flexnet/lm/FlxException
at wt.licenseusage.licensing.PaidLicenseManager.initialize(PaidLicenseManager.java:110)
at wt.licenseusage.licensing.LicenseController.getLicenseController(LicenseController.java:108)
at wt.licenseusage.licensing.StandardLicenseManagerService.performStartupProcess(StandardLicenseManagerService.java:122)
at wt.services.StandardManager.startup(StandardManager.java:459)
at wt.services.ManagerImplementation.startup(ManagerImplementation.java:363)
at wt.services.DefaultStartupHandler.startup(DefaultStartupHandler.java:112)
at wt.services.StandardManagerService.performStartupProcess(StandardManagerService.java:166)
at wt.services.StandardManager.startup(StandardManager.java:459)
at wt.services.StandardServicesHandler.start(StandardServicesHandler.java:44)
at wt.method.MethodServerMain.run(MethodServerMain.java:603)
at wt.method.MethodServerMain.main(MethodServerMain.java:373)
Caused by: java.lang.ClassNotFoundException: com.flexnet.lm.FlxException
at java.net.URLClassLoader$1.run(URLClassLoader.java:370)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 11 more
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:734)
at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:434)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
at sun.misc.Resource.getBytes(Resource.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:462)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
... 17 more

 

Thanks

Yassine

1 ACCEPTED SOLUTION

Accepted Solutions
YassineKz
14-Alexandrite
(To:YassineKz)

This FlexException class resides in wc3rdpartylibs.jar so possibly that jar may have problems.

 

windchill com.flexnet.lm.FlxException

This should give error like no main method found. 

 

If yes rebuild these jars with below command from windchilll\srclib shell

ant -f windchill3rdPartyJars.xml all

View solution in original post

3 REPLIES 3

Hi,

Beside the permissions, I would check if the CapabilityResonse generated is correct. Please try to get a new license file and check if that works.

 

I believe you have full permission on the location where the license file is located, do check if running the Windows process as Administrator helps.

 

BR,

Amit

YassineKz
14-Alexandrite
(To:adeshmukh-2)

Thanks Amit, we have already tried with a new License file but it didn't help.

Also Windchill is starting manually from the Administrator user of Windows. they don't have Windchill as Service.

 

I have attached the MS log file.

 

Many thanks

Yassine

YassineKz
14-Alexandrite
(To:YassineKz)

This FlexException class resides in wc3rdpartylibs.jar so possibly that jar may have problems.

 

windchill com.flexnet.lm.FlxException

This should give error like no main method found. 

 

If yes rebuild these jars with below command from windchilll\srclib shell

ant -f windchill3rdPartyJars.xml all

Top Tags