Question

2
Replies
427
Views
AravindY2749 Member since 2016 15 posts
NASCO
Posted: 2 years ago
Last activity: 2 years 10 months ago
Closed

Exception in thread "main" java.lang.NoClassDefFoundError: sun.util.calendar.ZoneInfoFile (initialization failure) in BIX

Hi

We got the below java error while generating Keyring file for BIX. We are using Pega 7.2.2. We do not see this in DEV environment but we are seeing it in test environment.

Environment configuration is similar to DEV and there is no much difference. We are using same script we used for DEV.

please suggest if we are missing any update or any known Java Issue.

Exception in thread "main" java.lang.NoClassDefFoundError: sun.util.calendar.ZoneInfoFile (initialization failure)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:175)

at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:676)

at java.util.TimeZone.getTimeZone(TimeZone.java:592)

at java.util.TimeZone.setDefaultZone(TimeZone.java:722)

at java.util.TimeZone.getDefaultRef(TimeZone.java:655)

at java.util.Calendar.getInstance(Calendar.java:1008)

at java.util.Formatter$FormatSpecifier.printDateTime(Formatter.java:2793)

at java.util.Formatter$FormatSpecifier.print(Formatter.java:2707)

at java.util.Formatter.format(Formatter.java:2506)

at java.util.Formatter.format(Formatter.java:2435)

at java.lang.String.format(String.java:2124)

at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:173)

at java.util.logging.StreamHandler.publish(StreamHandler.java:208)

at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:117)

at java.util.logging.Logger.log(Logger.java:628)

at com.pega.pegarules.boot.internal.extbridge.AppServerBaseLogger.logbridge(AppServerBaseLogger.java:462)

at com.pega.pegarules.boot.internal.extbridge.AppServerBaseLogger.error(AppServerBaseLogger.java:429)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:277)

at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)

Caused by: java.lang.ExceptionInInitializerError

at java.lang.J9VMInternals.initialize(J9VMInternals.java:257)

at java.nio.file.FileSystems.getDefault(FileSystems.java:188)

at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:496)

at sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:491)

at java.security.AccessController.doPrivileged(AccessController.java:400)

at sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:490)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)

at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:676)

at java.util.TimeZone.getTimeZone(TimeZone.java:592)

at java.util.TimeZone.setDefaultZone(TimeZone.java:722)

at java.util.TimeZone.getDefaultRef(TimeZone.java:655)

at java.util.Calendar.getInstance(Calendar.java:1008)

at java.util.Formatter$FormatSpecifier.printDateTime(Formatter.java:2793)

at java.util.Formatter$FormatSpecifier.print(Formatter.java:2707)

at java.util.Formatter.format(Formatter.java:2506)

at java.util.Formatter.format(Formatter.java:2435)

at java.lang.String.format(String.java:2124)

at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:173)

at java.util.logging.StreamHandler.publish(StreamHandler.java:208)

at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:117)

at java.util.logging.Logger.log(Logger.java:628)

at com.pega.pegarules.boot.internal.extbridge.AppServerBaseLogger.logbridge(AppServerBaseLogger.java:462)

at com.pega.pegarules.boot.internal.extbridge.AppServerBaseLogger.logbridge(AppServerBaseLogger.java:450)

at com.pega.pegarules.boot.internal.extbridge.AppServerBaseLogger.infoForced(AppServerBaseLogger.java:365)

at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapPropertiesFromFile(PRBootstrapDataSource.java:808)

at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.getBootstrapProperties(PRBootstrapDataSource.java:617)

at com.pega.pegarules.internal.bootstrap.PRBootstrap.<clinit>(PRBootstrap.java:119)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)

at java.lang.reflect.Method.invoke(Method.java:620)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.checkForStartup(AppServerBridgeToPega.java:116)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:222)

at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:272)

... 1 more

Caused by: java.lang.RuntimeException: default directory must be absolute

at sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:68)

at sun.nio.fs.AixFileSystem.<init>(AixFileSystem.java:55)

at sun.nio.fs.AixFileSystemProvider.newFileSystem(AixFileSystemProvider.java:55)

at sun.nio.fs.AixFileSystemProvider.newFileSystem(AixFileSystemProvider.java:48)

at sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:69)

at sun.nio.fs.AixFileSystemProvider.<init>(AixFileSystemProvider.java:50)

at java.lang.J9VMInternals.newInstanceImpl(Native Method)

at java.lang.Class.newInstance(Class.java:1781)

at sun.nio.fs.DefaultFileSystemProvider$1.run(DefaultFileSystemProvider.java:65)

at sun.nio.fs.DefaultFileSystemProvider$1.run(DefaultFileSystemProvider.java:56)

at java.security.AccessController.doPrivileged(AccessController.java:400)

at sun.nio.fs.DefaultFileSystemProvider.createProvider(DefaultFileSystemProvider.java:55)

at sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:87)

at java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(FileSystems.java:120)

at java.nio.file.FileSystems$DefaultFileSystemHolder.access$000(FileSystems.java:101)

at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:110)

at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:108)

at java.security.AccessController.doPrivileged(AccessController.java:400)

at java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(FileSystems.java:107)

at java.nio.file.FileSystems$DefaultFileSystemHolder.<clinit>(FileSystems.java:102)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:235)

... 37 more

Regards

Aravind

Reporting
Moderation Team has archived post
Share this page LinkedIn