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 11.1.0.7 and later
Information in this document applies to any platform.

Symptoms

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(Class.java:264)
    at java.awt.Toolkit$2.run(Toolkit.java:860)
    at java.awt.Toolkit$2.run(Toolkit.java:855)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
    at oracle.sdovis.SRSConstants.getDPI(SRSConstants.java:65)
    at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1237)
    at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:678)
    at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:426)
    at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:133)
    at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:117)
    at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:345)
    at java.lang.Thread.run(Thread.java:745)
<Feb 25, 2021 10:35:04 AM AST> <Debug> <WebLogicServer> <BEA-000380> <SLC: <RemoteSLCOperationsImpl>executing getState(). Requested by 'principals=[WLS Kernel]'>

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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