ServletException: Error instantiating servlet 'BPELScheduleServlet' (Doc ID 1304795.1)

Last updated on JULY 13, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.3.0 and later
Information in this document applies to any platform.

Symptoms

Load on start-up Servlet deployed to OC4J BPEL container fails at start up. The following preloading error appears in application.log file:

11/02/22 00:06:04.329 BPELSchedulePROD: 10.1.3.3.0 Started
11/02/22 00:06:35.848 BPELSchedulePROD: Servlet error
javax.servlet.ServletException: Error instantiating servlet 'BPELScheduleServlet'. Servlet class com.otn.samples.BPELScheduleServlet not found in web-application BPELSchedulePROD
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4846)
...
at java.lang.Thread.run(Thread.java:797)
11/02/22 09:09:11.45 BPELSchedulePROD: 10.1.3.3.0 Stopped

11/02/22 09:16:49.917 10.1.3.3.0 Started
11/02/22 09:18:44.621 BPELSchedulePROD: Error preloading servlet
javax.servlet.ServletException: Error instantiating servlet 'BPELScheduleServlet'. Servlet class com.otn.samples.BPELScheduleServlet not found in web-application BPELSchedulePROD
at com.evermind.server.http.HttpApplication.servletClassNotFound(HttpApplication.java:4880)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4748)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4936)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1145)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:570)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:797)

 

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