PolicyStoreException While Creating A Domain Using Wlst During BPM Environment Setup: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: java.lang.NegativeArraySizeException

(Doc ID 2370436.1)

Last updated on MARCH 08, 2018

Applies to:

Oracle Platform Security for Java - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

SOA BPM WLS: 12.2.1.3
DB: Oracle 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

Trying to create a weblogic domain version 12.2.1.3.0.

RCU script executed successfully and created schema.

When running wlst command to create the domain, it fails with the following error:

oracle.security.opss.tools.lifecycle.ProductArtifactsConfigDelegate - Error occurred when commiting changes, calling abort method to clean up the environment
oracle.security.jps.service.policystore.PolicyStoreException: oracle.security.jps.service.policystore.PolicyStoreException: javax.persistence.PersistenceException: java.lang.NegativeArraySizeException
at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstPolicy.persistPermissionFromCache(JpsDstPolicy.java:1636)
  ...
at com.oracle.cie.domain.progress.domain.generation.PostGenerationPhase.execute(PostGenerationPhase.java:153)
at com.oracle.cie.domain.progress.AbstractProgressGenerator.run(AbstractProgressGenerator.java:94)
...
Caused by: java.lang.NegativeArraySizeException
at oracle.net.ano.CryptoNIONSDataChannel.readDataFromSocketChannel(Unknown Source)
at oracle.jdbc.driver.T4CMAREngineNIO.prepareForReading(T4CMAREngineNIO.java:98)
at oracle.jdbc.driver.T4CMAREngineNIO.unmarshalUB1(T4CMAREngineNIO.java:534)
at oracle.jdbc.driver.T4C8TTIpro.receive(T4C8TTIpro.java:132)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1465)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:518)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:702)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:39)

 

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