Again, specifically you need the Init servlet to be present in web.xml and set to load on startup. If it has been correctly installed, you will see a series of logs at startup describing various server-side initialization. At that point it is impossible for the "config" variable to be null.
Announcement
Collapse
No announcement yet.
X
-
Init servlet is loaded, please see the below logs.
If I suspend the thread on NullPointerException and check for config object, value of the config object is still NULL.
=== 2009-12-30 12:22:12,205 [ng)'] INFO ISCInit - Isomorphic SmartClient Framework - Initializing
=== 2009-12-30 12:22:12,221 [ng)'] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
=== 2009-12-30 12:22:12,315 [ng)'] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: zip:C:/bea10_3/user_projects/domains/domain/servers/AdminServer/tmp/_WL_user/_appsdir_app_dir/dfsa2j/war/WEB-INF/lib/isomorphic_core_rpc-7.0RC2.jar!/framework.properties
=== 2009-12-30 12:22:12,315 [ng)'] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
=== 2009-12-30 12:22:12,315 [ng)'] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
=== 2009-12-30 12:22:12,315 [ng)'] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: zip:C:/bea10_3/user_projects/domains/domain/servers/AdminServer/tmp/_WL_user/_appsdir_app_dir/dfsa2j/war/WEB-INF/lib/isomorphic_core_rpc-7.0RC2.jar!/isc_interfaces.properties
=== 2009-12-30 12:22:12,315 [ng)'] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
=== 2009-12-30 12:22:12,315 [ng)'] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/C:/bea10_3/user_projects/domains/er3_domain/autodeploy/ER3/WEB-INF/classes/server.properties
=== 2009-12-30 12:22:12,330 [ng)'] INFO Logger - Logging system started.
=== 2009-12-30 12:22:12,330 [ng)'] INFO ISCInit - Isomorphic SmartClient Framework (7.0rc2/SDK Deployment 2009-05-30) - Initialization Complete
=== 2009-12-30 12:22:12,346 [ng)'] DEBUG ISCInit - Verifying webroot: C:\bea10_3\user_projects\domains\domain\autodeploy\MYAPP
=== 2009-12-30 12:22:12,346 [ng)'] INFO ISCInit - Auto-detected webRoot - using: C:\bea10_3\user_projects\domains\domain\autodeploy\MYAPP
=== 2009-12-30 12:22:12,377 [ng)'] DEBUG InterfaceProvider - Instantiating com.isomorphic.compression.ServletCompression to satisfy request for an IServletCompression
Please advice for the next steps.
Thanks,
Ashish Chugh
Comment
-
We suspect that we are being fed bad data again. The initialization messages you show can only appear if config is set non-null.
It may be that you have more than one .war being deployed and so separate copies of the Config class are being created, one validly initialized and others not. If so, try moving Isomorphic .jars to the system classpath instead of WEB-INF.
Comment
Comment