My Oracle Support Banner

Exception java.lang.IllegalArgumentException: No such file or directory When Altering DBAdapter (Doc ID 1427282.1)

Last updated on JANUARY 07, 2020

Applies to:

Oracle Service Bus - Version and later
Information in this document applies to any platform.


The exception "java.lang.IllegalArgumentException: /opt/web/wl/osb11.1.1.5/osb11/soa/connectors/Plan.xml (No such file or directory)" for the Deployment Plan XML file is given when trying to make changes to the installed DBAdapter.

Example of steps being executed:
1 - Click on Deployments on the left side of the WLS Console Home Page.
2 - Scroll down to DBAdapter. Click on DBAdapter.
3 - Create New Connection Factory.
      a. Click on Configuration tab, followed by Outbound Connection Pools tab
      b. Select javax.resource.cci.ConnectionFactory and Click New.
4 - Select javax.resource.cci.ConnectionFactory and click Next.
5 - Specify the JNDI Name. Next, click Finish.
6 - On the Deployment Plan generation screen, accept the default and click Ok.
7 - Activate Changes.  (The error is seen after clicking Active Changes.)

Stack trace: java.lang.IllegalArgumentException: /opt/web/wl/osb11.1.1.5/osb11/soa/connectors/Plan.xml (No such file or directory)
at weblogic.deploy.internal.targetserver.AppDeployment.parsePlan(
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.initializeDeploymentPlan(
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$

Caused By: /opt/web/wl/osb11.1.1.5/osb11/soa/connectors/Plan.xml (No such file or directory)

The error does NOT occur if the Plan.xml file is copied from the machine that hosts the Admin server to the machine hosting one of the Managed Servers in the Cluster, even though the "Current Location" field specified in the Plan generation screen shows the correct hostname.


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.