My Oracle Support Banner

Running JVMD Agent on OC4J Container gives java.lang.StringIndexOutOfBoundsException (Doc ID 1383362.1)

Last updated on DECEMBER 04, 2017

Applies to:

APM - Application Performance Management - Version to [Release 11.1]
Information in this document applies to any platform.


After deploying Java Agent (jamagent.war) to OC4J 10.1.3.x container and restarting OC4J, the following errors occur:

jamagent.2011-11-09soa: Error initializing servlet
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(
at jamagent.jamagent.copyToTemporaryLocation(
at jamagent.jamagent.loadNative(
at jamagent.jamagent.<init>(
at jamagent.jaminit.init(
11/11/10 09:06:36.714 jamagent.2011-11-09soa: Error preloading servlet
javax.servlet.ServletException: Error initializing servlet
at com.evermind.server.http.HttpApplication.findServlet(
at com.evermind.server.http.HttpApplication.findServlet(



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

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