Launching ODI Console As Windows Service Fails With <BEA-101216><Servlet: "InitServlet" failed to preload on startup in Web application: "odiconsole" (Doc ID 1559336.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 11.1.1.3.0 and later
Microsoft Windows (32-bit) - OS Version: 7
Microsoft Windows x64 (64-bit)
Microsoft Windows x64 (64-bit) - Version: 2008 R2
Microsoft Windows x64 (64-bit) - OS Version: 7
Microsoft Windows (32-bit)

Symptoms

Oracle Data Integrator (ODI) has been installed on Windows, and the ODI Console and J2EE Agent applications successfully deployed on WebLogic Server.

Both the ODI Console and J2EE Agent start up correctly when the WLS Managed Server is started using command line (startManagedWebLogic.cmd odi_server1).

When started as a Windows Service, the J2EE Agent starts correctly, but ODI Console fails to start with the error message:

<BEA-101216><Servlet: "InitServlet" failed to preload on startup in Web application: "odiconsole".

Note the service is configured to start using the beasvc utility and the DOMAIN_HOME environment variable is set in the Weblogic command line attributes:

... -DDOMAIN_HOME=D:\\ODI\\USER_P~1\\domains\\ODI-DO~1

The WLS Managed Server odi_server1 stdout log file shows:

[INFO] ContextLoader - Root WebApplicationContext: initialization completed in 969 ms
<May 2, 2013 7:32:23 PM EEST> <Error> <HTTP> <BEA-101216> <Servlet: "InitServlet" failed to preload on startup in Web application: "odiconsole".
java.lang.IllegalStateException
at oracle.odi.repex.view.main.init.AppLifeCycleListener.initRepositories(AppLifeCycleListener.java:122)
...
>
<May 2, 2013 7:32:23 PM EEST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'odiconsole'.
weblogic.application.ModuleException: [HTTP:101216]Servlet: "InitServlet" failed to preload on startup in Web application: "odiconsole".
java.lang.IllegalStateException
at oracle.odi.repex.view.main.init.AppLifeCycleListener.initRepositories(AppLifeCycleListener.java:122)
at oracle.odi.repex.view.main.init.AppLifeCycleListener.initWebApp(AppLifeCycleListener.java:59)
...

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms