Hi!
What could be the possible reasons that:
public void onServerInit(IServer server)
{
IVHost vhost = null;
IApplication application = null;
IApplicationInstance app = null;
application = vhost.getApplication(appName); // appName = "myApp"
app = application.getAppInstance(appInstName); // appInstName = "_definst_"
....
}
This sequence would return app == null ?? The vhost is found (not null), the application is found (not null), but trying to get appInstance returns null. There are no errors reported by the startup log. (except that this variable is null). Once the server starts, the application works fine, only my code which depends upon it does not work.
Thanks!
Atmapuri