My Oracle Support Banner

Mapviewer Config File Is Not Loading Since The Restart Of The Weblogic Server (Doc ID 2756690.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Spatial and Graph - Version and later
Information in this document applies to any platform.


Since the restart of the WebLogic Server (WLS), the configuration file of the Mapviewer (MV) in WLS clustered managed server fails to load. Additionally, the MV log is not updated with new messages.

The WLS <DOMAIN>_ServerX.out shows JAVA error "Could not initialize class sun.awt.X11.XToolkit":

Feb 25, 2021 10:35:04 AM oracle.lbs.mapserver.core.MapperConfig setLoggingOptions
INFO: setting logging level to info
<Feb 25, 2021 10:35:04 AM AST> <Info> <Deployer> <BEA-149059> <Module /mapviewer of application mapviewer is transitioning from STATE_ADMIN to STATE_ACTIVE on server MYDOMAIN_Server2.>
<Feb 25, 2021 10:35:04 AM AST> <Info> <Deployer> <BEA-149060> <Module /mapviewer of application mapviewer successfully transitioned from STATE_ADMIN to STATE_ACTIVE on server MYDOMAIN_Server2.>
Exception in thread "Thread-2218" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(
    at java.awt.Toolkit$
    at java.awt.Toolkit$
    at Method)
    at java.awt.Toolkit.getDefaultToolkit(
    at oracle.sdovis.SRSConstants.getDPI(
    at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(
    at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(
    at oracle.lbs.mapserver.core.MapperConfig.<init>(
    at oracle.lbs.mapserver.MapServerImpl.<init>(
    at oracle.lbs.mapserver.MapServerImpl.<init>(
    at oracle.lbs.mapserver.oms$
<Feb 25, 2021 10:35:04 AM AST> <Debug> <WebLogicServer> <BEA-000380> <SLC: <RemoteSLCOperationsImpl>executing getState(). Requested by 'principals=[WLS Kernel]'>





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.