My Oracle Support Banner

Error While Generating IWS Webservices When Using JDBC Connection Pool (Doc ID 2460653.1)

Last updated on FEBRUARY 11, 2022

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.5.0.0.0 to 2.6.0.0.0 [Release 2.5 to 2.6]
Information in this document applies to any platform.

Symptoms

**Examples provided in this article do not represent real life personal/confidential information**

**Disclaimer:** This KM article may include the following abbreviations:

CCB - Oracle Utilities Customer Care and Billing
IWS - Inbound Web Service
JDBC - Java Data Base Connectivity
DB - Database

 Error while generating IWS Webservices when using JDBC Connection Pool 


iwsdeploy.sh is failing with error when trying to generate the ear using JDBC Connection Pool.

Exception in thread "main" com.splwg.shared.common.LoggedException: Unexpected error while accessing DataSource 'jdbc/IWSConnectionPool'
  at com.splwg.shared.common.LoggedException.wrap(LoggedException.java:199)
  ... ...
Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
  at com.splwg.base.support.context.ContextFactory.getConnectionFromDataSource(ContextFactory.java:250)
  ... 6 more

The target is to connect the connection pool to managed server cluster.
Web JDBC Connection pool is working fine but only having issue with IWS.

Cause

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
Symptoms
Cause
Solution
References


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